Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Changing turret Guns?
Re: Changing turret Guns? [message #285423 is a reply to message #285175] Thu, 20 September 2007 23:36 Go to previous messageGo to previous message
Veyrdite is currently offline  Veyrdite
Messages: 1471
Registered: August 2006
Location: Australia, Sydney
Karma:
General (1 Star)
JFW_Weapon_Change_On_Custom (changes the weapon given to an object)
Message (message to listen for)
Powerup (powerup to grant for the weapon)
Weapon (weapon to select)
What this script does is removes all current weapons held by whatever it's attached to.
It then gives a new powerup followed by a new weapon. This will work for vehicles as well as infantry.
This will remove all weapons (including pistol/C4)
The powerup and weapon need to match.
When doing this for vehicles (and perhaps infantry too in some cases), it is essential that both the primary and secondary ammo fields are filled in.
If you don't want secondary fire, set them both to the same ammo.
If you don't do this and someone activates secondary fire, renegade will crash.
Also, sound issues may arrise if the fire sound for the weapon you are using has a "loop" setting of anything other than 1.


WOL: Veyrdite Previously: Dthdealer ( a long time ago )
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: heli pad
Next Topic: C&C_Flying_Mixes for leveledit
Goto Forum:
  


Current Time: Fri Dec 20 22:07:08 MST 2024

Total time taken to generate the page: 0.00785 seconds