The Elders' House of Pain
Public Forum => Counter-Strike---> Help => Topic started by: fraggle 79 on December 20, 2006, 07:08:51 PM
-
How do i create a a script to play .wav's in the game ? :?
I searched around but what I found seemed to get way too complicated than it should be I think.
Always nice to humiliate someone with a nice "Boom HeadShot !".
-
too bad u always get killed before you could play that.
-
:iamwithstupid: :flamed:
-
There might be a way to do it but you will be the only one that will hear it. You will not be able to force other players to hear your sound unless you spam it in the mic.
-
WOW hongs been paying attention!!! As he said You could do it but it won't help any. Even if you get the script right you will be the only one to hear it. In order for everyone to hear it the sound file would have to be on the server. then it could be done.
For a small fee I could do this for you and make you look cool. LOL
Widow
-
How small a fee ? I hav sum coins in my pokit. :wink:
-
There is a fairly simple way to do it.. i did allot of research as well. you have to use a little program to make it happen. but you just bind a key and play the wav and it makes it so everyone can hear.
-
This script allows you to play sound in CS... however, in order to let it play you have to do following things --1. convert the sound to .wav file. 2.change the .wav property to 8.000 kHz, 8 bytes, mono. 3. rename the file to "voice_inpute.wav" 4. put it inside your Cstrike folder 5. Then you are done.
**Put those lines inside your autoexec.cfg or whatever you have**
//MUSIC TOGGLE SCRIPT
alias extoggle exon
alias exon "voice_inputfromfile 1; voice_loopback 1; +voicerecord; alias extoggle exoff"
alias exoff "-voicerecord; voice_inputfromfile 0; voice_loopback 0; alias extoggle exon"
bind "q" "extoggle"