cycler
(Redirected from Model studio)
cycler
is a point entity available in Half-Life: Source, Half-Life 2 series, Portal (series), and Counter-Strike series.
Class hierarchy |
---|
CGenericCycler |
h_cycler.cpp
|
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, and will not survive save-loads. Use
prop_dynamic
or prop_dynamic_override
instead.AltNames: This entity is also tied to
model_studio
. Contents
Keyvalues
- Name
(targetname)
<string> - 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
- Pitch Yaw Roll (Y Z X)
(angles)
<angle> - 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.
Studiomodel:
- World Model
(model)
<string> - The model this entity should appear as. 128-character limit.
- Skin
(skin)
<integer> - Some models have multiple skins. This value selects from the index, starting with 0. Tip:Hammer's model browser automatically updates this value if you use it to view different skins.
- Model Scale
(modelscale)
<float> (in all games since ) (also in ) - A multiplier for the size of the model.
- Tip:In Hammer++ with a prop selected in 3D view, hold Ctrl and scroll the mouse wheel to change the modelscale in increments of 0.5. Holding ⇧ Shift will scale it in smaller increments of 0.05.
- Bodygroup
(body / SetBodyGroup)
<integer> - Some models have multiple submodels. This value selects from the index, starting with 0. May be overridden by animations and/or game code. Note:If both
body
andSetBodyGroup
are present (even if set to 0),body
will be prioritized.
- Sequence
(sequence)
<integer> !FGD - Default animation sequence for the model to be playing after spawning. May be overridden by game code.
- Lighting Origin
(lightingorigin)
<targetname> - Select an entity (not
info_lighting
!) from which to sample lighting instead of the entity's origin or $illumposition.
Shadow:
- Disable Shadows
(disableshadows)
<boolean> - Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a prop_static. Does not affect shadow mapping.
- Disable Receiving Shadows
(disablereceiveshadows)
<boolean> - Prevent the entity from receiving dynamic shadows on itself.
- Shadow Cast Distance
(shadowcastdist)
<integer> !FGD - Sets how far the entity casts dynamic shadows. 0 means default distance from the shadow_control entity.
- Disable Shadow Depth
(disableshadowdepth)
<boolean> (in all games since ) - Used to disable rendering into shadow depth (for projected textures) for this entity.
- Disable flashlight
(disableflashlight)
<boolean> (in all games since ) - Used to disable projected texture lighting and shadows on this entity.
- Projected Texture Cache
(shadowdepthnocache)
<integer choices> (in all games since ) - Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.
|
- Render in Fast Reflections
(drawinfastreflection)
<boolean> (in all games since ) - If enabled, this entity will render in fast water reflections (i.e. when a water material specifies
$reflectonlymarkedentities
) and in the world impostor pass.
- Render FX
(renderfx)
<choices> - Various somewhat legacy alpha effects. See render effects
RenderFields:
- Render Mode
(rendermode)
<choices> - Set a non-standard rendering mode on this entity.
- Render FX
(renderfx)
<choices> - Various somewhat legacy alpha effects. See render effects
- Render Amount / Transparency
(renderamt)
<integer 0–255> - Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
- Render Color (R G B)
(rendercolor)
<color255> - Color tint.
- Disable Receiving Shadows
(disablereceiveshadows)
<boolean> - Prevent the entity from receiving shadows on itself.
Flags
Not Solid : [1]
Inputs
SetSequence
<string>- Sets the cycler's sequence.
RenderFields:
Alpha
<integer 0–255>- Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its
rendermode
set to a number other than0
.
Color
<color255>- Sets an RGB color for the entity.
See also
- cycler_actor - Special cycler entity for NPC`s.