Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Nod Stealth Sound
Re: Nod Stealth Sound [message #286248 is a reply to message #286211] Mon, 24 September 2007 18:40 Go to previous messageGo to next message
Spice
Messages: 1448
Registered: November 2003
Location: Ohio
Karma: 0
General (1 Star)
Yrr wrote on Mon, 24 September 2007 19:00

I can try.


<3 Send me a message on MSN, I have a vehicle test I can send you to test your work on.


http://img46.imageshack.us/img46/8027/userbar358428pu3.gif
Re: Nod Stealth Sound [message #286313 is a reply to message #285706] Tue, 25 September 2007 05:59 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
You could make a function that is called when a player enters a vehichle (or edit the existing one) so that if the vehichle name is "cnc_stealth_tank" (or whatever it's called) it attaches a script.

On the ::created event of your script start a timer of exactly how long it takes for the stank to stealth.
Then on the ::timer_expired event make it play a 2d_wav_sound (the one that sounds like a stank stealthing up).
But it the guy exits the vehichle before the timer is up then it destroys the script.

That would work, and it would work server-side too.



Re: Nod Stealth Sound [message #286314 is a reply to message #285706] Tue, 25 September 2007 06:08 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
When you mean serverside, do you mean as one player has the mod, others will hear but not use it? or do you mean a server mod where the entire server is effected, I'd like to show off and make others think "how do you make your stank have sounds?"

http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!
Re: Nod Stealth Sound [message #286316 is a reply to message #285706] Tue, 25 September 2007 06:20 Go to previous messageGo to next message
Yrr is currently offline  Yrr
Messages: 556
Registered: October 2006
Location: Germany
Karma: 0
Colonel

No, it would not work entirely server-side, because you cannot play sounds server-side. The client must have Custom Scripts to hear them, so it is client+server-side.

Re: Nod Stealth Sound [message #286340 is a reply to message #285706] Tue, 25 September 2007 09:08 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
Now i'm all confused, I do use custom scripts and because I would have the mod, I can hear it, but when you mean the client must use custom scritps, do you mean other players? or me? Anyways, I'm fine with my method, but I might try out scripting it to work.

Rereading reborn's script idea doesnt seem so good, because if i time it right, it will only play the sound when I get in/out of the stealth tank, I can already do that by renaming wav files for _start.wav/_stop.wav and it is already perfectly timed....reborn, does your way work whenever the stank goes into stealth mode, or just get in and out? Just double checking.


http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!

[Updated on: Tue, 25 September 2007 09:10]

Report message to a moderator

Re: Nod Stealth Sound [message #286369 is a reply to message #286340] Tue, 25 September 2007 11:29 Go to previous messageGo to next message
Cat998
Messages: 1082
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

AoBfrost wrote on Tue, 25 September 2007 18:08

Now i'm all confused, I do use custom scripts and because I would have the mod, I can hear it, but when you mean the client must use custom scritps, do you mean other players? or me? Anyways, I'm fine with my method, but I might try out scripting it to work.

Rereading reborn's script idea doesnt seem so good, because if i time it right, it will only play the sound when I get in/out of the stealth tank, I can already do that by renaming wav files for _start.wav/_stop.wav and it is already perfectly timed....reborn, does your way work whenever the stank goes into stealth mode, or just get in and out? Just double checking.


Scripts.dll Users -> SOUND

NO Scripts.dll (Client) -> NO SOUND


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."

[Updated on: Tue, 25 September 2007 11:30]

Report message to a moderator

Re: Nod Stealth Sound [message #286379 is a reply to message #286316] Tue, 25 September 2007 12:20 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Yrr wrote on Tue, 25 September 2007 09:20

No, it would not work entirely server-side, because you cannot play sounds server-side. The client must have Custom Scripts to hear them, so it is client+server-side.


Yeah that's true. I forgot that script command required scripts.dll on the client too.
Not a bad idea though really imo.

AoB, I don't think you understand at all.



Re: Nod Stealth Sound [message #286461 is a reply to message #285706] Tue, 25 September 2007 20:29 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
I understand after Cat responded, i'll play around with scripts.dll a bit and test to see what I compile.

http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!
Re: Nod Stealth Sound [message #286468 is a reply to message #286084] Tue, 25 September 2007 22:00 Go to previous messageGo to next message
got2byoda is currently offline  got2byoda
Messages: 9
Registered: September 2007
Karma: 0
Recruit
AoBfrost wrote on Mon, 24 September 2007 08:38

Fake.

There is no .wav for the stealth itself.
There is no way to make sanks or sbh use the sound unless it is recoded.
Clientside mods cant be coded to much, or too different than what other players use or else it wont show the server list.

Then again I may be wrong, post it then, and proove me wrong. I would like to use this instead then.


But then Why am i listening to a person who just starting renegade and joined the modding community?



lmao are u taling about me just joinging the game and modding? ok frost i had the game even before u did when u were hydromsterfrost for ur first name..and when u were hydro i was a mod already..u are the one that is barely on the mod team so k thx noob ;p
Re: Nod Stealth Sound [message #286560 is a reply to message #285706] Wed, 26 September 2007 09:01 Go to previous messageGo to next message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
huh?

Who is hydromasterfrost?

My original name in WOL was frost151500, i got the game and started playing multiplayer within the first week of the game's release (actually, i think my original name was col.frost before i changed it to frost151500 and used that for 2 years or so)

This is like people thinking i'm qoqfrost and they hit on me because they think I'm a girl since qoqfrost is a girl xD


Wait no Col.frost was my gamespy name, I used gamespy to play on some servers since they didnt have WOL forwarding right when the game was released.


http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!

[Updated on: Wed, 26 September 2007 09:02]

Report message to a moderator

Re: Nod Stealth Sound [message #287327 is a reply to message #286560] Sun, 30 September 2007 01:01 Go to previous messageGo to next message
got2byoda is currently offline  got2byoda
Messages: 9
Registered: September 2007
Karma: 0
Recruit
AoBfrost wrote on Wed, 26 September 2007 11:01

huh?

Who is hydromasterfrost?

My original name in WOL was frost151500, i got the game and started playing multiplayer within the first week of the game's release (actually, i think my original name was col.frost before i changed it to frost151500 and used that for 2 years or so)

This is like people thinking i'm qoqfrost and they hit on me because they think I'm a girl since qoqfrost is a girl xD


Wait no Col.frost was my gamespy name, I used gamespy to play on some servers since they didnt have WOL forwarding right when the game was released.



yep sorry mate..tho0ught u were qoqfrost..my bad..but nah i got the game when it came out also ..sorry for the misunderstanding...wtf frost is a girl? Surprised
Re: Nod Stealth Sound [message #287395 is a reply to message #285706] Sun, 30 September 2007 12:53 Go to previous message
AoBfrost is currently offline  AoBfrost
Messages: 1248
Registered: March 2007
Karma: 0
General (1 Star)
3rd time this week in irc/server I was hit on xD

http://i4.photobucket.com/albums/y133/FMAROCKS/godotsig.gif
Scrin wrote on Fri, 05 October 2007 12:19

''whoa im the photoshop''

KANE LIVES!!!
Previous Topic: Vehicle Speed
Next Topic: W3D name of
Goto Forum:
  


Current Time: Fri Dec 27 14:21:44 MST 2024

Total time taken to generate the page: 0.00912 seconds