Point posecontroller
From Valve Developer Community
This Point-based Entity is available in all Source Games using the Orange Box engine.
| Table of contents |
[edit]
Entity Description
An entity that controls a pose parameter of a prop and cycles the pose clientside.
[edit]
Keyvalues
- targetname <target_source>
- Defines the name that other entities refer to this entity by.
- hammerid [Episode Two Update]
- <integer readonly> This id is used for debugging purposes in Hammer.
- PropName
- <target_destination> Name of the prop to control.
- PoseParameterName
- <string> Name of the pose parameter to control.
- PoseValue
- <float> Normalized value for the pose parameter from 0.0 and 1.0 (maps to min and max range).
- InterpolationTime
- <float> Number of seconds (0.0 to 10.0) for client to match absolue pose values.
- InterpolationWrap
- <boolean> If set, wrap from 0.0 to 1.0 when interpolating.
- CycleFrequency
- <float> Base cycles per second from -10.0 to 10.0.
- FModulationType
- <choices> Frequency Modulation Type
| Literal Value | Description |
|---|---|
| 0 | None |
| 1 | Sine |
| 2 | Square |
| 3 | Triangle |
| 4 | Sawtooth |
| 5 | Noise |
- FModTimeOffset
- <float> Modulation time offset from -1.0 to 1.0.
- FModRate
- <float> Modulation cycles per second from -10.0 to 10.0.
- FModAmplitude
- <float> Modulation extents from 0.0f to 10.0.
[edit]
Inputs
- Kill
- Removes this entity from the world.
- Removes this entity and all its children from the world.
- AddOutput <string>
- Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format:
<key> <value> - Format:
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
- Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
- SetPoseParameterName <string>
- Sets the pose parameter to control.
- SetPoseValue <float>
- Set the pose parameter to a normalized value between 0.0 and 1.0 (maps to min and max range).
- SetInterpolationTime <float>
- Set the interpolation time to a number of seconds between 0.0 and 10.0.
- SetCycleFrequency <float>
- Set the pose parameter's base cycles per second from -10.0 to 10.0.
- SetFModType <integer>
- Set the type of frequency modulation.
- SetFModTimeOffset <float>
- Set the modulation time offset from -1.0 to 1.0.
- SetFModRate <float>
- Set the modulation cycles per second from -10.0 to 10.0.
- SetFModAmplitude <float>
- Set the modulation extents from 0.0 to 10.0.
- RandomizeFMod <float>
- Randomize the frequency modulation by an extremeness of 0.0 to 1.0.
[edit]
Outputs
- Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
- !activator = activator
