Env terrainmorph
Jump to navigation
Jump to search
Entity Description
An entity which dynamically morphs terrain by pulling vertices along a normal. (Collision hull is not updated!)
Place this entity the desired distance from a terrain surface and set Angles (
Todo: Non-FGD keyvalue? It isn't in the FGD, so please clearify.
) to the normal along which you want to pull the vertices of the surface.
Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- startradius
- <integer> Radius of the effect when morphing begins. Only this value is used if the effect is flagged to occur instantly.
- goalradius
- <integer> Radius of the effect at the end of morphing. The radius of this effect will change from Start Radius to Goal Radius over the duration of this effect. This value is ignored if the effect is flagged to occur instantly.
- duration
- <integer> The morph will take place over this period of time (seconds). Ignored if the Instant flag is set.
- fraction
- <integer> Displacement Fraction - If set to
1
, the terrain surface will be pulled exactly to this entity's position. If set to0.5
, the surface will be pulled exactly half way to this entity's position. If set to2
, the surface will be pulled to an imaginary point twice as far away as this entity. (Any fraction value greater than1.0
will result in clipping. The surface cannot be pulled beyond this entity's position and any vertices attemping will clip to this entity's position. You may use this feature to create mesas.)
Flags
- 1 : Instant
- If set, the morph will take place instantly instead of over time.
Inputs
- Template:I targetname
- Template:I parentname
- BeginMorph
- Begin morphing terrain.
- Todo: Write description.