Cycler: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Removing this manually since it isn't listen in the bots list for some reason)
(concise)
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{langsp}}
{{LanguageBar}}
{{TabsBar|main=gs|base=Cycler}}
{{This is a|model entity|name=cycler|game=Half-Life: Source|game1=Half-Life 2 series|game2=Portal series|game3=Counter-Strike series}}
 
{{CD|CGenericCycler|file1=h_cycler.cpp}}
It is used to display a model for testing purposes. Shooting it will cycle through the model's animations.
It is used to display a model for testing purposes. Shooting it will cycle through the model's animations.
{{Important|This is a debug entity. For mapping purposes use {{ent|prop_dynamic}} or {{ent|prop_dynamic_override}} instead.}}
{{altnames|name1=model_studio}}


== Keyvalues ==
== Keyvalues ==
{{KV Targetname}}
{{KV Targetname}}
 
{{KV Model}}
{{KV Parentname}}
 
{{KV Angles}}
 
{{KV RenderFxChoices}}
 
{{KV RenderFields}}
 
{{KV|Model|studio|Model file.}}
 
{{KV|Sequence|integer|Default animation sequence for the model to be playing after spawning.}}
 
{{KV|Skin|integer|Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.}}


== Flags ==
== Flags ==
* 1 : Not Solid
{{fl|1|Not Solid}}


== Inputs ==
== Inputs ==
{{IO|SetSequence|Sets the cycler's sequence.|param=string}}
{{I|SetSequence|Sets the cycler's sequence.|param=string}}
{{I Targetname}}
{{I Parentname}}
{{I RenderFields}}
 
== Outputs ==
{{O Targetname}}


==See also==
== See also ==
* [[cycler_actor]] - Special cycler entity for NPC`s.
* {{ent|cycler_actor}} - Special cycler entity for NPCs.

Latest revision as of 11:24, 19 May 2025

English (en)Hrvatski (hr)Русский (ru)中文 (zh)Translate (Translate)

cycler is a model entity available in Half-Life: Source Half-Life: Source, Half-Life 2 series Half-Life 2 series, Portal series Portal series, and Counter-Strike seriesCounter-Strike series Counter-Strike series.

C++ Class hierarchy
CGenericCycler
CCycler
CAI_BaseNPC
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ h_cycler.cpp

It is used to display a model for testing purposes. Shooting it will cycle through the model's animations.

Icon-Important.pngImportant:This is a debug entity. For mapping purposes use prop_dynamic or prop_dynamic_override instead.
AltNames.pngAltNames: This entity is also tied to model_studio.

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)

Flags

Not Solid : [1]

Inputs

SetSequence <stringRedirectInput/string>
Sets the cycler's sequence.

See also