Xonotic
|
#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)) | |
MUTATOR_HOOKFUNCTION | ( | touchexplode | , |
PlayerPreThink | |||
) |
Definition at line 27 of file sv_touchexplode.qc.
References boxesoverlap(), entity(), FOREACH_CLIENT, IS_DEAD, IS_INDEPENDENT_PLAYER, IS_PLAYER, M_ARGV, and time.
Definition at line 13 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, RadiusDamage(), setorigin(), sound, spawn(), vector(), and VOL_BASE.
REGISTER_MUTATOR | ( | touchexplode | , |
expr_evaluate(autocvar_g_touchexplode) | |||
) |
string autocvar_g_touchexplode |
Definition at line 3 of file sv_touchexplode.qc.
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 11 of file sv_touchexplode.qc.