Xonotic
havocbot.qh
Go to the documentation of this file.
1 #pragma once
2 
3 /*
4  * Globals and Fields
5  */
6 
12 
17 .float nextaim;
23 
26 .entity ignoregoal;
29 
31 
32 /*
33  * Functions
34  */
35 
36 void havocbot_ai(entity this);
37 void havocbot_aim(entity this);
38 void havocbot_setupbot(entity this);
39 void havocbot_movetogoal(entity this);
40 void havocbot_chooserole(entity this);
41 void havocbot_chooseenemy(entity this);
42 void havocbot_chooseweapon(entity this, .entity weaponentity);
44 void havocbot_keyboard_movement(entity this, vector destorg);
45 
46 float havocbot_resetgoal(entity this);
47 float havocbot_moveto(entity this, vector pos);
49 
51 
52 void(entity this, float ratingscale, vector org, float sradius) havocbot_goalrating_items;
53 void(entity this, float ratingscale, vector org, float sradius) havocbot_goalrating_enemyplayers;
54 
55 /*
56  * Imports
57  */
58 
59 .entity draggedby;
float havocbot_stickenemy_time
Definition: havocbot.qh:21
float havocbot_ducktime
Definition: havocbot.qh:14
void havocbot_goalrating_items(entity this, float ratingscale, vector org, float sradius)
Definition: roles.qc:106
void havocbot_setupbot(entity this)
Definition: havocbot.qc:1683
float havocbot_resetgoal(entity this)
Definition: havocbot.qc:1677
float lastcombotime
Definition: havocbot.qh:10
float havocbot_moveto_refresh_route(entity this)
Definition: havocbot.qc:1549
void havocbot_chooserole(entity this)
Definition: roles.qc:241
float bot_tracewalk_time
Definition: havocbot.qh:25
float nextaim
Definition: havocbot.qh:17
float lastfiredweapon
Definition: havocbot.qh:9
entity() spawn
void havocbot_keyboard_movement(entity this, vector destorg)
Definition: havocbot.qc:274
void havocbot_chooseweapon(entity this,.entity weaponentity)
Definition: havocbot.qc:1428
entity ignoregoal
Definition: havocbot.qh:26
void havocbot_chooseenemy(entity this)
Definition: havocbot.qc:1298
float havocbot_blockhead
Definition: havocbot.qh:11
entity bot_lastseengoal
Definition: havocbot.qh:27
float rocketjumptime
Definition: havocbot.qh:16
float bot_stop_moving_timeout
Definition: havocbot.qh:24
entity draggedby
Definition: havocbot.qh:59
void havocbot_goalrating_enemyplayers(entity this, float ratingscale, vector org, float sradius)
Definition: roles.qc:176
void havocbot_aim(entity this)
Definition: havocbot.qc:1529
float bot_chooseweapontime
Definition: havocbot.qh:15
float havocbot_chooseenemy_finished
Definition: havocbot.qh:20
void(entity this, float ratingscale, vector org, float sradius) havocbot_goalrating_items
float havocbot_role_timeout
Definition: havocbot.qh:22
entity havocbot_personal_waypoint
Definition: havocbot.qh:28
void havocbot_movetogoal(entity this)
Definition: havocbot.qc:399
void havocbot_ai(entity this)
Definition: havocbot.qc:35
vector havocbot_keyboard
Definition: havocbot.qh:30
float ignoregoaltime
Definition: havocbot.qh:8
vector(float skel, float bonenum) _skel_get_boneabs_hidden
float havocbot_personal_waypoint_failcounter
Definition: havocbot.qh:19
float havocbot_keyboardskill
Definition: havocbot.qh:7
float havocbot_personal_waypoint_searchtime
Definition: havocbot.qh:18
vector havocbot_dodge(entity this)
Definition: havocbot.qc:1693
float havocbot_keyboardtime
Definition: havocbot.qh:13
int dir
Definition: impulse.qc:89
float havocbot_moveto(entity this, vector pos)
Definition: havocbot.qc:1560
void havocbot_bunnyhop(entity this, vector dir)
Definition: havocbot.qc:217