]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mutators/gamemode_assault.qh
Merge branch 'master' into Mario/qc_physics_prehax
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / gamemode_assault.qh
1 #ifndef GAMEMODE_ASSAULT_H
2 #define GAMEMODE_ASSAULT_H
3 // sprites
4 .entity assault_decreaser;
5 .entity assault_sprite;
6
7 // legacy bot defs
8 const int HAVOCBOT_AST_ROLE_NONE = 0;
9 const int HAVOCBOT_AST_ROLE_DEFENSE = 2;
10 const int HAVOCBOT_AST_ROLE_OFFENSE = 4;
11
12 .int havocbot_role_flags;
13 .float havocbot_attack_time;
14
15 .void() havocbot_role;
16 .void() havocbot_previous_role;
17
18 void() havocbot_role_ast_defense;
19 void() havocbot_role_ast_offense;
20 .entity havocbot_ast_target;
21
22 void(entity bot) havocbot_ast_reset_role;
23
24 void(float ratingscale, vector org, float sradius) havocbot_goalrating_items;
25 void(float ratingscale, vector org, float sradius) havocbot_goalrating_enemyplayers;
26
27 // scoreboard stuff
28 const float ST_ASSAULT_OBJECTIVES = 1;
29 const float SP_ASSAULT_OBJECTIVES = 4;
30
31 // predefined spawnfuncs
32 void target_objective_decrease_activate();
33 #endif