Home   Help Search Login Register  

Author Topic: Ammo Crates  (Read 590 times)

0 Members and 1 Guest are viewing this topic.

ljej

  • Guest
Ammo Crates
« on: 07 Jun 2003, 15:25:54 »
I can ad aa launchers and any other type of launchers to crates but when i add there ammo it never apears in the crate any help would be great thx.Tia

deaddog

  • Guest
Re:Ammo Crates
« Reply #1 on: 07 Jun 2003, 15:46:22 »
Put something like this in the init line of the ammocrate:

this addMagazineCargo ["CarlGustavLauncher",10]
this addWeaponCargo ["CarlGustavLauncher",2]

or

this addWeaponCargo ["aalauncher",2]
this addMagazineCargo ["aalauncher",3]

These are from a working mission.   :)

Babalon

  • Guest
Re:Ammo Crates
« Reply #2 on: 08 Jun 2003, 00:00:56 »
DD,

When i firs tstarted missions, i was taught, you fill up an ammo crate first by adding a weapons ammo, and then the launcher.

I never questioned it or have i ever done other wise, but give it a try, might be one of those little quircks in the game.

deaddog

  • Guest
Re:Ammo Crates
« Reply #3 on: 08 Jun 2003, 05:41:27 »
That doesn't matter for ammo crates.  Those lines of code are actually for one ammo crate in a mission (along with some other ammo/weapons).  You just have to make sure you have room for both the launcher and the magazine.  Otherwise, you may get the weapon but no ammo for it.

It does make difference for adding ammo/magazines to soldiers.  If you add the weapon before the ammo, then you have to "reload" the weapon before you use it.  Adding ammo first will make the weapon already have a magazine in it.

 :)