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

Go to the source code of this file.

Macros

#define RCBOMB_EMP_DEATH_HIDE_DELAY   ( 0.2 )
 
#define RCBOMB_IN_WATER_TRACE_MASK   ( PHYSICS_TRACE_MASK_WATER )
 
#define RCBOMB_IN_WATER_TRACE_MAXS   ( 2, 2, 2 )
 
#define RCBOMB_IN_WATER_TRACE_MINS   ( -2, -2, -2 )
 
#define RCBOMB_IN_WATER_TRACE_WAIT   ( 0.5 )
 
#define RCBOMB_NAME   "rcbomb"
 
#define RCBOMB_WATCH_DEATH_DURATION   ( 0.3 )
 

Functions

function ActivateRCBomb (hardpointType)
 
function CalculateSpawnOrigin (origin, angles)
 
function ConfigureTeamPost (owner, isHacked)
 
function EndRemoteControl (rcbomb, exitRequestedByOwner)
 
function Explode (attacker, weapon)
 
function GetPlacementStartHeight ()
 
function HackedPostFunction (hacker)
 
function HackedPreFunction (hacker)
 
function HideAfterWait (waitTime)
 
function init ()
 
function InitRCBomb ()
 
function OnDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal)
 
function OnDeath (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime)
 
function rc_shutdown ()
 
function rcbomb_hacked_health_update (hacker)
 
function RCCarAllowFriendlyFireDamage (eInflictor, eAttacker, sMeansOfDeath, weapon)
 
function StartRemoteControl (rcbomb)
 
function TestSpawnOrigin (origin, angles)
 
function TestWheelLocations (origin, angles, heightoffset)
 
function toggleLightsOnAfterTime (time)
 
function waitRemoteControl ()
 
function WatchDetonation ()
 
function WatchGameEnded ()
 
function WatchHurtTriggers ()
 
function WatchOwnerGameEvents ()
 
function WatchShutdown ()
 
function WatchTimeout ()
 
function WatchWater ()
 

Macro Definition Documentation

◆ RCBOMB_EMP_DEATH_HIDE_DELAY

#define RCBOMB_EMP_DEATH_HIDE_DELAY   ( 0.2 )

Definition at line 54 of file _rcbomb.gsc.

◆ RCBOMB_IN_WATER_TRACE_MASK

#define RCBOMB_IN_WATER_TRACE_MASK   ( PHYSICS_TRACE_MASK_WATER )

Definition at line 271 of file _rcbomb.gsc.

◆ RCBOMB_IN_WATER_TRACE_MAXS

#define RCBOMB_IN_WATER_TRACE_MAXS   ( 2, 2, 2 )

Definition at line 270 of file _rcbomb.gsc.

◆ RCBOMB_IN_WATER_TRACE_MINS

#define RCBOMB_IN_WATER_TRACE_MINS   ( -2, -2, -2 )

Definition at line 269 of file _rcbomb.gsc.

◆ RCBOMB_IN_WATER_TRACE_WAIT

#define RCBOMB_IN_WATER_TRACE_WAIT   ( 0.5 )

Definition at line 272 of file _rcbomb.gsc.

◆ RCBOMB_NAME

#define RCBOMB_NAME   "rcbomb"

Definition at line 53 of file _rcbomb.gsc.

◆ RCBOMB_WATCH_DEATH_DURATION

#define RCBOMB_WATCH_DEATH_DURATION   ( 0.3 )

Definition at line 55 of file _rcbomb.gsc.

Function Documentation

◆ ActivateRCBomb()

◆ CalculateSpawnOrigin()

function CalculateSpawnOrigin ( origin  ,
angles   
)

◆ ConfigureTeamPost()

function ConfigureTeamPost ( owner  ,
isHacked   
)

Definition at line 142 of file _rcbomb.gsc.

References WatchOwnerGameEvents().

Referenced by ActivateRCBomb().

◆ EndRemoteControl()

function EndRemoteControl ( rcbomb  ,
exitRequestedByOwner   
)

Definition at line 245 of file _rcbomb.gsc.

References set(), and sndUpdateVehicleContext().

Referenced by init().

◆ Explode()

◆ GetPlacementStartHeight()

function GetPlacementStartHeight ( )

◆ HackedPostFunction()

function HackedPostFunction ( hacker  )

◆ HackedPreFunction()

function HackedPreFunction ( hacker  )

Definition at line 123 of file _rcbomb.gsc.

References CF_TOGGLE_LIGHTS_OFF, clear_using_remote(), and set().

Referenced by ActivateRCBomb().

◆ HideAfterWait()

function HideAfterWait ( waitTime  )

Definition at line 435 of file _rcbomb.gsc.

Referenced by OnDeath().

◆ init()

◆ InitRCBomb()

function InitRCBomb ( )

◆ OnDamage()

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

Definition at line 352 of file _rcbomb.gsc.

References OnDamagePerWeapon(), and RCBOMB_NAME.

Referenced by InitRCBomb().

◆ OnDeath()

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

◆ rc_shutdown()

function rc_shutdown ( )

Definition at line 310 of file _rcbomb.gsc.

Referenced by WatchTimeout().

◆ rcbomb_hacked_health_update()

function rcbomb_hacked_health_update ( hacker  )

Definition at line 218 of file _rcbomb.gsc.

Referenced by ActivateRCBomb().

◆ RCCarAllowFriendlyFireDamage()

function RCCarAllowFriendlyFireDamage ( eInflictor  ,
eAttacker  ,
sMeansOfDeath  ,
weapon   
)

Definition at line 486 of file _rcbomb.gsc.

Referenced by InitRCBomb().

◆ StartRemoteControl()

function StartRemoteControl ( rcbomb  )

◆ TestSpawnOrigin()

function TestSpawnOrigin ( origin  ,
angles   
)

◆ TestWheelLocations()

function TestWheelLocations ( origin  ,
angles  ,
heightoffset   
)

Definition at line 605 of file _rcbomb.gsc.

References trace().

Referenced by CalculateSpawnOrigin().

◆ toggleLightsOnAfterTime()

function toggleLightsOnAfterTime ( time  )

Definition at line 112 of file _rcbomb.gsc.

References CF_TOGGLE_LIGHTS_ON, and set().

◆ waitRemoteControl()

function waitRemoteControl ( )

Definition at line 96 of file _rcbomb.gsc.

References IS_TRUE, and waittill_any_return().

Referenced by InitRCBomb().

◆ WatchDetonation()

function WatchDetonation ( )

Definition at line 255 of file _rcbomb.gsc.

References WAIT_SERVER_FRAME.

Referenced by StartRemoteControl().

◆ WatchGameEnded()

function WatchGameEnded ( )

Definition at line 423 of file _rcbomb.gsc.

Referenced by ActivateRCBomb().

◆ WatchHurtTriggers()

function WatchHurtTriggers ( )

Definition at line 337 of file _rcbomb.gsc.

Referenced by StartRemoteControl().

◆ WatchOwnerGameEvents()

function WatchOwnerGameEvents ( )

Definition at line 290 of file _rcbomb.gsc.

References waittill_any().

Referenced by ConfigureTeamPost().

◆ WatchShutdown()

function WatchShutdown ( )

Definition at line 316 of file _rcbomb.gsc.

References killstreakStop(), and RCBOMB_NAME.

Referenced by ActivateRCBomb().

◆ WatchTimeout()

function WatchTimeout ( )

Definition at line 304 of file _rcbomb.gsc.

References rc_shutdown(), RCBOMB_DURATION, RCBOMB_NAME, and WaitForTimeout().

Referenced by StartRemoteControl().

◆ WatchWater()