![]() |
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_unstoppableforce_flash_fade_in_time", 0.075) |
#define | FLASH_FADE_OUT_TIME GetDvarFloat("scr_unstoppableforce_flash_fade_out_time", 0.9) |
#define | MAX_FLASH_ALPHA GetDvarFloat("scr_unstoppableforce_flash_alpha", 0.6) |
#define | UNSTOPPABLEFORCE_ACTIVATION_DELAY GetDvarFloat( "scr_unstoppableforce_activation_delay", 0.35 ) |
#define | UNSTOPPABLEFORCE_BLUR_AMOUNT GetDvarFloat( "scr_unstoppableforce_amount", 0.15 ) |
#define | UNSTOPPABLEFORCE_BLUR_INNER_RADIUS GetDvarFloat( "scr_unstoppableforce_inner_radius", 0.6 ) |
#define | UNSTOPPABLEFORCE_BLUR_OUTER_RADIUS GetDvarFloat( "scr_unstoppableforce_outer_radius", 1 ) |
#define | UNSTOPPABLEFORCE_BLUR_VELOCITY_SCALE GetDvarInt( "scr_unstoppableforce_velScale", 220 ) |
#define | UNSTOPPABLEFORCE_BLUR_VELOCITY_SHOULDSCALE GetDvarInt( "scr_unstoppableforce_velShouldScale", 1 ) |
#define | UNSTOPPABLEFORCE_SHOW_BOOST_SPEED_TOLERANCE GetDvarInt( "scr_unstoppableforce_boost_speed_tol", 320 ) |
Functions | |
function | __init__ () |
function | activation_flash (localClientNum) |
function | boost_fx_interrupt_handler (localClientNum) |
function | boost_fx_on_velocity (localClientNum) |
function | enable_boost_camera_fx (localClientNum) |
function | on_localplayer_shutdown (localClientNum) |
function | player_unstoppableforce_handler (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
function | stop_boost_camera_fx (localClientNum) |
#define FLASH_FADE_IN_TIME GetDvarFloat("scr_unstoppableforce_flash_fade_in_time", 0.075) |
Definition at line 20 of file _gadget_unstoppable_force.csc.
#define FLASH_FADE_OUT_TIME GetDvarFloat("scr_unstoppableforce_flash_fade_out_time", 0.9) |
Definition at line 21 of file _gadget_unstoppable_force.csc.
#define MAX_FLASH_ALPHA GetDvarFloat("scr_unstoppableforce_flash_alpha", 0.6) |
Definition at line 19 of file _gadget_unstoppable_force.csc.
#define UNSTOPPABLEFORCE_ACTIVATION_DELAY GetDvarFloat( "scr_unstoppableforce_activation_delay", 0.35 ) |
Definition at line 30 of file _gadget_unstoppable_force.csc.
#define UNSTOPPABLEFORCE_BLUR_AMOUNT GetDvarFloat( "scr_unstoppableforce_amount", 0.15 ) |
Definition at line 22 of file _gadget_unstoppable_force.csc.
#define UNSTOPPABLEFORCE_BLUR_INNER_RADIUS GetDvarFloat( "scr_unstoppableforce_inner_radius", 0.6 ) |
Definition at line 23 of file _gadget_unstoppable_force.csc.
#define UNSTOPPABLEFORCE_BLUR_OUTER_RADIUS GetDvarFloat( "scr_unstoppableforce_outer_radius", 1 ) |
Definition at line 24 of file _gadget_unstoppable_force.csc.
#define UNSTOPPABLEFORCE_BLUR_VELOCITY_SCALE GetDvarInt( "scr_unstoppableforce_velScale", 220 ) |
Definition at line 26 of file _gadget_unstoppable_force.csc.
#define UNSTOPPABLEFORCE_BLUR_VELOCITY_SHOULDSCALE GetDvarInt( "scr_unstoppableforce_velShouldScale", 1 ) |
Definition at line 25 of file _gadget_unstoppable_force.csc.
#define UNSTOPPABLEFORCE_SHOW_BOOST_SPEED_TOLERANCE GetDvarInt( "scr_unstoppableforce_boost_speed_tol", 320 ) |
Definition at line 28 of file _gadget_unstoppable_force.csc.
function __init__ | ( | ) |
Definition at line 36 of file _gadget_unstoppable_force.csc.
References CF_CALLBACK_ZERO_ON_NEW_ENT, CF_HOST_ONLY, on_localclient_shutdown(), on_localplayer_shutdown(), player_unstoppableforce_handler(), register(), and VERSION_SHIP.
function activation_flash | ( | localClientNum | ) |
Definition at line 74 of file _gadget_unstoppable_force.csc.
References FLASH_FADE_IN_TIME, FLASH_FADE_OUT_TIME, MAX_FLASH_ALPHA, screen_fade(), UNSTOPPABLEFORCE_ACTIVATION_DELAY, and waittill_any_timeout().
Referenced by player_unstoppableforce_handler().
function boost_fx_interrupt_handler | ( | localClientNum | ) |
Definition at line 100 of file _gadget_unstoppable_force.csc.
References stop_boost_camera_fx(), and waittill_any().
Referenced by boost_fx_on_velocity().
function boost_fx_on_velocity | ( | localClientNum | ) |
Definition at line 112 of file _gadget_unstoppable_force.csc.
References boost_fx_interrupt_handler(), enable_boost_camera_fx(), stop_boost_camera_fx(), UNSTOPPABLEFORCE_SHOW_BOOST_SPEED_TOLERANCE, and WAIT_CLIENT_FRAME.
Referenced by player_unstoppableforce_handler().
function enable_boost_camera_fx | ( | localClientNum | ) |
Definition at line 84 of file _gadget_unstoppable_force.csc.
Referenced by boost_fx_on_velocity().
function on_localplayer_shutdown | ( | localClientNum | ) |
Definition at line 43 of file _gadget_unstoppable_force.csc.
References stop_boost_camera_fx().
Referenced by __init__().
function player_unstoppableforce_handler | ( | localClientNum | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 49 of file _gadget_unstoppable_force.csc.
References activation_flash(), boost_fx_on_velocity(), stop_boost_camera_fx(), UNSTOPPABLEFORCE_BLUR_AMOUNT, UNSTOPPABLEFORCE_BLUR_INNER_RADIUS, UNSTOPPABLEFORCE_BLUR_OUTER_RADIUS, UNSTOPPABLEFORCE_BLUR_VELOCITY_SCALE, and UNSTOPPABLEFORCE_BLUR_VELOCITY_SHOULDSCALE.
Referenced by __init__().
function stop_boost_camera_fx | ( | localClientNum | ) |
Definition at line 90 of file _gadget_unstoppable_force.csc.
Referenced by boost_fx_interrupt_handler(), boost_fx_on_velocity(), on_localplayer_shutdown(), and player_unstoppableforce_handler().