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
(added Skin keyvalua that is non fgd, but does work if added manually. Also added warning about npc simply dying.)
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{lang|Cycler actor}}
{{LanguageBar}}
{{Ent not in fgd}}
{{Ent not in fgd}}
{{stub}}
{{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|model 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 NPCs.
{{warning|Most actors simply die after being shot.}}
{{warning|Most actors simply die after being shot.}}


==Keyvalues==
== Keyvalues ==
{{KV Targetname}}
{{KV Targetname}}
{{KV|Model|intn=model|studio|Model}}
{{KV 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}}}}


==Inputs==
{{IO|Alpha|param=integer|Set Alpha Value}}


== See Also ==
== See Also ==

Latest revision as of 11:27, 19 May 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.

Stub

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

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 model 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 NPCs.

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

World Model (model) <model path>[ Edit ]
In-game 3D representation of the entity to display. This is the path to a MDL relative to the game's root directory. (128 character limit)

Sentence Group (Sentence) <string>
[Todo]


See Also