Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » More script ideas
More script ideas [message #110319] Thu, 26 August 2004 06:33 Go to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
FallingSoldierSound
Plays a 3D sound (Eg. soldier screaming) when you are falling from a certain distance.

ProgressiveDamageSound
Plays a 3D sound (Eg. soldier yelling in pain/heavy breathing) when health drops to 75% (wounded),50% (heavily wounded), 20%(dying) and 0% (death)
Every health level should have its own sound setting.
Can be used for vehicles and buildings as well.

CaptureOnPoke
Converts the object that was poked to same side as who poked it.
Should be be able to define if only a certain soldier can convert them by poking. (Eg. Engineer).

Damaged_ApplyDamage
If this object is damaged by X amount, it will start applying additional damage by every X seconds. Will stop applying damage when it receives a custom (eg. Medical kit powerup collected).

Fading_Flash
When attached to any object, this will fade in and out the screen in specified color after a set delay. This could be useful for very powerful explosions (eg. nuke) to flash the entire screen.
More script ideas [message #110445] Thu, 26 August 2004 14:27 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

will look into those for 2.0.
No promises though.


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
More script ideas [message #110460] Thu, 26 August 2004 14:34 Go to previous messageGo to next message
Havoc 89 is currently offline  Havoc 89
Messages: 500
Registered: February 2003
Karma: 0
Colonel
That would be wicked! i love the progressive damage script aswell as Fade Flash.

http://img362.imageshack.us/img362/7112/renxbannercopywm9.jpg
More script ideas [message #110667] Thu, 26 August 2004 17:13 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

hmmm, now that I look at it, you can do ProgressiveDamageSound with JFW_2D_Sound_Damage and JFW_3D_Sound_Damage.
FallingSoldierSound cant be done.
CaptureOnPoke I can do but building capture requires a lot more than just this (plus the method I have to change the team of an object wont work on building controlers and also the fact that building capture doesnt fit with renegade)
Damaged_ApplyDamage I can do.
For FadingFlash, I dont have a clue how to do it.
the screen fade stuff is per-player so there has to be a way to detect which players should get the effect and which shouldnt.


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
More script ideas [message #110688] Thu, 26 August 2004 17:31 Go to previous messageGo to next message
Doitle is currently offline  Doitle
Messages: 1723
Registered: February 2003
Location: Chicago, IL
Karma: 0
General (1 Star)
Moderator/Captain

Jonwil, I don't really know enough about the Renegade engine to be able to make an educated suggestion, but I was thinking. For that fade flash script, could it be made to work somehow with the fog? Maybe moving the fog plane inwards quickly to a kind of fade to white? I'm not sure if you have the capability to change the fog's attributes with scripts but, I figure its worth a shot throwing the idea out there.

Anyhow keep up the great work Jonwil.


http://www.n00bstories.com/image.fetch.php?id=1285726594
More script ideas [message #110690] Thu, 26 August 2004 17:33 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
You could pull of the flash thing by attaching some really bright model with an animation to the soldier's bone I guess.

cause = time
More script ideas [message #110822] Fri, 27 August 2004 00:21 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
What about soldiers flailing their arms when they fall?
More script ideas [message #110834] Fri, 27 August 2004 02:40 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

no to flailing arms.

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
More script ideas [message #110838] Fri, 27 August 2004 02:51 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
jonwil


1.FallingSoldierSound cant be done.
2. CaptureOnPoke I can do but building capture requires a lot more than just this (plus the method I have to change the team of an object wont work on building controlers and also the fact that building capture doesnt fit with renegade)
3. For FadingFlash, I dont have a clue how to do it.
the screen fade stuff is per-player so there has to be a way to detect which players should get the effect and which shouldnt.


1. Maybe you should take a look at KGBSpy's Vehicle falling script?

ZValueBeforeStartFallingMode:int; This is basicly the distance in units on the Z axis, its needed to put the vehicle in the falling mode.
ImpactExplosion_Preset:string; Used to impact ambient tank, or the falling tank and alow a "clonk" sound on impact.
Warhead:string; Warhead used to dommage vehicles.
DommageMultiplier=10:int; Used as a Dommage multiplier
Time=1:float; How accurate is the scripts(x<1 mean more accurate)
TimerNumber:int; Set an unique # if the object as more than one script using a timer.

2. It can be used for other things as well, like converting neutral units to your side.
3. The effect should be global, meaning everyone's screens should flash.

And oh yeah, I got an another idea:

ProgressiveDamageAnim
Animates the vehicle when it is damaged to certain level.
This could be used to create semi-realtime vehicle damage. Parts can fall off (other than glass), vehicle body gets battered (use WWSkin for this) and such.
You should be able to specify what animation frames are for what damage level.
More script ideas [message #110861] Fri, 27 August 2004 05:32 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

ProgressiveDamageAnim is doable.
Global screen fade is definatly doable.


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
More script ideas [message #113174] Sun, 05 September 2004 06:43 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
I just noticed that JFW_PlaySound can be used to play music in random order.

Put your music twiddler as the sound and set the frequencies to around 5.00.
More script ideas [message #113175] Sun, 05 September 2004 06:49 Go to previous messageGo to next message
NeoX is currently offline  NeoX
Messages: 408
Registered: April 2003
Location: Canada, Ontario, Acton
Karma: 0
Commander
Is there away in the scripts dll to make it so you cant reload when you got a full clip? it seems stupid to beable to.
More script ideas [message #113196] Sun, 05 September 2004 09:16 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
I agree with NeoX, it aways bugged me.
More script ideas [message #113217] Sun, 05 September 2004 12:08 Go to previous messageGo to next message
flyingfox is currently offline  flyingfox
Messages: 1612
Registered: February 2003
Location: scotland, uk
Karma: 0
General (1 Star)
Also, what if you were to remove the remaining ammo from a clip (when you reload) from your total ammo? So say you have 300 bullets and an extra 60/100 in-gun. when reloaded you lose a hundred from the 300 limit. or a 2/4 rifle when reloaded would cost 4 bullets instead of 2.
More script ideas [message #113218] Sun, 05 September 2004 12:23 Go to previous messageGo to next message
Toolstyle is currently offline  Toolstyle
Messages: 215
Registered: May 2004
Location: Manchester
Karma: 0
Recruit
It does make sence, the characture takes the mag out and puts it back in his/her bag with the other mags to finish it off later. Why would you throw away a mag with 20 rounds still in it? They may be what saves your arse on the way back to your base.
More script ideas [message #113333] Mon, 06 September 2004 08:27 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
Okay, time for another idea:
I need a script that plays a cinematic at random intervals at the position of the object it is attached to.

JFW_3D_Sound_Damage doesn't work well on soldiers, because when one dies, the soldier starts breathing even though he's dead.

[Updated on: Mon, 06 September 2004 08:30]

Report message to a moderator

More script ideas [message #113335] Mon, 06 September 2004 08:29 Go to previous messageGo to next message
Dan
Messages: 395
Registered: August 2003
Location: UK
Karma: 0
Commander
I'll leave that one for jonwil... I've almost finished that Capture_on_Poke script that you wanted. I'm just having a bit of trouble with giving it a preset that it is poked by to be captured.
More script ideas [message #113460] Tue, 07 September 2004 12:00 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
Cool..

I almost forgot.. the random cinematic should repeat only when it receives a custom (powerup collected) so the map won't eventually flood with powerups.
More script ideas [message #113466] Tue, 07 September 2004 12:09 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
flyingfox

Also, what if you were to remove the remaining ammo from a clip (when you reload) from your total ammo? So say you have 300 bullets and an extra 60/100 in-gun. when reloaded you lose a hundred from the 300 limit. or a 2/4 rifle when reloaded would cost 4 bullets instead of 2.


That would be nice, too, and I'm sure it's possible. Battlefield 1942 has this feature.
More script ideas [message #113605] Wed, 08 September 2004 18:59 Go to previous messageGo to next message
PCWizzardo is currently offline  PCWizzardo
Messages: 50
Registered: June 2003
Karma: 0
Recruit
Personally, I don't consider that loss of ammo on reload to be a feature... Unless you're Microsoft.

In BF1942, try this: Fire a shot, reload,shoot,reload.... All your ammo is gone, except for one clip.

I like it the way it is. It represents pulling out the clip and adding bullets to it from another clip.
More script ideas [message #113606] Wed, 08 September 2004 19:06 Go to previous messageGo to next message
kopaka649 is currently offline  kopaka649
Messages: 476
Registered: March 2003
Location: Edmonton, Alberta, Canada
Karma: 0
Commander
in about 2 seconds?
More script ideas [message #113609] Wed, 08 September 2004 19:35 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
PCWizzardo

In BF1942, try this: Fire a shot, reload,shoot,reload.... All your ammo is gone, except for one clip.


THAT IS WHY you use up your ENTIRE ammo clip instead of reloading it constantly for no reason. It sounds a lot more like "don't use this feature because I don't like it" rather than "here is a good and realistic reason why we shouldn't use this feature."
More script ideas [message #113634] Thu, 09 September 2004 06:45 Go to previous messageGo to next message
Toolstyle is currently offline  Toolstyle
Messages: 215
Registered: May 2004
Location: Manchester
Karma: 0
Recruit
or you take the mag out and put it back in your pack to use later, in real life if you had a mag with some rounds still in it you wouldn't throw it away
More script ideas [message #113778] Fri, 10 September 2004 04:01 Go to previous message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
If you think it's so possible, tell me how you would implement it via a script?
Previous Topic: changes in scripts.dll 1.9.2
Next Topic: Nominate a moderator
Goto Forum:
  


Current Time: Thu May 23 15:23:30 MST 2024

Total time taken to generate the page: 0.16702 seconds