|
[Oddity]TeacherCreature
|
 |
« on: April 28, 2009, 03:31:18 AM » |
|
Code type: Add-On Name: [Oddity]Sounds Compatible: wcs 0.75 es1.5 Dependency: none Description: Fun sounds for text What is custom:: addons
Basically you install it (I included instructions) and you can type commands and hear a cool sound to go along with it.
You can type any of these to get a sound: bullshit|hax|hacks|h4x|ok|sorry|oops|gtfo|stfu|rofl|haha|lol|hey
-ps- chage the variables for wcs_volume or wcs_max in the portion titled blockload, and that will alter the volume of the sounds or allow more of them per round. ENJOY
|
|
|
|
« Last Edit: May 05, 2009, 02:42:59 PM by [Oddity]TeacherCreature »
|
Logged
|
|
|
|
Stinkyfax
I <3 WCS
Level 7 Expert
   
Offline
United Kingdom
Posts: 1902
 XrushiovmyServer 84.55.62.45:27016(Warning: click connects through Steam)
|
 |
« Reply #1 on: April 28, 2009, 07:03:07 PM » |
|
Looks nice. Advantage is that using standart sounds.
Nothing harmful is found inside of the code.
Approved.
|
|
|
|
« Last Edit: April 28, 2009, 07:09:14 PM by Stinkyfax »
|
Logged
|
|
|
|
|
D3vil
|
 |
« Reply #2 on: April 28, 2009, 07:53:16 PM » |
|
me and all my members and players really love these sounds! Thanks a lot. but i wanna ask how do i add more sounds?
would this work:
} if (event_var(text) == "!country") do { es es_xkeygetvalue wcs_tmp "WCSuserdata" event_var(userid) "oddsounds" if (server_var(wcs_tmp) <= server_var(wcs_max)) do es_xmath wcs_tmp +1 es es_xkeysetvalue WCSuserdata event_var(userid) "oddsounds" "server_var(wcs_tmp)" es_emitsound player event_var(userid) root\cstrike\sound\ambient\music\country_rock_am_radio_loop.wav server_var(wcs_volume) 0.6 }
Thats in the root of css which means ALL players have the sound but its not in their sound list Would that work?
|
|
|
|
|
Logged
|
|
|
|
|
[Oddity]TeacherCreature
|
 |
« Reply #3 on: April 28, 2009, 08:45:51 PM » |
|
Yes that is the beauty of this you can add any sounds you want by changing the TEXT trigger and the PATH
Your path doesnt need the root/cstrike/sound part just the rest of it
Try just this: ambient\music\country_rock_am_radio_loop.wav
|
|
|
|
|
Logged
|
|
|
|
|
D3vil
|
 |
« Reply #4 on: April 29, 2009, 06:03:55 PM » |
|
Yes that is the beauty of this you can add any sounds you want by changing the TEXT trigger and the PATH
Your path doesnt need the root/cstrike/sound part just the rest of it
Try just this: ambient\music\country_rock_am_radio_loop.wav
Okay sweet! thanks a lot  btw,wheres the directory for the sounds you have? cant find them :O
|
|
|
|
|
Logged
|
|
|
|
Stinkyfax
I <3 WCS
Level 7 Expert
   
Offline
United Kingdom
Posts: 1902
 XrushiovmyServer 84.55.62.45:27016(Warning: click connects through Steam)
|
 |
« Reply #5 on: April 29, 2009, 07:13:18 PM » |
|
Yes that is the beauty of this you can add any sounds you want by changing the TEXT trigger and the PATH
Your path doesnt need the root/cstrike/sound part just the rest of it
Try just this: ambient\music\country_rock_am_radio_loop.wav
Okay sweet! thanks a lot  btw,wheres the directory for the sounds you have? cant find them :O Read the approve post: Advantage is that using standart sounds.
|
|
|
|
|
Logged
|
|
|
|
|
D3vil
|
 |
