View Single Post
Author Message
GNCMatt
Member
Join Date: Apr 2009
Old 11-15-2010 , 19:41   [TF2] Hide Players
Reply With Quote #1

Hide Players
Hide player models, projectiles, and sounds. Useful for skill maps.


Description:
This plugin is designed for Jump Servers. It lets clients hide all other players from their screen, which is quite useful when playing skill maps in crowded areas, plus you also can't be bumped by other players while hide is enabled so it feels like you are playing alone.


Command List:

sm_hide - Toggles hide on yourself.
sm_hide_reload - [Admin Command] Run this command if you reload the plugin while players are in the server.

CVAR List:
sm_hide_explosions <0/1> (Default: 1) - Hide Explosions Globally. 1 = Hide Explosions, 0 = Don't Hide Explosions


Dependencies:
SDK Hooks


Special Thanks:
All the jumpers that helped beta test.


Known Issues:
  • As far as I can tell there is no way to disable explosions on a per-person basis. So there is an included cvar "sm_hide_explosions" (defaulted to hide explosions) that will disable all explosions for everyone.
  • Removes more sounds then it probably should.

Other Notes:
  • Haven't worked on this for a while, I'm pretty sure it all works but please post bugs if you find them.
  • This plugin is designed for TF2, but it would probably work on other mods as well. The only TF2 specific parts I remember is a string array of entity names to be hidden, located at the top of the file. So if you wanted to use it on another mod you could probably just change that to the relevant entities.

Changelog:
v0.1.5 (2011-01-26)
* Minor bug fixes

v0.1.4 (2010-11-16)
* Minor bug fixes

v0.1.3 (2010-11-15)
* Initial public release
Attached Files
File Type: sp Get Plugin or Get Source (hide.sp - 1033 views - 4.5 KB)
File Type: smx hide.smx (5.0 KB, 977 views)
__________________

Last edited by GNCMatt; 01-26-2011 at 15:18. Reason: Update v0.1.5
GNCMatt is offline