Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Sounds ingame
Sounds ingame [message #242234] Tue, 30 January 2007 09:44 Go to next message
RedOne is currently offline  RedOne
Messages: 60
Registered: August 2006
Location: Netherlands
Karma: 0
Recruit

Hi

Next episode Smile

Its a topic with a bit of two questions

1. There is in brenbot a command !snda that gives a sound on the server. Now i understand this sounds has to be in always.dat. No was there in this forum an example with a sound and I tried and I heard in game a sound. But when is open the always.dat from my renegadeFDS folder (\data) in xcc mixer i dont find any sounds in it. Which always.dat does it use.

2. I read a topic form TGpaddy (SOD Clan) about (for example ) toy and ^^ sounds ingame. Also provided bij a server of zunnie.

(its this topic http://www.renegadeforums.com/index.php?t=msg&goto=167039&rid=21575& srch=sounds+ingame+toy#msg_167039)

I want to provide it to on my server. Can somebody help me wiith what files I need to edit and how to add the files to the game.

Greetings

Rene
Re: Sounds ingame [message #242236 is a reply to message #242234] Tue, 30 January 2007 09:47 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
sounds like: http://dansp-47056-001.dsvr.co.uk/Sbot-Preveiw.comproj.avi ?
Re: Sounds ingame [message #242238 is a reply to message #242236] Tue, 30 January 2007 09:56 Go to previous messageGo to next message
RedOne is currently offline  RedOne
Messages: 60
Registered: August 2006
Location: Netherlands
Karma: 0
Recruit

gamemodding wrote on Tue, 30 January 2007 10:47

sounds like: http://dansp-47056-001.dsvr.co.uk/Sbot-Preveiw.comproj.avi ?


For question 1 or 2 ??
Re: Sounds ingame [message #242240 is a reply to message #242234] Tue, 30 January 2007 09:58 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
1
Re: Sounds ingame [message #242241 is a reply to message #242240] Tue, 30 January 2007 10:21 Go to previous messageGo to next message
RedOne is currently offline  RedOne
Messages: 60
Registered: August 2006
Location: Netherlands
Karma: 0
Recruit

gamemodding wrote on Tue, 30 January 2007 11:58

1


Ok thnks for the hint. I will check it out

GrTz Red
Re: Sounds ingame [message #242256 is a reply to message #242240] Tue, 30 January 2007 11:17 Go to previous messageGo to next message
RedOne is currently offline  RedOne
Messages: 60
Registered: August 2006
Location: Netherlands
Karma: 0
Recruit

gamemodding wrote on Tue, 30 January 2007 10:58

1


No i mean the wavs and mp3. I shoot be in the always.dat. But cant find them
Re: Sounds ingame [message #242267 is a reply to message #242234] Tue, 30 January 2007 12:01 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
They'll be at the bottom and have prefixed and subfixed names. EG: m00achk_kill0001i1gbmg_snd.wav etc.
Re: Sounds ingame [message #242493 is a reply to message #242267] Wed, 31 January 2007 09:35 Go to previous messageGo to next message
RedOne is currently offline  RedOne
Messages: 60
Registered: August 2006
Location: Netherlands
Karma: 0
Recruit

Merovingian wrote on Tue, 30 January 2007 13:01

They'll be at the bottom and have prefixed and subfixed names. EG: m00achk_kill0001i1gbmg_snd.wav etc.


I downloaded always.dat from mij dedcated server. It was in C:\Westwood\RenegadeFDS\A00000NL4\Server\data\

I opend it in Xcc mixer, but there arent any sounds in it.
Is it Clientsided maybe. Because when i do for example !snda ABM_thunder02.wav in irc it works on my other computer but a other player didnt hear it.

Are this the same wavs used for toy and ^^??

GrTz Red
Re: Sounds ingame [message #242501 is a reply to message #242234] Wed, 31 January 2007 10:42 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
renegade client always.dat Wink
Re: Sounds ingame [message #242536 is a reply to message #242234] Wed, 31 January 2007 13:10 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
Chathooks are built into scripts.dll to listen to "^^" for example and use an snda <music file name> to play it.

And server's always.dat only contain important things that it needs, it does not play sounds therefore why not save 200mb on them?
Re: Sounds ingame [message #242809 is a reply to message #242234] Thu, 01 February 2007 16:02 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

You need to setup an mirc bot to do it, at least thats how we used
to do it back in the day WOL was still WOL and not XWIS..
Put this in remotes (ALT+R in mirc) for example and place this
dll in your mirc folder:
http://www.game-maps.net/index.php?action=file&id=683

alias FDS {
  dll mIRC_Ren.dll FDS_Send 127.0.0.01 5050 password %msg
}


on *:text:*:#ChannelName: {
if ($nick == BRenBotName) {
  if ($2 == gotya) FDS snda mx0_nodsniper_alt07.wav
  if ($2 == chicky) FDS snda m00achk_kill0001i1gbmg_snd.wav
  if ($2 == skill) FDS snda mxxdsgn_dsgn014i1gbmg_snd.wav
  if ($2 == snipe) FDS snda mx0_nodsniper_alt01.wav
  if ($2 == killem) FDS snda mx1dsgn_dsgn0018i1dsgn_snd.wav
  if ($2 == guns) FDS snda mxxdsgn_dsgn005i1gbmg_snd.wav
  if ($2 == smile) FDS snda mxxdsgn_dsgn004i1gbmg_snd.wav
  if ($2 == toy) FDS snda mtudsgn_dsgn0289i1gbmg_snd.wav
  if ($2 == hehe) FDS snda mtudsgn_dsgn0377a1gbmg_snd.wav
  if ($2 == jerks) FDS snda m11dsgn_dsgn0104r1gbmg_snd.wav
  if ($2 == kills) FDS snda m00avis_kick0030i1moac_snd.wav
  if ($2 == ^^) FDS snda m00avis_kifi0021i1ccsf_snd.wav
  if ($2 == waiting) FDS snda m11dsgn_dsgn0069i1mbpt_snd.wav
  if ($2 == haveya) FDS snda m11dsgn_dsgn0073i1mbpt_snd.wav
  if ($2 == tt) FDS snda m00mstm_kill0013i1gbrs_snd.wav
  if ($2 == bwahaha) FDS snda m00asqr_kill0019i1mbrs_snd.wav
  if ($2 == death) FDS snda m00avis_kick0030i1moac_snd.wav
  if (n00b isin $2-) FDS snda m00asqr_kill0018i1mbpt_snd.wav
  if ($2 == coffee) FDS snda m00gnod_gcon0041i3nbmg_snd.wav
  if ($2 == squirrel) FDS snda m00asqr_kill0034i1gbmg_snd.wav
  if ($2 == sit) FDS snda m00bnsn_kill0053i1gbmg_snd.wav
  if ($2 == ask) FDS snda m00ccck_kitb0029i1gbmg_snd.wav
  if ($2 == die) FDS snda m00decx_004in_nsrs_snd.wav
  if ($2 == fun) FDS snda m00gbmg_sfcx0001i1gbmg_snd.wav
  if ($2 == hunt) FDS snda m00gbmg_sfsx0001i1gbmg_snd.wav
  if ($2 == medic) FDS snda m00ffire_003in_gemg_snd.wav
  if ($2 == run) FDS snda m00decx_010in_nbft_snd.wav
  if ($2 == daddy) FDS snda mtudsgn_dsgn0320a1gbmg_snd.wav
  if ($2 == shoot) FDS snda mxxdsgn_dsgn029i1gbmg_snd.wav
  if ($2 == haha) FDS snda laugh1.wav
  if ($2 == left) fm3 snda lefty1.wav
  if ($8-9 == Tiberium field.) FDS snda m00gbrs_dfax0001i1gbrs_snd.wav
  if ($4-5 == been killed.) FDS snda m00kimd_004in_nors_snd.wav
  if ($2 == buuurn) FDS snda m00decx_007in_neft_snd.wav
  if ($2 == stfu) FDS snda mxxdsgn_dsgn010i1gbmg_snd.wav
  if ($2 == burn) FDS snda m00decx_009in_neft_snd.wav
  if ($2 == boink) FDS snda m00bnss_kill0053i1gbmg_snd.wav
  if ($2 == more?) FDS snda m00ccck_kitb0029i1gbmg_snd.wav
  if ($2 == nonono) FDS snda m00gbrs_stoc0001i1gbrs_snd.wav
  if ($2 == noes) FDS snda m00gcc3_sftd0001i1gcc3_snd.wav
  if ($2 == udie) FDS snda m00gcf1_decx0001i1gcf1_snd.wav
  if ($2 == boo) FDS snda m00kimd_001in_neft_snd.wav
  if ($2-3 == i smell) FDS snda m00avis_kifi0020i1nctk_snd.wav
  if ($2 == moo) FDS snda amb_cow1.wav
  if ($2-3 == killed himself.) FDS snda m00gbrs_dfax0001i1gbrs_snd.wav
  if ($2 == cya) FDS snda m00bnol_kill0054i1gbmg_snd.wav
  if ($2 == help) FDS snda m00gbrs_hftd0001i1gbrs_snd.wav
  if ($2 == gg) FDS snda m00bncy_kill0054i1gbmg_snd.wav
  if ($2 == lucky) FDS snda m00gnod_kill0037r1nbft_snd.wav
  if ($2 == urdead) FDS snda l02b_02_hav02.wav
  if ($2 == finally) FDS snda m00gsmg_atoc0001i1gsmg_snd.wav
  if ($2 == strike) FDS snda m00gsrs_kill0029i1nbft_snd.wav
  if ($2 == wasted) FDS snda m00gsrs_kiov0016i1nbft_snd.wav
  if ($2 == present) FDS snda bombit1.wav
  if ($2 == pray) FDS snda m11dsgn_dsgn0073i1mbpt_snd.wav
  if ($2 == amateur) FDS snda m00bntu_kill0040i1gcm1_snd.wav
  if ($2 == eye) FDS snda m03dsgn_dsgn0005r1gbmg_snd.wav
}
}


This should do the trick, you can use the FDS alias to do
whatever valid FDS command is possible...

Obviously you have to change "5050" and "password" to whatever
you set it to in server.ini


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: Sounds ingame [message #242810 is a reply to message #242234] Thu, 01 February 2007 16:18 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Or simply have it use the !fds command built into brenbot...

http://steamsignature.com/card/1/76561197975867233.png
Re: Sounds ingame [message #242833 is a reply to message #242234] Thu, 01 February 2007 18:27 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
That makes the user type the message though, which isn't good for log reading. This script works on the background.

Oh, and you need to sort the brackets out (unless the mirc script editor does it for you? Benn a while since i used it).
Re: Sounds ingame [message #242857 is a reply to message #242810] Fri, 02 February 2007 00:12 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

danpaul88 wrote on Thu, 01 February 2007 18:18

Or simply have it use the !fds command built into brenbot...


Even then you would need an irc script that will do the !fds command
to play the sound.
Using the dll for frequently used commands is preferred because it
doesnt delay brenbot which can happen alot when some people spam
too much, when there is a lot of output going on by bren for
example killmessages or !rotation/!maplist or !tp etc.

dll is also faster because it doesnt need to wait for brenbot to
respond Razz


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: Sounds ingame [message #242960 is a reply to message #242857] Fri, 02 February 2007 15:20 Go to previous messageGo to next message
RedOne is currently offline  RedOne
Messages: 60
Registered: August 2006
Location: Netherlands
Karma: 0
Recruit

OK

I see I have lot of work to do. Big Grin

Thank you very much for the replies Thumbs Up

But there is one thing I dont understand. How about the
sounds. Is it wav or mp3. Are they already in? Have I put them somewhere??

I believe the file has to be somewhere before I can call
them to play ingame. For example:

SOD (and proberly other servers) use them ingame but I dont recall that I add them to my computer. So i believe its server sided and not clientsided. But I can be terrible wrong offcourse.

Before I used pirch for irc. I wanted to play sounds to other people in channel. The firsttime use, had to download them to there computer to play them. After I only had to play file and the persons irc plyed it because he had it on his pc. Is this the same in renegade how it works??

But, again i am very gladd with this replies.

GrTz Red
Re: Sounds ingame [message #242992 is a reply to message #242234] Fri, 02 February 2007 18:23 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
The sounds are in client always.dat files.

Some are mp3 (music) but most are wav.

You can use the console commands, snda, sndp and sndt to play the file once to all players, team players and specific players and musica and musicp to repeat the file over and over to all players and specific players untill nomusica or nomusicp is 'heard' by the FDS.

You can also call these from the client but unless you're the host it will not work.

[Updated on: Fri, 02 February 2007 18:25]

Report message to a moderator

Re: Sounds ingame [message #244865 is a reply to message #242809] Sun, 11 February 2007 12:23 Go to previous messageGo to next message
RedOne is currently offline  RedOne
Messages: 60
Registered: August 2006
Location: Netherlands
Karma: 0
Recruit

zunnie wrote on Thu, 01 February 2007 17:02

You need to setup an mirc bot to do it, at least thats how we used
to do it back in the day WOL was still WOL and not XWIS..
Put this in remotes (ALT+R in mirc) for example and place this
dll in your mirc folder:


I use european server by wol

I put the code in remote, Changed the port (5050) to my
remoteadmin poort. Changed pasword in my remoteadmin pasword.

Quote:

http://www.game-maps.net/index.php?action=file&id=683


I downloaded this and put in my Mirc map. Did it also in my Botmap (IRCbot no Brenbot)

Quote:

This should do the trick, you can use the FDS alias to do
whatever valid FDS command is possible...


???? Dont understand this one Sad

Quote:

Obviously you have to change "5050" and "password" to whatever
you set it to in server.ini


As u can read I did.

If i type like 'cya' ingame I only see 'Host:' in irc and ingame. This was after I changed %msg to msg. If I use %msg it wil do nothing at all.

Please help me
Re: Sounds ingame [message #244866 is a reply to message #242810] Sun, 11 February 2007 12:27 Go to previous messageGo to next message
RedOne is currently offline  RedOne
Messages: 60
Registered: August 2006
Location: Netherlands
Karma: 0
Recruit

danpaul88 wrote on Fri, 02 February 2007 00:18

Or simply have it use the !fds command built into brenbot...


Please explain this one
Re: Sounds ingame [message #245282 is a reply to message #244866] Wed, 14 February 2007 16:21 Go to previous messageGo to next message
RedOne is currently offline  RedOne
Messages: 60
Registered: August 2006
Location: Netherlands
Karma: 0
Recruit

Hy guys,

With some added info from Zunnie it work now. Thx al
for replies :)Zunnie special thnks

GrTz Red

[Updated on: Wed, 14 February 2007 16:22]

Report message to a moderator

Re: Sounds ingame [message #315872 is a reply to message #242234] Wed, 06 February 2008 15:30 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
how would i include that ddl in a VB project? what are the parameters


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: Sounds ingame [message #315874 is a reply to message #315872] Wed, 06 February 2008 15:46 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
halo2pac wrote on Wed, 06 February 2008 15:30

how would i include that ddl in a VB project? what are the parameters



(off topic): mega-1-year bump...way-to-go


(on topic): IDK.


~Zack
Re: Sounds ingame [message #315881 is a reply to message #242234] Wed, 06 February 2008 16:42 Go to previous message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Try calling it a dll first... you have to use the LoadLibrary function from the Windows API.

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Previous Topic: ion storm effect function
Next Topic: A Path Beyond: Beta Reviewed at Let's Play!
Goto Forum:
  


Current Time: Sat Dec 28 21:54:56 MST 2024

Total time taken to generate the page: 0.01266 seconds