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

Go to the source code of this file.

Macros

#define HEATWAVE_DAMAGE_RATIO   .2
 
#define HEATWAVE_DURATION   250
 
#define HEATWAVE_EFFECT_DURATION   2.5
 
#define HEATWAVE_FX_HEIGHT   -30
 
#define HEATWAVE_GLASS_DAMAGE   400
 
#define HEATWAVE_GRACE_PERIOD   0
 
#define HEATWAVE_PROJECTILE_TRACE_Z   29
 
#define HEATWAVE_SPEED   2000
 
#define HEATWAVE_TRACE_Z_OFFSET   50
 

Functions

function __init__ ()
 
function apply_burn (weapon, entity, heatwave)
 
function gadget_heat_wave_flicker (slot, weapon)
 
function gadget_heat_wave_is_flickering (slot)
 
function gadget_heat_wave_is_inuse (slot)
 
function gadget_heat_wave_on_activate (slot, weapon)
 
function gadget_heat_wave_on_connect ()
 
function gadget_heat_wave_on_deactivate (slot, weapon)
 
function gadget_heat_wave_on_flicker (slot, weapon)
 
function gadget_heat_wave_on_give (slot, weapon)
 
function gadget_heat_wave_on_player_spawn ()
 
function gadget_heat_wave_on_take (slot, weapon)
 
function heat_wave_burn_entities (weapon, entity, heatwave)
 
function heat_wave_burn_sound (shellshock_duration)
 
function heat_wave_damage_entities (weapon, heatwave)
 
function heat_wave_damage_projectiles (weapon, heatwave)
 
function heat_wave_fx (origin, direction)
 
function heat_wave_fx_cleanup (fxOrg, direction)
 
function heat_wave_setup (weapon)
 
function heat_wave_think (slot, weapon)
 
function heat_wave_trace_entity (entity, heatwave)
 
function is_entity_valid (entity, heatwave)
 
function projectileExplode (projectile, heatwave, weapon)
 
function set_gadget_status (status, time)
 
function toggle_activate_clientfields ()
 
function update_last_burned_by (heatwave)
 
function updateDvars ()
 
function watch_burn_clear ()
 
function watch_entity_shutdown ()
 

Macro Definition Documentation

◆ HEATWAVE_DAMAGE_RATIO

#define HEATWAVE_DAMAGE_RATIO   .2

Definition at line 24 of file _gadget_heat_wave.gsc.

◆ HEATWAVE_DURATION

#define HEATWAVE_DURATION   250

Definition at line 29 of file _gadget_heat_wave.gsc.

◆ HEATWAVE_EFFECT_DURATION

#define HEATWAVE_EFFECT_DURATION   2.5

Definition at line 25 of file _gadget_heat_wave.gsc.

◆ HEATWAVE_FX_HEIGHT

#define HEATWAVE_FX_HEIGHT   -30

Definition at line 28 of file _gadget_heat_wave.gsc.

◆ HEATWAVE_GLASS_DAMAGE

#define HEATWAVE_GLASS_DAMAGE   400

Definition at line 31 of file _gadget_heat_wave.gsc.

◆ HEATWAVE_GRACE_PERIOD

#define HEATWAVE_GRACE_PERIOD   0

Definition at line 26 of file _gadget_heat_wave.gsc.

◆ HEATWAVE_PROJECTILE_TRACE_Z

#define HEATWAVE_PROJECTILE_TRACE_Z   29

Definition at line 32 of file _gadget_heat_wave.gsc.

◆ HEATWAVE_SPEED

#define HEATWAVE_SPEED   2000

Definition at line 30 of file _gadget_heat_wave.gsc.

◆ HEATWAVE_TRACE_Z_OFFSET

#define HEATWAVE_TRACE_Z_OFFSET   50

Definition at line 27 of file _gadget_heat_wave.gsc.

Function Documentation

◆ __init__()

◆ apply_burn()

◆ gadget_heat_wave_flicker()

function gadget_heat_wave_flicker ( slot  ,
weapon   
)

Definition at line 156 of file _gadget_heat_wave.gsc.

Referenced by gadget_heat_wave_on_flicker().

◆ gadget_heat_wave_is_flickering()

function gadget_heat_wave_is_flickering ( slot  )

Definition at line 82 of file _gadget_heat_wave.gsc.

Referenced by __init__().

◆ gadget_heat_wave_is_inuse()

function gadget_heat_wave_is_inuse ( slot  )

Definition at line 76 of file _gadget_heat_wave.gsc.

Referenced by __init__().

◆ gadget_heat_wave_on_activate()

◆ gadget_heat_wave_on_connect()

function gadget_heat_wave_on_connect ( )

