Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » What bullet/weapon related scripts should I add to 2.7?
What bullet/weapon related scripts should I add to 2.7? [message #195577] Sun, 09 April 2006 05:47 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

Thanks to my new engine calls, I can remove any gun from an object by preset name.
I can also locate any gun by preset name. (if the object has it)
And I can find "all guns" for an object.
And I can get the current gun for an object oo.
Then, once I have the gun, I can add bullets.
I can subtract bullets.
I can set the bullets to some specific value (including "empty" and "full")
I can do this for both the count of bullets loaded into the weapon and for the count of bullets in the "clip/backpack".
I can make all this trigger on zone entry, on powerup collection, and on poke.

What scripts should I make with this? What uses can people think of for being able to change the bullets for a gun or object?


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Gmax to .lvl
Next Topic: SSAOW Version 1.5
Goto Forum:
  


Current Time: Mon Dec 02 13:29:33 MST 2024

Total time taken to generate the page: 0.00897 seconds