Re: Nod Stealth Sound [message #286248 is a reply to message #286211] |
Mon, 24 September 2007 18:40 |
|
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.
|
|
|
Re: Nod Stealth Sound [message #286313 is a reply to message #285706] |
Tue, 25 September 2007 05:59 |
|
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 #286340 is a reply to message #285706] |
Tue, 25 September 2007 09:08 |
|
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.
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 |
|
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 |
|
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 #286468 is a reply to message #286084] |
Tue, 25 September 2007 22:00 |
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 |
|
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.
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 #287395 is a reply to message #285706] |
Sun, 30 September 2007 12:53 |
|
AoBfrost
Messages: 1248 Registered: March 2007
Karma: 0
|
General (1 Star) |
|
|
3rd time this week in irc/server I was hit on xD
Scrin wrote on Fri, 05 October 2007 12:19 | ''whoa im the photoshop''
|
KANE LIVES!!!
|
|
|