Home   Help Search Login Register  

Author Topic: How to empty a Ural/truck of its ammo and weapon pool  (Read 1954 times)

0 Members and 1 Guest are viewing this topic.

Offline LeeHunt

  • Former Staff
  • ****
  • John 21:25
Hey folks,

How do you strip a Ural or truck or any vehicle of its "divinely-given" ammo and weapons pool?  The game seems to give each vehicle, empty or not, an arsenal on creation!  I tried searching the COMREF and couldnt find any command to remove all the magazines/weapons.   Setting ammo to zero doesn't work and neither does "removeallweapons this."  Strange but even civilian Urals in war-torn Sahrani are stocked with boxes of machine gun ammo and RPG rockets!!! lol 

Thanks for your help

PS  Chris's OFP Script Editor/Wizard (listed in the COMREF tools) still works like a charm in AA!!  Its saved me many, many hours of work!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: How to empty a Ural/truck of its ammo and weapon pool
« Reply #1 on: 17 Feb 2007, 03:59:55 »
Use clearMagazineCargo and clearWeaponCargo to remove the weapons and magazines from the vehicles cargo.

Similarly you can use addMagazineCargo and addWeaponCargo to add the items you want instead.

Look at the OFPEC Command Reference for details of these, and other commands.



Planck
I know a little about a lot, and a lot about a little.

Offline LeeHunt

  • Former Staff
  • ****
  • John 21:25
Re: How to empty a Ural/truck of its ammo and weapon pool
« Reply #2 on: 17 Feb 2007, 05:10:06 »
thanks Plank!  somehow i didnt think of the word "clear" while searching COMREF! Thanks for the help