Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-02-05 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 05, 2010, 09:17:32 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Please obey the rules, to achieve a pleasent order in our community.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1] 2   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: [Add-on]Oddity sounds  (Read 1052 times)
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1432



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« 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  

DOWNLOAD the RAR from the link below
-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 Offline

United Kingdom

Posts: 1902



WWW
Xrushiov

myServer 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
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 551




ilovecoffe
1spot1noob1
« 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
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1432



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« 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
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 551




ilovecoffe
1spot1noob1
« 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 Cheesy

btw,wheres the directory for the sounds you have?
cant find them :O
Logged
Stinkyfax
I <3 WCS
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 1902



WWW
Xrushiov

myServer 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 Cheesy

btw,wheres the directory for the sounds you have?
cant find them :O

Read the approve post:
Quote
Advantage is that using standart sounds.
Logged



D3vil
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 551




ilovecoffe
1spot1noob1
« 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 Cheesy

btw,wheres the directory for the sounds you have?
cant find them :O

Read the approve post:
Quote
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 Offline

United Kingdom

Posts: 1902



WWW
Xrushiov

myServer 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



[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1432



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #8 on: April 30, 2009, 02:28:34 AM »

They are in the SOUND FOLDER lol
Logged

D3vil
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 551




ilovecoffe
1spot1noob1
« 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 Tongue
Like theres Radio, bot,ambient, common, UI etc Tongue

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
Level 7 Expert
*****
Offline Offline

Canada Canada

Posts: 566



WWW
koshyy
koshy

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« 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 Online

Posts: 2337


of all the things ive lost i miss my mind the most


WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 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
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1432



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« 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 Offline

United States United States

Posts: 17




scsiscope
S3Xmagik
« 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 Offline

United States 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

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
February 04, 2010, 10:14:46 PM
Anyone know the if there is a code where if some kills someone with a knife they get hp and speed?
February 04, 2010, 02:33:47 AM
Sup?
February 04, 2010, 02:33:37 AM
hey Ghost
February 04, 2010, 01:44:10 AM
hey dark
February 02, 2010, 10:43:30 AM
Yap, he mean eventscripter xD
February 02, 2010, 01:03:48 AM
Eventscripter. lol
February 02, 2010, 12:23:17 AM
A WCS scripter?
Recent
[Today at 08:32:51 AM]

[Today at 05:09:15 AM]

[Today at 05:06:36 AM]

[Today at 05:02:50 AM]

[February 04, 2010, 10:41:39 PM]

[February 04, 2010, 09:26:55 PM]

[February 04, 2010, 06:11:26 PM]

[February 04, 2010, 05:54:42 PM]

[February 04, 2010, 03:16:50 PM]

[February 04, 2010, 12:44:51 AM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.096 seconds with 24 queries.