![]() |
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 | DETECT_BACK_MASK ( 1 << 1 ) |
#define | DETECT_FRONT_MASK ( 1 << 0 ) |
#define | DETECT_INDICATOR_APPEAR_DELAY 0.05 |
#define | DETECT_INDICATOR_LOST_DELAY 0.05 |
#define | DETECT_LEFT_MASK ( 1 << 2 ) |
#define | DETECT_LOSE_RADIUS 350 |
#define | DETECT_LOSE_RADIUS_NEAR 350 |
#define | DETECT_LOSE_Z_THRESHOLD 350 |
#define | DETECT_NEARBY_ENEMIES_WAIT_TIME 0.05 |
#define | DETECT_RADIUS 300 |
#define | DETECT_RADIUS_NEAR 300 |
#define | DETECT_RIGHT_MASK ( 1 << 3 ) |
#define | DETECT_Z_THRESHOLD 50 |
#define | TRACKER_FX_FLY_DISTANCE 32 |
#define | TRACKER_FX_FLY_DISTANCE_SQ ( TRACKER_FX_FLY_DISTANCE * TRACKER_FX_FLY_DISTANCE ) |
#define | TRACKER_FX_FLY_HEIGHT GetDvarFloat( "perk_tracker_fx_fly_height", 0 ) |
#define | TRACKER_FX_FOOT_DISTANCE 32 |
#define | TRACKER_FX_FOOT_DISTANCE_SQ ( TRACKER_FX_FOOT_DISTANCE * TRACKER_FX_FOOT_DISTANCE ) |
#define | TRACKER_FX_FOOT_HEIGHT GetDvarFloat( "perk_tracker_fx_foot_height", 0 ) |
#define | TRACKER_KILLCAM_COUNT 20 |
#define | TRACKER_KILLCAM_TIME 5000 |
#define | TRACKER_KILLFX_COUNT 40 |
#define | TRACKER_KILLFX_TIME 5000 |
#define | TRACKER_STATIONARY_VEL 1 |
#define | TRACKER_STATIONARY_VEL_SQ ( TRACKER_STATIONARY_VEL * TRACKER_STATIONARY_VEL ) |
#define | TRAIL_FX_FLY_L "player/fx_plyr_flying_tracker_l" |
#define | TRAIL_FX_FLY_L_FAST "player/fx_plyr_flying_tracker_lf" |
#define | TRAIL_FX_FLY_R "player/fx_plyr_flying_tracker_r" |
#define | TRAIL_FX_FLY_R_FAST "player/fx_plyr_flying_tracker_rf" |
#define | TRAIL_FX_FOOT_L "player/fx_plyr_footstep_tracker_l" |
#define | TRAIL_FX_FOOT_L_FAST "player/fx_plyr_footstep_tracker_lf" |
#define | TRAIL_FX_FOOT_R "player/fx_plyr_footstep_tracker_r" |
#define | TRAIL_FX_FOOT_R_FAST "player/fx_plyr_footstep_tracker_rf" |
Functions | |
function | __init__ () |
function | flying_callback (local_client_num, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
function | get_players (local_client_num) |
function | getTrackerFXPosition (local_client_num) |
function | killTrackerFX_on_death (local_client_num) |
function | killTrackerFX_track (local_client_num, handle) |
function | monitor_detectnearbyenemies (local_client_num) |
function | monitor_tracker_existing_players (local_client_num) |
function | monitor_tracker_perk (local_client_num) |
function | monitor_tracker_perk_killcam (local_client_num) |
function | on_local_client_connect (local_client_num) |
function | on_localplayer_spawned (local_client_num) |
function | on_player_spawned (local_client_num) |
function | tracker_playFX (local_client_num, positionAndRotationStruct) |
function | updateSitrepScan () |
#define DETECT_BACK_MASK ( 1 << 1 ) |
Definition at line 500 of file _perks.csc.
#define DETECT_FRONT_MASK ( 1 << 0 ) |
Definition at line 499 of file _perks.csc.
#define DETECT_INDICATOR_APPEAR_DELAY 0.05 |
Definition at line 495 of file _perks.csc.
#define DETECT_INDICATOR_LOST_DELAY 0.05 |
Definition at line 496 of file _perks.csc.
#define DETECT_LEFT_MASK ( 1 << 2 ) |
Definition at line 501 of file _perks.csc.
#define DETECT_LOSE_RADIUS 350 |
Definition at line 494 of file _perks.csc.
#define DETECT_LOSE_RADIUS_NEAR 350 |
Definition at line 492 of file _perks.csc.
#define DETECT_LOSE_Z_THRESHOLD 350 |
Definition at line 490 of file _perks.csc.
#define DETECT_NEARBY_ENEMIES_WAIT_TIME 0.05 |
Definition at line 488 of file _perks.csc.
#define DETECT_RADIUS 300 |
Definition at line 493 of file _perks.csc.
#define DETECT_RADIUS_NEAR 300 |
Definition at line 491 of file _perks.csc.
#define DETECT_RIGHT_MASK ( 1 << 3 ) |
Definition at line 502 of file _perks.csc.
#define DETECT_Z_THRESHOLD 50 |
Definition at line 489 of file _perks.csc.
#define TRACKER_FX_FLY_DISTANCE 32 |
Definition at line 129 of file _perks.csc.
#define TRACKER_FX_FLY_DISTANCE_SQ ( TRACKER_FX_FLY_DISTANCE * TRACKER_FX_FLY_DISTANCE ) |
Definition at line 130 of file _perks.csc.
#define TRACKER_FX_FLY_HEIGHT GetDvarFloat( "perk_tracker_fx_fly_height", 0 ) |
Definition at line 128 of file _perks.csc.
#define TRACKER_FX_FOOT_DISTANCE 32 |
Definition at line 133 of file _perks.csc.
#define TRACKER_FX_FOOT_DISTANCE_SQ ( TRACKER_FX_FOOT_DISTANCE * TRACKER_FX_FOOT_DISTANCE ) |
Definition at line 134 of file _perks.csc.
#define TRACKER_FX_FOOT_HEIGHT GetDvarFloat( "perk_tracker_fx_foot_height", 0 ) |
Definition at line 132 of file _perks.csc.
#define TRACKER_KILLCAM_COUNT 20 |
Definition at line 139 of file _perks.csc.
#define TRACKER_KILLCAM_TIME 5000 |
Definition at line 140 of file _perks.csc.
#define TRACKER_KILLFX_COUNT 40 |
Definition at line 142 of file _perks.csc.
#define TRACKER_KILLFX_TIME 5000 |
Definition at line 143 of file _perks.csc.
#define TRACKER_STATIONARY_VEL 1 |
Definition at line 136 of file _perks.csc.
#define TRACKER_STATIONARY_VEL_SQ ( TRACKER_STATIONARY_VEL * TRACKER_STATIONARY_VEL ) |
Definition at line 137 of file _perks.csc.
#define TRAIL_FX_FLY_L "player/fx_plyr_flying_tracker_l" |
Definition at line 21 of file _perks.csc.
#define TRAIL_FX_FLY_L_FAST "player/fx_plyr_flying_tracker_lf" |
Definition at line 25 of file _perks.csc.
#define TRAIL_FX_FLY_R "player/fx_plyr_flying_tracker_r" |
Definition at line 22 of file _perks.csc.
#define TRAIL_FX_FLY_R_FAST "player/fx_plyr_flying_tracker_rf" |
Definition at line 26 of file _perks.csc.
#define TRAIL_FX_FOOT_L "player/fx_plyr_footstep_tracker_l" |
Definition at line 19 of file _perks.csc.
#define TRAIL_FX_FOOT_L_FAST "player/fx_plyr_footstep_tracker_lf" |
Definition at line 23 of file _perks.csc.
#define TRAIL_FX_FOOT_R "player/fx_plyr_footstep_tracker_r" |
Definition at line 20 of file _perks.csc.
#define TRAIL_FX_FOOT_R_FAST "player/fx_plyr_footstep_tracker_rf" |
Definition at line 24 of file _perks.csc.
function __init__ | ( | ) |
Definition at line 38 of file _perks.csc.
References CF_CALLBACK_ZERO_ON_NEW_ENT, CF_HOST_ONLY, flying_callback(), monitor_tracker_perk(), on_local_client_connect(), on_localclient_connect(), on_localplayer_spawned(), on_player_spawned(), on_spawned(), register(), and VERSION_SHIP.
function flying_callback | ( | local_client_num | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 92 of file _perks.csc.
Referenced by __init__().
function get_players | ( | local_client_num | ) |
Definition at line 145 of file _perks.csc.
function getTrackerFXPosition | ( | local_client_num | ) |
Definition at line 364 of file _perks.csc.
References IS_TRUE, TRACKER_FX_FLY_DISTANCE_SQ, TRACKER_FX_FLY_HEIGHT, TRACKER_FX_FOOT_DISTANCE_SQ, TRACKER_FX_FOOT_HEIGHT, TRACKER_STATIONARY_VEL_SQ, TRAIL_FX_FLY_L, TRAIL_FX_FLY_L_FAST, TRAIL_FX_FLY_R, TRAIL_FX_FLY_R_FAST, TRAIL_FX_FOOT_L, TRAIL_FX_FOOT_L_FAST, TRAIL_FX_FOOT_R, and TRAIL_FX_FOOT_R_FAST.
Referenced by monitor_tracker_perk(), and monitor_tracker_perk_killcam().
function killTrackerFX_on_death | ( | local_client_num | ) |
Definition at line 318 of file _perks.csc.
References IS_TRUE, serverTime(), and TRACKER_KILLFX_TIME.
Referenced by on_player_spawned().
function killTrackerFX_track | ( | local_client_num | , |
handle | |||
) |
Definition at line 296 of file _perks.csc.
References serverTime(), and TRACKER_KILLFX_COUNT.
Referenced by tracker_playFX().
function monitor_detectnearbyenemies | ( | local_client_num | ) |
Definition at line 505 of file _perks.csc.
References COS_45, DETECT_BACK_MASK, DETECT_FRONT_MASK, DETECT_INDICATOR_APPEAR_DELAY, DETECT_INDICATOR_LOST_DELAY, DETECT_LEFT_MASK, DETECT_LOSE_RADIUS, DETECT_LOSE_Z_THRESHOLD, DETECT_NEARBY_ENEMIES_WAIT_TIME, DETECT_RADIUS, DETECT_RIGHT_MASK, DETECT_Z_THRESHOLD, IS_TRUE, and waittill_any().
Referenced by on_localplayer_spawned().
function monitor_tracker_existing_players | ( | local_client_num | ) |
Definition at line 162 of file _perks.csc.
References monitor_tracker_perk(), and WAIT_CLIENT_FRAME.
Referenced by on_localplayer_spawned().
function monitor_tracker_perk | ( | local_client_num | ) |
Definition at line 235 of file _perks.csc.
References GADGET_CAMO_SHADER_OFF, get(), getTrackerFXPosition(), TRACKER_FX_FOOT_DISTANCE_SQ, TRACKER_FX_FOOT_HEIGHT, and tracker_playFX().
Referenced by __init__(), monitor_tracker_existing_players(), and on_player_spawned().
function monitor_tracker_perk_killcam | ( | local_client_num | ) |
Definition at line 178 of file _perks.csc.
References getTrackerFXPosition(), serverTime(), TRACKER_KILLCAM_COUNT, TRACKER_KILLCAM_TIME, and tracker_playFX().
Referenced by on_localplayer_spawned().
function on_local_client_connect | ( | local_client_num | ) |
Definition at line 97 of file _perks.csc.
References TRAIL_FX_FLY_L, TRAIL_FX_FLY_L_FAST, TRAIL_FX_FLY_R, TRAIL_FX_FLY_R_FAST, TRAIL_FX_FOOT_L, TRAIL_FX_FOOT_L_FAST, TRAIL_FX_FOOT_R, and TRAIL_FX_FOOT_R_FAST.
Referenced by __init__().
function on_localplayer_spawned | ( | local_client_num | ) |
Definition at line 109 of file _perks.csc.
References monitor_detectnearbyenemies(), monitor_tracker_existing_players(), and monitor_tracker_perk_killcam().
Referenced by __init__(), and __main__().
function on_player_spawned | ( | local_client_num | ) |
Definition at line 119 of file _perks.csc.
References killTrackerFX_on_death(), monitor_tracker_perk(), and updateSitrepScan().
Referenced by __init__().
function tracker_playFX | ( | local_client_num | , |
positionAndRotationStruct | |||
) |
Definition at line 289 of file _perks.csc.
References killTrackerFX_track().
Referenced by monitor_tracker_perk(), and monitor_tracker_perk_killcam().
function updateSitrepScan | ( | ) |
Definition at line 68 of file _perks.csc.
Referenced by on_player_spawned().