Xonotic
|
Go to the source code of this file.
Functions | |
void | ka_DamageEvent (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
void | ka_DropEvent (entity plyr) |
void | ka_Initialize () |
void | ka_TouchEvent (entity this, entity toucher) |
REGISTER_MUTATOR (ka, false) | |
void (entity this) havocbot_role_ka_carrier | |
Variables | |
IntrusiveList | g_kaballs |
const int | KA_BALL_COUNT = 1 |
entity | ka_Handler |
void ka_DamageEvent | ( | entity | this, |
entity | inflictor, | ||
entity | attacker, | ||
float | damage, | ||
int | deathtype, | ||
.entity | weaponentity, | ||
vector | hitloc, | ||
vector | force | ||
) |
Definition at line 106 of file sv_keepaway.qc.
References ITEM_DAMAGE_NEEDKILL, and ka_RespawnBall().
Referenced by ka_DropEvent(), and ka_SpawnBall().
Definition at line 187 of file sv_keepaway.qc.
References ATTEN_NONE, autocvar_g_keepawayball_respawntime, CH_TRIGGER, crandom, DAMAGE_YES, EF_NODRAW, entity(), g_damagedbycontents, IL_PUSH(), ka_DamageEvent(), ka_EventLog(), ka_PlayerReset(), ka_RespawnBall(), ka_TouchEvent(), MOVETYPE_BOUNCE, navigation_dynamicgoal_set(), NULL, set_movetype(), setorigin(), setthink, sound, SPRITERULE_DEFAULT, time, and VOL_BASE.
Referenced by MUTATOR_HOOKFUNCTION().
void ka_Initialize | ( | ) |
Definition at line 296 of file sv_keepaway.qc.
References g_kaballs, IL_NEW, ka_Handler, ka_Handler_CheckBall(), new_pure, setthink, and time.
Referenced by REGISTER_MUTATOR().
Definition at line 112 of file sv_keepaway.qc.
References ATTEN_NONE, ATTEN_NORM, autocvar_g_keepaway_ballcarrier_effects, autocvar_g_keepawayball_trail_color, CH_TRIGGER, DAMAGE_NO, damagedbycontents, EF_NODRAW, effects, func_null(), g_damagedbycontents, GameRules_scoring_add, GameRules_scoring_vip(), IL_REMOVE(), IS_DEAD, IS_PLAYER, ka_ballcarrier_waypointsprite_visible_for_player(), ka_EventLog(), ka_RespawnBall(), ka_TimeScoring(), MOVETYPE_NONE, navigation_dynamicgoal_unset(), nextthink, NULL, origin, owner, Q3SURFACEFLAG_NOIMPACT, set_movetype(), setorigin(), setthink, sound, SPRITERULE_DEFAULT, takedamage, time, trace_dphitq3surfaceflags, velocity, VOL_BASE, and wait.
Referenced by ka_DropEvent(), ka_RespawnBall(), and ka_SpawnBall().
REGISTER_MUTATOR | ( | ka | , |
false | |||
) |
Definition at line 8 of file sv_keepaway.qh.
References GameRules_scoring, ka_Initialize(), MUTATOR_ONADD, MUTATOR_STATIC, SFL_SORT_PRIO_PRIMARY, and SFL_SORT_PRIO_SECONDARY.
void | ( | entity | this | ) |
IntrusiveList g_kaballs |
Definition at line 7 of file sv_keepaway.qh.
Referenced by havocbot_goalrating_ball(), ka_Handler_CheckBall(), ka_Initialize(), ka_RemoveBalls(), ka_SpawnBall(), and MUTATOR_HOOKFUNCTION().
const int KA_BALL_COUNT = 1 |
Definition at line 24 of file sv_keepaway.qh.
Referenced by ka_Handler_CheckBall().
entity ka_Handler |
Definition at line 26 of file sv_keepaway.qh.
Referenced by ka_Initialize().