Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
sv_onslaught.qh File Reference
Include dependency graph for sv_onslaught.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CPGEN_SPAWN_OFFSET   ('0 0 1' * (PL_MAX_CONST.z - 13))

Functions

void havocbot_goalrating_enemyplayers (entity this, float ratingscale, vector org, float sradius)
void havocbot_goalrating_items (entity this, float ratingscale, vector org, float sradius)
void havocbot_ons_reset_role (entity this)
void havocbot_role_ons_assistant (entity this)
void havocbot_role_ons_defense (entity this)
void havocbot_role_ons_offense (entity this)
bool ons_ControlPoint_Attackable (entity cp, int teamnum)
void ons_ControlPoint_UpdateSprite (entity e)
void ons_Generator_UpdateSprite (entity e)
void ons_Initialize ()
 REGISTER_MUTATOR (ons, false)

Variables

int arecpsneighbor
int aregensneighbor
float autocvar_g_onslaught_point_limit
const vector CPGEN_WAYPOINT_OFFSET = ('0 0 128')
const vector CPICON_OFFSET = ('0 0 96')
IntrusiveList g_onsshields
const float GEN_THINKRATE = 1
float havocbot_attack_time
const int HAVOCBOT_ONS_ROLE_ASSISTANT = 4
const int HAVOCBOT_ONS_ROLE_DEFENSE = 2
const int HAVOCBOT_ONS_ROLE_NONE = 0
const int HAVOCBOT_ONS_ROLE_OFFENSE = 8
entity havocbot_ons_target
int iscaptured
int islinked
int isshielded
int lastcaptured
float lasthealth
int lastshielded
int lastteam
float ons_captureshield_force
const float ONS_CP_THINKRATE = 0.2
vector ons_deathloc
float ons_notification_time [17]
float ons_overtime_damagedelay
entity ons_spawn_by
bool ons_stalemate
entity ons_toucher
entity ons_worldcplist
entity ons_worldcpnext
entity ons_worldgeneratorlist
entity ons_worldgeneratornext
entity ons_worldlinklist
entity ons_worldlinknext
entity sprite
const int ST_ONS_GENS = 1
string target2
float teleport_antispam
bool waslinked

Macro Definition Documentation

◆ CPGEN_SPAWN_OFFSET

#define CPGEN_SPAWN_OFFSET   ('0 0 1' * (PL_MAX_CONST.z - 13))

Definition at line 27 of file sv_onslaught.qh.

Referenced by ons_GeneratorSetup().

Function Documentation

◆ havocbot_goalrating_enemyplayers()

void havocbot_goalrating_enemyplayers ( entity this,
float ratingscale,
vector org,
float sradius )

Definition at line 176 of file roles.qc.

