![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the source code of this file.
Macros | |
#define | APPROACH_GOAL_RADIUS_MAX 1500 |
#define | APPROACH_GOAL_SPACING 128 |
#define | BOT_DIVE_RADIUS 128 |
#define | BOT_MAX_STUCK_CYCLES 3 |
#define | BOT_POSITION_HISTORY_SIZE 5 |
#define | BOT_STUCK_DISTANCE 128 |
#define | BOT_STUCK_RESOLUTION_S 1.5 |
#define | BOT_SWIM_HEIGHT_MAX 45 |
#define | BOT_SWIM_HEIGHT_MIN 25 |
#define | COOP_FOLLOW_RADIUS_MAX 300 |
#define | COOP_FOLLOW_RADIUS_MIN 150 |
#define | DEFAULT_CORNER_DIST 128 |
#define | DEFAULT_START_CORNER_DIST 64 |
Functions | |
function | __init__ () |
function | activate_hero_gadget (weapon) |
function | add_bot (team) |
function | add_bot_at_eye_trace (team) |
function | add_bots (count, team) |
function | approach_goal_trigger (trigger, radiusMax, spacing) |
function | approach_point (point, radiusMin, radiusMax, spacing) |
function | bot_devgui_think () |
function | bot_think () |
function | bot_think_loop () |
function | bot_unhandled () |
function | bot_update () |
function | bot_void () |
function | camp () |
function | check_stuck () |
function | check_stuck_position () |
function | clear_stuck () |
function | coop_bot_devgui_cmd (cmd) |
function | coop_post_combat () |
function | coop_pre_combat () |
function | debug_patrol (points) |
function | debug_star (origin, seconds, color) |
function | devgui_debug_route () |
function | end_sprint_to_goal () |
function | eye_trace () |
function | filter_bots (players) |
function | finish_corner () |
function | follow_coop_players () |
function | follow_entity (entity, radiusMin, radiusMax) |
function | fwd_dot (point) |
function | get_bot_default_settings () |
function | get_host_player () |
function | get_nav_points () |
function | get_ready_gadget () |
function | get_ready_gun_gadget () |
function | get_team_players_in_laststand () |
function | get_trigger_height (trigger) |
function | get_trigger_radius (trigger) |
function | goal_in_trigger (trigger) |
function | has_launcher () |
function | init () |
function | init_bot_settings () |
function | is_bot_ranked_match () |
function | is_gun_gadget (weapon) |
function | kill_bot () |
function | kill_bots () |
function | lead_player (player, followMin) |
function | navmesh_wander (fwd, radiusMin, radiusMax, spacing, fwdDot) |
function | on_player_connect () |
function | on_player_killed () |
function | on_player_spawned () |
function | path_to_point_in_trigger (trigger) |
function | path_to_trigger (trigger, radius) |
function | point_in_goal (point) |
function | remove_bot (bot) |
function | remove_bots (count, team) |
function | revive_player (player) |
function | revive_players () |
function | sprint_think () |
function | sprint_to_goal () |
function | stow_gun_gadget () |
function | stuck_resolution () |
function | update_swim () |
function | wait_bot_goal_reached_loop () |
function | wait_bot_path_failed_loop () |
function | wait_corner_radius (startCornerDistSq, centerPoint, enterPoint, leavePoint, angle, nextEnterPoint) |
function | wait_release_swim_buttons (waitTime) |
function | watch_bot_corner (startCornerDist, cornerDist) |
function __init__ | ( | ) |
Definition at line 30 of file _bot.gsc.
References bot_devgui_think(), bot_update(), bot_void(), clear_threat(), combat_think(), DEFAULT, engage_threat(), get_bot_default_settings(), get_bot_threats(), ignore_non_sentient(), init(), on_connect(), on_player_connect(), on_player_killed(), on_player_spawned(), on_spawned(), on_start_gametype(), and update_threat_goal().
function activate_hero_gadget | ( | weapon | ) |
Definition at line 847 of file _bot.gsc.
References is_gun_gadget(), and tap_offhand_special_button().
Referenced by switch_weapon().
function add_bot | ( | team | ) |
Definition at line 105 of file _bot.gsc.
References IS_TRUE.
Referenced by add_balanced_bot(), add_bot_at_eye_trace(), add_bots(), coop_bot_devgui_cmd(), and monitor_bot_population().
function add_bot_at_eye_trace | ( | team | ) |
Definition at line 1331 of file _bot.gsc.
References add_bot(), eye_trace(), getHostPlayer(), and trace().
Referenced by coop_bot_devgui_cmd().
function add_bots | ( | count | , |
team | |||
) |
function approach_goal_trigger | ( | trigger | , |
radiusMax | , | ||
spacing | |||
) |
Definition at line 1068 of file _bot.gsc.
References APPROACH_GOAL_RADIUS_MAX, APPROACH_GOAL_SPACING, approach_point(), DEFAULT, get_trigger_radius(), and path_to_point_in_trigger().
Referenced by bot_idle().
function approach_point | ( | point | , |
radiusMin | , | ||
radiusMax | , | ||
spacing | |||
) |
Definition at line 1086 of file _bot.gsc.
References APPROACH_GOAL_RADIUS_MAX, APPROACH_GOAL_SPACING, BOT_DEFAULT_GOAL_RADIUS, and DEFAULT.
Referenced by approach_goal_trigger(), and bot_idle().
function bot_devgui_think | ( | ) |
Definition at line 1463 of file _bot.gsc.
References devgui_debug_route(), getHostPlayer(), kill_bots(), and remove_bots().
Referenced by __init__().
function bot_think | ( | ) |
Definition at line 274 of file _bot.gsc.
References check_stuck(), has_threat(), sprint_think(), and update_swim().
Referenced by bot_think_loop().
function bot_think_loop | ( | ) |
function bot_update | ( | ) |
Definition at line 306 of file _bot.gsc.
Referenced by __init__().
function bot_void | ( | ) |
Definition at line 85 of file _bot.gsc.
Referenced by __init__().
function camp | ( | ) |
Definition at line 716 of file _bot.gsc.
References press_crouch_button().
function check_stuck | ( | ) |
Definition at line 588 of file _bot.gsc.
References BOT_MAX_STUCK_CYCLES, check_stuck_position(), DEFAULT, has_threat(), name, stuck_resolution(), and threat_visible().
Referenced by bot_think().
function check_stuck_position | ( | ) |
Definition at line 643 of file _bot.gsc.
References BOT_POSITION_HISTORY_SIZE, BOT_STUCK_DISTANCE, name, and stuck_resolution().
Referenced by check_stuck().
function clear_stuck | ( | ) |
Definition at line 708 of file _bot.gsc.
Referenced by on_player_spawned(), stuck_resolution(), and wait_bot_goal_reached_loop().
function coop_bot_devgui_cmd | ( | cmd | ) |
Definition at line 1495 of file _bot.gsc.
References add_bot(), add_bot_at_eye_trace(), add_bots(), get_host_player(), and remove_bots().
function coop_post_combat | ( | ) |
Definition at line 907 of file _bot.gsc.
References bot_post_combat(), clear_threat(), has_threat(), and revive_players().
function coop_pre_combat | ( | ) |
Definition at line 874 of file _bot.gsc.
References bot_pre_combat(), has_threat(), reload_weapon(), and switch_weapon().
function debug_patrol | ( | points | ) |
Definition at line 1439 of file _bot.gsc.
References BOT_DEFAULT_GOAL_RADIUS, and sprint_to_goal().
Referenced by devgui_debug_route().
function devgui_debug_route | ( | ) |
Definition at line 1369 of file _bot.gsc.
References debug_patrol(), get_nav_points(), and is_bot().
Referenced by bot_devgui_think().
function end_sprint_to_goal | ( | ) |
Definition at line 459 of file _bot.gsc.
Referenced by bot_pre_combat(), combat_strafe(), and sprint_think().
function eye_trace | ( | ) |
Definition at line 1354 of file _bot.gsc.
Referenced by add_bot_at_eye_trace(), and get_nav_points().
function filter_bots | ( | players | ) |
function finish_corner | ( | ) |
Definition at line 1251 of file _bot.gsc.
References waittill_any().
Referenced by wait_corner_radius().
function follow_coop_players | ( | ) |
Definition at line 929 of file _bot.gsc.
References COOP_FOLLOW_RADIUS_MIN, get_host_player(), is_bot(), and lead_player().
function follow_entity | ( | entity | , |
radiusMin | , | ||
radiusMax | |||
) |
Definition at line 983 of file _bot.gsc.
References BOT_DEFAULT_GOAL_RADIUS, DEFAULT, point_in_goal(), and sprint_to_goal().
function fwd_dot | ( | point | ) |
Definition at line 1281 of file _bot.gsc.
Referenced by dot_product(), and update_threat().
function get_bot_default_settings | ( | ) |
function get_host_player | ( | ) |
Definition at line 1266 of file _bot.gsc.
Referenced by coop_bot_devgui_cmd(), and follow_coop_players().
function get_nav_points | ( | ) |
Definition at line 1394 of file _bot.gsc.
References eye_trace(), and WAIT_SERVER_FRAME.
Referenced by devgui_debug_route().
function get_ready_gadget | ( | ) |
Definition at line 784 of file _bot.gsc.
Referenced by switch_weapon().
function get_ready_gun_gadget | ( | ) |
Definition at line 805 of file _bot.gsc.
References is_gun_gadget().
function get_team_players_in_laststand | ( | ) |
Definition at line 1156 of file _bot.gsc.
References player_is_in_laststand().
Referenced by revive_players().
function get_trigger_radius | ( | trigger | ) |
Definition at line 561 of file _bot.gsc.
Referenced by approach_goal_trigger(), bot_idle(), goal_in_trigger(), and path_to_trigger().
function goal_in_trigger | ( | trigger | ) |
Definition at line 479 of file _bot.gsc.
References get_trigger_radius().
Referenced by bot_update().
function has_launcher | ( | ) |
Definition at line 1295 of file _bot.gsc.
Referenced by bot_ignore_threat(), and update_player_threat().
function init | ( | ) |
Definition at line 75 of file _bot.gsc.
References init_bot_settings().
function init_bot_settings | ( | ) |
function is_bot_ranked_match | ( | ) |
Definition at line 80 of file _bot.gsc.
Referenced by isGameRepEnabled(), precache_mp_leaderboards(), and updateWinStats().
function is_gun_gadget | ( | weapon | ) |
Definition at line 831 of file _bot.gsc.
Referenced by activate_hero_gadget(), and get_ready_gun_gadget().
function kill_bot | ( | ) |
Definition at line 1310 of file _bot.gsc.
Referenced by kill_bots().
function kill_bots | ( | ) |
Definition at line 1320 of file _bot.gsc.
References is_bot(), and kill_bot().
Referenced by bot_devgui_think().
function lead_player | ( | player | , |
followMin | |||
) |
Definition at line 965 of file _bot.gsc.
References sprint_to_goal().
Referenced by follow_coop_players().
function navmesh_wander | ( | fwd | , |
radiusMin | , | ||
radiusMax | , | ||
spacing | , | ||
fwdDot | |||
) |
Definition at line 1000 of file _bot.gsc.
References DEFAULT, name, stuck_resolution(), and VAL.
Referenced by bot_idle(), bot_pre_combat(), and chase_threat().
function on_player_connect | ( | ) |
function on_player_killed | ( | ) |
function on_player_spawned | ( | ) |
Definition at line 224 of file _bot.gsc.
References bot_think_loop(), clear_stuck(), clear_threat(), is_bot(), wait_bot_goal_reached_loop(), wait_bot_path_failed_loop(), and wait_damage_loop().
Referenced by __init__().
function path_to_point_in_trigger | ( | trigger | ) |
Definition at line 515 of file _bot.gsc.
References BOT_DEFAULT_GOAL_RADIUS, and path_to_trigger().
Referenced by approach_goal_trigger(), bot_idle(), bot_update_threat_goal(), look_for_taco(), and update_threat_goal().
function path_to_trigger | ( | trigger | , |
radius | |||
) |
Definition at line 494 of file _bot.gsc.
References DEFAULT, and get_trigger_radius().
Referenced by bot_idle(), path_to_point_in_trigger(), and set_goal_tag().
function point_in_goal | ( | point | ) |
Definition at line 486 of file _bot.gsc.
Referenced by follow_entity(), and revive_player().
function remove_bot | ( | bot | ) |
Definition at line 162 of file _bot.gsc.
Referenced by remove_best_bot(), and remove_bots().
function remove_bots | ( | count | , |
team | |||
) |
Definition at line 133 of file _bot.gsc.
References remove_bot().
Referenced by bot_devgui_think(), and coop_bot_devgui_cmd().
function revive_player | ( | player | ) |
Definition at line 1173 of file _bot.gsc.
References point_in_goal(), sprint_to_goal(), and tap_use_button().
Referenced by revive_players().
function revive_players | ( | ) |
Definition at line 1143 of file _bot.gsc.
References get_team_players_in_laststand(), and revive_player().
Referenced by coop_post_combat().
function sprint_think | ( | ) |
Definition at line 464 of file _bot.gsc.
References end_sprint_to_goal(), IS_TRUE, and press_sprint_button().
Referenced by bot_think().
function sprint_to_goal | ( | ) |
Definition at line 454 of file _bot.gsc.
Referenced by bot_idle(), chase_threat(), debug_patrol(), follow_entity(), lead_player(), look_for_taco(), revive_player(), set_goal_tag(), and update_threat_goal().
function stuck_resolution | ( | ) |
Definition at line 688 of file _bot.gsc.
References BOT_STUCK_RESOLUTION_S, and clear_stuck().
Referenced by check_stuck(), check_stuck_position(), navmesh_wander(), and wait_bot_path_failed_loop().
function update_swim | ( | ) |
Definition at line 312 of file _bot.gsc.
References BOT_DIVE_RADIUS, BOT_SWIM_HEIGHT_MAX, BOT_SWIM_HEIGHT_MIN, press_swim_down(), press_swim_up(), and wait_release_swim_buttons().
Referenced by bot_think().
function wait_bot_goal_reached_loop | ( | ) |
Definition at line 752 of file _bot.gsc.
References clear_stuck().
Referenced by on_player_spawned().
function wait_bot_path_failed_loop | ( | ) |
Definition at line 728 of file _bot.gsc.
References name, and stuck_resolution().
Referenced by on_player_spawned().
function wait_corner_radius | ( | startCornerDistSq | , |
centerPoint | , | ||
enterPoint | , | ||
leavePoint | , | ||
angle | , | ||
nextEnterPoint | |||
) |
Definition at line 1227 of file _bot.gsc.
References finish_corner(), has_threat(), and WAIT_SERVER_FRAME.
Referenced by watch_bot_corner().
function wait_release_swim_buttons | ( | waitTime | ) |
Definition at line 382 of file _bot.gsc.
References release_swim_down(), and release_swim_up().
Referenced by update_swim().
function watch_bot_corner | ( | startCornerDist | , |
cornerDist | |||
) |
Definition at line 1196 of file _bot.gsc.
References DEFAULT, DEFAULT_CORNER_DIST, DEFAULT_START_CORNER_DIST, has_threat(), and wait_corner_radius().