Raised This Month: $32 Target: $400
 8% 

Chameleon


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   HamletEagle (36)
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-05-2011 , 01:42   Chameleon
Reply With Quote #1

Chameleon
Version: 2.3
Author: Dark_Style - Tonev


Similar plugins:

What I have found was this one - http://forums.alliedmods.net/showthr...ight=chameleon

So, why then I decided to publicate my plugin here?

- I can say that my plugin is better written.
- It uses random models, not only one.
- My plugin has features those another one doesn't and it's more customizable.
- I did read that the another plugin is not working correctly (see last pages).
- The author of the another plugin is no longer active here, which means that he doesn't support his plugin anymore.

Description:

The plugin features the item "chameleon" from war3ft's shopmenu. With a command you can look like the enemy. You will look with random models not only one, the model is saved after round end, but not after a death.



Commands:

Here are the buying commands:

say /chameleon
say_team /chameleon

Cvars:

chameleon 1/0 - Turn on/off the plugin. Default 1 ( turned on ).
chameleon_cost "" - Chameleon's price. Default 1600.
chameleon_prefix "" - Messages' prefix. Default "chameleon".
chameleon_health 1/0 - If the killer will receive a additional health after killing a chameleon. Default 1. (turned on)
cham_killer_health "" - What health to receive if the above cvar is turned on. Default 20.
cham_killer_max_health "" - Max amount of health which the killer can have. Default 120.
chameleon_sounds 0/3 - Who can hear the sound after killing chameleon. Default 1 (all).
0 - Turned off.
1 - All.
2 - Only the killer.
3 - Only the victim.

cham_infomsg_show_time "" - Time for repeating the info message. Default 180 seconds (3 minutes).
cl_minmodels_check_time "" - Time between cl_minmodels value checks. Default 30 seconds.

Modules:

engine
cstrike
fun

Changelog:

Code:
2.3:

- The menu is replaced with query_client_cvar. After x seconds after connect, the plugin will make check and if the cl_minmodels value is 1 the player will be kicked.

2.2:

- Added cz extra models support, as ConnorMcLeod suggested.
- Added cl_minmodels menu.
- Added 3 new cvars and changed the sound cvar values for more costumization, as ConnorMcLeod suggested.
- Changed the money part, thank you Connor.

2.1:

- Fixed typo with model setting.
- Removed the useless Ham_Spawn, since cstrike keep the model until you die, thank you Connor!
- set_task() is replaced with thinking entity as I think it's better and causes no problems, while set_task() floods the chat.
- The plugin requires engine module now. 

2.0:

- Fixed few things with the money.
- Removed not needed messages flood.
- Removed the color stock.

1.0:

- Fixed messages bug.
- Added sound after killing a chameleon.
- Message after killing a chameleon.
- Additional health for the killer of chameleon.
- The plugin requires the fun module now.

0.1 - First release.
Credits:

- ANTICHRISTUS - testing the plugin on CZ.
- Lolz0r - testing the plugin and ideas.
- Kostov - testing the plugin and some help.
- <VeCo> - optimization.
- War3ft team.
- ConnorMcLeod
- micapat

Additional Information:

cl_minmodels must be set to 0, if you want the plugin to works correctly.
Attached Files
File Type: zip sound.zip (19.0 KB, 576 views)
File Type: sma Get Plugin or Get Source (chameleon.sma - 1889 views - 4.9 KB)

Last edited by dark_style; 08-18-2013 at 15:15.
dark_style is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 10-05-2011 , 09:55   Re: Chameleon
Reply With Quote #2

Nice plugin.
Lolz0r is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 10-05-2011 , 11:31   Re: Chameleon
Reply With Quote #3

Good plugin. Testing my server.
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 10-05-2011 , 11:48   Re: Chameleon
Reply With Quote #4

You should add the default values of the CVars in your post. You should also make it so that if the advertisement/information time CVar is set to 0 it's turned off.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-05-2011 , 12:18   Re: Chameleon
Reply With Quote #5

Quote:
Originally Posted by DarkGod View Post
You should add the default values of the CVars in your post. You should also make it so that if the advertisement/information time CVar is set to 0 it's turned off.
Default values are added to the first post, thanks. I should make it these days, now I am busy and tired.

Thanks for the comments.
dark_style is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 10-05-2011 , 20:11   Re: Chameleon
Reply With Quote #6

another similar but different plugin: Deception.

your plugin will only change the model to an ennemi one ?
I suggest to enhance it, all the players even the bots will be deceived (I think that the Joaquim's plugin have this ability).
also it's too basic, add some advanced ideas and wait for good suggestions too.

good luck .
__________________
ANTICHRISTUS is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-06-2011 , 00:15   Re: Chameleon
Reply With Quote #7

Quote:
Originally Posted by ANTICHRISTUS View Post
another similar but different plugin: Deception.

your plugin will only change the model to an ennemi one ?
I suggest to enhance it, all the players even the bots will be deceived (I think that the Joaquim's plugin have this ability).
also it's too basic, add some advanced ideas and wait for good suggestions too.

good luck .
Joaquim's plugin is different. Well, I am welcome for suggestions, if you have a idea just tell me and I will see to add it, if I like your idea. My plugin is just like it's in the war3ft. Thanks

I have got some ideas, gonna work on the next version when I have some free time. I will try to do it this Sunday.

Last edited by dark_style; 10-06-2011 at 01:29.
dark_style is offline
GuTo
Senior Member
Join Date: Mar 2010
Location: Brazil - SP
Old 10-07-2011 , 14:19   Re: Chameleon
Reply With Quote #8

nice
__________________
GuTo is offline
Send a message via Skype™ to GuTo
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 10-07-2011 , 15:11   Re: Chameleon
Reply With Quote #9

Great plugin!
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-07-2011 , 15:28   Re: Chameleon
Reply With Quote #10

coool plugin
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:35.


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