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