![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
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) |
#define MICROWAVE_TURRET_FX "killstreaks/fx_sg_distortion_cone_ash" |
Definition at line 18 of file _microwave_turret.csc.
#define MICROWAVE_TURRET_FX_CHECK_TIME ( 1.0 ) |
Definition at line 22 of file _microwave_turret.csc.
#define MICROWAVE_TURRET_FX_HALF "killstreaks/fx_sg_distortion_cone_ash_sm" |
Definition at line 19 of file _microwave_turret.csc.
#define MICROWAVE_TURRET_FX_HALF_SIZE ( 125 ) |
Definition at line 16 of file _microwave_turret.csc.
#define MICROWAVE_TURRET_FX_SIZE ( 200 ) |
Definition at line 15 of file _microwave_turret.csc.
#define MICROWAVE_TURRET_FX_TRACE ( MICROWAVE_TURRET_RADIUS + 40 ) |
Definition at line 17 of file _microwave_turret.csc.
#define MICROWAVE_TURRET_FX_TRACE_ANGLE ( 55 ) |
Definition at line 21 of file _microwave_turret.csc.
#define MICROWAVE_TURRET_ROW_SPREAD ( 150 ) |
Definition at line 14 of file _microwave_turret.csc.
#define MICROWAVE_TURRET_STUN_FX "killstreaks/fx_sg_emp_stun" |
Definition at line 20 of file _microwave_turret.csc.
function __init__ | ( | ) |
Definition at line 28 of file _microwave_turret.csc.
References CF_CALLBACK_ZERO_ON_NEW_ENT, CF_HOST_ONLY, microwave_close_anim(), microwave_init_anim(), microwave_open(), register(), and VERSION_SHIP.
function CleanupFx | ( | localClientNum | , |
microwaveFXEnt | |||
) |
Definition at line 333 of file _microwave_turret.csc.
References waittill_any().
Referenced by StartMicrowaveFx().
function debug_trace | ( | origin | , |
trace | |||
) |
Definition at line 168 of file _microwave_turret.csc.
References debug_line(), and trace().
Referenced by StartMicrowaveFx().
function microwave_close_anim | ( | localClientNum | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 158 of file _microwave_turret.csc.
Referenced by __init__().
function microwave_init_anim | ( | localClientNum | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 128 of file _microwave_turret.csc.
Referenced by __init__().
function microwave_open | ( | localClientNum | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 138 of file _microwave_turret.csc.
References StartMicrowaveFx().
Referenced by __init__().
Definition at line 298 of file _microwave_turret.csc.
References MICROWAVE_TURRET_FX_HALF_SIZE, MICROWAVE_TURRET_FX_SIZE, MICROWAVE_TURRET_ROW_SPREAD, name, SQR, and trace().
Referenced by StartMicrowaveFx().
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().
function PlayMicrowaveFx | ( | localCLientNum | , |
trace | , | ||
traceRight | , | ||
traceLeft | , | ||
origin | |||
) |
Definition at line 407 of file _microwave_turret.csc.
References MICROWAVE_TURRET_FX, MICROWAVE_TURRET_FX_HALF, MICROWAVE_TURRET_FX_HALF_SIZE, MICROWAVE_TURRET_FX_SIZE, MICROWAVE_TURRET_ROW_SPREAD, play_fx_on_tag(), SQR, stop_or_start_fx(), and trace().
Referenced by StartMicrowaveFx().
function render_debug_sphere | ( | tag | , |
color | , | ||
fxName | |||
) |
Definition at line 371 of file _microwave_turret.csc.
Referenced by stop_or_start_fx().
function StartMicrowaveFx | ( | localClientNum | ) |
Definition at line 184 of file _microwave_turret.csc.
References CleanupFx(), debug_trace(), MICROWAVE_TURRET_FX_CHECK_TIME, MICROWAVE_TURRET_FX_TRACE, MICROWAVE_TURRET_FX_TRACE_ANGLE, MicrowaveFxHash(), PlayMicrowaveFx(), spawn(), trace(), turret_microwave_sound_start(), and UpdateMicrowaveAim().
Referenced by microwave_open().
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().
function stop_or_start_fx | ( | localClientNum | , |
fxName | , | ||
tag | , | ||
start | |||
) |
Definition at line 382 of file _microwave_turret.csc.
References MICROWAVE_TURRET_FX_HALF, play_fx_on_tag(), render_debug_sphere(), and stop_fx_on_tag().
Referenced by PlayMicrowaveFx().
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().
function turret_microwave_sound_start | ( | localClientNum | ) |
Definition at line 47 of file _microwave_turret.csc.
References end(), IS_TRUE, trace(), turret_microwave_sound_off_waiter(), and turret_microwave_sound_updater().
Referenced by StartMicrowaveFx(), and turret_microwave_sounds().
function turret_microwave_sound_updater | ( | ) |
Definition at line 97 of file _microwave_turret.csc.
References trace().
Referenced by turret_microwave_sound_start().
function turret_microwave_sounds | ( | localClientNum | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 35 of file _microwave_turret.csc.
References MICROWAVE_TURRET_START_SOUND, MICROWAVE_TURRET_STOP_SOUND, and turret_microwave_sound_start().
function UpdateMicrowaveAim | ( | microwaveFXEnt | ) |
Definition at line 276 of file _microwave_turret.csc.
Referenced by StartMicrowaveFx().