7 const int AI_STATUS_ROAMING = 1; // Bot is just crawling the map. No enemies at sight
8 const int AI_STATUS_ATTACKING = 2; // There are enemies at sight
9 const int AI_STATUS_RUNNING = 4; // Bot is bunny hopping
10 const int AI_STATUS_DANGER_AHEAD = 8; // There is lava/slime/trigger_hurt ahead
11 const int AI_STATUS_OUT_JUMPPAD = 16; // Trying to get out of a "vertical" jump pad
12 const int AI_STATUS_OUT_WATER = 32; // Trying to get out of water
13 const int AI_STATUS_WAYPOINT_PERSONAL_LINKING = 64; // Waiting for the personal waypoint to be linked
14 const int AI_STATUS_WAYPOINT_PERSONAL_GOING = 128; // Going to a personal waypoint
15 const int AI_STATUS_WAYPOINT_PERSONAL_REACHED = 256; // Personal waypoint reached
16 const int AI_STATUS_JETPACK_FLYING = 512;
17 const int AI_STATUS_JETPACK_LANDING = 1024;
18 const int AI_STATUS_STUCK = 2048; // Cannot reach any goal
20 .float isbot; // true if this client is actually a bot
24 float autoskill_nextthink;
26 // havocbot_keyboardskill // keyboard movement
27 .float bot_moveskill; // moving technique
28 .float bot_dodgeskill; // dodging
30 .float bot_pingskill; // ping offset
32 .float bot_weaponskill; // weapon usage skill (combos, e.g.)
33 .float bot_aggresskill; // aggressivity, controls "think before fire" behaviour
34 .float bot_rangepreference; // weapon choice offset for range (>0 = prefer long range earlier "sniper", <0 = prefer short range "spammer")
36 .float bot_aimskill; // aim accuracy
37 .float bot_offsetskill; // aim breakage
38 .float bot_mouseskill; // mouse "speed"
40 .float bot_thinkskill; // target choice
41 .float bot_aiskill; // strategy choice
43 .float totalfrags_lastcheck;
52 .string netname_freeme;
53 .string playermodel_freeme;
54 .string playerskin_freeme;
59 .float bot_preferredcolors;
62 .float bot_dodgerating;
65 .float bot_pickupbasevalue;
67 .float bot_strategytime;
69 .float bot_forced_team;
70 .float bot_config_loaded;
72 float bot_strategytoken_taken;
73 entity bot_strategytoken;
75 float botframe_spawnedwaypoints;
76 float botframe_nextthink;
77 float botframe_nextdangertime;
78 float bot_cvar_nextthink;
88 void bot_setnameandstuff();
89 void bot_custom_weapon_priority_setup();
91 void bot_relinkplayerlist();
92 void bot_clientdisconnect();
93 void bot_clientconnect();
94 void bot_removefromlargestteam();
95 void bot_removenewest();
96 void autoskill(float factor);
97 void bot_serverframe();
100 .float(entity player, entity item) bot_pickupevalfunc;
106 void() havocbot_setupbot;
108 void bot_calculate_stepheightvec(void);