Chicken: Difference between revisions
Jump to navigation
Jump to search
(-added class hierarchy, concise, see also) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Preserved entity|all}} | |||
{{CD|CChicken|base=CDynamicProp|file1=chicken.cpp}} | {{CD|CChicken|base=CDynamicProp|file1=chicken.cpp}} | ||
[[File:csgo_chicken.png|thumb|right|200px|Chicken since 2021-05-03.]] | [[File:csgo_chicken.png|thumb|right|200px|Chicken since 2021-05-03.]] | ||
[[File:Chicken.png|thumb|right|200px|Chicken before 2021-05-03.]] | [[File:Chicken.png|thumb|right|200px|Chicken before 2021-05-03.]] | ||
{{this is a|point entity|game=Counter-Strike: Global Offensive|name=chicken}} | {{this is a|point entity|game=Counter-Strike: Global Offensive|name=chicken}} | ||
This is an animated chicken. It moves around and plays some sounds by itself. | This is an animated chicken. It moves around and plays some sounds by itself. | ||
* A [[player]] can {{ent|+use}} it to make it follow them. When a new round starts, the chicken is preserved and spawns near its "owner". When it dies, the "owner" is notified in the chat. | * A [[player]] can {{ent|+use}} it to make it follow them. When a new round starts, the chicken is preserved and spawns near its "owner". When it dies, the "owner" is notified in the chat. | ||
Line 13: | Line 12: | ||
The chicken model has multiple color variants that can be set with this entity's <code>skin</code> KeyValue and/or Input with a value within 0-4. | The chicken model has multiple color variants that can be set with this entity's <code>skin</code> KeyValue and/or Input with a value within 0-4. | ||
== Keyvalues== | == Keyvalues == | ||
{{KV Targetname}} | |||
{{KV|Chicken Model|intn=SetBodyGroup|choices|Holiday submodels of chicken.}} | {{KV|Chicken Model|intn=SetBodyGroup|choices|Holiday submodels of chicken.}} | ||
:* 0 : Default | :* 0 : Default |
Revision as of 06:19, 8 May 2025

This is a preserved entity.
If the game has round restart mechanics this entity may not behave as expected.
If the game has round restart mechanics this entity may not behave as expected.
![]() |
---|
CChicken |
![]() |
chicken
is a point entity available in Counter-Strike: Global Offensive.
This is an animated chicken. It moves around and plays some sounds by itself.
- A player can +use it to make it follow them. When a new round starts, the chicken is preserved and spawns near its "owner". When it dies, the "owner" is notified in the chat.
- It is normally spawned with pet_entity, but directly placing this entity will not require a Navigation Mesh.
- It is one of the preserved entities, so if this entity is map placed and killed, it will not respawn, even between rounds. Use pet_entity to get around this.
- Chickens spawn independently around the map in the
Deathmatch game mode.
The chicken model has multiple color variants that can be set with this entity's skin
KeyValue and/or Input with a value within 0-4.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Chicken Model (SetBodyGroup) <choices>
- Holiday submodels of chicken.
- 0 : Default
- 1 : Party Hat
- 2 : Ghost
- 3 : Sweater
- 4 : Bunny ears
- 5 : Pumpkin head