View Single Post
Author Message
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 08-01-2008 , 02:25   [DoDS] Camouflage 1.04
Reply With Quote #1

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:
Quote:
"Allies soldier",
"Axis soldier",
"Shrub",
"Flower barrel",
"Table",
"Crate",
"Wooden barrel",
"Wagon",
"Phone pole",
"Big flower pot",
"Sandbags curved",
"Concrete block",
"Hedge",
"Well",
"TNT dump",
"Rock",
"Group of rocks",
"Pine tree",
"Chair",
"Hay bale",
"Pot",
"Cattails",
"Small shrub",
"Hedgehog",
"Dresser",
"Sherman tank",
"Kubelwagen",
"Bench",
"Deciduous tree",
"Boat",
"Market table",
"Fountain",
"Sandbags straight",
"Tiger tank",
"Armored car"


Installation
  • Copy sm_dod_camo.smx to addons/sourcemod/plugins
Commands
!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


Configuration
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


Changelog
Version 1.0.100
SourceMod release.

Version 1.0.101
Added more models and removed "grass"
Added !nocamo command to return to player to normal
Added two cvars for third person

Version 1.0.102
Added cvar to switch camo plugin off

Version 1.0.103
Hooked player_hurt so that player loses disguise when injured or killed to reduce bad_ragdoll errors.

Version 1.0.104
Added cvar that limits the amount of times camo can be used between lives


Notes
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.
Attached Files
File Type: sp Get Plugin or Get Source (sm_dod_camo.sp - 2875 views - 9.3 KB)
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org

Last edited by strontiumdog; 10-04-2008 at 13:12.
strontiumdog is offline