Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

DP SV MOVETYPESTEP LANDEVENT

From Quake Wiki

Revision as of 18:41, 6 February 2010 by 83.226.254.64 (talk) (New page: '''Field definitions:''' .void(vector vImpactVelocity) movetypesteplandevent; This field function, when provided, is triggered on a MOVETYPE_STEP entity when it experiences "land event...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Field definitions:

.void(vector vImpactVelocity) movetypesteplandevent;


This field function, when provided, is triggered on a MOVETYPE_STEP entity when it experiences "land event".

The standard engine behavior for this event is to play the sv_sound_land CVar sound.

The parameter provides the velocity of the entity at the time of the impact. The z value may therefore be used to calculate how "hard" the entity struck the surface.

NOTE: If this field function is provided on a MOVETYPE_STEP entity, the standard sv_sound_land sound IS SUPPRESSED to allow for authors to create their own feedback.