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

Go to the source code of this file.

Macros

#define CONCUSSIVE_DAMAGE_RADIUS_LG   280
 
#define CONCUSSIVE_DAMAGE_RADIUS_SM   220
 
#define CONCUSSIVE_EXPLOSION_DMG_MAX   300
 
#define CONCUSSIVE_EXPLOSION_DMG_MIN   50
 
#define ELECTRICAL_DAMAGE_RADIUS_LG   60
 
#define ELECTRICAL_DAMAGE_RADIUS_SM   210
 
#define ELECTRICAL_EXPLOSION_DMG_MAX   350
 
#define ELECTRICAL_EXPLOSION_DMG_MIN   80
 
#define EXPLODE_COMPLEX   300
 
#define INCENDIARY_DAMAGE_RADIUS_LG   250
 
#define INCENDIARY_DAMAGE_RADIUS_SM   200
 
#define INCENDIARY_EXPLOSION_DMG_MAX   380
 
#define INCENDIARY_EXPLOSION_DMG_MIN   95
 

Functions

function __init__ ()
 
function breakAfter (time, damage, piece)
 
function CodeCallback_DestructibleEvent (event, param1, param2, param3, param4)
 
function complex_explosion (attacker, max_radius)
 
function destructible_car_death_notify ()
 
function destructible_car_death_think ()
 
function destructible_car_explosion (attacker, physics_explosion)
 
function destructible_car_fire_think (attacker)
 
function destructible_car_grenade_stuck_explode (missile)
 
function destructible_car_grenade_stuck_think ()
 
function destructible_car_hacked_c4 (car)
 
function destructible_event_callback (destructible_event, attacker, weapon)
 
function explosive_concussive_explosion (attacker, explosion_radius, physics_explosion)
 
function explosive_electrical_explosion (attacker, explosion_radius, physics_explosion)
 
function explosive_incendiary_explosion (attacker, explosion_radius, physics_explosion)
 
function get_unused_explosion ()
 
function init_explosions ()
 
function physics_explosion_and_rumble (origin, radius, physics_explosion)
 
function simple_explosion (attacker)
 
function simple_timed_explosion (destructible_event, attacker)
 

Macro Definition Documentation

◆ CONCUSSIVE_DAMAGE_RADIUS_LG

#define CONCUSSIVE_DAMAGE_RADIUS_LG   280

Definition at line 22 of file _destructible.gsc.

◆ CONCUSSIVE_DAMAGE_RADIUS_SM

#define CONCUSSIVE_DAMAGE_RADIUS_SM   220

Definition at line 23 of file _destructible.gsc.

◆ CONCUSSIVE_EXPLOSION_DMG_MAX

#define CONCUSSIVE_EXPLOSION_DMG_MAX   300

Definition at line 30 of file _destructible.gsc.

◆ CONCUSSIVE_EXPLOSION_DMG_MIN

#define CONCUSSIVE_EXPLOSION_DMG_MIN   50

Definition at line 29 of file _destructible.gsc.

◆ ELECTRICAL_DAMAGE_RADIUS_LG

#define ELECTRICAL_DAMAGE_RADIUS_LG   60

Definition at line 24 of file _destructible.gsc.

◆ ELECTRICAL_DAMAGE_RADIUS_SM

#define ELECTRICAL_DAMAGE_RADIUS_SM   210

Definition at line 25 of file _destructible.gsc.

◆ ELECTRICAL_EXPLOSION_DMG_MAX

#define ELECTRICAL_EXPLOSION_DMG_MAX   350

Definition at line 32 of file _destructible.gsc.

◆ ELECTRICAL_EXPLOSION_DMG_MIN

#define ELECTRICAL_EXPLOSION_DMG_MIN   80

Definition at line 31 of file _destructible.gsc.

◆ EXPLODE_COMPLEX

#define EXPLODE_COMPLEX   300

Definition at line 21 of file _destructible.gsc.

◆ INCENDIARY_DAMAGE_RADIUS_LG

#define INCENDIARY_DAMAGE_RADIUS_LG   250

Definition at line 26 of file _destructible.gsc.

◆ INCENDIARY_DAMAGE_RADIUS_SM

#define INCENDIARY_DAMAGE_RADIUS_SM   200

Definition at line 27 of file _destructible.gsc.

◆ INCENDIARY_EXPLOSION_DMG_MAX

#define INCENDIARY_EXPLOSION_DMG_MAX   380

Definition at line 34 of file _destructible.gsc.

◆ INCENDIARY_EXPLOSION_DMG_MIN

#define INCENDIARY_EXPLOSION_DMG_MIN   95

Definition at line 33 of file _destructible.gsc.

Function Documentation

◆ __init__()

◆ breakAfter()

function breakAfter ( time  ,
damage  ,
piece   
)

Definition at line 479 of file _destructible.gsc.

References damage().

◆ CodeCallback_DestructibleEvent()

function CodeCallback_DestructibleEvent ( event  ,
param1  ,
param2  ,
param3  ,
param4   
)

Definition at line 457 of file _destructible.gsc.

References breakAfter(), damage(), and destructible_event_callback().

◆ complex_explosion()

function complex_explosion ( attacker  ,
max_radius   
)

Definition at line 296 of file _destructible.gsc.

References physics_explosion_and_rumble().

◆ destructible_car_death_notify()

function destructible_car_death_notify ( )

Definition at line 440 of file _destructible.gsc.

Referenced by destructible_car_death_think().

◆ destructible_car_death_think()

function destructible_car_death_think ( )

Definition at line 361 of file _destructible.gsc.

References destructible_car_death_notify(), and destructible_car_explosion().

Referenced by __init__().

◆ destructible_car_explosion()

function destructible_car_explosion ( attacker  ,
physics_explosion   
)

◆ destructible_car_fire_think()

function destructible_car_fire_think ( attacker  )

Definition at line 448 of file _destructible.gsc.

References destructible_car_explosion().

Referenced by destructible_event_callback().

◆ destructible_car_grenade_stuck_explode()

function destructible_car_grenade_stuck_explode ( missile  )

◆ destructible_car_grenade_stuck_think()

function destructible_car_grenade_stuck_think ( )

Definition at line 376 of file _destructible.gsc.

References destructible_car_grenade_stuck_explode().

Referenced by __init__().

◆ destructible_car_hacked_c4()

function destructible_car_hacked_c4 ( car  )

◆ destructible_event_callback()

◆ explosive_concussive_explosion()

function explosive_concussive_explosion ( attacker  ,
explosion_radius  ,
physics_explosion   
)

◆ explosive_electrical_explosion()

function explosive_electrical_explosion ( attacker  ,
explosion_radius  ,
physics_explosion   
)

◆ explosive_incendiary_explosion()

function explosive_incendiary_explosion ( attacker  ,
explosion_radius  ,
physics_explosion   
)

◆ get_unused_explosion()

function get_unused_explosion ( )

Definition at line 78 of file _destructible.gsc.

References IS_TRUE.

◆ init_explosions()

function init_explosions ( )

Definition at line 63 of file _destructible.gsc.

References ARRAY_ADD, and Spawn().

◆ physics_explosion_and_rumble()

function physics_explosion_and_rumble ( origin  ,
radius  ,
physics_explosion   
)

◆ simple_explosion()

function simple_explosion ( attacker  )

Definition at line 257 of file _destructible.gsc.

References physics_explosion_and_rumble().

◆ simple_timed_explosion()

function simple_timed_explosion ( destructible_event  ,
attacker   
)

Definition at line 272 of file _destructible.gsc.

References simple_explosion().