![]() |
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 | FLASH_FADE_IN_TIME GetDvarFloat("scr_overdrive_flash_fade_in_time", 0.075) |
#define | FLASH_FADE_OUT_TIME GetDvarFloat("scr_overdrive_flash_fade_out_time", 0.45) |
#define | MAX_FLASH_ALPHA GetDvarFloat("scr_overdrive_flash_alpha", 0.7) |
#define | OVERDRIVE_BLUR_AMOUNT GetDvarFloat( "scr_overdrive_amount", 0.15 ) |
#define | OVERDRIVE_BLUR_INNER_RADIUS GetDvarFloat( "scr_overdrive_inner_radius", 0.6 ) |
#define | OVERDRIVE_BLUR_OUTER_RADIUS GetDvarFloat( "scr_overdrive_outer_radius", 1 ) |
#define | OVERDRIVE_BLUR_VELOCITY_SCALE GetDvarInt( "scr_overdrive_velScale", 220 ) |
#define | OVERDRIVE_BLUR_VELOCITY_SHOULDSCALE GetDvarInt( "scr_overdrive_velShouldScale", 1 ) |
#define | OVERDRIVE_BOOST_FX_DURATION GetDvarFloat("scr_overdrive_boost_fx_time", 0.75) |
#define | OVERDRIVE_SHOW_BOOST_SPEED_TOLERANCE GetDvarInt( "scr_overdrive_boost_speed_tol", 280 ) |
Functions | |
function | __init__ () |
function | activation_flash (localClientNum) |
function | boost_fx_on_velocity (localClientNum) |
function | enable_boost_camera_fx (localClientNum) |
function | on_localplayer_shutdown (localClientNum) |
function | on_localplayer_spawned (localClientNum) |
function | on_player_connect (local_client_num) |
function | overdrive_boost_fx_interrupt_handler (localClientNum) |
function | overdrive_shutdown (localClientNum) |
function | player_overdrive_handler (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
function | stop_boost_camera_fx (localClientNum) |
function | watch_stop_player_fx (localClientNum, fx) |
#define FLASH_FADE_IN_TIME GetDvarFloat("scr_overdrive_flash_fade_in_time", 0.075) |
Definition at line 23 of file _gadget_overdrive.csc.
#define FLASH_FADE_OUT_TIME GetDvarFloat("scr_overdrive_flash_fade_out_time", 0.45) |
Definition at line 24 of file _gadget_overdrive.csc.
#define MAX_FLASH_ALPHA GetDvarFloat("scr_overdrive_flash_alpha", 0.7) |
Definition at line 22 of file _gadget_overdrive.csc.
#define OVERDRIVE_BLUR_AMOUNT GetDvarFloat( "scr_overdrive_amount", 0.15 ) |
Definition at line 26 of file _gadget_overdrive.csc.
#define OVERDRIVE_BLUR_INNER_RADIUS GetDvarFloat( "scr_overdrive_inner_radius", 0.6 ) |
Definition at line 27 of file _gadget_overdrive.csc.
#define OVERDRIVE_BLUR_OUTER_RADIUS GetDvarFloat( "scr_overdrive_outer_radius", 1 ) |
Definition at line 28 of file _gadget_overdrive.csc.
#define OVERDRIVE_BLUR_VELOCITY_SCALE GetDvarInt( "scr_overdrive_velScale", 220 ) |
Definition at line 30 of file _gadget_overdrive.csc.
#define OVERDRIVE_BLUR_VELOCITY_SHOULDSCALE GetDvarInt( "scr_overdrive_velShouldScale", 1 ) |
Definition at line 29 of file _gadget_overdrive.csc.
#define OVERDRIVE_BOOST_FX_DURATION GetDvarFloat("scr_overdrive_boost_fx_time", 0.75) |
Definition at line 25 of file _gadget_overdrive.csc.
#define OVERDRIVE_SHOW_BOOST_SPEED_TOLERANCE GetDvarInt( "scr_overdrive_boost_speed_tol", 280 ) |
Definition at line 32 of file _gadget_overdrive.csc.
function __init__ | ( | ) |
Definition at line 41 of file _gadget_overdrive.csc.
References CF_CALLBACK_ZERO_ON_NEW_ENT, CF_HOST_ONLY, on_localclient_connect(), on_localclient_shutdown(), on_localplayer_shutdown(), on_localplayer_spawned(), on_player_connect(), OVERDRIVE_VISIONSET, OVERDRIVE_VISIONSET_ALIAS, OVERDRIVE_VISIONSET_STEPS, player_overdrive_handler(), register(), register_visionset_info(), and VERSION_SHIP.
function activation_flash | ( | localClientNum | ) |
Definition at line 96 of file _gadget_overdrive.csc.
References FLASH_FADE_IN_TIME, FLASH_FADE_OUT_TIME, MAX_FLASH_ALPHA, and screen_fade().
Referenced by player_overdrive_handler().
function boost_fx_on_velocity | ( | localClientNum | ) |
Definition at line 178 of file _gadget_overdrive.csc.
References enable_boost_camera_fx(), OVERDRIVE_BOOST_FX_DURATION, overdrive_boost_fx_interrupt_handler(), OVERDRIVE_SHOW_BOOST_SPEED_TOLERANCE, stop_boost_camera_fx(), and WAIT_CLIENT_FRAME.
Referenced by player_overdrive_handler().
function enable_boost_camera_fx | ( | localClientNum | ) |
Definition at line 113 of file _gadget_overdrive.csc.
References watch_stop_player_fx().
Referenced by boost_fx_on_velocity().
function on_localplayer_shutdown | ( | localClientNum | ) |
Definition at line 52 of file _gadget_overdrive.csc.
References overdrive_shutdown().
Referenced by __init__().
function on_localplayer_spawned | ( | localClientNum | ) |
Definition at line 58 of file _gadget_overdrive.csc.
References disable_filter_overdrive(), FILTER_INDEX_OVERDRIVE, and init_filter_overdrive().
Referenced by __init__().
function on_player_connect | ( | local_client_num | ) |
Definition at line 68 of file _gadget_overdrive.csc.
Referenced by __init__().
function overdrive_boost_fx_interrupt_handler | ( | localClientNum | ) |
Definition at line 151 of file _gadget_overdrive.csc.
References overdrive_shutdown(), and waittill_any().
Referenced by boost_fx_on_velocity().
function overdrive_shutdown | ( | localClientNum | ) |
Definition at line 164 of file _gadget_overdrive.csc.
References disable_filter_overdrive(), FILTER_INDEX_OVERDRIVE, and stop_boost_camera_fx().
Referenced by on_localplayer_shutdown(), overdrive_boost_fx_interrupt_handler(), and player_overdrive_handler().
function player_overdrive_handler | ( | localClientNum | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 73 of file _gadget_overdrive.csc.
References activation_flash(), boost_fx_on_velocity(), enable_filter_overdrive(), FILTER_INDEX_OVERDRIVE, OVERDRIVE_BLUR_AMOUNT, OVERDRIVE_BLUR_INNER_RADIUS, OVERDRIVE_BLUR_OUTER_RADIUS, OVERDRIVE_BLUR_VELOCITY_SCALE, OVERDRIVE_BLUR_VELOCITY_SHOULDSCALE, and overdrive_shutdown().
Referenced by __init__().
function stop_boost_camera_fx | ( | localClientNum | ) |
Definition at line 140 of file _gadget_overdrive.csc.
References FLASH_FADE_OUT_TIME, IS_TRUE, MAX_FLASH_ALPHA, and screen_fade().
Referenced by boost_fx_on_velocity(), and overdrive_shutdown().
function watch_stop_player_fx | ( | localClientNum | , |
fx | |||
) |
Definition at line 124 of file _gadget_overdrive.csc.
References waittill_any().
Referenced by enable_boost_camera_fx().