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

Go to the source code of this file.

Macros

#define MICROWAVE_TURRET_FX   "killstreaks/fx_sg_distortion_cone_ash"
 
#define MICROWAVE_TURRET_FX_CHECK_TIME   ( 1.0 )
 
#define MICROWAVE_TURRET_FX_HALF   "killstreaks/fx_sg_distortion_cone_ash_sm"
 
#define MICROWAVE_TURRET_FX_HALF_SIZE   ( 125 )
 
#define MICROWAVE_TURRET_FX_SIZE   ( 200 )
 
#define MICROWAVE_TURRET_FX_TRACE   ( MICROWAVE_TURRET_RADIUS + 40 )
 
#define MICROWAVE_TURRET_FX_TRACE_ANGLE   ( 55 )
 
#define MICROWAVE_TURRET_ROW_SPREAD   ( 150 )
 
#define MICROWAVE_TURRET_STUN_FX   "killstreaks/fx_sg_emp_stun"
 

Functions

function __init__ ()
 
function CleanupFx (localClientNum, microwaveFXEnt)
 
function debug_trace (origin, trace)
 
function microwave_close_anim (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function microwave_init_anim (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function microwave_open (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function MicrowaveFxHash (trace, origin, name)
 
function play_fx_on_tag (localClientNum, fxName, tag)
 
function PlayMicrowaveFx (localCLientNum, trace, traceRight, traceLeft, origin)
 
function render_debug_sphere (tag, color, fxName)
 
function StartMicrowaveFx (localClientNum)
 
function stop_fx_on_tag (localClientNum, fxName, tag)
 
function stop_or_start_fx (localClientNum, fxName, tag, start)
 
function turret_microwave_sound_off_waiter (localClientNum)
 
function turret_microwave_sound_start (localClientNum)
 
function turret_microwave_sound_updater ()
 
function turret_microwave_sounds (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function UpdateMicrowaveAim (microwaveFXEnt)
 

Macro Definition Documentation

◆ MICROWAVE_TURRET_FX

#define MICROWAVE_TURRET_FX   "killstreaks/fx_sg_distortion_cone_ash"

Definition at line 18 of file _microwave_turret.csc.

◆ MICROWAVE_TURRET_FX_CHECK_TIME

#define MICROWAVE_TURRET_FX_CHECK_TIME   ( 1.0 )

Definition at line 22 of file _microwave_turret.csc.

◆ MICROWAVE_TURRET_FX_HALF

#define MICROWAVE_TURRET_FX_HALF   "killstreaks/fx_sg_distortion_cone_ash_sm"

Definition at line 19 of file _microwave_turret.csc.

◆ MICROWAVE_TURRET_FX_HALF_SIZE

#define MICROWAVE_TURRET_FX_HALF_SIZE   ( 125 )

Definition at line 16 of file _microwave_turret.csc.

◆ MICROWAVE_TURRET_FX_SIZE

#define MICROWAVE_TURRET_FX_SIZE   ( 200 )

Definition at line 15 of file _microwave_turret.csc.

◆ MICROWAVE_TURRET_FX_TRACE

#define MICROWAVE_TURRET_FX_TRACE   ( MICROWAVE_TURRET_RADIUS + 40 )

Definition at line 17 of file _microwave_turret.csc.

◆ MICROWAVE_TURRET_FX_TRACE_ANGLE

#define MICROWAVE_TURRET_FX_TRACE_ANGLE   ( 55 )

Definition at line 21 of file _microwave_turret.csc.

◆ MICROWAVE_TURRET_ROW_SPREAD

#define MICROWAVE_TURRET_ROW_SPREAD   ( 150 )

Definition at line 14 of file _microwave_turret.csc.

◆ MICROWAVE_TURRET_STUN_FX

#define MICROWAVE_TURRET_STUN_FX   "killstreaks/fx_sg_emp_stun"

Definition at line 20 of file _microwave_turret.csc.

Function Documentation

◆ __init__()

◆ CleanupFx()

function CleanupFx ( localClientNum  ,
microwaveFXEnt   
)

Definition at line 333 of file _microwave_turret.csc.

References waittill_any().

Referenced by StartMicrowaveFx().

◆ debug_trace()

function debug_trace ( origin  ,
trace   
)

Definition at line 168 of file _microwave_turret.csc.

References debug_line(), and trace().

Referenced by StartMicrowaveFx().

◆ microwave_close_anim()

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

Definition at line 158 of file _microwave_turret.csc.

Referenced by __init__().

◆ microwave_init_anim()

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

Definition at line 128 of file _microwave_turret.csc.

Referenced by __init__().

◆ microwave_open()

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

Definition at line 138 of file _microwave_turret.csc.

References StartMicrowaveFx().

Referenced by __init__().

◆ MicrowaveFxHash()

function MicrowaveFxHash ( trace  ,
origin  ,
name   
)

◆ play_fx_on_tag()

function play_fx_on_tag ( localClientNum  ,
fxName  ,
tag   
)

Definition at line 348 of file _microwave_turret.csc.

References stop_fx_on_tag().

Referenced by PlayMicrowaveFx(), and stop_or_start_fx().

◆ PlayMicrowaveFx()

function PlayMicrowaveFx ( localCLientNum  ,
trace  ,
traceRight  ,
traceLeft  ,
origin   
)

◆ render_debug_sphere()

function render_debug_sphere ( tag  ,
color  ,
fxName   
)

Definition at line 371 of file _microwave_turret.csc.

Referenced by stop_or_start_fx().

◆ StartMicrowaveFx()

◆ stop_fx_on_tag()

function stop_fx_on_tag ( localClientNum  ,
fxName  ,
tag   
)

Definition at line 359 of file _microwave_turret.csc.

Referenced by play_fx_on_tag(), and stop_or_start_fx().

◆ stop_or_start_fx()

function stop_or_start_fx ( localClientNum  ,
fxName  ,
tag  ,
start   
)

◆ turret_microwave_sound_off_waiter()

function turret_microwave_sound_off_waiter ( localClientNum  )

Definition at line 82 of file _microwave_turret.csc.

References IS_EQUAL, and waittill_any().

Referenced by turret_microwave_sound_start().

◆ turret_microwave_sound_start()

function turret_microwave_sound_start ( localClientNum  )

◆ turret_microwave_sound_updater()

function turret_microwave_sound_updater ( )

Definition at line 97 of file _microwave_turret.csc.

References trace().

Referenced by turret_microwave_sound_start().

◆ turret_microwave_sounds()

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

◆ UpdateMicrowaveAim()

function UpdateMicrowaveAim ( microwaveFXEnt  )

Definition at line 276 of file _microwave_turret.csc.

Referenced by StartMicrowaveFx().