View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-26-2011 , 14:40   Re: Timeleft Voice v1.5.30
Reply With Quote #68

@daveyboy:
This doesn't support printing custom strings to users.

Additionally, it expects all sounds to be named in a specific way and reads all sounds at the start of a map or whenever the "sm_timeleftvoice_path" cvar changes. This is documented in "sound/timeleft/readme, if you want to use custom sounds.txt" (no, I'm not kidding, that's the filename).

P.S.
I can't help but think that the code could be optimized a bit using a Trie for lookups and EmitSoundToAll to play the sounds...
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline