AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help with this module (https://forums.alliedmods.net/showthread.php?t=208388)

girotto000 02-12-2013 21:52

Help with this module
 
Hey guys, dont know if this is the correct area, but...
I have a module here that execute sounds, i was trying to understand here, but is a little bit difficult
here is the module:
Code:

; Menu configuration file
; File location: $moddir/addons/amxmodx/configs/speech.ini
; To use with Commands Menu plugin

; NOTE: By default in all settings the access level is set to "u".
;      However you can change that, to limit the access to some settings.

; Commands Menu: ; < description > < command > < flags > < access level >
; "a" - execute from server console
; "b" - execute from admin console
; "c" - execute on all clients
; "d" - back to menu when executed

"Vai se Fude"                        "spk \'i.c.fool.day\'"                  "cd"        "u"
"Barulho"                        "spk \'dadeda.dadeda\'"                "cd"        "u"
"Adm On"                        "spk \'administration.on\'"            "cd"        "u"
"Cuidado!"                        "spk \'warning.violation\'"            "cd"        "u"
"Hello"                                "spk \'hello\'"                        "cd"        "u"
"Risada"                        "spk \'hgrunt/c2a3_hg_laugh\'"          "cd"        "u"
"Boaa"                                "spk \'ambience/goal_1\'"                "cd"        "u"
"Live"                          "spk \'life.life.life.go\'"            "cd"    "u"
"Xiu"                                "spk \'scientist/shutup2\'"                "cd"        "u"
"Vai se Fuder Amigo"                "spk \'fine.c.fool.day.amigo\'"                "cd"        "u"
"Vai tomar no Cu"                "spk \'fine.to.may.no.crew.amigo\'"        "cd"        "u"
"Miou"                                "spk \'ambience/cat1\'"                        "cd"        "u"
"Objetivo Players"                "spk \'amigo.move.objective\'"                "cd"        "u"
"Nice"                                "spk \'nice\'"                                "cd"        "u"
"Maconha"                      "spk \'fool.may.back\'"                "cd"    "u"
"Bife"                          "spk \'ambience/cow\'"                  "cd"    "u"
"Papa Leguas"                  "spk \'sound/binds/bipbip\'"            "cd"    "u"

In the case:
Code:

"Papa Leguas"                  "spk \'sound/binds/bipbip\'"            "cd"    "u"
"Papa Leguas" - It's the name of the sound that will appear in the amxmodmenu i think.
"cd" and "u" - Dont know what is, but it isnt important because i dont want to change
My real problem is in:
Code:

"spk \'i.c.fool.day\'"
If you look, there is some that explain the directory, like this:
Code:

"spk \'sound/binds/bipbip\'"
You can see that the sound is in sound/binds
But the first example:
Code:

"spk \'i.c.fool.day\'"
I cant find where is this sound, can you help me to understand this? thanks!

YamiKaitou 02-12-2013 21:53

Re: Help with this module
 
Sorry, but all I see is a file output. What module are you asking help for? What is your Scripting question as well

tryout101 02-12-2013 22:26

Re: Help with this module
 
That is the speech.ini file in AmxModX configs directory. It is accessed from the amxmodmenu and speech menu in the game to speak different sounds.

From the looks of it @girotto, you have custom sounds in the speech.ini file, because those are different than the English ones. Which means you have your custom mod with its own sounds.

Some sounds are whole file, while some are bits from

@girotto, the question is does that work when you use it in the game? If does are you asking that, you are looking for the sound file for other reason?

If it doesn't work, then you need to look in the sound folder that was downloaded with your custom mod. If you find the "i.c.fool.day" make sure to change the folder line in the speech.ini file you have.

If you cannot find the file, probably the custom mod is using bits from other sounds together to make a sentence.

girotto000 02-12-2013 22:50

Re: Help with this module
 
Quote:

Originally Posted by tryout101 (Post 1893365)
That is the speech.ini file in AmxModX configs directory. It is accessed from the amxmodmenu and speech menu in the game to speak different sounds.

From the looks of it @girotto, you have custom sounds in the speech.ini file, because those are different than the English ones. Which means you have your custom mod with its own sounds.

Some sounds are whole file, while some are bits from

@girotto, the question is does that work when you use it in the game? If does are you asking that, you are looking for the sound file for other reason?

If it doesn't work, then you need to look in the sound folder that was downloaded with your custom mod. If you find the "i.c.fool.day" make sure to change the folder line in the speech.ini file you have.

If you cannot find the file, probably the custom mod is using bits from other sounds together to make a sentence.

Yeah, it helps me a lot!
Thanks guy!
I wanna change the sounds, for my sounds
Thanks again, now you can close ^^


All times are GMT -4. The time now is 20:33.

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