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

Go to the source code of this file.

Macros

#define ANIMTREE   "generic"
 
#define DAMAGE_FILTER_MIN_TIME   500
 

Functions

function __init__ ()
 
function aircraft_crash (point, dir)
 
function aircraft_crash_move (point, dir)
 
function barrel_rolling_crash ()
 
function boat_crash (point, dir)
 
function boat_crash_monitor (point, dir, crash_time)
 
function boat_crash_movement (point, dir)
 
function CleanUp ()
 
function crash_collision_test ()
 
function crash_path_check (node)
 
function crash_stop ()
 
function death_cleanup_level_variables ()
 
function death_cleanup_riders ()
 
function death_fire_loop_audio ()
 
function death_firesound (sound)
 
function death_fx ()
 
function death_jolt (type)
 
function death_make_badplace (type)
 
function death_radius_damage (meansOfDamage="MOD_EXPLOSIVE")
 
function death_update_crash (point, dir)
 
function deathfx_ent ()
 
function deathrolloff ()
 
function deathrollon ()
 
function delay_set_gravity (delay)
 
function DelayedRemove_thread (time, shouldDelete)
 
function DeleteWhenSafe (time=4)
 
function do_scripted_crash ()
 
function flipping_shooting_crash_accel ()
 
function flipping_shooting_crash_movement (attacker, hitdir)
 
function flipping_shooting_death (attacker, hitDir)
 
function flipping_shooting_dmg_snd ()
 
function FreeWhenSafe (time=4)
 
function helicopter_collision ()
 
function helicopter_crash (point, dir)
 
function helicopter_crash_accel ()
 
function helicopter_crash_move (point, dir)
 
function helicopter_crash_movement (point, dir)
 
function helicopter_crash_rotation (point, dir)
 
function helicopter_crash_zone_accel (dir)
 
function helicopter_explode (delete_me)
 
function loop_fx_on_vehicle_tag (effect, loopTime, tag)
 
function main ()
 
function plane_crash ()
 
function play_crashing_loop ()
 
function play_death_audio ()
 
function play_spinning_plane_sound ()
 
function random_crash (hitdir)
 
function set_death_model (sModel, fDelay)
 
function set_movement_and_accel (new_vel, ang_vel)
 
function vehicle_damage_filter (vision_set, heavy_damage_threshold, filterid=0, b_use_player_damage=false)
 
function vehicle_damage_filter_damage_watcher (driver, heavy_damage_threshold)
 
function vehicle_damage_filter_exit_watcher (driver)
 
function waittill_crash_done_or_stopped ()
 

Macro Definition Documentation

◆ ANIMTREE

#define ANIMTREE   "generic"

Definition at line 13 of file vehicle_death_shared.gsc.

◆ DAMAGE_FILTER_MIN_TIME

#define DAMAGE_FILTER_MIN_TIME   500

Definition at line 1349 of file vehicle_death_shared.gsc.

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 26 of file vehicle_death_shared.gsc.

◆ aircraft_crash()

function aircraft_crash ( point  ,
dir   
)

◆ aircraft_crash_move()

function aircraft_crash_move ( point  ,
dir   
)

Definition at line 645 of file vehicle_death_shared.gsc.

References crash_collision_test(), delay_set_gravity(), and WAIT_SERVER_FRAME.

Referenced by aircraft_crash().

◆ barrel_rolling_crash()

function barrel_rolling_crash ( )

◆ boat_crash()

function boat_crash ( point  ,
dir   
)

Definition at line 823 of file vehicle_death_shared.gsc.

References boat_crash_movement(), and WAIT_SERVER_FRAME.

Referenced by death_update_crash().

◆ boat_crash_monitor()

function boat_crash_monitor ( point  ,
dir  ,
crash_time   
)

Definition at line 893 of file vehicle_death_shared.gsc.

References crash_stop().

Referenced by boat_crash_movement().

◆ boat_crash_movement()

function boat_crash_movement ( point  ,
dir   
)

self SetVehVelocity( ( 0, 0, 0 ) );

Definition at line 844 of file vehicle_death_shared.gsc.

References boat_crash_monitor(), VEC_SET_X, VEC_SET_Y, and WAIT_SERVER_FRAME.

Referenced by boat_crash().

◆ CleanUp()

function CleanUp ( )

Definition at line 1795 of file vehicle_death_shared.gsc.

Referenced by quadtank_death(), and state_death_update().

◆ crash_collision_test()

function crash_collision_test ( )

◆ crash_path_check()

function crash_path_check ( node  )

Definition at line 961 of file vehicle_death_shared.gsc.

References path_detour_get_detourpath().

Referenced by death_update_crash().

◆ crash_stop()

function crash_stop ( )

◆ death_cleanup_level_variables()

function death_cleanup_level_variables ( )

◆ death_cleanup_riders()

function death_cleanup_riders ( )

Definition at line 1176 of file vehicle_death_shared.gsc.

References is_corpse().

Referenced by main().

◆ death_fire_loop_audio()

function death_fire_loop_audio ( )

Definition at line 1747 of file vehicle_death_shared.gsc.

References Spawn().

Referenced by nudge_collision().

◆ death_firesound()

function death_firesound ( sound  )

Definition at line 1007 of file vehicle_death_shared.gsc.

References loop_on_tag(), and waittill_any().

◆ death_fx()

function death_fx ( )

◆ death_jolt()

function death_jolt ( type  )

Definition at line 1062 of file vehicle_death_shared.gsc.

References IS_TRUE.

Referenced by main().

◆ death_make_badplace()

function death_make_badplace ( type  )

Definition at line 1041 of file vehicle_death_shared.gsc.

References delay().

Referenced by main().

◆ death_radius_damage()