177{
179 return;
180
181 // don't chase players if we're under water
183 return;
184
185 ratingscale = ratingscale * 0.0001;
186
187 FOREACH_CLIENT(IS_PLAYER(it) && bot_shouldattack(this, it), {
188 // TODO: Merge this logic with the bot_shouldattack function
189 if(vdist(it.origin - org, <, 100) || vdist(it.origin - org, >, sradius))
190 continue;
191 if(vdist(vec2(it.velocity), >, autocvar_sv_maxspeed * 2))
192 continue;
193
194 // rate only visible enemies
195 /*
196 traceline(this.origin + this.view_ofs, it.origin, MOVE_NOMONSTERS, this);
197 if (trace_fraction < 1 || trace_ent != it)
198 continue;
199 */
200
201 float t = ((GetResource(this, RES_HEALTH) + GetResource(this, RES_ARMOR)) - (GetResource(it, RES_HEALTH) + GetResource(it, RES_ARMOR))) / 150;
202 t = bound(0, 1 + t, 3);
203 if (skill > 3)
204 {
205 if (time < StatusEffects_gettime(STATUSEFFECT_Strength, this) - 1) t += 0.5;
206 if (time < StatusEffects_gettime(STATUSEFFECT_Strength, it) - 1) t -= 0.5;
207 if (time < StatusEffects_gettime(STATUSEFFECT_Shield, this) - 1) t += 0.2;
208 if (time < StatusEffects_gettime(STATUSEFFECT_Shield, it) - 1) t -= 0.4;
209 }
210 t += max(0, 8 - skill) * 0.05; // less skilled bots attack more mindlessly
211 ratingscale *= t;
212 if (ratingscale > 0)
213 navigation_routerating(this, it, ratingscale * BOT_RATING_ENEMY, 2000);
214 });
215}
float skill
Definition api.qh:35
void navigation_routerating(entity this, entity e, float f, float rangebias)
bool bot_shouldattack(entity this, entity e)
Definition aim.qc:97
float GetResource(entity e, Resource res_type)
Returns the current amount of resource the given entity has.
float autocvar_sv_maxspeed
Definition player.qh:53
float waterlevel
Definition player.qh:226
#define IS_PLAYER(s)
Definition player.qh:243
float time
bool autocvar_bot_nofire
Definition cvars.qh:51
RES_ARMOR
Definition ent_cs.qc:130
float bound(float min, float value, float max)
float max(float f,...)
const int WATERLEVEL_WETFEET
Definition movetypes.qh:12
const float BOT_RATING_ENEMY
Definition roles.qh:3
vector org
Definition self.qh:92
float StatusEffects_gettime(StatusEffect this, entity actor)
#define FOREACH_CLIENT(cond, body)
Definition utils.qh:50
#define vdist(v, cmp, f)
Vector distance comparison, avoids sqrt()
Definition vector.qh:8
#define vec2(...)
Definition vector.qh:90

References autocvar_bot_nofire, autocvar_sv_maxspeed, BOT_RATING_ENEMY, bot_shouldattack(), bound(), entity(), FOREACH_CLIENT, GetResource(), IS_PLAYER, max(), navigation_routerating(), org, RES_ARMOR, skill, StatusEffects_gettime(), time, vdist, vec2, vector, waterlevel, and WATERLEVEL_WETFEET.

Referenced by havocbot_role_ast_defense(), havocbot_role_ast_offense(), havocbot_role_ctf_defense(), havocbot_role_ctf_middle(), havocbot_role_ft_freeing(), havocbot_role_ft_offense(), havocbot_role_ka_carrier(), havocbot_role_ka_collector(), havocbot_role_ons_offense(), havocbot_role_tka_carrier(), havocbot_role_tka_collector(), and void().

◆ havocbot_goalrating_items()

void havocbot_goalrating_items ( entity this,
float ratingscale,
vector org,
float sradius )

Definition at line 106 of file roles.qc.

