Thread
:
[L4D2] Weapon, Survivor, Gamemode identification includes (Trie)
View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
05-20-2012 , 03:59 Re: [L4D2] Weapon, Survivor, Gamemode identification includes (Trie)
#
4
It depends what you want the check for... the netprop will allow them to vocalize as that character, but the model could be different... look at CSM. I think the model check is best, since people will most likely want to do something with the character they look like, and not some other character because their voice is different. For example some plugins use Bill model only to prevent crashes.
Edit: Regarding the gamemodes, I personally create the info_gamemode entity and fire it's PostSpawnActivate input, to determine gamemode. Regardless of the mp_gamemode (for example mutation12 is still Versus), it reports back if the mode is: Coop,Survival,Versus,Scavenge. Not realism.
__________________
[
My Plugins
]
>>
GitHub
<<
[TUT] Scripting
ANY
:
Command & ConVar - Buffer Overflow Fixer
|
Spray Exploit Fixer
L4D1/2
:
Left 4 DHooks
|
Info Editor
|
Priority Patch
Last edited by Silvers; 05-20-2012 at
04:02
.
Silvers
View Public Profile
Send a private message to Silvers
Find More Posts by Silvers