Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "DP SV MOVETYPESTEP LANDEVENT"
From Quake Wiki
(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...) |
|||
Line 11: | Line 11: | ||
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. | 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. | ||
+ | [[Category:DarkPlaces]] |
Latest revision as of 02:26, 25 March 2013
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.