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

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)
 

Macro Definition Documentation

◆ MICROWAVE_TURRET_DELETE_ON_DEATH_DELAY

#define MICROWAVE_TURRET_DELETE_ON_DEATH_DELAY   0.1

Definition at line 77 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_FX

#define MICROWAVE_TURRET_FX   "killstreaks/fx_sg_distortion_cone_ash"

Definition at line 82 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_FX_CHECK_TIME

#define MICROWAVE_TURRET_FX_CHECK_TIME   ( 1.0 )

Definition at line 86 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_FX_HALF

#define MICROWAVE_TURRET_FX_HALF   "killstreaks/fx_sg_distortion_cone_ash_sm"

Definition at line 83 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_FX_HALF_SIZE_THRESHOLD

#define MICROWAVE_TURRET_FX_HALF_SIZE_THRESHOLD   ( 68 )

Definition at line 80 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_FX_SIZE

#define MICROWAVE_TURRET_FX_SIZE   ( 135 )

Definition at line 79 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_FX_START_OFFSET

#define MICROWAVE_TURRET_FX_START_OFFSET   ( 68 + 34 )

Definition at line 81 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_FX_TRACE_ANGLE

#define MICROWAVE_TURRET_FX_TRACE_ANGLE   ( 55 )

Definition at line 85 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_NAME

#define MICROWAVE_TURRET_NAME   "microwave_turret"

Definition at line 74 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_ON_TARGET_ANGLE

#define MICROWAVE_TURRET_ON_TARGET_ANGLE   (15)

Definition at line 76 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_STUN_FX

#define MICROWAVE_TURRET_STUN_FX   "killstreaks/fx_sg_emp_stun"

Definition at line 84 of file _microwave_turret.gsc.

◆ MICROWAVE_TURRET_WEAPON_NAME

#define MICROWAVE_TURRET_WEAPON_NAME   "microwave_turret_deploy"

Definition at line 75 of file _microwave_turret.gsc.

Function Documentation

◆ ActivateMicrowaveTurret()

◆ GhostAfterWait()

function GhostAfterWait ( wait_time  )

Definition at line 263 of file _microwave_turret.gsc.

Referenced by OnPickupTurret().

◆ HackedPostFunction()

function HackedPostFunction ( hacker  )

Definition at line 238 of file _microwave_turret.gsc.

References StartMicrowave().

Referenced by OnPlaceTurret().

◆ HackedPreFunction()

function HackedPreFunction ( hacker  )

Definition at line 230 of file _microwave_turret.gsc.

References configure_team(), MICROWAVE_TURRET_NAME, and StopMicrowave().

Referenced by OnPlaceTurret().

◆ init()

◆ InitTurretVehicle()

◆ MicrowaveEntity()

◆ MicrowaveEntityPostShutdownCleanup()

function MicrowaveEntityPostShutdownCleanup ( entity  )

Definition at line 500 of file _microwave_turret.gsc.

Referenced by MicrowaveEntity().

◆ MicrowaveTurretAffectsEntity()

function MicrowaveTurretAffectsEntity ( entity  )

◆ on_player_spawned()

function on_player_spawned ( )

Definition at line 132 of file _microwave_turret.gsc.

References reset_being_microwaved().

Referenced by init().

◆ on_vehicle_spawned()

function on_vehicle_spawned ( )

Definition at line 138 of file _microwave_turret.gsc.

References reset_being_microwaved().

Referenced by __init__(), and init().

◆ OnCancelPlacement()

function OnCancelPlacement ( turret  )

Definition at line 244 of file _microwave_turret.gsc.

Referenced by ActivateMicrowaveTurret().

◆ OnEMP()

function OnEMP ( attacker  )

Definition at line 271 of file _microwave_turret.gsc.

Referenced by ActivateMicrowaveTurret().

◆ OnPickupTurret()

function OnPickupTurret ( turret  )

Definition at line 249 of file _microwave_turret.gsc.

References connect_paths(), disable(), GhostAfterWait(), and StopMicrowave().

Referenced by ActivateMicrowaveTurret().

◆ OnPlaceTurret()

◆ OnShutdown()

function OnShutdown ( turret  )

Definition at line 350 of file _microwave_turret.gsc.

References StopMicrowave().

Referenced by ActivateMicrowaveTurret().

◆ OnTurretDamage()

function OnTurretDamage ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
vDamageOrigin  ,
psOffsetTime  ,
damageFromUnderneath  ,
modelIndex  ,
partName  ,
vSurfaceNormal   
)

◆ OnTurretDeath()

function OnTurretDeath ( eInflictor  ,
eAttacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime   
)

◆ OnTurretDeathPostGame()

function OnTurretDeathPostGame ( eInflictor  ,
eAttacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime   
)

◆ reset_being_microwaved()

function reset_being_microwaved ( )

Definition at line 143 of file _microwave_turret.gsc.

Referenced by on_player_spawned(), and on_vehicle_spawned().

◆ StartMicrowave()

function StartMicrowave ( )

◆ StopMicrowave()

function StopMicrowave ( )

Definition at line 398 of file _microwave_turret.gsc.

References remove_influencers(), and set().

Referenced by HackedPreFunction(), OnPickupTurret(), and OnShutdown().

◆ TurretDebug()

function TurretDebug ( )

◆ TurretDebugWatch()

function TurretDebugWatch ( )

Definition at line 434 of file _microwave_turret.gsc.

References TurretDebug(), and WAIT_SERVER_FRAME.

Referenced by StartMicrowave().

◆ TurretThink()

function TurretThink ( )

Definition at line 471 of file _microwave_turret.gsc.

References MicrowaveEntity().

Referenced by StartMicrowave().

◆ WatchKillstreakEnd()

function WatchKillstreakEnd ( killstreak_id  ,
team   
)

Definition at line 363 of file _microwave_turret.gsc.

References killstreakStop(), and MICROWAVE_TURRET_NAME.

Referenced by ActivateMicrowaveTurret().