OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SimonRussi on 22 Apr 2003, 12:31:49

Title: Ai chopper groups
Post by: SimonRussi on 22 Apr 2003, 12:31:49
Ok, I have this 5 Artificial Idiocy choppers group. They have to fly through some WPs. Guess what? 5 starts and 1 to 4 arrive. Why? Because the missing ones have collided somewhere during the flight. They make turns, one to the left and one the right and you can guess what happens. Is that possible? Are they so stupid?

Simon
Title: Re:Ai chopper groups
Post by: macguba on 22 Apr 2003, 12:52:57
Yes.

I would suggest as few WPs as possible ... but no sharp turns. :P   Playing with formation in the waypoints might help, but the standard solution is to have each chopper in its own group, so you can control them more precisely.
Title: Re:Ai chopper groups
Post by: Artak on 22 Apr 2003, 13:05:27
I'm surpriced that only 1 of the choppers doesn't make it..  ::)

I suggest everything you do with choppers is run through a script.

Instead of waypoints use the move command.

Instead of a group of 5 choppers use 5 groups of 1 chopper.

And then the ultimate anti-collidorxzon: The flyinheight command.
In your script put
chopper1 flyinheight 60
chopper2 flyinheight 80
and so on.

Quote
Are they so stupid?
Oh yes.. Yes indeed!
Title: Re:Ai chopper groups
Post by: SimonRussi on 22 Apr 2003, 14:44:21

Instead of a group of 5 choppers use 5 groups of 1 chopper.


that's what i made and now it works, but, you know, every command must be given five times now... :)

Quote
I would suggest as few WPs as possible ...

I used only 1 wp, the choppers collide when they reach the dest and they turn to take position :)

Simon