![]() |
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_DELETE_ON_DEATH_DELAY 0.1 |
#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_THRESHOLD ( 68 ) |
#define | MICROWAVE_TURRET_FX_SIZE ( 135 ) |
#define | MICROWAVE_TURRET_FX_START_OFFSET ( 68 + 34 ) |
#define | MICROWAVE_TURRET_FX_TRACE_ANGLE ( 55 ) |
#define | MICROWAVE_TURRET_NAME "microwave_turret" |
#define | MICROWAVE_TURRET_ON_TARGET_ANGLE (15) |
#define | MICROWAVE_TURRET_STUN_FX "killstreaks/fx_sg_emp_stun" |
#define | MICROWAVE_TURRET_WEAPON_NAME "microwave_turret_deploy" |
Functions | |
function | ActivateMicrowaveTurret () |
function | GhostAfterWait (wait_time) |
function | HackedPostFunction (hacker) |
function | HackedPreFunction (hacker) |
function | init () |
function | InitTurretVehicle () |
function | MicrowaveEntity (entity) |
function | MicrowaveEntityPostShutdownCleanup (entity) |
function | MicrowaveTurretAffectsEntity (entity) |
function | on_player_spawned () |
function | on_vehicle_spawned () |
function | OnCancelPlacement (turret) |
function | OnEMP (attacker) |
function | OnPickupTurret (turret) |
function | OnPlaceTurret (turret) |
function | OnShutdown (turret) |
function | OnTurretDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) |
function | OnTurretDeath (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime) |
function | OnTurretDeathPostGame (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime) |
function | reset_being_microwaved () |
function | StartMicrowave () |
function | StopMicrowave () |
function | TurretDebug () |
function | TurretDebugWatch () |
function | TurretThink () |
function | WatchKillstreakEnd (killstreak_id, team) |
#define MICROWAVE_TURRET_DELETE_ON_DEATH_DELAY 0.1 |
Definition at line 77 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_FX "killstreaks/fx_sg_distortion_cone_ash" |
Definition at line 82 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_FX_CHECK_TIME ( 1.0 ) |
Definition at line 86 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_FX_HALF "killstreaks/fx_sg_distortion_cone_ash_sm" |
Definition at line 83 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_FX_HALF_SIZE_THRESHOLD ( 68 ) |
Definition at line 80 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_FX_SIZE ( 135 ) |
Definition at line 79 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_FX_START_OFFSET ( 68 + 34 ) |
Definition at line 81 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_FX_TRACE_ANGLE ( 55 ) |
Definition at line 85 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_NAME "microwave_turret" |
Definition at line 74 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_ON_TARGET_ANGLE (15) |
Definition at line 76 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_STUN_FX "killstreaks/fx_sg_emp_stun" |
Definition at line 84 of file _microwave_turret.gsc.
#define MICROWAVE_TURRET_WEAPON_NAME "microwave_turret_deploy" |
Definition at line 75 of file _microwave_turret.gsc.
function ActivateMicrowaveTurret | ( | ) |
Definition at line 149 of file _microwave_turret.gsc.
References ghost_wait_show_to_others(), ghost_wait_show_to_player(), INVALID_KILLSTREAK_ID, killstreakStart(), MICROWAVE_TURRET_DURATION, MICROWAVE_TURRET_EMP_DAMAGE, MICROWAVE_TURRET_INVALID_PLACEMENT_MODEL, MICROWAVE_TURRET_MODEL, MICROWAVE_TURRET_NAME, MICROWAVE_TURRET_PICKUP_TEXT, MICROWAVE_TURRET_VALID_PLACEMENT_MODEL, OnCancelPlacement(), OnEMP(), OnPickupTurret(), OnPlaceTurret(), OnShutdown(), set(), setup_health(), SpawnPlaceable(), waittill_any_return(), and WatchKillstreakEnd().
Referenced by init().
function GhostAfterWait | ( | wait_time | ) |
Definition at line 263 of file _microwave_turret.gsc.
Referenced by OnPickupTurret().
function HackedPostFunction | ( | hacker | ) |
Definition at line 238 of file _microwave_turret.gsc.
References StartMicrowave().
Referenced by OnPlaceTurret().
function HackedPreFunction | ( | hacker | ) |
Definition at line 230 of file _microwave_turret.gsc.
References configure_team(), MICROWAVE_TURRET_NAME, and StopMicrowave().
Referenced by OnPlaceTurret().
function init | ( | ) |
Definition at line 90 of file _microwave_turret.gsc.
References ActivateMicrowaveTurret(), InitTurretVehicle(), MICROWAVE_TURRET_NAME, MICROWAVE_TURRET_VEHICLE_NAME, MICROWAVE_TURRET_WEAPON_NAME, on_player_spawned(), on_spawned(), on_vehicle_spawned(), register(), register_dialog(), register_remote_override_weapon(), register_strings(), and VERSION_SHIP.
function InitTurretVehicle | ( | ) |
Definition at line 110 of file _microwave_turret.gsc.
References ENEMY_VEHICLE_ACTIVE, MICROWAVE_TURRET_NAME, MICROWAVE_TURRET_ON_TARGET_ANGLE, MICROWAVE_TURRET_RADIUS, OnTurretDamage(), OnTurretDeath(), OnTurretDeathPostGame(), set(), set_max_target_distance(), set_on_target_angle(), and setup_health().
Referenced by init().
function MicrowaveEntity | ( | entity | ) |
Definition at line 520 of file _microwave_turret.gsc.
References damage(), mayApplyScreenEffect(), MICROWAVE_TURRET_DAMAGE, MICROWAVE_TURRET_INITIAL_DAMAGE_DELAY_MAX, MICROWAVE_TURRET_INITIAL_DAMAGE_DELAY_MIN, MICROWAVE_TURRET_RADIUS, MicrowaveEntityPostShutdownCleanup(), MicrowaveTurretAffectsEntity(), processScoreEvent(), and VAL.
Referenced by TurretThink().
function MicrowaveEntityPostShutdownCleanup | ( | entity | ) |
Definition at line 500 of file _microwave_turret.gsc.
Referenced by MicrowaveEntity().
function MicrowaveTurretAffectsEntity | ( | entity | ) |
Definition at line 646 of file _microwave_turret.gsc.
References friendlyFireCheck(), isStunned(), MICROWAVE_TURRET_CONE_ANGLE, and MICROWAVE_TURRET_RADIUS.
Referenced by MicrowaveEntity().
function on_player_spawned | ( | ) |
Definition at line 132 of file _microwave_turret.gsc.
References reset_being_microwaved().
Referenced by init().
function on_vehicle_spawned | ( | ) |
Definition at line 138 of file _microwave_turret.gsc.
References reset_being_microwaved().
Referenced by __init__(), and init().
function OnCancelPlacement | ( | turret | ) |
Definition at line 244 of file _microwave_turret.gsc.
Referenced by ActivateMicrowaveTurret().
function OnEMP | ( | attacker | ) |
Definition at line 271 of file _microwave_turret.gsc.
Referenced by ActivateMicrowaveTurret().
function OnPickupTurret | ( | turret | ) |
Definition at line 249 of file _microwave_turret.gsc.
References connect_paths(), disable(), GhostAfterWait(), and StopMicrowave().
Referenced by ActivateMicrowaveTurret().
function OnPlaceTurret | ( | turret | ) |
Definition at line 185 of file _microwave_turret.gsc.
References configure_team(), disconnect_paths(), DisplayKillstreakTeamMessageToAll(), enable(), enable_hacking(), ghost_wait_show(), HackedPostFunction(), HackedPreFunction(), MICROWAVE_TURRET_NAME, MICROWAVE_TURRET_VEHICLE_NAME, play_killstreak_start_dialog(), set_team(), and StartMicrowave().
Referenced by ActivateMicrowaveTurret().
function OnShutdown | ( | turret | ) |
Definition at line 350 of file _microwave_turret.gsc.
References StopMicrowave().
Referenced by ActivateMicrowaveTurret().
function OnTurretDamage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | , | ||
vSurfaceNormal | |||
) |
Definition at line 277 of file _microwave_turret.gsc.
References MICROWAVE_TURRET_NAME, OnDamagePerWeapon(), and TURRET_EMP_DAMAGE_PERCENTAGE.
Referenced by InitTurretVehicle().
function OnTurretDeath | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vDir | , | ||
sHitLoc | , | ||
psOffsetTime | |||
) |
Definition at line 286 of file _microwave_turret.gsc.
References death_fx(), destroyNonAirScoreStreak_PostStatsLock(), destroyScoreStreak(), ForceShutdown(), IsEnemyPlayer(), MICROWAVE_TURRET_DELETE_ON_DEATH_DELAY, play_destroyed_dialog_on_owner(), play_taacom_dialog(), and processScoreEvent().
Referenced by InitTurretVehicle().
function OnTurretDeathPostGame | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vDir | , | ||
sHitLoc | , | ||
psOffsetTime | |||
) |
Definition at line 329 of file _microwave_turret.gsc.
References death_fx(), ForceShutdown(), and MICROWAVE_TURRET_DELETE_ON_DEATH_DELAY.
Referenced by InitTurretVehicle().
function reset_being_microwaved | ( | ) |
Definition at line 143 of file _microwave_turret.gsc.
Referenced by on_player_spawned(), and on_vehicle_spawned().
function StartMicrowave | ( | ) |
Definition at line 372 of file _microwave_turret.gsc.
References CreateTurretInfluencer(), MICROWAVE_TURRET_RADIUS, set(), spawn(), TurretDebugWatch(), and TurretThink().
Referenced by HackedPostFunction(), and OnPlaceTurret().
function StopMicrowave | ( | ) |
Definition at line 398 of file _microwave_turret.gsc.
References remove_influencers(), and set().
Referenced by HackedPreFunction(), OnPickupTurret(), and OnShutdown().
function TurretDebug | ( | ) |
Definition at line 454 of file _microwave_turret.gsc.
References debug_spherical_cone(), MICROWAVE_TURRET_CONE_ANGLE, and MICROWAVE_TURRET_RADIUS.
Referenced by TurretDebugWatch().
function TurretDebugWatch | ( | ) |
Definition at line 434 of file _microwave_turret.gsc.
References TurretDebug(), and WAIT_SERVER_FRAME.
Referenced by StartMicrowave().
function TurretThink | ( | ) |
Definition at line 471 of file _microwave_turret.gsc.
References MicrowaveEntity().
Referenced by StartMicrowave().
function WatchKillstreakEnd | ( | killstreak_id | , |
team | |||
) |
Definition at line 363 of file _microwave_turret.gsc.
References killstreakStop(), and MICROWAVE_TURRET_NAME.
Referenced by ActivateMicrowaveTurret().