Zh/Control Point (particles): Difference between revisions
< Zh
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
=== 在粒子系统中 === | === 在粒子系统中 === | ||
用以下操作器的其中之一: | |||
* [[Set Control Point Positions|设置挂点位置]] | * [[Set Control Point Positions|设置挂点位置]] | ||
Line 47: | Line 47: | ||
<div style="display:inline-block;width:49%;vertical-align:top;"> | <div style="display:inline-block;width:49%;vertical-align:top;"> | ||
=== 映射函数 === | === 映射函数 === | ||
; | ; 操作器 | ||
: [[Remap Control Point to Scalar|重映射挂点到标量]] | : [[Remap Control Point to Scalar|重映射挂点到标量]] | ||
: [[Remap Distance to Control Point to Scalar|重映射挂点距离到标量]] | : [[Remap Distance to Control Point to Scalar|重映射挂点距离到标量]] | ||
: [[Remap Distance Between Two Control Points to Scalar|重映射两个挂点间的距离到标量]] | : [[Remap Distance Between Two Control Points to Scalar|重映射两个挂点间的距离到标量]] | ||
; 初始化器 | ; 初始化器 | ||
: [[Remap Control Point to Vector|重映射挂点到向量]] {{note| | : [[Remap Control Point to Vector|重映射挂点到向量]] {{note|没有“挂点到向量”操作器,而只有这个初始化器。疏漏原因不明。}} | ||
: [[Remap Control Point to Scalar|重映射挂点到标量]] | : [[Remap Control Point to Scalar|重映射挂点到标量]] | ||
: [[Remap Initial Distance to Control Point to Scalar|重映射初始挂点距离到标量]] | : [[Remap Initial Distance to Control Point to Scalar|重映射初始挂点距离到标量]] |
Revision as of 04:49, 19 August 2014
挂点用来在粒子系统之间传递数据。一个系统可以拥有多达64个挂点,每个都能存储以下内容:
无论如何这些值的意义是灵活的,“假装”在原点值里存储RGB 颜色是允许的。
粒子系统继承了其父系统的控制点.

vecOrigin
)和1(vecStart
)从服务器调度时被定义。当选择哪个挂点用在你的系统中时要意识到这点。定义
在粒子系统中
用以下操作器的其中之一:
在地图中
在场地上填充info_particle_system实体来产生系统。挂点0是实体的原点。
在代码中
在QC文件中

无论如何,见模型随机位置初始化器。
映射到其他值
映射函数
- 操作器
- 重映射挂点到标量
- 重映射挂点距离到标量
- 重映射两个挂点间的距离到标量
- 初始化器
- 重映射挂点到向量
注意:没有“挂点到向量”操作器,而只有这个初始化器。疏漏原因不明。
- 重映射挂点到标量
- 重映射初始挂点距离到标量
潜在目标
- 标量
- Lifespan(寿命)
- Creation time(创造时间)
- Radius(半径)
- Roll speed(Z轴旋转速度)
- Alpha
- Alpha alternate
- Sequence number(序号)
- Sequence number 1(序号一)
- Trail length(轨迹长度)
- Particle ID(粒子ID)
- Yaw(Y轴旋转)
- 向量
- Position(位置)
- Roll(Z轴旋转)
- RGB Colour (normalised)(RGB颜色(归一化))
其他
这些样本值来自挂点而非重映射它们的字面值:
在挂点产生子系统
默认情况下,子系统在它们的父系统的原点产生。用一个"位置"初始化器并引用一个正确的挂点编号可以改变出生点。