Jump to content

Home

Several Weapons - Same Ammo?


Eisenfaust

Recommended Posts

I just wanted to know, if it is possible to let several Weapons use the same Ammunition reserves like other weapons. If this would be possible, I could give the weapons defferent Firemodes.

 

As far as I know, it is impossible, but I'm not arrogant enough to believe that I know everything! :D

Link to comment
Share on other sites

Yes. Different fire modes are possible, not sure if the controls are set up for it anymore though. I also don't know if it was still functional when the game shipped, but here are some code snippets:

 

Try code like this on the unit

 

WeaponName1 = "all_weap_inf_spyrifle"

WeaponAmmo1 = 0

WeaponName2 = "all_weap_inf_remote_charge_dispenser"

WeaponAmmo2 = 5

WeaponChannel2 = 1

WeaponName3 = "all_weap_inf_disguise"

WeaponAmmo3 = 1

 

and on the weapon you need multiple weapon sections like

 

WEAPONSECTION = 1

FireSound = "com_weap_inf_grenadethermal_ord"

ReloadSound = ""

ChangeModeSound = "com_weap_inf_grenade_modechange"

OrdnanceName = "all_weap_inf_grenadefrag_ord"

ShotDelay = "1.5"

ReticuleTexture = "reticule_00"

 

InitialSalvoDelay = "0.3"

FireSound = "com_weap_inf_grenadethermal_ord"

ReloadSound = ""

 

WEAPONSECTION = 2

FireSound = "com_weap_inf_grenadethermal_ord"

ReloadSound = ""

ChangeModeSound = "com_weap_inf_grenade_modechange"

OrdnanceName = "all_weap_inf_grenadefrag_ord1"

ShotDelay = "1.5"

ReticuleTexture = "reticule_00"

InitialSalvoDelay = "0.3"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...