AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   AMX Speech Stuff (https://forums.alliedmods.net/showthread.php?t=229160)

BLacking98 11-02-2013 12:58

AMX Speech Stuff
 
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 ?

YamiKaitou 11-02-2013 13:01

Re: AMX Speech Stuff
 
You only need to put custom content on FastDL

fysiks 11-02-2013 13:14

Re: AMX Speech Stuff
 
For clarification, everybody already has those files and is why nobody needs to download them.

BLacking98 11-02-2013 14:39

Re: AMX Speech Stuff
 
Quote:

Originally Posted by fysiks (Post 2056050)
For clarification, everybody already has those files and is why nobody needs to download them.

Quote:

Originally Posted by BLacking98 (Post 2056044)
(I'm adding sound files to the speech stuff)

//

Quote:

Originally Posted by YamiKaitou (Post 2056045)
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.?

YamiKaitou 11-02-2013 14:54

Re: AMX Speech Stuff
 
What game?

fysiks 11-02-2013 20:59

Re: AMX Speech Stuff
 
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.

BLacking98 11-02-2013 22:42

Re: AMX Speech Stuff
 
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"

fysiks 11-03-2013 02:37

Re: AMX Speech Stuff
 
You haven't answered Yami's question . . .

Quote:

Originally Posted by BLacking98 (Post 2056253)
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"

ConnorMcLeod 11-03-2013 02:59

Re: AMX Speech Stuff
 
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 (Post 2056302)
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\'"


All times are GMT -4. The time now is 05:00.

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