Page 1 of 1

Weapons sharing ammo (how to) (FAQ)

Posted: Mon Jul 16, 2007 1:42 am
by Syth
I thought this was pretty cool, so Ill post what to do to do it
WEAPONSECTION = 1
WeaponName = "name1"
WeaponAmmo = 5

WEAPONSECTION = 2
WeaponName = "name2"
WeaponAmmo = 5
WeaponShareAmmo = 1
Theres what a working example of it looks like. Just add the

Code: Select all

WeaponShareAmmo =
line and then the number of the weapon that its suppose to share ammo with. This is of course a units ODF.
Im not sure if both weapons have to have the same clip size though- mine do.

[RDH]Zerted posted some unused ODF code somewhere and I fiddled around with it. Didnt take long to figure out.

Posted: Mon Jul 16, 2007 8:45 am
by ARC_Commander
Ooh, good! WeaponShareHeat works the same way, presumably.

Posted: Mon Jul 16, 2007 9:29 am
by Ace_Azzameen_5
Nominated for a link to the modding faq. Every side modder must know about this!

(I'm tired of being able to switch from an overheated heavy version and switching to the non - overheated light version, etc. )

Re: Weapons shareing ammo (how to) (FAQ)

Posted: Thu Oct 30, 2008 4:00 pm
by Tygr
Tried it, and it crashed. Anything else about it we need to know? Limitations?

Sorry to bump an old topic!

Re: Weapons shareing ammo (how to) (FAQ)

Posted: Fri Dec 18, 2009 1:41 am
by skelltor
really sorry to bump an old topic but what dose it do??

Re: Weapons shareing ammo (how to) (FAQ)

Posted: Fri Dec 18, 2009 1:44 am
by AQT
Just as the subject of the topic suggests, perhaps?