Env terrainmorph
Jump to navigation
Jump to search
Entity Description
An entity which dynamically morphs terrain by pulling vertices along a normal. Place this entity the desired distance from a terrain 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.


Keyvalues
- Start Radius ([todo internal name (i)]) <integer>
- Radius of the effect when morphing begins. Only this value is used
- Goal Radius ([todo internal name (i)]) <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 ([todo internal name (i)]) <integer>
- The morph will take place over this period of time (seconds). Ignored if the Instant flag is set.
- Displacement Fraction ([todo internal name (i)]) <integer>
- 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.)
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Flags
- 1 : Instant
- If set, the morph will take place instantly instead of over time.
Inputs
- BeginMorph
- Begin terrain morph
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.