107{
108 ratingscale = ratingscale * 0.0001;
109
110 IL_EACH(g_items, it.bot_pickup,
111 {
112 // ignore if bot already rated this item with a higher ratingscale
113 // NOTE: this code assumes each bot rates items in a different frame
114 if(it.bot_ratingscale_time == time && ratingscale < it.bot_ratingscale)
115 continue;
116
117 if(!it.solid)
118 {
119 if(!autocvar_bot_ai_timeitems)
120 continue;
121 if(!it.scheduledrespawntime)
122 continue;
123 if(it.respawntime < max(11, autocvar_bot_ai_timeitems_minrespawndelay))
124 continue;
125 if(it.respawntimejitter && !it.itemdef.instanceOfPowerup)
126 continue;
127
128 float t = 0;
129 if(it.itemdef.instanceOfPowerup)
130 t = bound(0, skill / 10, 1) * 6;
131 else if(skill >= 9)
132 t = 4;
133
134 if(time < it.scheduledrespawntime - t)
135 continue;
136
137 it.bot_pickup_respawning = true;
138 }
139 vector o = (it.absmin + it.absmax) * 0.5;
140 if(vdist(o - org, >, sradius) || (it == this.ignoregoal && time < this.ignoregoaltime) )
141 continue;
142
143 // Check if the item can be picked up safely
144 if(ITEM_IS_LOOT(it))
145 {
146 if(!IS_ONGROUND(it))
147 continue;
148 traceline(o, o + '0 0 -1500', true, NULL);
149
150 if(IN_LAVA(trace_endpos + '0 0 1'))
151 continue;
152
153 // this tracebox_hits_trigger_hurt call isn't needed:
154 // dropped weapons are removed as soon as they fall on a trigger_hurt
155 // and can't be rated while they are in the air
156 //if(tracebox_hits_trigger_hurt(it.origin, it.mins, it.maxs, trace_endpos))
157 // continue;
158 }
159 else
160 {
161 if(IN_LAVA(it.origin + (it.mins + it.maxs) * 0.5))
162 continue;
163 }
164
166 continue;
167
168 it.bot_ratingscale_time = time;
169 it.bot_ratingscale = ratingscale;
170 float rating = it.bot_pickupevalfunc(this, it);
171 if(rating > 0)
172 navigation_routerating(this, it, rating * ratingscale, 2000);
173 });
174}
entity ignoregoal
Definition api.qh:99
float ignoregoaltime
Definition api.qh:98
#define IN_LAVA(pos)
Definition bot.qh:84
vector trace_endpos
#define IL_EACH(this, cond, body)
#define ITEM_IS_LOOT(item)
Returns whether the item is loot.
Definition spawning.qh:39
#define IS_ONGROUND(s)
Definition movetypes.qh:16
#define NULL
Definition post.qh:14
bool havocbot_goalrating_item_pickable_check_players(entity this, vector org, entity item, vector item_org)
Definition roles.qc:60
vector
Definition self.qh:92
IntrusiveList g_items
Definition items.qh:125

References entity(), g_items, havocbot_goalrating_item_pickable_check_players(), ignoregoal, ignoregoaltime, IL_EACH, IN_LAVA, IS_ONGROUND, ITEM_IS_LOOT, navigation_routerating(), NULL, org, time, trace_endpos, vdist, and vector.

Referenced by havocbot_goalrating_kh(), havocbot_role_ast_defense(), havocbot_role_ast_offense(), havocbot_role_ctf_carrier(), havocbot_role_ctf_defense(), havocbot_role_ctf_escort(), havocbot_role_ctf_middle(), havocbot_role_ctf_offense(), havocbot_role_ctf_retriever(), havocbot_role_dom(), havocbot_role_ft_freeing(), havocbot_role_ft_offense(), havocbot_role_ka_carrier(), havocbot_role_ka_collector(), havocbot_role_ons_offense(), havocbot_role_tka_carrier(), havocbot_role_tka_collector(), and void().

◆ havocbot_ons_reset_role()

void havocbot_ons_reset_role ( entity this)

Definition at line 1497 of file sv_onslaught.qc.

1498{
1499 if(IS_DEAD(this))
1500 return;
1501
1503
1504 // TODO: Defend control points or generator if necessary
1505
1507}
#define IS_DEAD(s)
Definition player.qh:245
void havocbot_role_ons_setrole(entity this, int role)
const int HAVOCBOT_ONS_ROLE_OFFENSE
entity havocbot_ons_target

References entity(), HAVOCBOT_ONS_ROLE_OFFENSE, havocbot_ons_target, havocbot_role_ons_setrole(), IS_DEAD, and NULL.

Referenced by havocbot_role_ons_assistant(), havocbot_role_ons_defense(), havocbot_role_ons_offense(), and MUTATOR_HOOKFUNCTION().

◆ havocbot_role_ons_assistant()

void havocbot_role_ons_assistant ( entity this)

Definition at line 1487 of file sv_onslaught.qc.

1488{
1490}
void havocbot_ons_reset_role(entity this)

References entity(), and havocbot_ons_reset_role().

Referenced by havocbot_role_ons_setrole().

◆ havocbot_role_ons_defense()

