Trigger push: Difference between revisions
Jump to navigation
Jump to search
Sauerfiend (talk | contribs) (Meaning of Once Only flag) |
(CSGO has new things nw) |
||
Line 7: | Line 7: | ||
{{KV|Speed of Push|integer|The speed at which to push entities away, in inches / second.}} | {{KV|Speed of Push|integer|The speed at which to push entities away, in inches / second.}} | ||
{{KV|Scale force for alternate ticks|float|If nonzero, scale the force by this amount when running with alternate ticks. This fixes problems with an overly large force due to the longer frametime on when running with sv_alternateticks 1.}} | {{KV|Scale force for alternate ticks|float|If nonzero, scale the force by this amount when running with alternate ticks. This fixes problems with an overly large force due to the longer frametime on when running with sv_alternateticks 1.}} | ||
{{KV|Only Falling Players|boolean|since=CSGO|Only affect players if they are falling (and not pressing jump)}} | |||
{{KV|Player fall speed|float|since=CSGO|Player must be falling this fast for push to happen}} | |||
==Flags== | ==Flags== |
Revision as of 10:21, 11 December 2018
Template:Base brush It is a trigger volume that pushes entities that touch it, except those with a parent.
Keyvalues
- Push Direction (Pitch Yaw Roll) ([todo internal name (i)]) <angle>
- Angles indicating the direction to push touched entities.
- Speed of Push ([todo internal name (i)]) <integer>
- The speed at which to push entities away, in inches / second.
- Scale force for alternate ticks ([todo internal name (i)]) <float>
- If nonzero, scale the force by this amount when running with alternate ticks. This fixes problems with an overly large force due to the longer frametime on when running with sv_alternateticks 1.
- Only Falling Players ([todo internal name (i)]) <boolean> (in all games since
)
- Only affect players if they are falling (and not pressing jump)
- Player fall speed ([todo internal name (i)]) <float> (in all games since
)
- Player must be falling this fast for push to happen
Flags
- 128 : Once Only (possibly means set velocity rather than apply acceleration)
- 256 : Affects Ladders (Half-Life 2)
|
Inputs
|
Outputs
|