Prop scalable

From Valve Developer Community
Revision as of 08:11, 30 April 2022 by Kestrelguy (talk | contribs) (added language bar and updated template usage.)
Jump to navigation Jump to search
English (en)Translate (Translate)

Template:Ep2 point It creates a non-solid model that can be resized dynamically via inputs. It is used for the "superportal" effects at the beginning and end of the game. This entity is the successor of prop_coreball from Half-Life 2: Episode One Half-Life 2: Episode One .

Icon-Bug.pngBug:This entity is defined in later games' FGDs but is not implemented in the engine.  [todo tested in ?]
C++ In code, it is represented by theCPropScalableclass, defined in theprop_scalable.cppfile.

Keyvalues

Inputs

SetScaleX <vectorRedirectInput/Vector>
SetScaleY <vectorRedirectInput/Vector>
SetScaleZ <vectorRedirectInput/Vector>
Scales the model (local axes). Accepts either newscale timespan or newscale, where "newscale" is a float that sets the new scale of the prop, and "timespan" is an integer number of seconds over which the size change happens. If no timespan is specified, the changes apply immediately.
Note.pngNote:Changing the size is not able via variables (e.g., math_counter). You can set the different sizes in a logic_case to get a near-blend between different sizes.

Outputs