![]() |
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 | 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 () |
#define RCBOMB_EMP_DEATH_HIDE_DELAY ( 0.2 ) |
Definition at line 54 of file _rcbomb.gsc.
#define RCBOMB_IN_WATER_TRACE_MASK ( PHYSICS_TRACE_MASK_WATER ) |
Definition at line 271 of file _rcbomb.gsc.
#define RCBOMB_IN_WATER_TRACE_MAXS ( 2, 2, 2 ) |
Definition at line 270 of file _rcbomb.gsc.
#define RCBOMB_IN_WATER_TRACE_MINS ( -2, -2, -2 ) |
Definition at line 269 of file _rcbomb.gsc.
#define RCBOMB_IN_WATER_TRACE_WAIT ( 0.5 ) |
Definition at line 272 of file _rcbomb.gsc.
#define RCBOMB_NAME "rcbomb" |
Definition at line 53 of file _rcbomb.gsc.
#define RCBOMB_WATCH_DEATH_DURATION ( 0.3 ) |
Definition at line 55 of file _rcbomb.gsc.
function ActivateRCBomb | ( | hardpointType | ) |
Definition at line 149 of file _rcbomb.gsc.
References CalculateSpawnOrigin(), configure_team(), ConfigureTeamPost(), enable_hacking(), get_hacked_health(), get_max_health(), HackedPostFunction(), HackedPreFunction(), INVALID_KILLSTREAK_ID, is_interacting_with_object(), is_killstreak_start_blocked(), IS_TRUE, isKillstreakAllowed(), IsTouchingAnyOOBTrigger(), isUsingRemote(), killstreakStart(), play_killstreak_start_dialog(), rcbomb_hacked_health_update(), RCBOMB_NAME, RCBOMB_VEHICLE, UseRemoteWeapon(), WatchGameEnded(), and WatchShutdown().
Referenced by init().
function CalculateSpawnOrigin | ( | origin | , |
angles | |||
) |
Definition at line 513 of file _rcbomb.gsc.
References GetPlacementStartHeight(), PHYSICS_TRACE_MASK_PHYSICS, PHYSICS_TRACE_MASK_VEHICLE, RCBOMB_PLACMENT_FROM_PLAYER, TestSpawnOrigin(), TestWheelLocations(), and trace().
Referenced by ActivateRCBomb().
function ConfigureTeamPost | ( | owner | , |
isHacked | |||
) |
Definition at line 142 of file _rcbomb.gsc.
References WatchOwnerGameEvents().
Referenced by ActivateRCBomb().
function EndRemoteControl | ( | rcbomb | , |
exitRequestedByOwner | |||
) |
Definition at line 245 of file _rcbomb.gsc.
References set(), and sndUpdateVehicleContext().
Referenced by init().
function Explode | ( | attacker | , |
weapon | |||
) |
Definition at line 443 of file _rcbomb.gsc.
References death_fx(), death_radius_damage(), destroyRCBomb(), IsEnemyPlayer(), lights_off(), play_destroyed_dialog_on_owner(), processScoreEvent(), RCBOMB_NAME, set_death_model(), toggle_exhaust_fx(), toggle_sounds(), and toggle_tread_fx().
Referenced by OnDeath().
function GetPlacementStartHeight | ( | ) |
Definition at line 497 of file _rcbomb.gsc.
References RCBOMB_PLACEMENT_CROUCH_HEIGHT, RCBOMB_PLACEMENT_PRONE_HEIGHT, and RCBOMB_PLACEMENT_STAND_HEIGHT.
Referenced by CalcSpawnOrigin(), and CalculateSpawnOrigin().
function HackedPostFunction | ( | hacker | ) |
Definition at line 133 of file _rcbomb.gsc.
References RCBOMB_NAME, set_killstreak_delay_killcam(), set_vehicle_drivable_time_starting_now(), and UseRemoteWeapon().
Referenced by ActivateRCBomb().
function HackedPreFunction | ( | hacker | ) |
Definition at line 123 of file _rcbomb.gsc.
References CF_TOGGLE_LIGHTS_OFF, clear_using_remote(), and set().
Referenced by ActivateRCBomb().
function HideAfterWait | ( | waitTime | ) |
Definition at line 435 of file _rcbomb.gsc.
Referenced by OnDeath().
function init | ( | ) |
Definition at line 57 of file _rcbomb.gsc.
References ActivateRCBomb(), allow_assists(), EndRemoteControl(), InitRCBomb(), RCBOMB_HIDE_COMPASS_ON_REMOTE_CONTROL, RCBOMB_NAME, RCBOMB_VEHICLE, register(), register_alt_weapon(), register_dialog(), register_strings(), RegisterRemoteWeapon(), StartRemoteControl(), and VERSION_SHIP.
function InitRCBomb | ( | ) |
Definition at line 74 of file _rcbomb.gsc.
References ENEMY_VEHICLE_ACTIVE, OnDamage(), OnDeath(), RCBOMB_WATCH_DEATH_DURATION, RCCarAllowFriendlyFireDamage(), set(), and waitRemoteControl().
Referenced by init().
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().
function OnDeath | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vDir | , | ||
sHitLoc | , | ||
psOffsetTime | |||
) |
Definition at line 386 of file _rcbomb.gsc.
References ENEMY_VEHICLE_INACTIVE, Explode(), freeze_player_controls(), HideAfterWait(), killstreakStop(), RCBOMB_DEATH_HIDE_DELAY, RCBOMB_EMP_DEATH_HIDE_DELAY, RCBOMB_NAME, RCBOMB_SHUTDOWN_DELAY, and set().
Referenced by InitRCBomb().
function rc_shutdown | ( | ) |
Definition at line 310 of file _rcbomb.gsc.
Referenced by WatchTimeout().
function rcbomb_hacked_health_update | ( | hacker | ) |
Definition at line 218 of file _rcbomb.gsc.
Referenced by ActivateRCBomb().
function RCCarAllowFriendlyFireDamage | ( | eInflictor | , |
eAttacker | , | ||
sMeansOfDeath | , | ||
weapon | |||
) |
Definition at line 486 of file _rcbomb.gsc.
Referenced by InitRCBomb().
function StartRemoteControl | ( | rcbomb | ) |
Definition at line 228 of file _rcbomb.gsc.
References RCBOMB_DURATION, set(), set_vehicle_drivable_time_starting_now(), sndUpdateVehicleContext(), WatchDetonation(), WatchHurtTriggers(), WatchTimeout(), and WatchWater().
Referenced by init().
function TestSpawnOrigin | ( | origin | , |
angles | |||
) |
Definition at line 638 of file _rcbomb.gsc.
References PHYSICS_TRACE_MASK_PHYSICS, PHYSICS_TRACE_MASK_VEHICLE, PHYSICS_TRACE_MASK_WATER, and trace().
Referenced by CalculateSpawnOrigin().
function TestWheelLocations | ( | origin | , |
angles | , | ||
heightoffset | |||
) |
Definition at line 605 of file _rcbomb.gsc.
References trace().
Referenced by CalculateSpawnOrigin().
function toggleLightsOnAfterTime | ( | time | ) |
Definition at line 112 of file _rcbomb.gsc.
References CF_TOGGLE_LIGHTS_ON, and set().
function waitRemoteControl | ( | ) |
Definition at line 96 of file _rcbomb.gsc.
References IS_TRUE, and waittill_any_return().
Referenced by InitRCBomb().
function WatchDetonation | ( | ) |
Definition at line 255 of file _rcbomb.gsc.
References WAIT_SERVER_FRAME.
Referenced by StartRemoteControl().
function WatchGameEnded | ( | ) |
Definition at line 423 of file _rcbomb.gsc.
Referenced by ActivateRCBomb().
function WatchHurtTriggers | ( | ) |
Definition at line 337 of file _rcbomb.gsc.
Referenced by StartRemoteControl().
function WatchOwnerGameEvents | ( | ) |
Definition at line 290 of file _rcbomb.gsc.
References waittill_any().
Referenced by ConfigureTeamPost().
function WatchShutdown | ( | ) |
Definition at line 316 of file _rcbomb.gsc.
References killstreakStop(), and RCBOMB_NAME.
Referenced by ActivateRCBomb().
function WatchTimeout | ( | ) |
Definition at line 304 of file _rcbomb.gsc.
References rc_shutdown(), RCBOMB_DURATION, RCBOMB_NAME, and WaitForTimeout().
Referenced by StartRemoteControl().
function WatchWater | ( | ) |
Definition at line 274 of file _rcbomb.gsc.
References RCBOMB_IN_WATER_TRACE_MASK, RCBOMB_IN_WATER_TRACE_MAXS, RCBOMB_IN_WATER_TRACE_MINS, RCBOMB_IN_WATER_TRACE_WAIT, and trace().
Referenced by StartRemoteControl().