Cycler: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleaned up, but has to be verified: I might have made errors, this one was long to do.)
m (Templated the disable shadows keyvalue.)
Line 3: Line 3:


==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{kv targetname}}
* {{kv parentname}}
* {{kv parentname}}
* {{kv angles}}
* {{kv angles}}
* {{kv renderfields}}
* {{kv renderfields}}
 
* {{kv shadow}}
* '''disableshadows'''
: {{boolean}}
 
* '''model'''
* '''model'''
: <studio>
: <studio>
* '''skin'''
* '''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.
: <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.
* '''sequence'''
* '''sequence'''
: <integer> Default animation sequence for the model to be playing after spawning.
: <integer> Default animation sequence for the model to be playing after spawning.


==Flags==
==Flags==
* 1 : Not Solid
* 1 : Not Solid


==Inputs==
==Inputs==
* {{i targetname}}
* {{i targetname}}
* {{i parentname}}
* {{i parentname}}
*'''SetSequence <string>'''
*'''SetSequence <string>'''
:Sets the cycler's sequence.
:Sets the cycler's sequence.
Line 40: Line 27:


==Outputs==
==Outputs==
* {{o targetname}}
* {{o targetname}}


[[Category:Entities]]
[[Category:Entities]]

Revision as of 11:00, 28 September 2006

Entity Description

An entity used to display a model for testing purposes. Shooting it with cycle through the model's animations.

Keyvalues

<studio>
  • 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.
  • sequence
<integer> Default animation sequence for the model to be playing after spawning.

Flags

  • 1 : Not Solid

Inputs

Sets the cycler's sequence.
  • Alpha <integer>
Sets the cycler's alpha value.

Outputs