Raised This Month: $ Target: $400
 0% 

AMX Speech Stuff


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 11-02-2013 , 12:58   AMX Speech Stuff
Reply With Quote #1

Hey, can someone tell me how do I list sound files of the speech stuff that are on the Valve folder (valve/sound/"folder") on fast downloads on FTP client ?

Like i only have "maps, sound, gfx, sprites" folders on ftp, how do I put (I'm adding sound files to the speech stuff) on fast download ?
__________________
BLacking98 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-02-2013 , 13:01   Re: AMX Speech Stuff
Reply With Quote #2

You only need to put custom content on FastDL
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-02-2013 , 13:14   Re: AMX Speech Stuff
Reply With Quote #3

For clarification, everybody already has those files and is why nobody needs to download them.
__________________
fysiks is offline
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 11-02-2013 , 14:39   Re: AMX Speech Stuff
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
For clarification, everybody already has those files and is why nobody needs to download them.
Quote:
Originally Posted by BLacking98 View Post
(I'm adding sound files to the speech stuff)
//

Quote:
Originally Posted by YamiKaitou View Post
You only need to put custom content on FastDL
like in the regular sound folder ? Or do I have to create a "valve" folder with "sound" folder inside it, etc.?
__________________
BLacking98 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-02-2013 , 14:54   Re: AMX Speech Stuff
Reply With Quote #5

What game?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-02-2013 , 20:59   Re: AMX Speech Stuff
Reply With Quote #6

If you are playing Counter-Strike or DOD (and probably many others), you can't "add" sound files to the valve/sound folder. You have to put them in the sound folder of your mod.

According to your first post, you are adding sound files to the speech menu. This does not change the fact that everybody has all of the files in the /valve/sound folder.
__________________
fysiks is offline
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 11-02-2013 , 22:42   Re: AMX Speech Stuff
Reply With Quote #7

I'm adding a sound file to the "valve/sound"
Because in speech.ini the directory is predefined to "valve/sound" and not the game's default one
I put a sound like "Stop Hacking!!" "spk valve/barney/stophack"
__________________
BLacking98 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-03-2013 , 02:37   Re: AMX Speech Stuff
Reply With Quote #8

You haven't answered Yami's question . . .

Quote:
Originally Posted by BLacking98 View Post
I'm adding a sound file to the "valve/sound"
Because in speech.ini the directory is predefined to "valve/sound" and not the game's default one
I put a sound like "Stop Hacking!!" "spk valve/barney/stophack"
There is no explicit reference to "valve" in speech.ini. There is a file hierarchy used by the game to search for files. So, basically, the server can just say "play <some_sound_file>" and the game first searches the mod's sound folder. If it's not there, it then searches in the valve/sound folder. (This might not be literally how it works but it's enough to understand how it effectively works)



If you are using Counter-Strike, you put your sound file in the sound folder:

Code:
/cstrike/sounds/my_new_sound.wav
Then, you put this line in speech.ini:

Code:
"Sound Description"			"spk \'my_new_sound\'"			"cd"	"u"
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-03-2013 , 02:59   Re: AMX Speech Stuff
Reply With Quote #9

Half Life list : http://www.adminmod.org/help/online/...ife_Sounds.htm

BUT, i you had an updated game, you could browse those files yourself.


Quote:
Originally Posted by fysiks View Post
You haven't answered Yami's question . . .


Then, you put this line in speech.ini:

Code:
"Sound Description"			"spk \'my_new_sound\'"			"cd"	"u"
This works fine :
Code:
"Sound Description"			"spk my_new_sound"			"cd"	"u"
You only need to put ' if you need to play few sounds in a row, under the same folder, or if you need to add arguments to command sur as volume, pitch, etc...

Like :

Code:
"spk \'vox/one second\'"
Code:
"spk \'weapons/(v10) xbow_hit1\'"
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 11-03-2013 at 03:02.
ConnorMcLeod is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode