|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "sv_touchexplode.qh"Go to the source code of this file.
Functions | |
| MUTATOR_HOOKFUNCTION (touchexplode, PlayerPreThink) | |
| void | PlayerTouchExplode (entity p1, entity p2) |
| REGISTER_MUTATOR (touchexplode, expr_evaluate(autocvar_g_touchexplode)) | |
| SOUND (TOUCHEXPLODE, W_Sound("grenade_impact")) | |
| MUTATOR_HOOKFUNCTION | ( | touchexplode | , |
| PlayerPreThink | ) |
Definition at line 29 of file sv_touchexplode.qc.
References boxesoverlap(), entity(), FOREACH_CLIENT, game_stopped, IS_DEAD, IS_INDEPENDENT_PLAYER, IS_PLAYER, M_ARGV, PlayerPreThink, PlayerTouchExplode(), STAT, and time.
Definition at line 15 of file sv_touchexplode.qc.
References ATTEN_NORM, autocvar_g_touchexplode_damage, autocvar_g_touchexplode_edgedamage, autocvar_g_touchexplode_force, autocvar_g_touchexplode_radius, CH_TRIGGER, DMG_NOWEP, entity(), NULL, org, RadiusDamage(), Send_Effect(), sound, spawn, vector, and VOL_BASE.
Referenced by MUTATOR_HOOKFUNCTION().
| REGISTER_MUTATOR | ( | touchexplode | , |
| expr_evaluate(autocvar_g_touchexplode) | ) |
References autocvar_g_touchexplode.
| SOUND | ( | TOUCHEXPLODE | , |
| W_Sound("grenade_impact") | ) |
| string autocvar_g_touchexplode |
Definition at line 3 of file sv_touchexplode.qc.
Referenced by REGISTER_MUTATOR().
| float autocvar_g_touchexplode_damage |
Definition at line 5 of file sv_touchexplode.qc.
Referenced by PlayerTouchExplode().
| float autocvar_g_touchexplode_edgedamage |
Definition at line 6 of file sv_touchexplode.qc.
Referenced by PlayerTouchExplode().
| float autocvar_g_touchexplode_force |
Definition at line 7 of file sv_touchexplode.qc.
Referenced by PlayerTouchExplode().
| float autocvar_g_touchexplode_radius |
Definition at line 4 of file sv_touchexplode.qc.
Referenced by PlayerTouchExplode().
| float touchexplode_time |
Definition at line 13 of file sv_touchexplode.qc.