AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Possible "words" with spk? (https://forums.alliedmods.net/showthread.php?t=143729)

Mati_ 11-23-2010 23:46

Possible "words" with spk?
 
Hello,
I just saw that "spk "get red(e80) ninety(s45) to check(e20) use bay(s18) mass(e42) cap(s50)"" results in the well-known "Get ready to choose a map".

Well its clear that those words are cut somehow but the question I have is: Where can I see a list of all possible words, and what's the syntax to cut them like in the above example? What does the "e" and "s" mean?

Edit: Seems like "e" cuts from the end and "s" cuts from the beginning. Can I cut from both sides and only choose a middle piece?

fysiks 11-24-2010 00:26

Re: Possible "words" with spk?
 
These modifiers have been listed before. Search.

Mati_ 11-24-2010 00:54

Re: Possible "words" with spk?
 
Yeah, I have seen about those modifiers (s, e, t, p, v are all?), however I still wonder about all available words - sound/sentences.txt doesn't define all it seems.

Emp` 11-24-2010 02:13

Re: Possible "words" with spk?
 
1 Attachment(s)
There's more if you look in the counter-strike.gcf and the half-life.gcf, but I preferred to just look in the sentences.txt found in the sound directory. I've provided it hear for convenience.

Mati_ 11-24-2010 12:06

Re: Possible "words" with spk?
 
Yeah, but many words are just missing - where do I find stuff like "environment" or "computer" which also works, are they defined no where?

Do I just have to guess the words? :shock:

Also, is it possible to combine modifiers like "e80" with "v50"?

bibu 11-24-2010 12:27

Re: Possible "words" with spk?
 
Just look in the half-life.gcf file in the fvx or vox folder, and if there is already a full word, that you can use it in spk like this, taken from another plugin:

PHP Code:

client_cmd(0"speak ^"loading environment on to your computer^""); 


Mati_ 11-24-2010 13:55

Re: Possible "words" with spk?
 
Quote:

Originally Posted by bibu (Post 1355772)
Just look in the half-life.gcf file in the fvx or vox folder, and if there is already a full word, that you can use it in spk like this, taken from another plugin:

Nice, seems like it takes the words from there. Here is a list of all available words - there are more in other directories like hgrunt/ but it seems like you can not take words from different directories into "one" spk command: http://pastebin.com/F7BicjiD

spk "hgrunt/shit! man" doesn't work, but "hello man" does because hello and man are both in vox/.


All times are GMT -4. The time now is 11:17.

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