Page 1 of 1

Adding weapons

Posted: Sun Nov 29, 2009 7:37 pm
by ArkAngel
I'm trying to add detpacks to the reg troopers weapons to be used with right click (like a second secondary weapon, the other being grenades). I think I wrote something wrong, can someone help me?
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"


[Properties]
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_rifle"
WeaponAmmo = 4

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 2
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "rep_weap_inf_detpack"
WeaponAmmo = 2
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "rep_weap_award_rifle"
WeaponAmmo = 4

WEAPONSECTION = 5
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6

VOUnitType = 121

Re: Adding weapons

Posted: Sun Nov 29, 2009 7:40 pm
by RED51
ArkAngel wrote:I'm trying to add detpacks to the reg troopers weapons to be used with right click (like a second secondary weapon, the other being grenades). I think I wrote something wrong, can someone help me?
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"


[Properties]
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_rifle"
WeaponAmmo = 4

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 2
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "rep_weap_inf_detpack"
WeaponAmmo = 2
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "rep_weap_award_rifle"
WeaponAmmo = 4

WEAPONSECTION = 5
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6

VOUnitType = 121
Those values need to be changed like so:
WEAPONSECTION = 4
WeaponName = "rep_weap_inf_detpack"
WeaponAmmo = 2
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName = "rep_weap_award_rifle"
WeaponAmmo = 4

WEAPONSECTION = 6
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6