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

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)
 

Macro Definition Documentation

◆ FLASH_FADE_IN_TIME

#define FLASH_FADE_IN_TIME   GetDvarFloat("scr_unstoppableforce_flash_fade_in_time", 0.075)

Definition at line 20 of file _gadget_unstoppable_force.csc.

◆ FLASH_FADE_OUT_TIME

#define FLASH_FADE_OUT_TIME   GetDvarFloat("scr_unstoppableforce_flash_fade_out_time", 0.9)

Definition at line 21 of file _gadget_unstoppable_force.csc.

◆ MAX_FLASH_ALPHA

#define MAX_FLASH_ALPHA   GetDvarFloat("scr_unstoppableforce_flash_alpha", 0.6)

Definition at line 19 of file _gadget_unstoppable_force.csc.

◆ UNSTOPPABLEFORCE_ACTIVATION_DELAY

#define UNSTOPPABLEFORCE_ACTIVATION_DELAY   GetDvarFloat( "scr_unstoppableforce_activation_delay", 0.35 )

Definition at line 30 of file _gadget_unstoppable_force.csc.

◆ UNSTOPPABLEFORCE_BLUR_AMOUNT

#define UNSTOPPABLEFORCE_BLUR_AMOUNT   GetDvarFloat( "scr_unstoppableforce_amount", 0.15 )

Definition at line 22 of file _gadget_unstoppable_force.csc.

◆ UNSTOPPABLEFORCE_BLUR_INNER_RADIUS

#define UNSTOPPABLEFORCE_BLUR_INNER_RADIUS   GetDvarFloat( "scr_unstoppableforce_inner_radius", 0.6 )

Definition at line 23 of file _gadget_unstoppable_force.csc.

◆ UNSTOPPABLEFORCE_BLUR_OUTER_RADIUS

#define UNSTOPPABLEFORCE_BLUR_OUTER_RADIUS   GetDvarFloat( "scr_unstoppableforce_outer_radius", 1 )

Definition at line 24 of file _gadget_unstoppable_force.csc.

◆ UNSTOPPABLEFORCE_BLUR_VELOCITY_SCALE

#define UNSTOPPABLEFORCE_BLUR_VELOCITY_SCALE   GetDvarInt( "scr_unstoppableforce_velScale", 220 )

Definition at line 26 of file _gadget_unstoppable_force.csc.

◆ UNSTOPPABLEFORCE_BLUR_VELOCITY_SHOULDSCALE

#define UNSTOPPABLEFORCE_BLUR_VELOCITY_SHOULDSCALE   GetDvarInt( "scr_unstoppableforce_velShouldScale", 1 )

Definition at line 25 of file _gadget_unstoppable_force.csc.

◆ UNSTOPPABLEFORCE_SHOW_BOOST_SPEED_TOLERANCE

#define UNSTOPPABLEFORCE_SHOW_BOOST_SPEED_TOLERANCE   GetDvarInt( "scr_unstoppableforce_boost_speed_tol", 320 )

Definition at line 28 of file _gadget_unstoppable_force.csc.

Function Documentation

◆ __init__()

◆ activation_flash()

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

◆ boost_fx_on_velocity()

◆ enable_boost_camera_fx()

function enable_boost_camera_fx ( localClientNum  )

Definition at line 84 of file _gadget_unstoppable_force.csc.

Referenced by boost_fx_on_velocity().

◆ on_localplayer_shutdown()

function on_localplayer_shutdown ( localClientNum  )

Definition at line 43 of file _gadget_unstoppable_force.csc.

References stop_boost_camera_fx().

Referenced by __init__().

◆ player_unstoppableforce_handler()

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

◆ stop_boost_camera_fx()

function stop_boost_camera_fx ( localClientNum  )