HeliRefuel

HeliRefuel 2.1.21

Because BotSpawn
  • Like
Reactions: MalS
Fixed server freezing (as far as I can tell)
Force NPC's to target players who attack them
Increased NPC chase distance to 45m from helicopter
If enemy is farther than 45m from helicopter NPC's will try and move to a position where they can attack that is inside the 45m radius
Set lower NPC movement speed when there is a clear LOS to target and target is within the weapons effective range to ensure the NPCs actually attack
  • Like
Reactions: Robert and MalS
Helicopter should cancel whats its doing and retire when its life cycle has expired
Added config option to toggle various notifications
Increase loot spawn distance so its not so close to the helicopter
Randomize NPC dismount positions
Sample navmesh position on dismount to ensure NPCs can move around
Apply alternate navmesh area mask and agent type when landing on a OilRig so the NPCs can wander freely
Perform LOS checks when doing target scan near the LZ so the helicopter doesn't stay hovering above the LZ trying to target a enemy it can't see
5 second intervals between checks if LZ is clear to land
Increase throttle speed when heading towards a LZ
Force NPCs to roam in a 15m radius of the helicopter if they dont have a player target
NPCs should roam to their destination and wait a few seconds before finding a new roam destination
NPCs slow walk when roaming and run when hunting
  • Like
Reactions: MalS and Bumfuzzler
Updated for hook deprecation
Find closest point on navmesh to dismount points
  • Like
Reactions: MalS and 406_Gromit
Added config option for Self Destruct. If false, helicopter will revert to default behaviour when NPCs are killed
Added hook to stop NPC AutoTurrets from targeting helicopter scientists
Added location name in other global messages
  • Like
Reactions: MalS
Faster throttle speed when moving towards refuel location
Return false in CanBradleyAPCTarget
BradleyAPC ignores helicopter scientists
Added automation config option "Minimum amount of online players to trigger the event"
Changed oil rig names in config
Start patrolling on spawn
Prevent other NPC types from attacking the helicopter NPCs
Fixed some loot containers not being picked up
Add a spawn message and some color to default localized messages (requires old lang file deleted)
Fly at a normal speed when heading to refuel location
Include terrain height in initial destination so helicopter doesn't get stuck in the center of the map
Force helicopter position within map bounds after spawn so NPCs dont instantly despawn
Added Military Tunnels, Junkyard, Trainyard, Water Treatment monuments
Added config option "Drop additional loot crates if killed whilst flying"
Added config option "Drop NPC corpses if killed whilst flying"
Apply helicopter velocity to NPC corpses if helicopter is killed whilst flying
Fixed ""Stop" can only be called on an active agent that has been placed on a NavMesh" warning message when spawning
Fixed OilRig names (for some reason the names are reversed in game vs the actual prefab)