void havocbot_role_ons_defense ( entity this)

Definition at line 1492 of file sv_onslaught.qc.

1493{
1495}

References entity(), and havocbot_ons_reset_role().

Referenced by havocbot_role_ons_setrole().

◆ havocbot_role_ons_offense()

void havocbot_role_ons_offense ( entity this)

Definition at line 1452 of file sv_onslaught.qc.

1453{
1454 if(IS_DEAD(this))
1455 {
1456 this.havocbot_attack_time = 0;
1458 return;
1459 }
1460
1461 // Set the role timeout if necessary
1462 if (!this.havocbot_role_timeout)
1463 this.havocbot_role_timeout = time + 120;
1464
1465 if (time > this.havocbot_role_timeout)
1466 {
1468 return;
1469 }
1470
1471 if(this.havocbot_attack_time>time)
1472 return;
1473
1475 {
1477 havocbot_goalrating_enemyplayers(this, 20000, this.origin, 650);
1480 havocbot_goalrating_items(this, 25000, this.origin, 10000);
1482
1484 }
1485}
void navigation_goalrating_start(entity this)
void navigation_goalrating_timeout_set(entity this)
Definition navigation.qc:20
bool navigation_goalrating_timeout(entity this)
Definition navigation.qc:44
void navigation_goalrating_end(entity this)
float havocbot_role_timeout
Definition api.qh:46
vector origin
float havocbot_attack_time
Definition sv_assault.qh:42
void havocbot_goalrating_ons_controlpoints_attack(entity this, float ratingscale)
bool havocbot_goalrating_ons_generator_attack(entity this, float ratingscale)
void havocbot_goalrating_items(entity this, float ratingscale, vector org, float sradius)
Definition roles.qc:106
void havocbot_goalrating_enemyplayers(entity this, float ratingscale, vector org, float sradius)
Definition roles.qc:176

References entity(), havocbot_attack_time, havocbot_goalrating_enemyplayers(), havocbot_goalrating_items(), havocbot_goalrating_ons_controlpoints_attack(), havocbot_goalrating_ons_generator_attack(), havocbot_ons_reset_role(), havocbot_role_timeout, IS_DEAD, navigation_goalrating_end(), navigation_goalrating_start(), navigation_goalrating_timeout(), navigation_goalrating_timeout_set(), origin, and time.

Referenced by havocbot_goalrating_ons_controlpoints_attack(), and havocbot_role_ons_setrole().

◆ ons_ControlPoint_Attackable()

bool ons_ControlPoint_Attackable ( entity cp,
int teamnum )

Definition at line 325 of file sv_onslaught.qc.

326{
327 int a;
328
329 if(cp.isshielded)
330 {
331 return 0;
332 }
333 else if(cp.goalentity)
334 {
335 // if there's already an icon built, nothing happens
336 if(cp.team == teamnum)
337 {
338 a = ons_ControlPoint_CanBeLinked(cp, teamnum);
339 if(a) // attackable by enemy?
340 return -2; // EMERGENCY!
341 return -1;
342 }
343 // we know it can be linked, so no need to check
344 // but...
345 a = ons_ControlPoint_CanBeLinked(cp, teamnum);
346 if(a == 2) // near our generator?
347 return 3; // EMERGENCY!
348 return 1;
349 }
350 else
351 {
352 // free point
353 if(ons_ControlPoint_CanBeLinked(cp, teamnum))
354 {
355 a = ons_ControlPoint_CanBeLinked(cp, teamnum); // why was this here NUM_TEAM_1 + NUM_TEAM_2 - t
356 if(a == 2)
357 return 4; // GET THIS ONE NOW!
358 else
359 return 2; // TOUCH ME
360 }
361 }
362 return 0;
363}
int ons_ControlPoint_CanBeLinked(entity cp, int teamnum)

References entity(), and ons_ControlPoint_CanBeLinked().

