This article's documentation is for anything that uses the Source engine. Click here for more information.

Cycler actor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (-)
(added Skin keyvalua that is non fgd, but does work if added manually. Also added warning about npc simply dying.)
Line 3: Line 3:
{{CD|CFlextalkActor|base=CGenericActor|file1=genericactor.cpp}}
{{CD|CFlextalkActor|base=CGenericActor|file1=genericactor.cpp}}
{{this is a|point entity|name=cycler_actor|except=Left 4 Dead series}} It is used to display a model for testing purposes. Shooting it will cycle through the model's animations. This version of the {{ent|cycler}} entity is used for NPC's.
{{this is a|point entity|name=cycler_actor|except=Left 4 Dead series}} It is used to display a model for testing purposes. Shooting it will cycle through the model's animations. This version of the {{ent|cycler}} entity is used for NPC's.
{{warning|Most actors simply die after being shot.}}


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV|Model|intn=model|studio|Model}}
{{KV|Model|intn=model|studio|Model}}
{{KV|Skin|intn=skin|int|Some models have multiple [[$texturegroup|skins]]. This value selects from the index, starting with 0.|nofgd=1}}
{{KV|Sentence Group|intn=Sentence|string|{{todo}}}}
{{KV|Sentence Group|intn=Sentence|string|{{todo}}}}



Revision as of 12:48, 18 January 2025

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the Counter-Strike: SourceDay of Defeat: SourceTeam Fortress 2Counter-Strike: Global Offensive FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CFlextalkActor
CGenericActor
CAI_BaseActor
CAI_ExpresserHost
CAI_BaseHumanoid
CAI_BaseHumanoidBase
CAI_BaseNPC
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ genericactor.cpp

cycler_actor is a point entity available in all Source Source games except Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. It is used to display a model for testing purposes. Shooting it will cycle through the model's animations. This version of the cycler entity is used for NPC's.

Warning.pngWarning:Most actors simply die after being shot.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Model (model) <model path>
Model
Skin (skin) <integer> !FGD
Some models have multiple skins. This value selects from the index, starting with 0.
Sentence Group (Sentence) <string>
[Todo]

Inputs

Alpha <integerRedirectInput/integer>
Set Alpha Value

See Also