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

Go to the source code of this file.

Macros

#define N_RAYGUN_MARK3_VORTEX_ENTER_DURATION   0.25
 
#define N_RAYGUN_MARK3_VORTEX_EXIT_DURATION   0.25
 
#define N_RAYGUN_MARK3_VORTEX_LOOP_DURATION   2.0
 
#define N_RAYGUN_MARK3_VORTEX_Z_OFFSET   32
 
#define N_RAYGUN_MARK3LH_SLOWDOWN_DURATION   2.0
 
#define N_RAYGUN_MARK3LH_SLOWDOWN_RATE   0.7
 
#define N_RAYGUN_MARK3LH_UPGRADED_SLOWDOWN_DURATION   3.0
 
#define N_RAYGUN_MARK3LH_UPGRADED_SLOWDOWN_RATE   0.5
 
#define N_RAYGUN_MARK3LH_UPGRADED_VORTEX_DURATION   3000
 
#define N_RAYGUN_MARK3LH_UPGRADED_VORTEX_PULSE_DAMAGE_LG   5000
 
#define N_RAYGUN_MARK3LH_UPGRADED_VORTEX_PULSE_DAMAGE_SM   100
 
#define N_RAYGUN_MARK3LH_VORTEX_DURATION   3000
 
#define N_RAYGUN_MARK3LH_VORTEX_PULSE_DAMAGE_LG   1000
 
#define N_RAYGUN_MARK3LH_VORTEX_PULSE_DAMAGE_SM   50
 
#define N_RAYGUN_MARK3LH_VORTEX_PULSE_INTERVAL   0.5
 
#define N_RAYGUN_MARK3LH_VORTEX_RANGE_LG   128
 
#define N_RAYGUN_MARK3LH_VORTEX_RANGE_SM   128
 

Functions

function __init__ ()
 
function __main__ ()
 
function apply_vortex_fx (n_damage_type, n_time)
 
function disintegrate_zombie (e_inflictor, e_attacker, w_weapon)
 
function is_beam_raygun (weapon)
 
function is_slow_raygun (weapon)
 
function player_vortex_visionset ()
 
function pulse_damage (e_owner, w_weapon)
 
function raygun_mark3_damage_response (str_mod, str_hit_location, v_hit_origin, e_player, n_amount, w_weapon, v_direction, str_tag, str_model, str_part, n_flags, e_inflictor, n_chargeLevel)
 
function raygun_vortex_reposition (v_impact_origin)
 
function start_slow_vortex (w_weapon, v_pos, v_pos_final, n_radius, e_attacker, v_normal)
 
function wait_for_beam_damage ()
 
function watch_raygun_impact ()
 

Macro Definition Documentation

◆ N_RAYGUN_MARK3_VORTEX_ENTER_DURATION

#define N_RAYGUN_MARK3_VORTEX_ENTER_DURATION   0.25

Definition at line 49 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3_VORTEX_EXIT_DURATION

#define N_RAYGUN_MARK3_VORTEX_EXIT_DURATION   0.25

Definition at line 51 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3_VORTEX_LOOP_DURATION

#define N_RAYGUN_MARK3_VORTEX_LOOP_DURATION   2.0

Definition at line 50 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3_VORTEX_Z_OFFSET

#define N_RAYGUN_MARK3_VORTEX_Z_OFFSET   32

Definition at line 45 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_SLOWDOWN_DURATION

#define N_RAYGUN_MARK3LH_SLOWDOWN_DURATION   2.0

Definition at line 32 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_SLOWDOWN_RATE

#define N_RAYGUN_MARK3LH_SLOWDOWN_RATE   0.7

Definition at line 29 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_UPGRADED_SLOWDOWN_DURATION

#define N_RAYGUN_MARK3LH_UPGRADED_SLOWDOWN_DURATION   3.0

Definition at line 33 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_UPGRADED_SLOWDOWN_RATE

