This article's documentation is for anything that uses the Source engine. Click here for more information.

env_terrainmorph

From Valve Developer Community
(Redirected from Tectonic)
Jump to: navigation, search
English (en)Translate (Translate)
Obsolete-notext.png
This entity is Obsolete. Its use is discouraged, and it may only exist/function in older engine branches.
Animated example of several env_terrainmorphs in the E3 tech demo.
Class hierarchy
CTerrainMorph
CPointEntity
CBaseEntity
cterrainmorph.cpp

env_terrainmorph is a point entity available in all Source Source games before Source 2007 Source 2007. It dynamically morphs displacements by pulling vertices along a normal, similar to the Paint Geometry tool in Hammer. Place this entity the desired distance from a displacement surface and set Angles (manually, with SmartEdit turned off and three angle values in place, e.g. 90 0 0) to the normal along which you want to pull the vertices of the surface.

Icon-Bug.pngBug*:The collision hull will not be updated. See Morphing Terrain Issues to fix the problem.
AltNames.pngAltNames: This entity is also tied to tectonic.

Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
Start Radius (startradius) <integer>
Radius of the effect when morphing begins. Only this value is used
Goal Radius (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. Ignored if the Instant flag is set.
Duration (duration) <integer>
The morph will take place over this period of time (seconds). Ignored if the Instant flag is set.
Displacement Fraction (fraction) <integer>
If set to 1, the terrain surface will be pulled exactly to this entity's position. If set to 0.5, the surface will be pulled exactly half way to this entity's position. If set to 2, the surface will be pulled to an imaginary point twice as far away as this entity. (Any fraction value greater than 1.0 will result in clipping. The surface cannot be pulled beyond this entity's position and any vertices attempting 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

BeginMorph
Begin terrain morph

See also