Prop scalable
Jump to navigation
Jump to search
Entity Description
This entity can scale a non-solid prop.
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.
Keyvalues
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- 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.
Inputs
- Studiomodel:
- SetBodyGroup <integer >
- Set the model's body group.
- AlternativeSorting <boolean >
- Uses an alternative method for telling which objects are in front of others. Use if this object draws incorrectly when seen through transparent things.
- SetModelScale <string > (in all games since
) (also in
)
- Sets the model scale. Takes two values separated by a space. The first is the target model scale. The second value is the number of seconds the change in scale will be spread over. If there is no second value, the model will scale instantly.
Warning:Negative or extremely high values can cause crashes!
Shadow:
- DisableShadow
- Turn dynamic shadows off for this entity. Identical to applying EF_NOSHADOW.
- EnableShadow
- Turn dynamic shadows on for this entity.
- DisableReceivingFlashlight (in all games since
)
- This object will not receive light or shadows from projected textures.
- EnableReceivingFlashlight (in all games since
)
- This object may receive light or shadows from projected textures.
Reflection:
- DisableDrawInFastReflection (in all games since
)
- Turns off rendering of this entity in reflections when using
$reflectonlymarkedentities
in water material.
- EnableDrawInFastReflection (in all games since
)
- Turn on rendering of this entity in reflections when using
$reflectonlymarkedentities
in water material.
ToggleDraw:
- DisableDraw (in all games since
)
- Add the EF_NODRAW flag to this entity. Some entities manage this on their own so be aware you can override that value.
- EnableDraw (in all games since
)
- Remove the EF_NODRAW flag from this entity. Some entities manage this on their own so be aware you can override that value.
- SetScaleX <string>
- Format: <float:new scale> <integer:change over timespan> <integer:???>
- SetScaleY <string>
- Format: <float:new scale> <integer:change over timespan> <integer:???>
- SetScaleZ <string>
- Format: <float:new scale> <integer:change over timespan> <integer:???>