|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#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, PlayerSpawn) | |
| MUTATOR_HOOKFUNCTION (spawn_near_teammate, Spawn_Score) | |
| REGISTER_MUTATOR (spawn_near_teammate, expr_evaluate(autocvar_g_spawn_near_teammate)) | |
| 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_nades, 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, autocvar_sv_maxspeed, CONTENT_EMPTY, CS_CVAR, DIFF_TEAM, entity(), FIXED_MAKE_VECTORS, FLOAT_MAX, FOREACH_CLIENT, FOREACH_CLIENT_RANDOM, g_projectiles, GetResource(), IL_EACH, IS_DEAD, IS_PLAYER, LABEL, M_ARGV, MOVE_NOMONSTERS, MOVE_NORMAL, NULL, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, PHYS_INPUT_BUTTON_CHAT, Q3SURFACEFLAG_SKY, RandomSelection_Add(), RandomSelection_chosen_ent, RandomSelection_chosen_vec, RandomSelection_Init(), snt_ofs, STAT, StatusEffects_active(), string_null, teamplay, time, trace_dphitq3surfaceflags, trace_endpos, trace_fraction, trace_startsolid, tracebox_hits_trigger_hurt(), vdist, vec2, vectoangles(), vector, vlen2, and weaponLocked().
| 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, Spawn_Score(), teamplay, vdist, and vector.
| REGISTER_MUTATOR | ( | spawn_near_teammate | , |
| expr_evaluate(autocvar_g_spawn_near_teammate) | ) |
References autocvar_g_spawn_near_teammate.
| string autocvar_g_spawn_near_teammate |
Definition at line 7 of file sv_spawn_near_teammate.qc.
Referenced by REGISTER_MUTATOR().
| 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(), and 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.
Referenced by MUTATOR_HOOKFUNCTION().