Jump to content

AttackHelicopter damage

Closed 1.2.5

dolphin

Posted

Is there a way to get Attack Helicopter to stop being able to damage players buildings? I know in the default rules it's set to damage buildings, but we have tried taking helicopter_building out of allow, and its still able to damage players buildings.

  • Like 1
ariazua

Posted

I also have the same problem as well. I tried everything, but it stills the same.

RFC1920

Posted

Do you mean that it's damaging the attacker's building or another player's building (heli-raiding) ?

Tiddy

Posted

Both. Bumper is setting this for a PVE server. We're both admins of the same server. Also need to have heli to be able to damage players. Currently It's not damaging players either. 

RFC1920

Posted

The default configuration allows players to damage the heli, heli to damage the players attacking the heli, and heli to damage buildings owned by a player targeted by the heli.  I know this much works, so if it does not then there must be something else conflicting.  Worst case there is a reset and/or you can delete the nextgenpve.db in data and the NextGenPVE.json in config and reload to get back to the default.

Tiddy

Posted

The reset fixed it! Thank you for your help!!!

Ryrzy

Posted

On 5/13/2022 at 1:19 AM, RFC1920 said:

The default configuration allows players to damage the heli, heli to damage the players attacking the heli, and heli to damage buildings owned by a player targeted by the heli.  I know this much works, so if it does not then there must be something else conflicting.  Worst case there is a reset and/or you can delete the nextgenpve.db in data and the NextGenPVE.json in config and reload to get back to the default.

(lol sorry for post report xD )

i have tested this now on default settings and no my heli destroyed my base hmm

 

RFC1920

Posted

If you were targeted by the heli for any reason then your base would be fair game (shot at it, wearing more than 2 items of clothing, holding an actual gun of some kind).

Ryrzy

Posted

17 hours ago, RFC1920 said:

If you were targeted by the heli for any reason then your base would be fair game (shot at it, wearing more than 2 items of clothing, holding an actual gun of some kind).

but you did write that heli will not destroy other player base in this case, but it is destroing 

RFC1920

Posted

Generally speaking that is true.  But, we do not modify the helicopter's behavior.  We monitor it.  If it has decided to target you for any of the normal reasons, that is what determines whether or not your base will take damage.  Looking over the code again (it has been awhile), it appears that you must set HonorBuildingPrivilege to true for this check to work.

The only goal here was to prevent someone from intentionally using the heli to raid your base by baiting it while hiding in or around your base.  If you want more in-depth control over heli behavior I am sure there are other plugins for that.

The exception here to "we do not modify the heli's behavior" is HeliTurretTargetsPlayers which, if set to false, does modify the heli to not target players with it's turrets at least.

RFC1920

Posted

Changed Status from Pending to Closed

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.