Max of 8 weapons per unit.

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Max of 8 weapons per unit.

Post 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
Schizo

RE: Max of 8 weapons per unit.

Post 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...
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

RE: Max of 8 weapons per unit.

Post by Penguin »

this was mentioned in the documents you know
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: RE: Max of 8 weapons per unit.

Post 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:.
Schizo

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

Post by Schizo »

I never looked at the documentation anyway except for scripting space battles... >.>
User avatar
PR-0927
Old School Staff
Posts: 844
Joined: Fri Dec 31, 2004 9:15 pm
Location: Kent, OH, U.S.A.

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

Post by PR-0927 »

Hmm, this is useful...

- Majin Revan
-SP-Butters

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

Post by -SP-Butters »

Nice find. Man would a guy OWN you with all that. :twisted: hope it comes useful to me some day.
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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.
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post 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
Post Reply