Referenced by MUTATOR_HOOKFUNCTION(), ons_CaptureShield_Customize(), ons_CaptureShield_Touch(), ons_ControlPoint_Touch(), and ons_ControlPoint_Waypoint().

◆ ons_ControlPoint_UpdateSprite()

void ons_ControlPoint_UpdateSprite ( entity e)

Definition at line 671 of file sv_onslaught.qc.

672{
675
676 bool sh;
678
679 if(e.lastteam != e.team + 2 || e.lastshielded != sh || e.iscaptured != e.lastcaptured)
680 {
681 if(e.iscaptured) // don't mess up build bars!
682 {
683 if(sh)
684 {
686 }
687 else
688 {
689 WaypointSprite_UpdateMaxHealth(e.sprite, e.goalentity.max_health);
690 WaypointSprite_UpdateHealth(e.sprite, GetResource(e.goalentity, RES_HEALTH));
691 }
692 }
693 if(e.lastshielded)
694 {
695 if(e.team)
696 WaypointSprite_UpdateTeamRadar(e.sprite, RADARICON_CONTROLPOINT, 0.5 * colormapPaletteColor(e.team - 1, false));
697 else
698 WaypointSprite_UpdateTeamRadar(e.sprite, RADARICON_CONTROLPOINT, '0.5 0.5 0.5');
699 }
700 else
701 {
702 if(e.team)
703 WaypointSprite_UpdateTeamRadar(e.sprite, RADARICON_CONTROLPOINT, colormapPaletteColor(e.team - 1, false));
704 else
705 WaypointSprite_UpdateTeamRadar(e.sprite, RADARICON_CONTROLPOINT, '0.75 0.75 0.75');
706 }
707 WaypointSprite_Ping(e.sprite);
708
709 e.lastteam = e.team + 2;
710 e.lastshielded = sh;
711 e.lastcaptured = e.iscaptured;
712 }
713}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define colormapPaletteColor(c, isPants)
Definition color.qh:5
spree_inf s1 s2 s3loc s2 s1
Definition all.inc:281
entity ons_ControlPoint_Waypoint(entity e)
const int NUM_TEAM_2
Definition teams.qh:14
const int NUM_TEAM_4
Definition teams.qh:16
const int NUM_TEAM_3
Definition teams.qh:15
const int NUM_TEAM_1
Definition teams.qh:13
void WaypointSprite_UpdateTeamRadar(entity e, entity icon, vector col)
void WaypointSprite_UpdateSprites(entity e, entity _m1, entity _m2, entity _m3)
void WaypointSprite_UpdateMaxHealth(entity e, float f)
void WaypointSprite_Ping(entity e)
void WaypointSprite_UpdateHealth(entity e, float f)

References colormapPaletteColor, entity(), GetResource(), NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, ons_ControlPoint_CanBeLinked(), ons_ControlPoint_Waypoint(), s1, WaypointSprite_Ping(), WaypointSprite_UpdateHealth(), WaypointSprite_UpdateMaxHealth(), WaypointSprite_UpdateSprites(), and WaypointSprite_UpdateTeamRadar().

Referenced by onslaught_updatelinks().

◆ ons_Generator_UpdateSprite()

void ons_Generator_UpdateSprite ( entity e)

Definition at line 848 of file sv_onslaught.qc.

849{
852
853 if(e.lastteam != e.team + 2 || e.lastshielded != e.isshielded)
854 {
855 e.lastteam = e.team + 2;
856 e.lastshielded = e.isshielded;
857 if(e.lastshielded)
858 {
859 if(e.team)
860 WaypointSprite_UpdateTeamRadar(e.sprite, RADARICON_GENERATOR, 0.5 * colormapPaletteColor(e.team - 1, false));
861 else
862 WaypointSprite_UpdateTeamRadar(e.sprite, RADARICON_GENERATOR, '0.5 0.5 0.5');
863 }
864 else
865 {
866 if(e.team)
867 WaypointSprite_UpdateTeamRadar(e.sprite, RADARICON_GENERATOR, colormapPaletteColor(e.team - 1, false));
868 else
869 WaypointSprite_UpdateTeamRadar(e.sprite, RADARICON_GENERATOR, '0.75 0.75 0.75');
870 }
871 WaypointSprite_Ping(e.sprite);
872 }
873}
entity ons_Generator_Waypoint(entity e)

