Warning: file_put_contents(/ff_1a08f7290967116cea5e6d205e31c62a39f1fa62f57e711f.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
Helicopter Collision Avoidance (ARMA) by Mr.Peanut @ Editors Depot | OFPEC The Editing Center

Editors Depot

[ArmA] Helicopter Collision Avoidance (ARMA) by Mr.Peanut

Version 1.1
Added 07 Jul 2008
Downloads 628
Demo included Yes
Filesize 28.31KB
User rating 5/5

Selected list of AI helicopters will avoid collisions between eachother.

This script works by predicting each helicopter's position _dt seconds from present. If any of the helicopters are closer to each other than distance _dist they are nudged apart from each other with a speed based on the value of _spd. The _delay variable is the loop delay between collision checks. There is a degree of randomness involved. The helicopters will not always successfully avoid collision. In the demo provided there are eight AI helicopters, one of which will crash about 50% of the time in the first thirty seconds.

This script is also available for OFP Resistance

 

 

View the forum thread for this resource here.


Click to see 6 other resources by this author.


COMREF

The OFPEC Command Reference contains details of all scripting commands available to the editor.

Beginner's Tutorial

All you need to know about how to start editing.

Multiplayer Tutorial

This tutorial explains the mysteries of multiplayer editing.

OFPEC Tutorials

OFPEC hosts several quality tutorials written specifically for the site by staff and members...

OFPEC Tags

Register a tag, browse for addon keys...

Advertisement