Control Point (particles): Difference between revisions
Jump to navigation
Jump to search
Confirm:Children inherit the CPs of their parent.
TomEdwards (talk | contribs) (Created page with 'In particles, a '''Control Point''' is a Vector variable that enables external values, like locations or colours, to be passed into a partic…') |
TomEdwards (talk | contribs) m (→Using) |
||
Line 24: | Line 24: | ||
; Operators | ; Operators | ||
: | : [[Remap Control Point to Scalar]] | ||
: [[Remap Distance to Control Point to Scalar]] | |||
: | : [[Remap Distance Between Two Control Points to Scalar]] | ||
: | |||
; Initializers | ; Initializers | ||
: | : [[Remap Control Point to Vector]] {{note|There is no 'CP to Vector' operator, just this initializer. The reasons for this omission are not clear.}} | ||
: [[Remap Control Point to Scalar]] | |||
: | : [[Remap Initial Distance to Control Point to Scalar]] | ||
: | |||
Using these functions, a CP's value(s) can control the following particle values: | Using these functions, a CP's value(s) can control the following particle values: |
Revision as of 08:48, 21 October 2009
In particles, a Control Point is a Vector variable that enables external values, like locations or colours, to be passed into a particle system.
Each system can have up to 64 CPs, but the first, 0, is reserved as the system's origin.

Specifying
- In the particle system
- Use one of the following operators:
- To temporarily set a value, use the "Ctrl Pts" tab of the preview window.
- In a map
- Fill in the fields of the info_particle_system used to spawn the system.
- In code
- Call
CNewParticleEffect::SetControlPoint()
. - In a QC file
- However, see the Position on Model Random initializer.
Confirm:It is not possible to configure control points when compiling a model.
Using
There are many particle functions which can be configured to read values from a control point. Of particular interest are:
- Operators
- Remap Control Point to Scalar
- Remap Distance to Control Point to Scalar
- Remap Distance Between Two Control Points to Scalar
- Initializers
- Remap Control Point to Vector
Note:There is no 'CP to Vector' operator, just this initializer. The reasons for this omission are not clear.
- Remap Control Point to Scalar
- Remap Initial Distance to Control Point to Scalar
Using these functions, a CP's value(s) can control the following particle values:
- Scalar
- Lifespan
- Creation time Todo: Same idea as pre-ageing, or affecting spawn time?
- Radius
- Roll speed
- Alpha
- Alpha alternate [Todo]
- Sequence number
- Sequence number 1 [Todo]
- Trail length
- Particle ID
- Yaw
- Vector
- Position
- Roll
- RGB Colour (normalised)