References colormapPaletteColor, entity(), ons_Generator_Waypoint(), s1, WaypointSprite_Ping(), WaypointSprite_UpdateSprites(), and WaypointSprite_UpdateTeamRadar().

Referenced by onslaught_updatelinks().

◆ ons_Initialize()

void ons_Initialize ( )

Definition at line 2170 of file sv_onslaught.qc.

2171{
2172 g_onslaught = true;
2173 g_onsshields = IL_NEW();
2175
2176 cam = new(objective_camera);
2177
2179}
const int INITPRIO_GAMETYPE
Definition constants.qh:94
#define IL_NEW()
void ons_DelayedInit(entity this)
float autocvar_g_onslaught_shield_force
entity cam
bool g_onslaught
float ons_captureshield_force
IntrusiveList g_onsshields
void InitializeEntity(entity e, void(entity this) func, int order)
Definition world.qc:2209

References autocvar_g_onslaught_shield_force, cam, g_onslaught, g_onsshields, IL_NEW, InitializeEntity(), INITPRIO_GAMETYPE, NULL, ons_captureshield_force, and ons_DelayedInit().

Referenced by REGISTER_MUTATOR().

◆ REGISTER_MUTATOR()

REGISTER_MUTATOR ( ons ,
false  )

Definition at line 9 of file sv_onslaught.qh.

10{
13 {
14 GameRules_teams(true);
16
18 }
19 return false;
20}
#define MUTATOR_ONADD
Definition base.qh:309
#define MUTATOR_STATIC()
Definition base.qh:313
float autocvar_g_onslaught_point_limit
void ons_Initialize()
void GameRules_limit_score(int limit)
Definition sv_rules.qc:23
void GameRules_teams(bool value)
Definition sv_rules.qc:3

References autocvar_g_onslaught_point_limit, GameRules_limit_score(), GameRules_teams(), MUTATOR_ONADD, MUTATOR_STATIC, and ons_Initialize().

Variable Documentation

◆ arecpsneighbor

int arecpsneighbor

Definition at line 61 of file sv_onslaught.qh.

◆ aregensneighbor

int aregensneighbor

Definition at line 60 of file sv_onslaught.qh.

◆ autocvar_g_onslaught_point_limit

float autocvar_g_onslaught_point_limit

Definition at line 5 of file sv_onslaught.qh.

Referenced by REGISTER_MUTATOR().

◆ CPGEN_WAYPOINT_OFFSET

const vector CPGEN_WAYPOINT_OFFSET = ('0 0 128')

Definition at line 28 of file sv_onslaught.qh.

Referenced by ons_ControlPoint_Setup(), and ons_GeneratorSetup().

◆ CPICON_OFFSET

const vector CPICON_OFFSET = ('0 0 96')

Definition at line 29 of file sv_onslaught.qh.

Referenced by ons_ControlPoint_Icon_Spawn().

◆ g_onsshields

IntrusiveList g_onsshields

Definition at line 6 of file sv_onslaught.qh.

Referenced by ons_CaptureShield_Spawn(), ons_Initialize(), and onslaught_updatelinks().

◆ GEN_THINKRATE

const float GEN_THINKRATE = 1

Definition at line 26 of file sv_onslaught.qh.

Referenced by ons_GeneratorReset(), ons_GeneratorSetup(), and ons_GeneratorThink().

◆ havocbot_attack_time

float havocbot_attack_time

Definition at line 86 of file sv_onslaught.qh.

◆ HAVOCBOT_ONS_ROLE_ASSISTANT

const int HAVOCBOT_ONS_ROLE_ASSISTANT = 4

Definition at line 81 of file sv_onslaught.qh.