#define N_RAYGUN_MARK3LH_UPGRADED_SLOWDOWN_RATE   0.5

Definition at line 30 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_UPGRADED_VORTEX_DURATION

#define N_RAYGUN_MARK3LH_UPGRADED_VORTEX_DURATION   3000

Definition at line 27 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_UPGRADED_VORTEX_PULSE_DAMAGE_LG

#define N_RAYGUN_MARK3LH_UPGRADED_VORTEX_PULSE_DAMAGE_LG   5000

Definition at line 43 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_UPGRADED_VORTEX_PULSE_DAMAGE_SM

#define N_RAYGUN_MARK3LH_UPGRADED_VORTEX_PULSE_DAMAGE_SM   100

Definition at line 42 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_VORTEX_DURATION

#define N_RAYGUN_MARK3LH_VORTEX_DURATION   3000

Definition at line 26 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_VORTEX_PULSE_DAMAGE_LG

#define N_RAYGUN_MARK3LH_VORTEX_PULSE_DAMAGE_LG   1000

Definition at line 41 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_VORTEX_PULSE_DAMAGE_SM

#define N_RAYGUN_MARK3LH_VORTEX_PULSE_DAMAGE_SM   50

Definition at line 40 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_VORTEX_PULSE_INTERVAL

#define N_RAYGUN_MARK3LH_VORTEX_PULSE_INTERVAL   0.5

Definition at line 38 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_VORTEX_RANGE_LG

#define N_RAYGUN_MARK3LH_VORTEX_RANGE_LG   128

Definition at line 36 of file _zm_weap_raygun_mark3.gsc.

◆ N_RAYGUN_MARK3LH_VORTEX_RANGE_SM

#define N_RAYGUN_MARK3LH_VORTEX_RANGE_SM   128

Definition at line 35 of file _zm_weap_raygun_mark3.gsc.

Function Documentation

◆ __init__()

◆ __main__()

function __main__ ( )

Definition at line 87 of file _zm_weap_raygun_mark3.gsc.

◆ apply_vortex_fx()

function apply_vortex_fx ( n_damage_type  ,
n_time   
)

◆ disintegrate_zombie()

function disintegrate_zombie ( e_inflictor  ,
e_attacker  ,
w_weapon   
)

Definition at line 398 of file _zm_weap_raygun_mark3.gsc.

References IS_TRUE, play(), set(), set_ignoreall(), and wait_network_frame().

Referenced by pulse_damage().

◆ is_beam_raygun()

function is_beam_raygun ( weapon  )

Definition at line 106 of file _zm_weap_raygun_mark3.gsc.

Referenced by wait_for_beam_damage().

◆ is_slow_raygun()

function is_slow_raygun ( weapon  )

Definition at line 94 of file _zm_weap_raygun_mark3.gsc.

Referenced by watch_raygun_impact().

◆ player_vortex_visionset()

function player_vortex_visionset ( )

◆ pulse_damage()

◆ raygun_mark3_damage_response()

function raygun_mark3_damage_response ( str_mod  ,
str_hit_location  ,
v_hit_origin  ,
e_player  ,
n_amount  ,
w_weapon  ,
v_direction  ,
str_tag  ,
str_model  ,
str_part  ,
n_flags  ,
e_inflictor  ,
n_chargeLevel   
)

◆ raygun_vortex_reposition()

function raygun_vortex_reposition ( v_impact_origin  )

Definition at line 118 of file _zm_weap_raygun_mark3.gsc.

References N_RAYGUN_MARK3_VORTEX_Z_OFFSET.

Referenced by watch_raygun_impact().

◆ start_slow_vortex()

function start_slow_vortex ( w_weapon  ,
v_pos  ,
v_pos_final  ,
n_radius  ,
e_attacker  ,
v_normal   
)

◆ wait_for_beam_damage()

function wait_for_beam_damage ( )

◆ watch_raygun_impact()

function watch_raygun_impact ( )