This is a fun plugin allowing players to change into various objects and hide themselves around the map. This could be used to play Hide and Seek or simply use it to have shrub wars!
List of current models:
"Big flower pot",
"Group of rocks",
- Copy sm_dod_camo.smx to addons/sourcemod/plugins
!camo or /camo in chat - brings up a menu allowing the player to select which model he wants to be
!nocamo or /nocamo in chat - returns player to normal, switches back to first person
!3rd in chat - allows the player to toggle in and out of third person
sm_camo_thirdperson <0 | 1> - enables or disables the third person command
sm_camo_forcethird <0 | 1> - forces player into third person when they use camo. Make sure to turn sm_camo_thirdperson off or players can change back to first person.
sm_camo_enabled <0 | 1> - if zero, turns off the camo plugin and anyone already camouflaged, is turned back to normal.
sm_camo_amount # - The number of times a player can change camo. Set to a high number if you do not want to limit the players
Added more models and removed "grass"
Added !nocamo command to return to player to normal
Added two cvars for third person
Added cvar to switch camo plugin off
Hooked player_hurt so that player loses disguise when injured or killed to reduce bad_ragdoll errors.
Added cvar that limits the amount of times camo can be used between lives
Weapons cannot be changed while in third person - this is part of the Source engine
Keep the first two models as Allied/Axis soldiers as these are used to return the player back to normal
This is a port of my original ES version, also used to create the DoDS Hide and Seek mod by Colster.