‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_bot.gsh
Go to the documentation of this file.
1 // matches the enum in bot.h
2 #define PRIORITY_LOW 1
3 #define PRIORITY_NORMAL 2
4 #define PRIORITY_HIGH 3
5 #define PRIORITY_URGENT 4
6 
7 #define BOT_BUTTON_FRAG 1
8 #define BOT_BUTTON_FLASH 2
9 
10 #define SERVER_FRAMES_PER_SEC 20
11 
12 #define BOT_DEFAULT_GOAL_RADIUS 24
13 #define BOT_PREDICTION_FRAMES 4
14 
15 #define BOT_FOV_EASY 0.4226 // 65 degrees
16 #define BOT_FOV_MEDIUM 0.0872 // 85 degrees
17 #define BOT_FOV_HARD -0.1736 // 100 degrees
18 #define BOT_FOV_FU -0.9396 // 160 degrees
19 
20 #define BOT_CAN_SEE_NOTHING ( 0 )
21 #define BOT_CAN_SEE_HEAD ( 1 << 0 )
22 #define BOT_CAN_SEE_TORSO ( 1 << 1 )
23 #define BOT_CAN_SEE_FEET ( 1 << 2 )
24 
25 #define BOT_THINK_INTERVAL_SECS_EASY 0.5
26 #define BOT_THINK_INTERVAL_SECS_MEDIUM 0.25
27 #define BOT_THINK_INTERVAL_SECS_HARD 0.2
28 #define BOT_THINK_INTERVAL_SECS_FU 0.1
29 
30 #define BOT_ADS_DOT_EASY 0.9
31 #define BOT_ADS_DOT_MEDIUM 0.96
32 #define BOT_ADS_DOT_HARD 0.97
33 #define BOT_ADS_DOT_FU 0.98
34 
35 #define BOT_AIM_CONVERGE_SECS_EASY 3.5
36 #define BOT_AIM_CONVERGE_SECS_MEDIUM 2
37 #define BOT_AIM_CONVERGE_SECS_HARD 1.5
38 #define BOT_AIM_CONVERGE_SECS_FU 0.1
39 
40 #define BOT_AIM_CONVERGE_RATE_EASY 2
41 #define BOT_AIM_CONVERGE_RATE_MEDIUM 4
42 #define BOT_AIM_CONVERGE_RATE_HARD 5
43 #define BOT_AIM_CONVERGE_RATE_FU 7
44 
45 #define BOT_AIM_ERROR_DIST_EASY 30
46 #define BOT_AIM_ERROR_DIST_MEDIUM 20
47 #define BOT_AIM_ERROR_DIST_HARD 15
48 #define BOT_AIM_ERROR_DIST_FU 2
49 
50 #define BOT_SNIPER_FIRE_DELAY_EASY 2
51 #define BOT_SNIPER_FIRE_DELAY_MEDIUM 0.9
52 #define BOT_SNIPER_FIRE_DELAY_HARD 0.65
53 #define BOT_SNIPER_FIRE_DELAY_FU 0.5
54 
55 #define BOT_MELEE_RANGE_SQ_EASY 40 * 40
56 #define BOT_MELEE_RANGE_SQ_MEDIUM 70 * 70
57 #define BOT_MELEE_RANGE_SQ_HARD 70 * 70
58 #define BOT_MELEE_RANGE_SQ_FU 70 * 70