Referenced by havocbot_role_ons_setrole().

◆ HAVOCBOT_ONS_ROLE_DEFENSE

const int HAVOCBOT_ONS_ROLE_DEFENSE = 2

Definition at line 80 of file sv_onslaught.qh.

Referenced by havocbot_role_ons_setrole().

◆ HAVOCBOT_ONS_ROLE_NONE

const int HAVOCBOT_ONS_ROLE_NONE = 0

Definition at line 79 of file sv_onslaught.qh.

◆ HAVOCBOT_ONS_ROLE_OFFENSE

const int HAVOCBOT_ONS_ROLE_OFFENSE = 8

Definition at line 82 of file sv_onslaught.qh.

Referenced by havocbot_ons_reset_role(), and havocbot_role_ons_setrole().

◆ havocbot_ons_target

entity havocbot_ons_target

◆ iscaptured

int iscaptured

Definition at line 46 of file sv_onslaught.qh.

◆ islinked

int islinked

Definition at line 47 of file sv_onslaught.qh.

Referenced by ons_ControlPoint_Reset(), ons_GeneratorDamage(), and ons_GeneratorReset().

◆ isshielded

◆ lastcaptured

int lastcaptured

Definition at line 52 of file sv_onslaught.qh.

◆ lasthealth

float lasthealth

Definition at line 49 of file sv_onslaught.qh.

Referenced by ons_GeneratorDamage(), and ons_GeneratorReset().

◆ lastshielded

int lastshielded

Definition at line 51 of file sv_onslaught.qh.

◆ lastteam

int lastteam

Definition at line 50 of file sv_onslaught.qh.

◆ ons_captureshield_force

float ons_captureshield_force

Definition at line 76 of file sv_onslaught.qh.

Referenced by ons_CaptureShield_Touch(), and ons_Initialize().

◆ ONS_CP_THINKRATE

◆ ons_deathloc

vector ons_deathloc

Definition at line 66 of file sv_onslaught.qh.

◆ ons_notification_time

float ons_notification_time[17]

Definition at line 62 of file sv_onslaught.qh.

Referenced by ons_ControlPoint_Icon_Damage().

◆ ons_overtime_damagedelay

float ons_overtime_damagedelay

Definition at line 64 of file sv_onslaught.qh.

◆ ons_spawn_by

entity ons_spawn_by

Definition at line 68 of file sv_onslaught.qh.

◆ ons_stalemate

bool ons_stalemate

Definition at line 56 of file sv_onslaught.qh.

Referenced by MUTATOR_HOOKFUNCTION(), and Onslaught_CheckWinner().

◆ ons_toucher

entity ons_toucher

Definition at line 22 of file sv_onslaught.qh.

Referenced by ons_ControlPoint_Reset(), and ons_ControlPoint_Touch().

◆ ons_worldcplist

◆ ons_worldcpnext

entity ons_worldcpnext

Definition at line 37 of file sv_onslaught.qh.

◆ ons_worldgeneratorlist

◆ ons_worldgeneratornext

entity ons_worldgeneratornext

Definition at line 33 of file sv_onslaught.qh.

◆ ons_worldlinklist

entity ons_worldlinklist

Definition at line 40 of file sv_onslaught.qh.

Referenced by onslaught_updatelinks(), and spawnfunc().

◆ ons_worldlinknext

entity ons_worldlinknext

Definition at line 41 of file sv_onslaught.qh.

Referenced by spawnfunc().

◆ sprite

entity sprite

Definition at line 44 of file sv_onslaught.qh.

◆ ST_ONS_GENS

const int ST_ONS_GENS = 1

Definition at line 97 of file sv_onslaught.qh.

Referenced by ons_ScoreRules(), and Onslaught_CheckWinner().

◆ target2

◆ teleport_antispam

float teleport_antispam

Definition at line 58 of file sv_onslaught.qh.

◆ waslinked

bool waslinked

Definition at line 54 of file sv_onslaught.qh.