![]() |
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 | COMBAT_ROBOT_ADD_X_VELOCITY_MAX 20 |
#define | COMBAT_ROBOT_ADD_X_VELOCITY_MIN -20 |
#define | COMBAT_ROBOT_ADD_Y_VELOCITY_MAX 20 |
#define | COMBAT_ROBOT_ADD_Y_VELOCITY_MIN -20 |
#define | COMBAT_ROBOT_ADD_Z_VELOCITY_MAX 80 |
#define | COMBAT_ROBOT_ADD_Z_VELOCITY_MIN 60 |
#define | COMBAT_ROBOT_DEFEND_ICON "t7_hud_ks_c54i_drop" |
#define | COMBAT_ROBOT_FORWARD_SPAWN_OFFSET 72 |
#define | COMBAT_ROBOT_GIVE_UP_ON_ENEMY 10000 |
#define | COMBAT_ROBOT_GUARD_RADIUS 1000 |
#define | COMBAT_ROBOT_IGNORE_UNATTACKABLE_ENEMY 5000 |
#define | COMBAT_ROBOT_INFLUENCER "small_vehicle" |
#define | COMBAT_ROBOT_KILLCAM_TIME_OFFSET ( 750 ) |
#define | COMBAT_ROBOT_MARKER_NAME "combat_robot_marker" |
#define | COMBAT_ROBOT_MAX_SHUTDOWN 4.5 |
#define | COMBAT_ROBOT_MIN_SHUTDOWN 3.0 |
#define | COMBAT_ROBOT_NAME "combat_robot" |
#define | COMBAT_ROBOT_NAV_MESH_VALID_LOCATION_BOUNDARY 18 |
#define | COMBAT_ROBOT_NAV_MESH_VALID_LOCATION_TOLERANCE 4 |
#define | COMBAT_ROBOT_VELOCITY_SCALAR ( 1 / 8 ) |
#define | INVENTORY_COMBAT_ROBOT_NAME "inventory_combat_robot" |
Functions | |
function private | _CalculateProjectedGuardPosition (player) |
function private | _CalculateRobotSpawnPosition (player) |
function private | _CleanupRobotCorpses () |
function private | _ConfigureRobotTeam (robot, player, isHacked) |
function private | _corpseWatcher () |
function private | _CreateGuardMarker (robot, position) |
function private | _DestroyGuardMarker (robot) |
function private | _Escort (robot) |
function private | _explodeRobot (combatRobot) |
function private | _GuardPosition (robot, position) |
function private | _IgnoreUnattackableEnemy (robot, enemy) |
function private | _Underwater (robot) |
function | _WatchModeSwap (robot, player) |
function | ActivateCombatRobot (killstreak) |
function | CleanupThread (context) |
function | combatRobotDamageOverride (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, psOffsetTime, boneIndex, modelIndex) |
function | ConfigureTeamPost (player, isHacked) |
function | DropKillThread () |
function | Epilog (context) |
function | HackedCallbackPost (hacker) |
function | init () |
function | OnCombatRobotTimeout () |
function | Prolog (context) |
function | respectNotTargetedByRobotPerk (player) |
function | SetupCombatRobotHintTrigger (player) |
function | sndWatchActivate () |
function | sndWatchCombatRobotVoxNotifies () |
function | sndWatchExit () |
function | sndWatchLanding () |
function | WaitThenSetDeleteAfterDestructionWaitTime (set_wait_time, delete_after_destruction_wait_time) |
function | WatchCombatRobotDeath () |
function | WatchCombatRobotHelicopterHacked (helicopter) |
function | WatchCombatRobotLanding () |
function | WatchCombatRobotOwnerDisconnect (player) |
function | WatchCombatRobotShutdown () |
function | WatchHelicopterDeath (context) |
#define COMBAT_ROBOT_ADD_X_VELOCITY_MAX 20 |
Definition at line 51 of file _combat_robot.gsc.
#define COMBAT_ROBOT_ADD_X_VELOCITY_MIN -20 |
Definition at line 50 of file _combat_robot.gsc.
#define COMBAT_ROBOT_ADD_Y_VELOCITY_MAX 20 |
Definition at line 53 of file _combat_robot.gsc.
#define COMBAT_ROBOT_ADD_Y_VELOCITY_MIN -20 |
Definition at line 52 of file _combat_robot.gsc.
#define COMBAT_ROBOT_ADD_Z_VELOCITY_MAX 80 |
Definition at line 55 of file _combat_robot.gsc.
#define COMBAT_ROBOT_ADD_Z_VELOCITY_MIN 60 |
Definition at line 54 of file _combat_robot.gsc.
#define COMBAT_ROBOT_DEFEND_ICON "t7_hud_ks_c54i_drop" |
Definition at line 42 of file _combat_robot.gsc.
#define COMBAT_ROBOT_FORWARD_SPAWN_OFFSET 72 |
Definition at line 40 of file _combat_robot.gsc.
#define COMBAT_ROBOT_GIVE_UP_ON_ENEMY 10000 |
Definition at line 62 of file _combat_robot.gsc.
#define COMBAT_ROBOT_GUARD_RADIUS 1000 |
Definition at line 41 of file _combat_robot.gsc.
#define COMBAT_ROBOT_IGNORE_UNATTACKABLE_ENEMY 5000 |
Definition at line 65 of file _combat_robot.gsc.
#define COMBAT_ROBOT_INFLUENCER "small_vehicle" |
Definition at line 44 of file _combat_robot.gsc.
#define COMBAT_ROBOT_KILLCAM_TIME_OFFSET ( 750 ) |
Definition at line 70 of file _combat_robot.gsc.
#define COMBAT_ROBOT_MARKER_NAME "combat_robot_marker" |
Definition at line 45 of file _combat_robot.gsc.
#define COMBAT_ROBOT_MAX_SHUTDOWN 4.5 |
Definition at line 59 of file _combat_robot.gsc.
#define COMBAT_ROBOT_MIN_SHUTDOWN 3.0 |
Definition at line 58 of file _combat_robot.gsc.
#define COMBAT_ROBOT_NAME "combat_robot" |
Definition at line 43 of file _combat_robot.gsc.
#define COMBAT_ROBOT_NAV_MESH_VALID_LOCATION_BOUNDARY 18 |
Definition at line 67 of file _combat_robot.gsc.
#define COMBAT_ROBOT_NAV_MESH_VALID_LOCATION_TOLERANCE 4 |
Definition at line 68 of file _combat_robot.gsc.
#define COMBAT_ROBOT_VELOCITY_SCALAR ( 1 / 8 ) |
Definition at line 49 of file _combat_robot.gsc.
#define INVENTORY_COMBAT_ROBOT_NAME "inventory_combat_robot" |
Definition at line 46 of file _combat_robot.gsc.
function private _CalculateProjectedGuardPosition | ( | player | ) |
Definition at line 98 of file _combat_robot.gsc.
Referenced by _WatchModeSwap().
function private _CalculateRobotSpawnPosition | ( | player | ) |
Definition at line 104 of file _combat_robot.gsc.
References COMBAT_ROBOT_FORWARD_SPAWN_OFFSET.
function private _CleanupRobotCorpses | ( | ) |
Definition at line 112 of file _combat_robot.gsc.
Referenced by init().
function private _ConfigureRobotTeam | ( | robot | , |
player | , | ||
isHacked | |||
) |
Definition at line 172 of file _combat_robot.gsc.
References _Underwater(), _WatchModeSwap(), isHacked(), ROBOT_LIGHTS_HACKED, ROBOT_LIGHTS_ON, set_behavior_attribute(), and WatchCombatRobotOwnerDisconnect().
Referenced by ConfigureTeamPost().
function private _corpseWatcher | ( | ) |
Definition at line 727 of file _combat_robot.gsc.
References BURN_SMOLDER, and set().
Referenced by _explodeRobot().
function private _CreateGuardMarker | ( | robot | , |
position | |||
) |
Definition at line 195 of file _combat_robot.gsc.
References setEntityHeadIcon(), and spawn().
Referenced by _GuardPosition().
function private _DestroyGuardMarker | ( | robot | ) |
Definition at line 205 of file _combat_robot.gsc.
Referenced by _Escort(), _GuardPosition(), and WatchCombatRobotShutdown().
function private _Escort | ( | robot | ) |
Definition at line 232 of file _combat_robot.gsc.
References _DestroyGuardMarker(), COMBAT_ROBOT_GIVE_UP_ON_ENEMY, and set_behavior_attribute().
Referenced by _WatchModeSwap(), and Prolog().
function private _explodeRobot | ( | combatRobot | ) |
Definition at line 734 of file _combat_robot.gsc.
References _corpseWatcher(), BURN_BODY, COMBAT_ROBOT_ADD_X_VELOCITY_MAX, COMBAT_ROBOT_ADD_X_VELOCITY_MIN, COMBAT_ROBOT_ADD_Y_VELOCITY_MAX, COMBAT_ROBOT_ADD_Y_VELOCITY_MIN, COMBAT_ROBOT_ADD_Z_VELOCITY_MAX, COMBAT_ROBOT_ADD_Z_VELOCITY_MIN, COMBAT_ROBOT_VELOCITY_SCALAR, GibHead(), GibLeftArm(), GibLegs(), GibRightArm(), ROBOT_MIND_CONTROL_EXPLOSION_CLIENTFIELD, ROBOT_MIND_CONTROL_EXPLOSION_ON, and set().
Referenced by OnCombatRobotTimeout().
function private _GuardPosition | ( | robot | , |
position | |||
) |
Definition at line 284 of file _combat_robot.gsc.
References _CreateGuardMarker(), _DestroyGuardMarker(), COMBAT_ROBOT_GIVE_UP_ON_ENEMY, COMBAT_ROBOT_GUARD_RADIUS, and set_behavior_attribute().
Referenced by _WatchModeSwap().
function private _IgnoreUnattackableEnemy | ( | robot | , |
enemy | |||
) |
Definition at line 273 of file _combat_robot.gsc.
References COMBAT_ROBOT_IGNORE_UNATTACKABLE_ENEMY.
function private _Underwater | ( | robot | ) |
Definition at line 213 of file _combat_robot.gsc.
References ROBOT_HEIGHT.
Referenced by _ConfigureRobotTeam().
function _WatchModeSwap | ( | robot | , |
player | |||
) |
Definition at line 326 of file _combat_robot.gsc.
References _CalculateProjectedGuardPosition(), _Escort(), _GuardPosition(), COMBAT_ROBOT_NAME, IS_TRUE, and WAIT_SERVER_FRAME.
Referenced by _ConfigureRobotTeam().
function ActivateCombatRobot | ( | killstreak | ) |
Definition at line 401 of file _combat_robot.gsc.
References COMBAT_ROBOT_MARKER_NAME, COMBAT_ROBOT_NAME, COMBAT_ROBOT_NAV_MESH_VALID_LOCATION_BOUNDARY, COMBAT_ROBOT_NAV_MESH_VALID_LOCATION_TOLERANCE, displayKillstreakStartTeamMessageToAll(), Epilog(), IsLocationGood(), isSupplyDropGrenadeAllowed(), killstreakStart(), killstreakStop(), PHYSICS_TRACE_MASK_PHYSICS, PHYSICS_TRACE_MASK_WATER, play_killstreak_start_dialog(), Prolog(), result(), and useSupplyDropMarker().
Referenced by init().
function CleanupThread | ( | context | ) |
Definition at line 614 of file _combat_robot.gsc.
References DelDropLocation(), and get().
Referenced by Epilog().
function combatRobotDamageOverride | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
psOffsetTime | , | ||
boneIndex | , | ||
modelIndex | |||
) |
Definition at line 909 of file _combat_robot.gsc.
References combat_robot_damage(), COMBAT_ROBOT_NAME, get(), and OnDamagePerWeapon().
Referenced by Prolog().
function ConfigureTeamPost | ( | player | , |
isHacked | |||
) |
Definition at line 140 of file _combat_robot.gsc.
References _ConfigureRobotTeam(), COMBAT_ROBOT_EMP_DURATION, GIB_CLIENTFIELD, GIB_TORSO_HEAD_FLAG, GIB_UNDAMAGED_FLAG, isHacked(), ROBOT_MODE, set(), set_behavior_attribute(), SET_GIBBED, SetBlackBoardAttribute(), and SQR.
Referenced by Prolog().
function DropKillThread | ( | ) |
Definition at line 455 of file _combat_robot.gsc.
References is_clone_touching_crate(), is_touching_crate(), and WAIT_SERVER_FRAME.
Referenced by Epilog().
function Epilog | ( | context | ) |
Definition at line 566 of file _combat_robot.gsc.
References CleanupThread(), COMBAT_ROBOT_KILLCAM_TIME_OFFSET, DropKillThread(), unload(), VAL, and WaitThenSetDeleteAfterDestructionWaitTime().
Referenced by ActivateCombatRobot().
function HackedCallbackPost | ( | hacker | ) |
Definition at line 589 of file _combat_robot.gsc.
References SetupCombatRobotHintTrigger().
Referenced by Prolog().
function init | ( | ) |
Definition at line 84 of file _combat_robot.gsc.
References _CleanupRobotCorpses(), ActivateCombatRobot(), COMBAT_ROBOT_MARKER_NAME, COMBAT_ROBOT_NAME, INVENTORY_COMBAT_ROBOT_NAME, register(), register_alt_weapon(), register_dialog(), and register_strings().
function OnCombatRobotTimeout | ( | ) |
Definition at line 759 of file _combat_robot.gsc.
References _explodeRobot(), COMBAT_ROBOT_MARKER_NAME, COMBAT_ROBOT_MAX_SHUTDOWN, COMBAT_ROBOT_MIN_SHUTDOWN, COMBAT_ROBOT_NAME, DEFAULT, play_pilot_dialog_on_owner(), and set_behavior_attribute().
Referenced by Prolog().
function Prolog | ( | context | ) |
Definition at line 490 of file _combat_robot.gsc.
References _Escort(), AddAIOverrideDamageCallback(), COMBAT_ROBOT_DURATION, COMBAT_ROBOT_INFLUENCER, COMBAT_ROBOT_NAME, combatRobotDamageOverride(), configure_team(), ConfigureTeamPost(), enable_hacking(), ENEMY_VEHICLE_ACTIVE, get_in(), get_max_health(), HackedCallbackPost(), killstreakTargetSet(), MissileTarget_ProximityDetonateIncomingMissile(), on_spawned(), OnCombatRobotTimeout(), respectNotTargetedByRobotPerk(), set(), sndWatchActivate(), sndWatchCombatRobotVoxNotifies(), sndWatchExit(), sndWatchLanding(), WaitForTimeout(), WatchCombatRobotDeath(), WatchCombatRobotHelicopterHacked(), WatchCombatRobotLanding(), WatchCombatRobotShutdown(), and WatchHelicopterDeath().
Referenced by ActivateCombatRobot().
function respectNotTargetedByRobotPerk | ( | player | ) |
Definition at line 560 of file _combat_robot.gsc.
Referenced by Prolog(), and WatchCombatRobotDeath().
function SetupCombatRobotHintTrigger | ( | player | ) |
Definition at line 694 of file _combat_robot.gsc.
References spawn().
Referenced by HackedCallbackPost(), and WatchCombatRobotLanding().
function sndWatchActivate | ( | ) |
Definition at line 898 of file _combat_robot.gsc.
Referenced by Prolog().
function sndWatchCombatRobotVoxNotifies | ( | ) |
Definition at line 843 of file _combat_robot.gsc.
Referenced by Prolog().
function sndWatchExit | ( | ) |
Definition at line 873 of file _combat_robot.gsc.
Referenced by Prolog().
function sndWatchLanding | ( | ) |
Definition at line 883 of file _combat_robot.gsc.
Referenced by Prolog().
function WaitThenSetDeleteAfterDestructionWaitTime | ( | set_wait_time | , |
delete_after_destruction_wait_time | |||
) |
Definition at line 579 of file _combat_robot.gsc.
Referenced by Epilog().
function WatchCombatRobotDeath | ( | ) |
Definition at line 635 of file _combat_robot.gsc.
References COMBAT_ROBOT_NAME, destroyNonAirScoreStreak_PostStatsLock(), destroyScoreStreak(), IsEnemyPlayer(), play_destroyed_dialog_on_owner(), processScoreEvent(), remove_on_spawned(), and respectNotTargetedByRobotPerk().
Referenced by Prolog().
function WatchCombatRobotHelicopterHacked | ( | helicopter | ) |
function WatchCombatRobotLanding | ( | ) |
Definition at line 658 of file _combat_robot.gsc.
References get(), and SetupCombatRobotHintTrigger().
Referenced by Prolog().
function WatchCombatRobotOwnerDisconnect | ( | player | ) |
Definition at line 716 of file _combat_robot.gsc.
References waittill_any().
Referenced by _ConfigureRobotTeam().
function WatchCombatRobotShutdown | ( | ) |
Definition at line 811 of file _combat_robot.gsc.
References _DestroyGuardMarker(), COMBAT_ROBOT_NAME, get(), and killstreakStop().
Referenced by Prolog().
function WatchHelicopterDeath | ( | context | ) |
Definition at line 469 of file _combat_robot.gsc.
References callback(), and DelDropLocation().
Referenced by Prolog().