Chicken: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


==Entity Description==
==Entity Description==
A chicken. Identical to the [[pet_entity]], but ''will'' spawn automatically without need of [[Navigation Meshes|Navigation Mesh]]. ''{{todo|Add extra description to this entity.}}''
A chicken. Identical to the [[pet_entity]], but it ''will'' spawn automatically without need of [[Navigation Meshes|Navigation Mesh]]. ''{{todo|Add extra description to this entity.}}''
 
== Keyvalues==
{{KV Angles}}


==FGD Code==
==FGD Code==
<pre>
<pre>
@PointClass base(Targetname, Angles) studio("models/chicken/chicken.mdl") = chicken : "A chicken."
@PointClass base(Angles) studio("models/chicken/chicken.mdl") = chicken : "A chicken."
[
[
]
]

Revision as of 07:28, 26 January 2019

Chicken

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

chicken is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Entity Description

A chicken. Identical to the pet_entity, but it will spawn automatically without need of Navigation Mesh.

Todo: Add extra description to this entity.

Keyvalues

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

FGD Code

@PointClass base(Angles) studio("models/chicken/chicken.mdl") = chicken : "A chicken."
[
]

Instruction on placing the FGD Code:

Paste the FGD code in the last line of the csgo.fgd. The csgo.fgd can be found in CS:GO's bin folder.