Raised This Month: $51 Target: $400
 12% 

[CS:S] Chicken Mod


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-07-2013 , 19:14   Re: [CS:S] Chicken Mod
Reply With Quote #121

Here - give this one a shot... I updated it to grab the player's current model prior to changing the player to a chicken and it will change that player back to their original model once they die or are turned back to a human. I also added a CVar to give the weapons back to the player after being turned into a chicken and back (with a couple of options).

For CS:GO, use the chicken model models/chicken/chicken.mdl for both T and CT and set the colors for each model using the new CVars.

Here's a list of the new CVars:
Code:
"sm_chicken_usemodelcolors" = "1" ( def. "0" ) min. 0.000000 max. 1.000000
 - For CSGO only, use specific model colors for chicken model?
0 = No
1 = Yes

"sm_chicken_ct_alpha" = "185"
 - Amount of alpha to use for CT model

"sm_chicken_ct_blue" = "220"
 - Amount of blue to use for CT model

"sm_chicken_ct_green" = "0"
 - Amount of green to use for CT model

"sm_chicken_ct_red" = "0"
 - Amount of red to use for CT model

"sm_chicken_t_alpha" = "185"
 - Amount of alpha to use for T model

"sm_chicken_t_blue" = "0"
 - Amount of blue to use for T model

"sm_chicken_t_green" = "0"
 - Amount of green to use for T model

"sm_chicken_t_red" = "220"
 - Amount of red to use for T model

"sm_chicken_saveweapons" = "2" min. 0.000000 max. 2.000000
 - Save the weapons the player has prior to being turned into a chicken and give back to player?
0 = No
1 = Yes
2 = Yes, only if player doesn't die as chicken
Remember, for CS:GO, if you use the model included with this plugin, it will crash your client for some reason... instead, use the CS:GO's chicken model and the model colors:
// The path for the CT Chicken Model (.mdl file).
// -
// Default: "models/player/chicken/ct/chicken-ct.mdl"
sm_ctchicken_model "models/chicken/chicken.mdl"

Once I test this more and get the sound working for CS:GO, I'll update the original post... also, if you use Updater, turn the CVar for this plugin off otherwise it will revert to the official release.
Attached Files
File Type: sp Get Plugin or Get Source (Chicken.sp - 346 views - 41.1 KB)
File Type: smx Chicken.smx (22.6 KB, 343 views)
__________________
View my Plugins | Donate
TnTSCS is offline
fishboy777
Member
Join Date: Apr 2007
Old 07-26-2013 , 17:57   Re: [CS:S] Chicken Mod
Reply With Quote #122

Anyone know if this plugin is working yet or only for CS:GO?
fishboy777 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-27-2013 , 18:06   Re: [CS:S] Chicken Mod
Reply With Quote #123

see the post right above yours ... I've had it on CS:GO and tested it, but haven't heard back from anyone else yet.
__________________
View my Plugins | Donate

Last edited by TnTSCS; 07-27-2013 at 18:06.
TnTSCS is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 08-28-2013 , 07:17   Re: [CS:S] Chicken Mod
Reply With Quote #124

I'm so stupid... I didn't read the manual..
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.

Last edited by VJScope; 08-28-2013 at 07:18.
VJScope is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 09-01-2013 , 08:08   Re: [CS:S] Chicken Mod
Reply With Quote #125

Just wondering about the hitbox problem, could it be related to sv_pure ? (Kinda not related, while still being related).

I've no idea what really handles the hitbox on the convar side ([sarcasm]mp_hitbox_usemodel[/sarcasm] rofl).
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 09-01-2013 at 08:08.
RedSword is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-01-2013 , 12:15   Re: [CS:S] Chicken Mod
Reply With Quote #126

For me... the hitbox is correct with the models I supplied in the OP. If I shoot above the chicken's head, it's a miss...
__________________
View my Plugins | Donate
TnTSCS is offline
Merhadma
New Member
Join Date: Sep 2013
Old 09-26-2013 , 05:29   Re: [CS:S] Chicken Mod
Reply With Quote #127

Hmm... i dont understand that. I have the same problem withe the hitbox. The Chicken-Hitbox is the same as Human-Hitbox. Someone has an idea what the problem is ?
Merhadma is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-26-2013 , 09:07   Re: [CS:S] Chicken Mod
Reply With Quote #128

Are you using the models from the OP or different chicken models?
__________________
View my Plugins | Donate
TnTSCS is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 09-27-2013 , 19:02   Re: [CS:S] Chicken Mod
Reply With Quote #129

Hi,

Well, it's working fine for me on CS:GO, great job.

__________________

*** *** ***
-My plugins-

Last edited by St00ne; 09-29-2013 at 00:28.
St00ne is offline
Sarona
AlliedModders Donor
Join Date: Jul 2012
Old 09-27-2013 , 22:55   Re: [CS:S] Chicken Mod
Reply With Quote #130

Hi!!!, spanish translation here xDD:
Attached Files
File Type: txt sm_chicken.phrases.txt (2.7 KB, 223 views)

Last edited by Sarona; 09-27-2013 at 23:01.
Sarona 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 03:46.


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