weapon limit?

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
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

weapon limit?

Post by wishihadaname »

so im making the map felucia deltas down into a final more fun version and i realise that hte commandoes are not as good as they were in the actual Republic commando game.
i tryed to add more weapons such as detpacks and the dc 15 snyper to them but it won't let me go over 4 weapons any ideas cas i know it can be done i have a downloaded mod map with units that have like 7 weapons
Syth
General
General
Posts: 784
Joined: Thu Apr 13, 2006 8:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: happy fun island

Re: weapon limit?

Post by Syth »

Code: Select all

WEAPONSECTION = 1
WeaponName         = "Name1"
WeaponAmmo         = 3

WEAPONSECTION = 2
WeaponName         = "Name2"
WeaponAmmo         = 3

WEAPONSECTION = 3
WeaponName         = "Name3"
WeaponAmmo         = 2

WEAPONSECTION = 4
WeaponName         = "Name4"
WeaponAmmo         = 1
WeaponChannel      = 1

WEAPONSECTION = 5
WeaponName         = "Name5"
WeaponAmmo         = 0
WeaponChannel      = 1

WEAPONSECTION = 6
WeaponName         = "Name6"
WeaponAmmo         = 5
WeaponChannel      = 1

WEAPONSECTION = 7
WeaponName         = "Name7"
WeaponAmmo         = 0
WeaponChannel      = 1

WEAPONSECTION = 8
WeaponName         = "Name8"
WeaponAmmo         = 3
Like this you can have up to 8 weapons
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: weapon limit?

Post by Teancum »

Yep, 8 total slots - 4 per WeaponChannel *primary / secondary weapons*.
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Re: weapon limit?

Post by wishihadaname »

humm ok that what i was trying ill have to look over my odf again see if i made a typo or something thanks for the help 8)


EDIT: odd idk why its not working here is my odf for the republic commando any ideas?
[GameObjectClass]
ClassParent = "rep_inf_default"


[Properties]
UnitType = "Trooper"
MaxHealth = 700.0

WEAPONSECTION = 1
WeaponName = "rep_weap_inf_dc15s_side_arm"
WeaponAmmo = 0

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_dcrifle"
WeaponAmmo = 5

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_anti_armor"
WeaponAmmo = 5

WEAPONSECTION = 4
WeaponName = "rep_weap_inf_dcsniper"
WeaponAmmo = 4

WEAPONSECTION = 5
WeaponName = "imp_weap_inf_crackgrenade"
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 6
weaponName = "rep_weap_inf_detpack_dispenser"
WeaponAmmo = 3
WeaponChannel = 1

WEAPONSECTION = 7
WeaponName = "rep_weap_inf_powerup_dispenser"
WeaponAmmo = 1
WeaponChannel = 1

VOUnitType = 42

HurtSound = "clone_commando_chatter_wound"
Post Reply