◆ death_update_crash()

function death_update_crash ( point  ,
dir   
)

◆ deathfx_ent()

function deathfx_ent ( )

Definition at line 1123 of file vehicle_death_shared.gsc.

References Spawn().

Referenced by loop_fx_on_vehicle_tag().

◆ deathrolloff()

function deathrolloff ( )

Definition at line 1102 of file vehicle_death_shared.gsc.

Referenced by paths().

◆ deathrollon()

function deathrollon ( )

Definition at line 1094 of file vehicle_death_shared.gsc.

Referenced by paths().

◆ delay_set_gravity()

function delay_set_gravity ( delay  )

Definition at line 753 of file vehicle_death_shared.gsc.

References delay().

Referenced by aircraft_crash_move().

◆ DelayedRemove_thread()

function DelayedRemove_thread ( time  ,
shouldDelete   
)

Definition at line 1766 of file vehicle_death_shared.gsc.

References waitForTimeAndNetworkFrame().

Referenced by DeleteWhenSafe(), and FreeWhenSafe().

◆ DeleteWhenSafe()

◆ do_scripted_crash()

function do_scripted_crash ( )

Definition at line 230 of file vehicle_death_shared.gsc.

References IS_TRUE.

Referenced by main().

◆ flipping_shooting_crash_accel()

function flipping_shooting_crash_accel ( )

Definition at line 1687 of file vehicle_death_shared.gsc.

Referenced by set_movement_and_accel().

◆ flipping_shooting_crash_movement()

function flipping_shooting_crash_movement ( attacker  ,
hitdir   
)

Definition at line 1641 of file vehicle_death_shared.gsc.

References barrel_rolling_crash(), plane_crash(), and random_crash().

Referenced by flipping_shooting_death().

◆ flipping_shooting_death()

◆ flipping_shooting_dmg_snd()

function flipping_shooting_dmg_snd ( )

Definition at line 1676 of file vehicle_death_shared.gsc.

References Spawn(), and waittill_any().

Referenced by set_movement_and_accel().

◆ FreeWhenSafe()

function FreeWhenSafe ( time  = 4)

Definition at line 1756 of file vehicle_death_shared.gsc.

References DelayedRemove_thread().

Referenced by default_death(), quadtank_death(), and state_death_update().

◆ helicopter_collision()

function helicopter_collision ( )

Definition at line 594 of file vehicle_death_shared.gsc.

◆ helicopter_crash()

function helicopter_crash ( point  ,
dir   
)

◆ helicopter_crash_accel()

function helicopter_crash_accel ( )

Definition at line 433 of file vehicle_death_shared.gsc.

Referenced by helicopter_crash_movement().

◆ helicopter_crash_move()

function helicopter_crash_move ( point  ,
dir   
)

Definition at line 763 of file vehicle_death_shared.gsc.

References crash_collision_test(), and WAIT_SERVER_FRAME.

◆ helicopter_crash_movement()

function helicopter_crash_movement ( point  ,
dir   
)

◆ helicopter_crash_rotation()

function helicopter_crash_rotation ( point  ,
dir   
)

Definition at line 451 of file vehicle_death_shared.gsc.

References VEC_SET_X, VEC_SET_Z, and WAIT_SERVER_FRAME.

Referenced by helicopter_crash_movement().

◆ helicopter_crash_zone_accel()

function helicopter_crash_zone_accel ( dir  )

Definition at line 509 of file vehicle_death_shared.gsc.

References sign().

Referenced by helicopter_crash_movement().

◆ helicopter_explode()

function helicopter_explode ( delete_me  )

Definition at line 631 of file vehicle_death_shared.gsc.

References do_death_fx(), and set_death_model().

Referenced by crash_collision_test(), and death_update_crash().

◆ loop_fx_on_vehicle_tag()

function loop_fx_on_vehicle_tag ( effect  ,
loopTime  ,
tag   
)

Definition at line 1108 of file vehicle_death_shared.gsc.

References deathfx_ent().

◆ main()

◆ plane_crash()

function plane_crash ( )

◆ play_crashing_loop()

function play_crashing_loop ( )

Definition at line 622 of file vehicle_death_shared.gsc.

References Spawn(), and waittill_any().

Referenced by helicopter_crash().

◆ play_death_audio()

function play_death_audio ( )

Definition at line 235 of file vehicle_death_shared.gsc.

References IS_HELICOPTER.

Referenced by main().

◆ play_spinning_plane_sound()

function play_spinning_plane_sound ( )

Definition at line 251 of file vehicle_death_shared.gsc.

References waittill_any().

Referenced by aircraft_crash().

◆ random_crash()

function random_crash ( hitdir  )

◆ set_death_model()

◆ set_movement_and_accel()

◆ vehicle_damage_filter()

function vehicle_damage_filter ( vision_set  ,
heavy_damage_threshold  ,
filterid  = 0,
b_use_player_damage  = false 
)

◆ vehicle_damage_filter_damage_watcher()

function vehicle_damage_filter_damage_watcher ( driver  ,
heavy_damage_threshold   
)

Definition at line 1350 of file vehicle_death_shared.gsc.

References damage(), and DAMAGE_FILTER_MIN_TIME.

Referenced by vehicle_damage_filter().

◆ vehicle_damage_filter_exit_watcher()

function vehicle_damage_filter_exit_watcher ( driver  )

Definition at line 1387 of file vehicle_death_shared.gsc.

References waittill_any().

Referenced by vehicle_damage_filter().

◆ waittill_crash_done_or_stopped()

function waittill_crash_done_or_stopped ( )

Definition at line 1304 of file vehicle_death_shared.gsc.

References disconnect_paths(), IS_BOAT, and IS_PLANE.

Referenced by main().