CTerrainMorph
Jump to navigation
Jump to search
Code classes:
CTerrainMorph
CPointEntity
CBaseEntity
(all ents)
CTerrainMorph
is a code class which was removed from code in 2007. It dynamically morphs displacements by pulling vertices in a certain direction. The entity's code still exists in the 2006 SDK and can be used in code mods.
Classnames:
env_terrainmorph
tectonic
(Not in FGD)
Flags[edit | edit source]
- 1: Instant - Makes the morph happen instantly, completely ignoring Goal Radius.
Keyvalues[edit | edit source]
- Pitch Yaw Roll
(angles)
<angle>
- Direction to pull vertices in.
- Start Radius
(startradius)
<integer>
- Radius of the effect when morphing begins.
- Goal Radius
(goalradius)
<integer>
- Radius of the effect at the end of Duration. The area of effect grows/shrinks from Start Radius to Goal Radius while morphing.
- Duration
(duration)
<integer>
- How long to morph terrain for.
- Displacement Fraction
(fraction)
<float>
- How close vertices can come to the entity. If the value is 1, vertices will stop when they've reached a plane perpendicular to Pitch Yaw Roll intersecting the entity. If the value is 0.5, they will stop halfway there. Value cannot be more than 1.
Inputs[edit | edit source]
- BeginMorph
- Starts the morph.