Jump to content
DeathF0X

[Release] Ambient Helicopters

Recommended Posts

dhg48tJ.png


How it works:

It search for all defined helipads and create pairs, startpad and endpad.You can place even helipads in the editor or use the map helipads. Then it create a random helicopter and give the order to move to the paired helipad and rest for a random time, about 8min then it will return to the first helipad and rest again. If the helicopter is damaged(30%) it will be deleted and a new one will start from the first helipad.





https://www.youtube.com/watch?v=fsWI-RYcd_s


Visit the wiki for using AiA maps.

Code: https://bitbucket.org/Skullfox/ambient-helicopters/src/b7bac0ace5c6004d3034ad992732447ef3bbfa5a?at=master
Wiki: https://bitbucket.org/Skullfox/ambient-helicopters/wiki/Home
Download demo: https://bitbucket.org/Skullfox/ambient-helicopters/downloads

Edited by skullfox
  • Like 2

Share this post


Link to post
Share on other sites

vengeance1  im working on it 

 

 

#update 1.1

 

+ Readme

+ Sample Mission

+ Settings now on top ( _heliArray, _heliPadClasses )

 

- Removed Eventhandler file only "ambientHeli.sqf" required

Share this post


Link to post
Share on other sites

Awesome if you created a Planes one as well.  Been playing around with your code a lot Helo's vs what H-Pads etc.

 

Ideas for the Helo:

 

- Ability to specify helo type for

"Rescue H" - Medical Helos Only

"Normal H" - Military Helos Only

"Civ H" - Civilian Helos Only.

 

This way you can create ambient traffic for the location Airport, Military Base, Hosp etc.

 

Just input, great job appreciate the hard work.

 

Vengeance

  • Like 1

Share this post


Link to post
Share on other sites

Any further update for this script?

 

How would i set flyinheight to randomize between 50-200?

 

How would i shorten the rest time from 8min to 4min or also randomize it.

 

Id also like to get this working with planes on all the landing strips.

 

Thanks,

Reed

Share this post


Link to post
Share on other sites

good stuff. keep it up!

 

lots of cool scripts being released lately.

Share this post


Link to post
Share on other sites

This works awesome, I have edited it a little for my liking, but does the job nicely.

Share this post


Link to post
Share on other sites

update, ive rewritten the whole script i only need to test it on my server.

Whats new:

  • build ala cfgFunctions
  • No while loops used
  • Dev mode for mission builder

 

On 3.8.2015 at 8:35 PM, vengeance1 said:

Awesome if you created a Planes one as well.  Been playing around with your code a lot Helo's vs what H-Pads etc.

 

Ideas for the Helo:

 

- Ability to specify helo type for

"Rescue H" - Medical Helos Only

"Normal H" - Military Helos Only

"Civ H" - Civilian Helos Only.

 

This way you can create ambient traffic for the location Airport, Military Base, Hosp etc.

 

Just input, great job appreciate the hard work.

 

Vengeance

 

No plane support.

 

and YES it will support customized helipads, explanation:

 

The script will search for all hpads on the map, but now you can define the pads owner side.

Place a gamelogic on the helipad,init:

[this,1] call fox_ambient_heli_fnc_setHelipadSide;

This will change the pads ownership(for the nearest pad, 10m) to blufor, default all pads owned by side id 3 aka civilian.

Now only a blufor heli will start here, fly to the landing pad and returns, endless, on every landing the fuel is set to full.

 

Optional:

If a heli gets shot down, it will send an emergency message in the globalchat like:

"This is a emergency broadcast, were going down, our position is 019055" ...

 

When im home i will post some screens.
 

 

Share this post


Link to post
Share on other sites

Excellent news.

I use this a lot.

Let us know when you have tested and posted the newest version.

thanks

Share this post


Link to post
Share on other sites

Any additional work on this? Like adding planes to all the runways?

 

Thanks,

Still enjoy this

Share this post


Link to post
Share on other sites

This is excellent. I am having an issue using this with the UNSUGN Mod though. When used all helicopters (those spawned by this script and those placed manually) only show as a low LOD version of the model. In other words only the low quality version of the helicopter model appears (that is normally used when you are far away from the helicopter).

 

Any ideas?

Share this post


Link to post
Share on other sites
13 hours ago, pappagoat said:

This is excellent. I am having an issue using this with the UNSUGN Mod though. When used all helicopters (those spawned by this script and those placed manually) only show as a low LOD version of the model. In other words only the low quality version of the helicopter model appears (that is normally used when you are far away from the helicopter).

 

Any ideas?

 

Unfortunately no idea, but can you debug this further? e.g. replace the Unsung helicopter with vanilla, remove just the script and see when things break? Normally the engine calculates the LOD used itself. There is no influence over it when placing the vehicle, from what I know.

Share this post


Link to post
Share on other sites
On 7/5/2018 at 2:19 AM, TeTeT said:

 

Unfortunately no idea, but can you debug this further? e.g. replace the Unsung helicopter with vanilla, remove just the script and see when things break? Normally the engine calculates the LOD used itself. There is no influence over it when placing the vehicle, from what I know.

 

 

Hmmm, I'd tested further and it seemed to be the UH-1s and H-6's whereas the CH-47 was fine.... trying it again today... they are all working fine. So maybe my computer was just tired.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×