‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_gadget_overdrive.csc File Reference

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)
 

Macro Definition Documentation

◆ FLASH_FADE_IN_TIME

#define FLASH_FADE_IN_TIME   GetDvarFloat("scr_overdrive_flash_fade_in_time", 0.075)

Definition at line 23 of file _gadget_overdrive.csc.

◆ FLASH_FADE_OUT_TIME

#define FLASH_FADE_OUT_TIME   GetDvarFloat("scr_overdrive_flash_fade_out_time", 0.45)

Definition at line 24 of file _gadget_overdrive.csc.

◆ MAX_FLASH_ALPHA

#define MAX_FLASH_ALPHA   GetDvarFloat("scr_overdrive_flash_alpha", 0.7)

Definition at line 22 of file _gadget_overdrive.csc.

◆ OVERDRIVE_BLUR_AMOUNT

#define OVERDRIVE_BLUR_AMOUNT   GetDvarFloat( "scr_overdrive_amount", 0.15 )

Definition at line 26 of file _gadget_overdrive.csc.

◆ OVERDRIVE_BLUR_INNER_RADIUS

#define OVERDRIVE_BLUR_INNER_RADIUS   GetDvarFloat( "scr_overdrive_inner_radius", 0.6 )

Definition at line 27 of file _gadget_overdrive.csc.

◆ OVERDRIVE_BLUR_OUTER_RADIUS

#define OVERDRIVE_BLUR_OUTER_RADIUS   GetDvarFloat( "scr_overdrive_outer_radius", 1 )

Definition at line 28 of file _gadget_overdrive.csc.

◆ OVERDRIVE_BLUR_VELOCITY_SCALE

#define OVERDRIVE_BLUR_VELOCITY_SCALE   GetDvarInt( "scr_overdrive_velScale", 220 )

Definition at line 30 of file _gadget_overdrive.csc.

◆ OVERDRIVE_BLUR_VELOCITY_SHOULDSCALE

#define OVERDRIVE_BLUR_VELOCITY_SHOULDSCALE   GetDvarInt( "scr_overdrive_velShouldScale", 1 )

Definition at line 29 of file _gadget_overdrive.csc.

◆ OVERDRIVE_BOOST_FX_DURATION

#define OVERDRIVE_BOOST_FX_DURATION   GetDvarFloat("scr_overdrive_boost_fx_time", 0.75)

Definition at line 25 of file _gadget_overdrive.csc.

◆ OVERDRIVE_SHOW_BOOST_SPEED_TOLERANCE

#define OVERDRIVE_SHOW_BOOST_SPEED_TOLERANCE   GetDvarInt( "scr_overdrive_boost_speed_tol", 280 )

Definition at line 32 of file _gadget_overdrive.csc.

Function Documentation

◆ __init__()

◆ activation_flash()

function activation_flash ( localClientNum  )

◆ boost_fx_on_velocity()

◆ enable_boost_camera_fx()

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().

◆ on_localplayer_shutdown()

function on_localplayer_shutdown ( localClientNum  )

Definition at line 52 of file _gadget_overdrive.csc.

References overdrive_shutdown().

Referenced by __init__().

◆ on_localplayer_spawned()

function on_localplayer_spawned ( localClientNum  )

◆ on_player_connect()

function on_player_connect ( local_client_num  )

Definition at line 68 of file _gadget_overdrive.csc.

Referenced by __init__().

◆ overdrive_boost_fx_interrupt_handler()

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().

◆ overdrive_shutdown()

function overdrive_shutdown ( localClientNum  )

◆ player_overdrive_handler()

function player_overdrive_handler ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

◆ stop_boost_camera_fx()

function stop_boost_camera_fx ( localClientNum  )

◆ watch_stop_player_fx()

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().