Raised This Month: $89 Target: $400
 22% 

[CS:S] Chicken Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Plugin ID:
2332
Plugin Version:
0.7.6.4
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    18 
    Plugin Description:
    Turn players into Chickens with knives
    Old 05-13-2011 , 15:02   [CS:S] Chicken Mod
    Reply With Quote #1

    This is a combined effort by me and Peace-Maker (and others) to revive TechKnow's sm_chicken plugin. If I posted this in error or out of place, let me know and I'll remove it. I am in no way trying to step on toes or take credit for other people's work - just wanted to post this plugin after I finalized it to work as it used to.

    Admin Command line is:
    sm_chicken <name/@all/@t/@ct > <1/0> (1=on/0=off)


    CVARS

    Taken from TechKnow's site description:

    This mod plugin alows admins to turn a single player or a team or everyone into knife fighting chickens on invisible skateboards. They peck with every knife stab, Their legs skamper as you walk or run, They jerk their head while running or walking and look around while idle. The CT Chickens are blue and the T chicken are red.

    When a player becomes a chicken their health gets placed at 200, their gravity is set to what you want, their speed is set to what you want, and all weapons but the knife (and optional hegrenade) are removed and you are prevented from geting any other weapon. And every time a chicken gets killed it cries out "BUCK BUCK BUGOCK!!" All models (chickens) are reset to standard at the start of every round, (IE your chicken status is removed).

    New in 0.7.5 - you can now set the gravity of the chickens and there's a cvar to allow hegrenades or not.

    New in 0.7.6.1 - You can now set the speed of the chickens.

    Original plugin by TechKnow who, by the looks of his site, dropped this plugin's support - http://sourcemodplugin.14.forumer.co...opic.php?p=2#2

    Requirements:
    SDKHooks
    SourceMod 1.3+

    Optional:
    Updater - if you want to have this plugin auto update when a bug is fixed or features are added

    Known Issues:
    [FIXED] - You can only turn a player (or players) into a chicken and back to a human once. If you turn them into a chicken again, they will remain that way until round end or upon player's death.

    No known issues at the moment (as of 0.7.6.1)

    To Do:
    Perhaps enhance this plugin to automatically turn a player into a chicken if they camp too long? Just an idea if anyone wants to pick it up from here :) I'll work on that next

    Special thanks to the following:
    Peace-Maker
    TechKnow
    pRed
    dalto
    and DarthNinja
    (I sampled his code for the @targets part)

    They really did all of the hard work, all I did was make the plugin work with @targets. Peace-Maker removed the need for a gamedata by updating the code with newer code - Thanks all. This is a great plugin and I'm glad it's back.

    This post describes what Peace-Maker did to make this plugin work again, however, the FindTarget only allows to target one player and not @targets. I used DarthNinja's cash plugin as a guide to alter the Chicken plugin to work with @targets

    CHANGE LOG:
    Old .sp files will be added to "Old Chicken Files.zip" Zip file will contain the model, material, and sound files.
    05/22/11
    * version updated to 0.6
    * fixed the bug where player's guns were turned to knives dropped after they became chickens which caused knives to litter the map.
    * Added back #pragma semicolon 1
    * Changed the messages sent to players to be more aesthetic

    Version 0.7.x
    Code:
    0.7		-	started using sdkhooks to block the pickup of weapons while a chicken
    		-	Rewrote a lot of the code to clean it up
    
    0.7.1		-	Used some stocks and functions from SMLib - thanks goes to benri for those
    0.7.2		-	Added config file
    0.7.3		-	Misc code fixes regarding PrecacheModel
    0.7.4		-	Added "Updater" capability
    0.7.5		-	Added translation file.  Went through and commented a lot of the code.
    0.7.6		-	Fixed sm_chicken_version - it now has FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY
    0.7.6.1		-	Plugin now has 4 digit version number.  
    		-	Added CVar for Updater.  
    		-	Added FCVAR_DONTRECORD flag to plugin version CVar
    		-	Added speed of chicken CVar
    0.7.6.2		-	Fixed bug where some clients would not be issued a pistol on the round after being a chicken
    		-	Added Event_RoundEnd and code for when mp_restartround is used
    		-	Added CS_OnBuyCommand so player's cannot buy weapons while a chicken (saving them their money)
    		-	Added two new entries in the sm_chicken.phrases.txt translation file
    0.7.6.3		-	Added chicken vote (!votechicken) so, if enough players vote for it, the next round will be a chicken round
    0.7.6.4		-	Enhanced the code to add the model/material/sound files to the download tables.
    		-	Added a couple new entries to the translation files.
    Due to the includes the web compiler will fail if you click GET PLUGIN so, you'll have to use the attached SMX file or compile it yourself. SDKHooks, colors, and updater includes were used.

    INSTALLATION INSTRUCTIONS


    White list example


    If upgrading, backup your configuration file, delete it, and let the plugin create a new one for you, then edit it how you want. Especially since 0.7.6.3 there are new CVars to control the voting for a Chicken Round.
    Attached Files
    File Type: ini chicken.ini (757 Bytes, 1300 views)
    File Type: zip Chicken.zip (375.3 KB, 2132 views)
    File Type: smx Chicken.smx (20.5 KB, 807 views)
    File Type: sp Get Plugin or Get Source (Chicken.sp - 734 views - 31.8 KB)
    File Type: txt sm_chicken.phrases.txt (1.5 KB, 871 views)
    __________________
    View my Plugins | Donate

    Last edited by TnTSCS; 02-27-2012 at 16:23. Reason: Update from 0.7.6.2 to 0.7.6.4
    TnTSCS is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 05-13-2011 , 15:58   Re: [CS:S] Chicken Mod
    Reply With Quote #2

    lolz

    Defiantly subscribing to this thread "Instant Email Notification"
    __________________
    Happy Happy Joy Joy


    Last edited by sinblaster; 05-13-2011 at 16:05.
    sinblaster is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 05-13-2011 , 16:16   Re: [CS:S] Chicken Mod
    Reply With Quote #3

    is there history that I don't know about?

    I just searched and saw that TechKnow has an account here, but his last post here was a about 2 months ago...

    Like I said... if I posted this out of place, I'll be happy to remove it. It is NOT my plugin, just a fixed version of a great plugin that died a long time ago. My contribution to this plugin was adding back the functionality of using @targets.

    I mean no disrespect and don't want to start any wars.
    TnTSCS is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 05-13-2011 , 16:18   Re: [CS:S] Chicken Mod
    Reply With Quote #4

    Tn I really wouldn't worry about any of it mate. GJ ;)
    I'm subscribing purely for the fact its a great plug, looks really raofl funny
    __________________
    Happy Happy Joy Joy


    Last edited by sinblaster; 05-13-2011 at 16:28.
    sinblaster is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 05-13-2011 , 23:40   Re: [CS:S] Chicken Mod
    Reply With Quote #5

    I forgot the materials in the ZIP. I edited the OP and the ZIP now has the included and needed materials/models/player/chicken files
    TnTSCS is offline
    Molli
    SourceMod Donor
    Join Date: Aug 2007
    Location: Finland
    Old 05-14-2011 , 01:27   Re: [CS:S] Chicken Mod
    Reply With Quote #6

    I cant get this working.Player model do not change.I can hear chicken sounds.

    08:25:52 Listing 7 plugins:
    [01] SourceMod (1.3.7-dev) by AlliedModders LLC
    [02] Stripper (1.2.2) by BAILOPAN
    [03] CSS Account Extenson (1.0.0) by Dr!fter
    [04] BinTools (1.3.7-dev) by AlliedModders LLC
    [05] CS:S Tools (1.3.7-dev) by AlliedModders LLC
    [06] SDK Hooks (2.0.0) by Tsunami, psychonic
    [07] SDK Tools (1.3.7-dev) by AlliedModders LLC

    -No errors
    -All models are dl:n
    -I made sv_pure allows:
    sound\smchicken\... allow_from_disk
    materials\models\player\chicken\... allow_from_disk
    models\player\chicken\... allow_from_disk

    Can SourceMod dev be reason ?

    Edit:
    Updated SM to 1.3.7 official and no effect.

    Last edited by Molli; 05-14-2011 at 10:31.
    Molli is offline
    nelioneil
    AlliedModders Donor
    Join Date: Sep 2005
    Old 05-14-2011 , 08:59   Re: [CS:S] Chicken Mod
    Reply With Quote #7

    Techknow created the original sm chicken and there was a thread on here ages ago but has been deleted (no idea why)
    nelioneil is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 05-14-2011 , 12:14   Re: [CS:S] Chicken Mod
    Reply With Quote #8

    Quote:
    Originally Posted by nelioneil View Post
    Techknow created the original sm chicken

    As stated and credited in the first post
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 05-14-2011 , 13:32   Re: [CS:S] Chicken Mod
    Reply With Quote #9

    Quote:
    Originally Posted by Molli View Post
    I cant get this working.Player model do not change.I can hear chicken sounds.
    Updated SM to 1.3.7 official and no effect.
    Do the models download to your client? Check your client directory for existence of the files.

    C:\program files\steam\steamapps\<youremail>\...\...\cst rike\models and materials
    TnTSCS is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 05-14-2011 , 13:34   Re: [CS:S] Chicken Mod
    Reply With Quote #10

    Quote:
    Originally Posted by nelioneil View Post
    Techknow created the original sm chicken and there was a thread on here ages ago but has been deleted (no idea why)
    Yep... I would have just posted the updated/fixed files there, but I couldn't find the OP, so I started a new one with all of the credits to all of the authors...

    I am, in no way, trying to take sole credit for this plugin
    TnTSCS is offline
    Reply


    Thread Tools
    Display Modes

    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 06:16.


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