Playing Source Since the Beginning of Time
Welcome, %1$s. Please login or register.
Did you miss your activation email?
April 29, 2024, 06:49:25 PM

:    
Welcome to The Elders' Home Page.  New visitors please register here:  http://theelders.net/forum/index.php?action=forum to see full site.
74681 6615 681
: kevinson55
*
+  The Elders' House of Pain
|-+  Public Forum
| |-+  Counter-Strike---> Help
| | |-+  How do i create a a script to play sounds
« previous next »
: [1]
: How do i create a a script to play sounds  ( 1190 )
fraggle 79
Guest


« : 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 !".
wonder.
Shmotz's Biotch
Godlike
*****

Karma: +4/-79
Offline Offline

: 4349


Baller

MSN Messenger - JMess_22@hotmail.com
« #1 : December 20, 2006, 07:32:30 PM »

too bad u always get killed before you could play that.

0G ~ \/\/0ND3RBRE@D

<TE|EasyJ> Death u left ur anal beads on the floor in my bathroom
He_Hate_Me
TE Members
Forum Slut
*****

Karma: +0/-0
Offline Offline

: 722

I know The Elders Rules me!


« #2 : December 21, 2006, 12:05:10 AM »

 :iamwithstupid:  :flamed:





HongKongPhooey
Administrator
Godlike
*****

Karma: +0/-0
Offline Offline

: 3832


I know The Elders Rules me!


« #3 : December 21, 2006, 07:49:04 AM »

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.

Number One Super Guy!!!


WidowMaker
Supreme Master
Administrator
Godlike
*****

Karma: +17/-3
Offline Offline

: 1622


AOL Instant Messenger - craygo69
« #4 : December 21, 2006, 10:39:54 AM »

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



fraggle 79
Guest


« #5 : December 21, 2006, 06:18:31 PM »

How small a fee ?  I hav sum coins in my pokit.  :wink:
{VT} Larry the Cucumber
Noob
*

Karma: +0/-0
Offline Offline

: 15


« #6 : July 11, 2007, 03:12:26 PM »

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.

MR|337
Inactive
Godlike
*

Karma: +2/-0
Offline Offline

: 1261


799


« #7 : July 12, 2007, 09:17:40 AM »

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"

: [1]  
« previous next »
:
Powered by MySQL Powered by PHP SMF 2.0.18 | SMF © 2021, Simple Machines Valid XHTML 1.0! Valid CSS!