![]() |
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 | INVENTORY_SENTINEL_NAME "inventory_sentinel" |
#define | SENTINEL_IN_WATER_TRACE_MASK ( PHYSICS_TRACE_MASK_WATER ) |
#define | SENTINEL_IN_WATER_TRACE_MAXS ( 2, 2, 2 ) |
#define | SENTINEL_IN_WATER_TRACE_MINS ( -2, -2, -2 ) |
#define | SENTINEL_IN_WATER_TRACE_WAIT ( 0.1 ) |
#define | SENTINEL_NAME "sentinel" |
#define | SENTINEL_SHUTOWN_NOTIFY "sentinel_shutdown" |
Functions | |
function | ActivateSentinel (killstreakType) |
function | CalcSpawnOrigin (origin, angles) |
function | ConfigureTeamPost (owner, isHacked) |
function | destroyed_cb (attacker, weapon) |
function | driving_enter (params) |
function | drone_pain (eAttacker, damageType, hitPoint, hitDirection, hitLocationInfo, partName, weapon) |
function | drone_pain_for_time (time, stablizeParam, restoreLookPoint, weapon) |
function | EndSentinelRemoteControl (sentinel, exitRequestedByOwner) |
function | HackedCallbackPost (hacker) |
function | HackedCallbackPre (hacker) |
function | HealthMonitor () |
function | init () |
function | InitSentinel () |
function | low_health_cb (attacker, weapon) |
function | OnTimeout () |
function | SentinelDamageOverride (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) |
function | SentinelDistanceFailure () |
function | StartSentinelRemoteControl (sentinel) |
function | WatchDeath () |
function | WatchGameEnded () |
function | WatchShutdown () |
function | WatchTeamChange () |
function | WatchWater () |
#define INVENTORY_SENTINEL_NAME "inventory_sentinel" |
Definition at line 57 of file _sentinel.gsc.
#define SENTINEL_IN_WATER_TRACE_MASK ( PHYSICS_TRACE_MASK_WATER ) |
Definition at line 547 of file _sentinel.gsc.
#define SENTINEL_IN_WATER_TRACE_MAXS ( 2, 2, 2 ) |
Definition at line 546 of file _sentinel.gsc.
#define SENTINEL_IN_WATER_TRACE_MINS ( -2, -2, -2 ) |
Definition at line 545 of file _sentinel.gsc.
#define SENTINEL_IN_WATER_TRACE_WAIT ( 0.1 ) |
Definition at line 548 of file _sentinel.gsc.
#define SENTINEL_NAME "sentinel" |
Definition at line 56 of file _sentinel.gsc.
#define SENTINEL_SHUTOWN_NOTIFY "sentinel_shutdown" |
Definition at line 58 of file _sentinel.gsc.
function ActivateSentinel | ( | killstreakType | ) |
Definition at line 276 of file _sentinel.gsc.
References add_to_target_group(), CalcSpawnOrigin(), configure_team(), ConfigureTeamPost(), enable_hacking(), ENEMY_VEHICLE_ACTIVE, get_hacked_health(), get_low_health(), get_max_health(), HackedCallbackPost(), HackedCallbackPre(), HealthMonitor(), init_target_group(), INVALID_KILLSTREAK_ID, killstreakStart(), OnTimeout(), play_killstreak_start_dialog(), play_pilot_dialog_on_owner(), SENTINEL_DURATION, SENTINEL_MAX_DISTANCE_FROM_OWNER, SENTINEL_MISSILES_TO_DESTROY, SENTINEL_NAME, SENTINEL_SHUTOWN_NOTIFY, SENTINEL_VEHICLE_NAME, set(), UseRemoteWeapon(), WaitForTimeout(), WatchDeath(), WatchGameEnded(), WatchShutdown(), and WatchWater().
Referenced by init().
function CalcSpawnOrigin | ( | origin | , |
angles | |||
) |
Definition at line 217 of file _sentinel.gsc.
References GetPlacementStartHeight(), PHYSICS_TRACE_MASK_PHYSICS, PHYSICS_TRACE_MASK_VEHICLE, RCBOMB_PLACMENT_FROM_PLAYER, SENTINEL_SPAWN_Z_OFFSET, and trace().
Referenced by ActivateSentinel().
function ConfigureTeamPost | ( | owner | , |
isHacked | |||
) |
Definition at line 378 of file _sentinel.gsc.
References WatchTeamChange().
Referenced by ActivateSentinel().
function destroyed_cb | ( | attacker | , |
weapon | |||
) |
Definition at line 202 of file _sentinel.gsc.
Referenced by SentinelDamageOverride().
function driving_enter | ( | params | ) |
Definition at line 127 of file _sentinel.gsc.
References defaultstate_driving_enter().
Referenced by InitSentinel().
function drone_pain | ( | eAttacker | , |
damageType | , | ||
hitPoint | , | ||
hitDirection | , | ||
hitLocationInfo | , | ||
partName | , | ||
weapon | |||
) |
Definition at line 171 of file _sentinel.gsc.
References drone_pain_for_time(), IS_TRUE, and randomSign().
Referenced by SentinelDamageOverride().
function drone_pain_for_time | ( | time | , |
stablizeParam | , | ||
restoreLookPoint | , | ||
weapon | |||
) |
Definition at line 132 of file _sentinel.gsc.
References IS_TRUE, set_static(), and Spawn().
Referenced by drone_pain().
function EndSentinelRemoteControl | ( | sentinel | , |
exitRequestedByOwner | |||
) |
Definition at line 426 of file _sentinel.gsc.
References deactivate(), destroyHud(), SENTINEL_VISIONSET_ALIAS, set(), sndUpdateVehicleContext(), and stop_monitor_missiles_locked_on_to_me().
Referenced by HackedCallbackPre(), and init().
function HackedCallbackPost | ( | hacker | ) |
Definition at line 369 of file _sentinel.gsc.
References SENTINEL_NAME, set_vehicle_drivable_time_starting_now(), and UseRemoteWeapon().
Referenced by ActivateSentinel().
function HackedCallbackPre | ( | hacker | ) |
Definition at line 357 of file _sentinel.gsc.
References deactivate(), EndRemoteControlWeaponUse(), EndSentinelRemoteControl(), RemoveAndAssignNewRemoteControlTrigger(), SENTINEL_VISIONSET_ALIAS, and set().
Referenced by ActivateSentinel().
function HealthMonitor | ( | ) |
Definition at line 478 of file _sentinel.gsc.
References SENTINEL_NAME, and WAIT_SERVER_FRAME.
Referenced by ActivateSentinel().
function init | ( | ) |
Definition at line 60 of file _sentinel.gsc.
References ActivateSentinel(), EndSentinelRemoteControl(), InitSentinel(), ramp_in_out_thread_per_player_death_shutdown(), register(), register_alt_weapon(), register_dialog(), register_info(), register_strings(), RegisterRemoteWeapon(), SENTINEL_HIDE_COMPASS_ON_REMOTE_CONTROL, SENTINEL_NAME, SENTINEL_VEHICLE_NAME, SENTINEL_VISIONSET_ALIAS, StartSentinelRemoteControl(), and VERSION_SHIP.
function InitSentinel | ( | ) |
Definition at line 77 of file _sentinel.gsc.
References add_interrupt_connection(), add_state(), add_utility_connection(), create_flare_ent(), driving_enter(), friendly_fire_shield(), get_script_bundle(), get_state_callbacks(), init_guard_points(), init_state_machine_for_role(), MissileTarget_ProximityDetonateIncomingMissile(), nudge_collision(), SENTINEL_HOVER_ACCELERATION, SENTINEL_HOVER_RADIUS, SENTINEL_HOVER_SPEED, SENTINEL_NEAR_GOAL_NOTIFY_DIST, SentinelDamageOverride(), StartInitialState(), state_combat_enter(), state_combat_update(), state_death_update(), state_guard_can_enter(), state_guard_enter(), state_guard_exit(), state_guard_update(), and vehicleSpawnContext().
Referenced by init().
function low_health_cb | ( | attacker | , |
weapon | |||
) |
Definition at line 208 of file _sentinel.gsc.
References play_pilot_dialog_on_owner(), and SENTINEL_NAME.
Referenced by SentinelDamageOverride().
function OnTimeout | ( | ) |
Definition at line 454 of file _sentinel.gsc.
References play_pilot_dialog_on_owner(), SENTINEL_NAME, and SENTINEL_SHUTOWN_NOTIFY.
Referenced by ActivateSentinel().
function SentinelDamageOverride | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | , | ||
vSurfaceNormal | |||
) |
Definition at line 185 of file _sentinel.gsc.
References destroyed_cb(), drone_pain(), low_health_cb(), OnDamagePerWeapon(), SENTINEL_EMP_DAMAGE_PERCENTAGE, and SENTINEL_NAME.
Referenced by InitSentinel().
function SentinelDistanceFailure | ( | ) |
Definition at line 498 of file _sentinel.gsc.
References SENTINEL_SHUTOWN_NOTIFY.
Referenced by StartSentinelRemoteControl().
function StartSentinelRemoteControl | ( | sentinel | ) |
Definition at line 396 of file _sentinel.gsc.
References activate(), get(), monitor_missiles_locked_on_to_me(), QRDrone_watch_distance(), SENTINEL_DURATION, SENTINEL_MAX_HEIGHT_OFFSET, SENTINEL_VISIONSET_ALIAS, SentinelDistanceFailure(), set(), set_vehicle_drivable_time(), and sndUpdateVehicleContext().
Referenced by init().
function WatchDeath | ( | ) |
Definition at line 505 of file _sentinel.gsc.
References addFlySwatterStat(), destroyedAircraft(), IsEnemyPlayer(), play_destroyed_dialog_on_owner(), processScoreEvent(), SENTINEL_NAME, and SENTINEL_SHUTOWN_NOTIFY.
Referenced by ActivateSentinel().
function WatchGameEnded | ( | ) |
Definition at line 384 of file _sentinel.gsc.
References SENTINEL_SHUTOWN_NOTIFY.
Referenced by ActivateSentinel().
function WatchShutdown | ( | ) |
Definition at line 566 of file _sentinel.gsc.
References destroyHud(), EndRemoteControlWeaponUse(), IS_TRUE, killstreakStop(), SENTINEL_NAME, SENTINEL_SHUTOWN_NOTIFY, and WAIT_SERVER_FRAME.
Referenced by ActivateSentinel().
function WatchTeamChange | ( | ) |
Definition at line 534 of file _sentinel.gsc.
References SENTINEL_SHUTOWN_NOTIFY, and waittill_any().
Referenced by ConfigureTeamPost().
function WatchWater | ( | ) |
Definition at line 550 of file _sentinel.gsc.
References SENTINEL_IN_WATER_TRACE_MASK, SENTINEL_IN_WATER_TRACE_MAXS, SENTINEL_IN_WATER_TRACE_MINS, SENTINEL_IN_WATER_TRACE_WAIT, SENTINEL_SHUTOWN_NOTIFY, and trace().
Referenced by ActivateSentinel().