AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DoDS] Camouflage 1.04 (https://forums.alliedmods.net/showthread.php?t=75195)

strontiumdog 08-01-2008 02:25

[DoDS] Camouflage 1.04
 
5 Attachment(s)
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!

http://i56.photobucket.com/albums/g1...kalt0000-1.jpg

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.

Strider 08-01-2008 04:28

Re: [DoDS] Camouflage
 
Very good Strontium just installed it i shall be having some FUN with our members this evening ;)
Just one thing though mate how do you change back to a allied or axis model ?
85.234.136.94:27015 F.U.N.

DJ Tsunami 08-01-2008 06:04

Re: [DoDS] Camouflage
 
Great, now a plugin to enable third person for a player and Hide & Seek would be as good as done :D

Unrealomega 08-01-2008 06:29

Re: [DoDS] Camouflage
 
Awesome plugin!

I want to make a suggestion though: Add a cvar so that when you go into camo, force them into third person. When they get out of camo, put them back into first person. Adds to the fun. XD

Bit of a glitch here, but the shrub model is messed up.

Enemy1 08-01-2008 07:37

Re: [DoDS] Camouflage
 
A config file with options to turn things off and on,
like below

Shrub 1 // 0/1 turns shrub alt. off/on

strontiumdog 08-01-2008 10:26

Re: [DoDS] Camouflage
 
Quote:

Originally Posted by Strider (Post 662684)
Very good Strontium just installed it i shall be having some FUN with our members this evening ;)
Just one thing though mate how do you change back to a allied or axis model ?
85.234.136.94:27015 F.U.N.


I'll add that! Forgot about going back to normal!

strontiumdog 08-01-2008 10:28

Re: [DoDS] Camouflage
 
Quote:

Originally Posted by Unrealomega (Post 662734)
Awesome plugin!

I want to make a suggestion though: Add a cvar so that when you go into camo, force them into third person. When they get out of camo, put them back into first person. Adds to the fun. XD

Bit of a glitch here, but the shrub model is messed up.


That would be the OB engine's glitch. Some of the models do that for some people.

strontiumdog 08-01-2008 10:29

Re: [DoDS] Camouflage
 
Quote:

Originally Posted by Enemy1 (Post 662759)
A config file with options to turn things off and on,
like below

Shrub 1 // 0/1 turns shrub alt. off/on

Ikes...that would be 28 cvars to turn each model on or off!

ProjectManhatten 08-01-2008 12:11

Re: [DoDS] Camouflage
 
Haha this is AWESOME! I'm glad you're a 1337 coder for DOD:S! Keep up the great work!

strontiumdog 08-01-2008 13:11

Re: [DoDS] Camouflage
 
Added a few more models, including Axis and Allied soldier camo, which will cause chaos and mayhem....hehe!
Also added the option to go back to normal.

The third person stuff is there to help players fit in with their surroundings, but I added a couple of cvars to let server ops decide how third person works.


All times are GMT -4. The time now is 01:49.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.