« Reply #6 on: April 29, 2009, 07:36:12 PM » |
|
Yes that is the beauty of this you can add any sounds you want by changing the TEXT trigger and the PATH
Your path doesnt need the root/cstrike/sound part just the rest of it
Try just this: ambient\music\country_rock_am_radio_loop.wav
Okay sweet! thanks a lot  btw,wheres the directory for the sounds you have? cant find them :O Read the approve post: Advantage is that using standart sounds. .... 1) you need something like GCFscape to open the root and get all the files including ALL the sounds, models, materials and to find their directory. i looked around and couldnt find the ones he has. 2) i'm asking for the directory where he got those sounds since theres no download and like you said standard sounds so everyone has them
|
|
|
|
|
Logged
|
|
|
|
Stinkyfax
I <3 WCS
Level 7 Expert
   
Offline
United Kingdom
Posts: 1902
 XrushiovmyServer 84.55.62.45:27016(Warning: click connects through Steam)
|
 |
« Reply #7 on: April 29, 2009, 08:32:49 PM » |
|
Try explaining better what is your problem.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
D3vil
|
 |
« Reply #9 on: April 30, 2009, 06:31:14 PM » |
|
They are in the SOUND FOLDER lol
>.> I mean like WHERE in the sound folder  Like theres Radio, bot,ambient, common, UI etc  You can use any of those sounds that you want. It is up to you. I put the path for the ones I used. Yo ucna make your own and use any sound you want.. Most of them are from different folders in the Sounds/VO folder I used one from the Sounds/Bopt folder You can use any you want.
|
|
|
|
« Last Edit: April 30, 2009, 06:37:37 PM by [Oddity]TeacherCreature »
|
Logged
|
|
|
|
|
Koshy
|
 |
« Reply #10 on: April 30, 2009, 06:42:00 PM » |
|
Damn, I did it again.
|
|
|
|
|
Logged
|
 <-- WCS Mod Server 100 Tick
|
|
|
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
   
Online
Posts: 2337
of all the things ive lost i miss my mind the most
 Wc3_HOLLIDAY_Wc3wc3hollidaywc3myServer 8.2.0.222:27015(Warning: click connects through Steam)
|
 |
« Reply #11 on: April 30, 2009, 06:44:20 PM » |
|
the hammer editor has a sound browser that list every sound just click a sound to hear it play
|
|
|
|
|
Logged
|
|
|
|
|
[Oddity]TeacherCreature
|
 |
« Reply #12 on: April 30, 2009, 06:49:02 PM » |
|
He didnt mean it that way and I want him to approve it..
The point is we are representing the WCS community here and we are creating a COLLECTION of APPROVED by WCS team codes for races items and other.
I am gonna go through all my races and fix em up and submit them here for approval. I would like to get rid of the nonsense sections of this forum that have tons of pretend custom races and have a nice collection for server owners to pick and choose from.
Some people come here not to learn to code jsut to use some of our awesome stuff, but because of them not knowing how ot code they are stuck trying out codes they find some of which might be very buggy.
This section will contain codes that they can TRUST work perfectly with no bugs or issues.
|
|
|
|
« Last Edit: April 30, 2009, 07:08:11 PM by Stinkyfax »
|
Logged
|
|
|
|
S3Xmagik
Level 0 Beginner
Offline
 United States
Posts: 17
scsiscopeS3Xmagik
|
 |
« Reply #13 on: April 30, 2009, 09:18:30 PM » |
|
I got bored so I switched a few things around so that the script can be run separate from WCS for servers which either don't have WCS or don't want the script using WCS's keygroups for some reason. Other then that this code is pretty much identical to your original, perhaps I'll fancy it up later if I still have nothing to do.
(Modified script is attached)
|
|
|
|
|
Logged
|
|
|
|
Tolkaz
Level 0 Beginner
Offline
 United States
Posts: 15
Naruto Is Awsome
|
 |
« Reply #14 on: May 24, 2009, 10:37:05 PM » |
|
how do you record a sound and get it on a race?
|
|
|
|
« Last Edit: May 24, 2009, 10:51:05 PM by Tolkaz »
|
Logged
|
|
|
|
|