HeliRefuel

HeliRefuel 2.1.19

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)
This update will overwrite your config and data files will become obsolete
Full re-write, everything has either been changed or removed and a ton of new features have been added
See overview for more information
  • Like
Reactions: MalS
  • Fixed NPCs running away for no reason
  • Improved handling of data to hopefully make it a bit easier to set custom loot
  • Some other small tweaks and improvements to helicopter spawning
  • Like
Reactions: MalS and Jeini