Prop scaleable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
Line 11: Line 11:


== Keyvalues ==
== Keyvalues ==
*[[Name]]
* '''Name'''
: <string> Name of entity
: <[[string]]> Name of entity
* {{kv studiomodel}}
* {{kv studiomodel}}
* [[Skin]]
* '''Skin'''
: Skin of model
: <[[integer]]> Skin of model
* {{kv angles}}
* {{kv angles}}



Revision as of 13:48, 7 June 2008

Template:Wrongtitle

Stub

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

This point based entity is available in only Half-Life 2: Episode Two.

Creates a model that can be scaled through inputs. Can be scaled over time to create a gradual scaling effect.

Template:Intent

See also

Keyvalues

  • Name
<string> Name of entity
<integer> Skin of model

Outputs

Usage

You can fire several inputs to a prop_scaleable. The only one that is used by Valve is:

  • SetScaleX <Integer>
  • SetScaleY <Integer>
  • SetScaleZ <Integer>

This sets the scale of the X Y and Z. Since this entity can be scaled over time, you must specify this in the input. For example, SetScaleX 10000.0 2 Would make it scale 10,000 times it's current size over a period of two seconds.