OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: White Angel on 20 May 2003, 18:00:33

Title: How to reload Mi24 weapons or other aircraft or helicopters ?
Post by: White Angel on 20 May 2003, 18:00:33
Hi everybody,
A have a problem to reload Mi24 weapons. what are the magazines of this helicopter ? I have found only two of the three weapons(helfire and Rocket are OK, but i can't reload machine Gun)
Thanks
Title: Re:How to reload Mi24 weapons or other aircraft or helicopters ?
Post by: Kaliyuga on 20 May 2003, 21:42:57

             
Mi24 addmagazine "HellfireLauncherHind"
Mi24 addmagazine "Rocket57x64"    
Mi24 addmagazine "MachineGun30"

there ya go :toocool:
Title: Re:How to reload Mi24 weapons or other aircraft or helicopters ?
Post by: White Angel on 21 May 2003, 12:55:22
Thanks Kaliyuga,
But i've already tried it. With helfire and rocket there is no problems. (with the command "addmagazine...")
But  with the "MachineGun30" it doesn't work ! No more magazine appears in the helicopter board when i execute the command !?! ???

Have you already tried it ? It works ?
Title: Re:How to reload Mi24 weapons or other aircraft or helicopters ?
Post by: Captain Crunch on 21 May 2003, 15:31:23
Hi White Angel!


   Why don't you try with an Ammo Truck or an Ammo Ural?  :)  Could this help?



   Crunch
Title: Re:How to reload Mi24 weapons or other aircraft or helicopters ?
Post by: Sui on 22 May 2003, 06:15:19
...
Mi24 addmagazine "MachineGun30"
...

This changed with the release of Resistance...

I learned the hard way when one of my cutscenes stopped working... ;D
Try:

Mi24 addmagazine "MachineGun30E"

In future if you want to get a list of the weapons/magazines carried by any unit (or vehicle), try using a trigger like this:

Trigger

Radius: 0,0
Condition: Radio Alpha
Condition Field: this
OnActivation Field: hint format ["%1\n\n%2",weapons unit, magazines unit ]

Which will give you a list of the weapons unit has, then a list of the magazines it has ;)
Title: Re:How to reload Mi24 weapons or other aircraft or helicopters ?
Post by: tankieboy on 22 May 2003, 16:05:02
If you want it to be realistic add the ammo to a non-empty ammo truck, set a support waypoint close to the truck. Land your helo and call for ammo support. Sorted.
Title: Re:How to reload Mi24 weapons or other aircraft or helicopters ?
Post by: White Angel on 23 May 2003, 13:02:48
Thanks to all,
And particularly Sui who gave me the solution... ;)