Xonotic
|
#include "sv_spawn_near_teammate.qh"
#include <common/mapobjects/trigger/hurt.qh>
#include <lib/float.qh>
Go to the source code of this file.
Functions | |
MUTATOR_HOOKFUNCTION (spawn_near_teammate, Spawn_Score) | |
MUTATOR_HOOKFUNCTION (spawn_near_teammate, PlayerSpawn) | |
REGISTER_MUTATOR (spawn_near_teammate, expr_evaluate(autocvar_g_spawn_near_teammate)) | |
MUTATOR_HOOKFUNCTION | ( | spawn_near_teammate | , |
Spawn_Score | |||
) |
Definition at line 22 of file sv_spawn_near_teammate.qc.
References autocvar_g_spawn_near_teammate_distance, autocvar_g_spawn_near_teammate_ignore_spawnpoint, checkpvs(), CS_CVAR, entity(), FOREACH_CLIENT, IS_DEAD, IS_PLAYER, M_ARGV, NULL, RandomSelection_AddEnt, RandomSelection_chosen_ent, RandomSelection_Init(), SAME_TEAM, SPAWN_PRIO_NEAR_TEAMMATE_FOUND, SPAWN_PRIO_NEAR_TEAMMATE_SAMETEAM, teamplay, vdist, and vector().
MUTATOR_HOOKFUNCTION | ( | spawn_near_teammate | , |
PlayerSpawn | |||
) |
Definition at line 58 of file sv_spawn_near_teammate.qc.
References autocvar_g_balance_health_regenstable, autocvar_g_spawn_near_teammate_ignore_spawnpoint, autocvar_g_spawn_near_teammate_ignore_spawnpoint_check_health, autocvar_g_spawn_near_teammate_ignore_spawnpoint_closetodeath, autocvar_g_spawn_near_teammate_ignore_spawnpoint_delay, autocvar_g_spawn_near_teammate_ignore_spawnpoint_delay_death, autocvar_g_spawn_near_teammate_ignore_spawnpoint_max, CONTENT_EMPTY, CS_CVAR, DIFF_TEAM, entity(), FIXED_MAKE_VECTORS, FLOAT_MAX, FOREACH_CLIENT, FOREACH_CLIENT_RANDOM, g_projectiles, GetResource(), if(), IL_EACH, IS_DEAD, IS_PLAYER, LABEL, M_ARGV, MOVE_NOMONSTERS, MOVE_NORMAL, NULL, PHYS_INPUT_BUTTON_CHAT, Q3SURFACEFLAG_SKY, RandomSelection_Add(), RandomSelection_chosen_ent, RandomSelection_chosen_vec, RandomSelection_Init(), RES_HEALTH, setorigin(), string_null, teamplay, time, trace_dphitq3surfaceflags, trace_endpos, trace_fraction, trace_startsolid, vdist, vec2, vectoangles(), vector(), vlen2, and weaponLocked().
REGISTER_MUTATOR | ( | spawn_near_teammate | , |
expr_evaluate(autocvar_g_spawn_near_teammate) | |||
) |
string autocvar_g_spawn_near_teammate |
Definition at line 7 of file sv_spawn_near_teammate.qc.
float autocvar_g_spawn_near_teammate_distance |
Definition at line 8 of file sv_spawn_near_teammate.qc.
Referenced by MUTATOR_HOOKFUNCTION().
int autocvar_g_spawn_near_teammate_ignore_spawnpoint |
Definition at line 9 of file sv_spawn_near_teammate.qc.
Referenced by MUTATOR_HOOKFUNCTION().
bool autocvar_g_spawn_near_teammate_ignore_spawnpoint_check_health |
Definition at line 13 of file sv_spawn_near_teammate.qc.
Referenced by MUTATOR_HOOKFUNCTION().
bool autocvar_g_spawn_near_teammate_ignore_spawnpoint_closetodeath |
Definition at line 14 of file sv_spawn_near_teammate.qc.
Referenced by MUTATOR_HOOKFUNCTION().
float autocvar_g_spawn_near_teammate_ignore_spawnpoint_delay |
Definition at line 11 of file sv_spawn_near_teammate.qc.
Referenced by MUTATOR_HOOKFUNCTION().
float autocvar_g_spawn_near_teammate_ignore_spawnpoint_delay_death |
Definition at line 12 of file sv_spawn_near_teammate.qc.
Referenced by MUTATOR_HOOKFUNCTION().
int autocvar_g_spawn_near_teammate_ignore_spawnpoint_max |
Definition at line 10 of file sv_spawn_near_teammate.qc.
Referenced by MUTATOR_HOOKFUNCTION().
entity msnt_lookat |
Definition at line 18 of file sv_spawn_near_teammate.qc.
float msnt_timer |
Definition at line 20 of file sv_spawn_near_teammate.qc.
vector snt_ofs[6] |
Definition at line 57 of file sv_spawn_near_teammate.qc.