Hey,
like the title says, no matter how hard you crash, the new heli won't take any damage.
How can I change that?
New player controlled Attack Heli indestructibleSolved
hi,
add your rules
"attackheli can hurt attackheli",
"attackheli cannot hurt players",
"heliturrets cannot hurt players"update your entity groups
{
"name": "heli",
"members": "PatrolHelicopter",
"exclusions": ""
},
{
"name": "attackheli",
"members": "attackhelicopter.entity",
"exclusions": ""
},
{
"name": "heliturrets",
"members": "turret_attackheli",
"exclusions": ""
}, Thank you!
If I read this right...
To enable crash damage to a heli, you use the format of "entity_group1 can hurt entity_group1"? Soooo...
"mini can hurt mini"
"scrapheli can hurt scrapheli"
"attackheli can hurt attackheli"
Those three lines will allow all the player used helicopters to take crash damage? Won't that also allow players to shoot at each others heli's and have the heli's take damage?
no, that would be players can hurt mini, players can hurt scrapheli
you probably can't do this with attack heli until Facepunch changes the initiator of the gun to be the player. rockets from the heli do this, but the gun does not from the last time I tested it. so players would be able to use the attack heli to hurt other attack heli using that rule, until Facepunch changes the initiator as i said
either that or Oxide needs to add a hook to the attack heli class
lol. Don't hate me here... So... would the following allow players to crash into other players heli's and damage each others heli's? Still trying to figure out how to enable crash damage without players weaponizing them X-D.
"mini can hurt mini"
"scrapheli can hurt scrapheli"
"attackheli can hurt attackheli"
an "Environment" Entity Group would be awesome. something like...
{
"name": "environment",
"members": "ground, static_structures, deployables",
"exclusions": ""
}
Probably not possible but then we could...
"environment can hurt mini" for example to handle crashes.
So to prevent attackheli-to-attackheli bombing it's "attackheli cannot hurt attackheli", but to allow attackheli dogfights, would I use "heliturrets can hurt attackheli"?
in order for crash damage to work you need to use a rule like mini can hurt mini since the mini hurts itself when it crashes. so an environment group wouldn't work
setting mini can hurt mini would allow any mini to hurt another mini. so you can pilot a mini, and jump out before you crash and it would technically be one mini hurting another mini and would be allowed. it's easily exploited.
no Confetti, you would need to use attackheli can hurt attackheli which would allow bombing and dogfights (with heli gun only). there is no Oxide hook to do otherwise atm.
set it to attackheli cannot hurt attackheli to prevent the exploit