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 next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
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
Re: What bullet/weapon related scripts should I add to 2.7? [message #195581 is a reply to message #195577] Sun, 09 April 2006 07:48 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Maybe a (Manned) turret script. So that when the turret overheats the clip is empty, after a few seconds, it regens back.

WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Re: What bullet/weapon related scripts should I add to 2.7? [message #195582 is a reply to message #195581] Sun, 09 April 2006 07:52 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Oblivion165 wrote on Sun, 09 April 2006 09:48

Maybe a (Manned) turret script. So that when the turret overheats the clip is empty, after a few seconds, it regens back.

That would be nice for use with any weapon (not just turrets), actually (it would behave something like the Plasma Rifle from Halo)


HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.

If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.

[Updated on: Sun, 09 April 2006 07:53]

Report message to a moderator

Re: What bullet/weapon related scripts should I add to 2.7? [message #195651 is a reply to message #195577] Sun, 09 April 2006 18:57 Go to previous messageGo to next message
dudley is currently offline  dudley
Messages: 115
Registered: April 2005
Location: Germany
Karma: 0
Recruit
looks like a few new crates are coming Big Grin (ammo set down to 1 clip each weap or something, weapon freeze crate - sets the ammo to 0 for a specific amount of time be4 it refills again)

refilling ammo automatically when entering your own structures or a vehicle might also be helpful sometimes when its possible to specify what weapon(s) exactly are being refilled


The dead know only one thing: it's better to be alive.
Re: What bullet/weapon related scripts should I add to 2.7? [message #195653 is a reply to message #195577] Sun, 09 April 2006 19:33 Go to previous messageGo to next message
Renx is currently offline  Renx
Messages: 2321
Registered: April 2003
Location: Canada
Karma: 0
General (2 Stars)
Category Moderator
The only thing that might be slightly useful I can think is vehicle ammo. With this you could have a limited amount of ammo for each or certain vehicles, then have to drive into a zone to refil.

~Canucck

http://www.sloganizer.net/en/style7,Espion.png

Blazer

...RG made me ugly

[Updated on: Sun, 09 April 2006 19:33]

Report message to a moderator

Re: What bullet/weapon related scripts should I add to 2.7? [message #195695 is a reply to message #195577] Mon, 10 April 2006 09:31 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
maybe a script where your weapon has a random chance (say 0.05%) of jamming each time you fire it, and your current clip is set to empty (as if it was discarded)...

http://steamsignature.com/card/1/76561197975867233.png
Re: What bullet/weapon related scripts should I add to 2.7? [message #195966 is a reply to message #195577] Wed, 12 April 2006 14:47 Go to previous messageGo to next message
Titan_HQ is currently offline  Titan_HQ
Messages: 63
Registered: March 2006
Location: Scotland
Karma: 0
Recruit
Would it be possible to limit a person to the number of weapons they can carry. Let a person swap there current weapon for a weapon lying on the ground instead of just automaticly picking it up.

http://i26.photobucket.com/albums/c112/micrwave_madness/CnC_TD_Banner.png


If you want to join the Tiberium Desolation team, email me at monkey_toes90@hotmail.co.uk.
Re: What bullet/weapon related scripts should I add to 2.7? [message #195974 is a reply to message #195577] Wed, 12 April 2006 15:11 Go to previous messageGo to next message
JeepRubi is currently offline  JeepRubi
Messages: 1417
Registered: April 2005
Location: Ontario. Canada
Karma: 0
General (1 Star)

Cina like Halo?

HORQWER wrote on Tue, 18 September 2007 20:47

this is not a real renegade forums ,some one made it up

Renforums

We Know Drama

Renegade Forums - Official Drama Perpetuator.
Re: What bullet/weapon related scripts should I add to 2.7? [message #196007 is a reply to message #195577] Wed, 12 April 2006 18:56 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Weapon jamming and limited weapons is not going to happen.


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
Re: What bullet/weapon related scripts should I add to 2.7? [message #196030 is a reply to message #195577] Thu, 13 April 2006 03:23 Go to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
didnt think it would be possible, but you never know unless you ask Rocked Over

anyway, nice work with all the weapon engine calls, I am sure people will come up with some great uses for this!


http://steamsignature.com/card/1/76561197975867233.png
Previous Topic: Gmax to .lvl
Next Topic: SSAOW Version 1.5
Goto Forum:
  


Current Time: Mon Dec 02 15:51:11 MST 2024

Total time taken to generate the page: 0.00732 seconds