Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod
ttt_roundendsounds_sound_name_message 1
and
ttt_roundendsounds_team_win_sound 1
Add those to your listenserver.cfg or server.cfg if you're on a dedicated server.
Add sounds to an innocent_team and traitor_team folder and they will override the win/lose sounds and everyone will hear the same sound depending on if the traitors or innocents won.
I can't support independent/jester team wins as they are more complicated and I can't individually support every custom jester/independent role people will make. But for innocent and traitor wins the above should work.
-an optional pop up in the corner telling the player what sound/song is playing
-an option to make a folder for role types so that a sound could play if a specific team wins, ie innocent roles or independent roles
-an option to make all players hear the same sound when the round ends
(Especially because the original sounds "*_win_*" and "*_loss_*" won't play at all anymore.)
My idea was to have an additional ability to see "innocent" and "traitor" as custom roles as well, so that there's a general chance for a "win"/"lose" to play but also, if innocent/traitor sounds exists that they also play. So, for example, after a won round, the chance is 1/10 that one of the default winning sounds play. If a traitor has won the round and two traitor sounds exist (making it a total 12 to be selected), I was assuming the chance of each song would be 1/12, you know?
I like your addon either way, but I thought that this update now overrode your original idea of the addon.
Is this intended?
Just one question. "customrolename" in the folder/path does not apply to innocent/traitor, or does it? So, if I'd want to play specific sounds for the traitor win or the innocent win, I'd have to hook it up clientside, eh?