Definition at line 106 of file _gadget_heat_wave.gsc.

Referenced by __init__().

◆ gadget_heat_wave_on_deactivate()

function gadget_heat_wave_on_deactivate ( slot  ,
weapon   
)

Definition at line 152 of file _gadget_heat_wave.gsc.

Referenced by __init__().

◆ gadget_heat_wave_on_flicker()

function gadget_heat_wave_on_flicker ( slot  ,
weapon   
)

Definition at line 88 of file _gadget_heat_wave.gsc.

References gadget_heat_wave_flicker().

Referenced by __init__().

◆ gadget_heat_wave_on_give()

function gadget_heat_wave_on_give ( slot  ,
weapon   
)

Definition at line 94 of file _gadget_heat_wave.gsc.

Referenced by __init__().

◆ gadget_heat_wave_on_player_spawn()

function gadget_heat_wave_on_player_spawn ( )

Definition at line 111 of file _gadget_heat_wave.gsc.

References set(), and watch_entity_shutdown().

Referenced by __init__().

◆ gadget_heat_wave_on_take()

function gadget_heat_wave_on_take ( slot  ,
weapon   
)

Definition at line 99 of file _gadget_heat_wave.gsc.

References set_to_player().

Referenced by __init__().

◆ heat_wave_burn_entities()

function heat_wave_burn_entities ( weapon  ,
entity  ,
heatwave   
)

Definition at line 317 of file _gadget_heat_wave.gsc.

References apply_burn(), and update_last_burned_by().

Referenced by heat_wave_damage_entities().

◆ heat_wave_burn_sound()

function heat_wave_burn_sound ( shellshock_duration  )

Definition at line 480 of file _gadget_heat_wave.gsc.

References spawn(), and wait_network_frame().

Referenced by apply_burn().

◆ heat_wave_damage_entities()

function heat_wave_damage_entities ( weapon  ,
heatwave   
)

◆ heat_wave_damage_projectiles()

function heat_wave_damage_projectiles ( weapon  ,
heatwave   
)

◆ heat_wave_fx()

function heat_wave_fx ( origin  ,
direction   
)

Definition at line 226 of file _gadget_heat_wave.gsc.

References heat_wave_fx_cleanup(), HEATWAVE_FX_HEIGHT, set(), and spawn().

Referenced by heat_wave_setup().

◆ heat_wave_fx_cleanup()

function heat_wave_fx_cleanup ( fxOrg  ,
direction   
)

Definition at line 214 of file _gadget_heat_wave.gsc.

References set(), and waittill_any().

Referenced by heat_wave_fx().

◆ heat_wave_setup()

function heat_wave_setup ( weapon  )

Definition at line 246 of file _gadget_heat_wave.gsc.

References heat_wave_fx().

Referenced by heat_wave_think().

◆ heat_wave_think()

function heat_wave_think ( slot  ,
weapon   
)

◆ heat_wave_trace_entity()

function heat_wave_trace_entity ( entity  ,
heatwave   
)

Definition at line 203 of file _gadget_heat_wave.gsc.

References HEATWAVE_TRACE_Z_OFFSET.

Referenced by is_entity_valid().

◆ is_entity_valid()

function is_entity_valid ( entity  ,
heatwave   
)

Definition at line 173 of file _gadget_heat_wave.gsc.

References heat_wave_trace_entity(), and mayApplyScreenEffect().

Referenced by heat_wave_damage_entities().

◆ projectileExplode()

function projectileExplode ( projectile  ,
heatwave  ,
weapon   
)

Definition at line 432 of file _gadget_heat_wave.gsc.

Referenced by heat_wave_damage_projectiles().

◆ set_gadget_status()

function set_gadget_status ( status  ,
time   
)

Definition at line 160 of file _gadget_heat_wave.gsc.

◆ toggle_activate_clientfields()

function toggle_activate_clientfields ( )

Definition at line 140 of file _gadget_heat_wave.gsc.

References set_to_player(), and wait_network_frame().

Referenced by gadget_heat_wave_on_activate().

◆ update_last_burned_by()

function update_last_burned_by ( heatwave  )

Definition at line 470 of file _gadget_heat_wave.gsc.

References HEATWAVE_DURATION.

Referenced by heat_wave_burn_entities(), and heat_wave_damage_entities().

◆ updateDvars()

function updateDvars ( )

Definition at line 68 of file _gadget_heat_wave.gsc.

◆ watch_burn_clear()

function watch_burn_clear ( )

Definition at line 460 of file _gadget_heat_wave.gsc.

References set(), and wait_network_frame().

Referenced by apply_burn().

◆ watch_entity_shutdown()

function watch_entity_shutdown ( )