‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
All Data Structures Files Functions Variables Macros
zm_giant_cleanup_mgr.gsc File Reference

Go to the source code of this file.

Macros

#define N_CLEANUP_AGE_MIN   5000
 
#define N_CLEANUP_AGE_TIMEOUT   45000
 
#define N_CLEANUP_DIST_SQ_MIN   250000
 
#define N_CLEANUP_DIST_SQ_MIN_AGGRESSIVE   189225
 
#define N_CLEANUP_DIST_SQ_ROUND_END   2250000
 
#define N_CLEANUP_EVALS_PER_FRAME_MAX   1
 
#define N_CLEANUP_FOV_COS   0.766
 
#define N_CLEANUP_INTERVAL_MIN   3000
 
#define N_MSEC   1000
 
#define TOO_HIGH_DIST   800
 
#define TRACKING_INNER_DIST   2000
 
#define TRACKING_OUTER_DIST   2200
 

Functions

function __init__ ()
 
function __main__ ()
 
function private cleanup_main ()
 
function private delete_zombie_noone_looking ()
 
function do_cleanup_check (n_override_cleanup_dist)
 
function force_check_now ()
 
function get_adjacencies_to_zone (str_zone)
 
function get_escape_position ()
 
function get_escape_position_in_current_zone ()
 
function private get_farthest_wait_location (a_wait_locations)
 
function private get_wait_locations_in_zone (zone)
 
function private get_wait_locations_in_zones (a_zones)
 
function private player_ahead_of_me (player)
 
function private player_can_see_me (player)
 

Macro Definition Documentation

◆ N_CLEANUP_AGE_MIN

#define N_CLEANUP_AGE_MIN   5000

Definition at line 23 of file zm_giant_cleanup_mgr.gsc.

◆ N_CLEANUP_AGE_TIMEOUT

#define N_CLEANUP_AGE_TIMEOUT   45000

Definition at line 24 of file zm_giant_cleanup_mgr.gsc.

◆ N_CLEANUP_DIST_SQ_MIN

#define N_CLEANUP_DIST_SQ_MIN   250000

Definition at line 28 of file zm_giant_cleanup_mgr.gsc.

◆ N_CLEANUP_DIST_SQ_MIN_AGGRESSIVE

#define N_CLEANUP_DIST_SQ_MIN_AGGRESSIVE   189225

Definition at line 27 of file zm_giant_cleanup_mgr.gsc.

◆ N_CLEANUP_DIST_SQ_ROUND_END

#define N_CLEANUP_DIST_SQ_ROUND_END   2250000

Definition at line 29 of file zm_giant_cleanup_mgr.gsc.

◆ N_CLEANUP_EVALS_PER_FRAME_MAX

#define N_CLEANUP_EVALS_PER_FRAME_MAX   1

Definition at line 25 of file zm_giant_cleanup_mgr.gsc.

◆ N_CLEANUP_FOV_COS

#define N_CLEANUP_FOV_COS   0.766

Definition at line 26 of file zm_giant_cleanup_mgr.gsc.

◆ N_CLEANUP_INTERVAL_MIN

#define N_CLEANUP_INTERVAL_MIN   3000

Definition at line 22 of file zm_giant_cleanup_mgr.gsc.

◆ N_MSEC

#define N_MSEC   1000

Definition at line 34 of file zm_giant_cleanup_mgr.gsc.

◆ TOO_HIGH_DIST

#define TOO_HIGH_DIST   800

Definition at line 20 of file zm_giant_cleanup_mgr.gsc.

◆ TRACKING_INNER_DIST

#define TRACKING_INNER_DIST   2000

Definition at line 18 of file zm_giant_cleanup_mgr.gsc.

◆ TRACKING_OUTER_DIST

#define TRACKING_OUTER_DIST   2200

Definition at line 19 of file zm_giant_cleanup_mgr.gsc.

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 37 of file zm_giant_cleanup_mgr.gsc.

◆ __main__()

function __main__ ( )

Definition at line 42 of file zm_giant_cleanup_mgr.gsc.

References cleanup_main().

◆ cleanup_main()

◆ delete_zombie_noone_looking()

function private delete_zombie_noone_looking ( )

Definition at line 198 of file zm_giant_cleanup_mgr.gsc.

References ARRAY_ADD, IS_TRUE, player_can_see_me(), and reset_attack_spot().

Referenced by do_cleanup_check().

◆ do_cleanup_check()

◆ force_check_now()

function force_check_now ( )

Definition at line 47 of file zm_giant_cleanup_mgr.gsc.

◆ get_adjacencies_to_zone()

function get_adjacencies_to_zone ( str_zone  )

Definition at line 325 of file zm_giant_cleanup_mgr.gsc.

References ARRAY_ADD.

Referenced by get_escape_position().

◆ get_escape_position()

function get_escape_position ( )

◆ get_escape_position_in_current_zone()

function get_escape_position_in_current_zone ( )

◆ get_farthest_wait_location()

function private get_farthest_wait_location ( a_wait_locations  )

◆ get_wait_locations_in_zone()

function private get_wait_locations_in_zone ( zone  )

Definition at line 382 of file zm_giant_cleanup_mgr.gsc.

Referenced by get_escape_position_in_current_zone().

◆ get_wait_locations_in_zones()

function private get_wait_locations_in_zones ( a_zones  )

Definition at line 343 of file zm_giant_cleanup_mgr.gsc.

Referenced by get_escape_position().

◆ player_ahead_of_me()

function private player_ahead_of_me ( player  )

Definition at line 274 of file zm_giant_cleanup_mgr.gsc.

Referenced by do_cleanup_check().

◆ player_can_see_me()

function private player_can_see_me ( player  )

Definition at line 254 of file zm_giant_cleanup_mgr.gsc.

References N_CLEANUP_FOV_COS.

Referenced by delete_zombie_noone_looking().