]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mutators/gamemode_assault.qh
Bots: define the API boundaries
[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 // scoreboard stuff
25 const float ST_ASSAULT_OBJECTIVES = 1;
26 const float SP_ASSAULT_OBJECTIVES = 4;
27
28 // predefined spawnfuncs
29 void target_objective_decrease_activate();
30 #endif