Page 1 of 1

Max of 8 weapons per unit.

Posted: Wed Apr 19, 2006 1:33 am
by [RDH]Zerted
I haven't noticed this anywhere, so I'll post it. The max amount of weapons a unit can carry is 8. 4 primary weapons and 4 secondary weapons. You can dynamically mess around with the weapons in the lua, but you can never have more than 8 of them. If you think its more, feel free to prove me wrong.

Here is the weapon loadout I used (just copy it somewhere to see it better) I had this in all_inf_rifleman.odf:
WEAPONSECTION = 1
WeaponName = "all_weap_inf_rifle"
WeaponAmmo = 0

WEAPONSECTION = 2
WeaponName = "all_weap_inf_pistol"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "all_weap_inf_thermaldetonator"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "all_weap_inf_timebomb"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName = "all_weap_inf_shotgun"
WeaponAmmo = 0

WEAPONSECTION = 6
WeaponName = "all_weap_inf_detpack"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 7
WeaponName = "all_weap_inf_sniper_rifle"
WeaponAmmo = 0

WEAPONSECTION = 8
WeaponName = "all_weap_inf_mine_dispenser"
WeaponAmmo = 0
WeaponChannel = 1

RE: Max of 8 weapons per unit.

Posted: Wed Apr 19, 2006 2:09 am
by Schizo
Man, that guy must've had enough firepower to take on a small European nation by himself. Never thought you could get that many weapons on a single troop. Nice find. I'll definitely remember this one... might prove to be useful sometime. Though, I can't possibly think of any unit that would need eight weapons on its own... maybe like, five or six, but eight... ehh...

RE: Max of 8 weapons per unit.

Posted: Wed Apr 19, 2006 3:02 am
by Penguin
this was mentioned in the documents you know

Re: RE: Max of 8 weapons per unit.

Posted: Wed Apr 19, 2006 3:18 am
by [RDH]Zerted
Penguin wrote:this was mentioned in the documents you know
I thought I had heard something about it, but I couldn't find it again... Its on page 11 of the Jedi creation guide :oops:.

RE: Re: RE: Max of 8 weapons per unit.

Posted: Wed Apr 19, 2006 3:02 pm
by Schizo
I never looked at the documentation anyway except for scripting space battles... >.>

RE: Re: RE: Max of 8 weapons per unit.

Posted: Wed Apr 19, 2006 5:46 pm
by PR-0927
Hmm, this is useful...

- Majin Revan

RE: Re: RE: Max of 8 weapons per unit.

Posted: Thu Apr 20, 2006 9:26 pm
by -SP-Butters
Nice find. Man would a guy OWN you with all that. :twisted: hope it comes useful to me some day.

Posted: Thu Apr 20, 2006 11:33 pm
by Vyse
Wow, I didn't know you could have that many! In SWBF1 I could only get 4 to work. Thanks for the info.

Posted: Thu Apr 20, 2006 11:36 pm
by -_-
Vyse wrote:Wow, I didn't know you could have that many! In SWBF1 I could only get 4 to work. Thanks for the info.
What he said :D