![]() |
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.
Functions | |
function | __init__ () |
function private | _ChooseWeapon (player) |
function | _CloneBreakGlass () |
function | _CloneBuildItemList (player) |
function private | _CloneCopyPlayerLook (clone, player) |
function private | _cloneDamaged () |
function | _CloneFakeFire () |
function | _CloneOrbFx (endPos, travelTime) |
function | _CloneSelectWeapon (player) |
function private | _CloneWatchDeath () |
function | _CloneWatchOwnerDisconnect (player) |
function | _CloneWatchShutdown () |
function private | _ConfigureClone (clone, player, forward, spawnTime) |
function private | _ConfigureCloneTeam (clone, player, isHacked) |
function private | _PlayDematerialization () |
function private | _show (spawnTime) |
function private | _TestPlayerWeapon (playerweapon, items) |
function private | _UpdateClonePathing () |
function | CalculateSpawnOrigin (origin, angles, cloneDistance) |
function | cloneDamageOverride (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, timeOffset, boneIndex, modelIndex, surfaceType, surfaceNormal) |
function | gadget_clone_is_flickering (slot) |
function | gadget_clone_is_inuse (slot) |
function | gadget_clone_off (slot, weapon) |
function | gadget_clone_on (slot, weapon) |
function | gadget_clone_on_connect () |
function | gadget_clone_on_flicker (slot, weapon) |
function | gadget_clone_on_give (slot, weapon) |
function | gadget_clone_on_take (slot, weapon) |
function | insertClone (clone) |
function | is_jumping () |
function | killClones (player) |
function | ProcessCloneScoreEvent (clone, attacker, weapon) |
function | removeClone (clone) |
function | removeOldestClone () |
function | spawnClones () |
#define CLONE_APPEAR_FX "player/fx_plyr_clone_reaper_appear" |
Definition at line 54 of file _gadget_clone.gsc.
#define CLONE_COUNT 3 |
Definition at line 29 of file _gadget_clone.gsc.
#define CLONE_FIRST_POINT_DISTANCE 1000 |
Definition at line 38 of file _gadget_clone.gsc.
#define CLONE_HEALTH_MULTIPLIER 1.5 |
Definition at line 32 of file _gadget_clone.gsc.
#define CLONE_HEIGHT 72 |
Definition at line 30 of file _gadget_clone.gsc.
#define CLONE_MAX_CLONES_ALLOWED 20 |
Definition at line 31 of file _gadget_clone.gsc.
#define CLONE_MAX_SEARCH_RADIUS 750 |
Definition at line 41 of file _gadget_clone.gsc.
#define CLONE_MAX_SEARCH_RADIUS_INITIAL 450 |
Definition at line 39 of file _gadget_clone.gsc.
#define CLONE_MIN_SEARCH_RADIUS 500 |
Definition at line 40 of file _gadget_clone.gsc.
#define CLONE_NOT_MOVING_DIST_SQ SQR( 24 ) |
Definition at line 346 of file _gadget_clone.gsc.
#define CLONE_NOT_MOVING_POLL_TIME 2000 |
Definition at line 347 of file _gadget_clone.gsc.
#define CLONE_ORB_FX "player/fx_plyr_clone_reaper_orb" |
Definition at line 52 of file _gadget_clone.gsc.
#define CLONE_PATH_DISTANCE_THRESHOLD 120 |
Definition at line 42 of file _gadget_clone.gsc.
#define CLONE_PATH_DISTANCE_THRESHOLD_SQ CLONE_PATH_DISTANCE_THRESHOLD * CLONE_PATH_DISTANCE_THRESHOLD |
Definition at line 43 of file _gadget_clone.gsc.
#define CLONE_SPAWN_DISTANCE 60 |
Definition at line 33 of file _gadget_clone.gsc.
#define CLONE_SPAWN_FACING_OFFSET 17 |
Definition at line 36 of file _gadget_clone.gsc.
#define CLONE_SPAWN_FROM_PLAYER_MAX 500 |
Definition at line 37 of file _gadget_clone.gsc.
#define CLONE_SPAWN_HEIGHT_OFFSET 5 |
Definition at line 34 of file _gadget_clone.gsc.
#define CLONE_SPAWN_VELOCITY_OFFSET 17 |
Definition at line 35 of file _gadget_clone.gsc.
#define CLONE_VANISH_FX "player/fx_plyr_clone_vanish" |
Definition at line 53 of file _gadget_clone.gsc.
#define FAKEFIRE_MAX_RANGE 750 |
Definition at line 44 of file _gadget_clone.gsc.
#define FAKEFIRE_MAX_RANGE_SQR ( FAKEFIRE_MAX_RANGE * FAKEFIRE_MAX_RANGE ) |
Definition at line 45 of file _gadget_clone.gsc.
#define FAKEFIRE_MAX_SHOTS 4 |
Definition at line 47 of file _gadget_clone.gsc.
#define FAKEFIRE_MAX_WAIT_DURATION 3 |
Definition at line 49 of file _gadget_clone.gsc.
#define FAKEFIRE_MIN_SHOTS 1 |
Definition at line 46 of file _gadget_clone.gsc.
#define FAKEFIRE_MIN_WAIT_DURATION .5 |
Definition at line 48 of file _gadget_clone.gsc.
#define ORB_HEIGHT_OFFSET ( 40 - CLONE_SPAWN_HEIGHT_OFFSET ) |
Definition at line 51 of file _gadget_clone.gsc.
#define ORB_TRAVEL_VELOCITY 800 |
Definition at line 50 of file _gadget_clone.gsc.
function __init__ | ( | ) |
Definition at line 61 of file _gadget_clone.gsc.
References gadget_clone_is_flickering(), gadget_clone_is_inuse(), gadget_clone_off(), gadget_clone_on(), gadget_clone_on_connect(), gadget_clone_on_flicker(), gadget_clone_on_give(), gadget_clone_on_take(), GADGET_TYPE_CLONE, on_connect(), register(), register_gadget_activation_callbacks(), register_gadget_flicker_callbacks(), register_gadget_is_flickering_callbacks(), register_gadget_is_inuse_callbacks(), register_gadget_possession_callbacks(), and VERSION_SHIP.
function private _ChooseWeapon | ( | player | ) |
Definition at line 830 of file _gadget_clone.gsc.
Referenced by _CloneSelectWeapon().
function _CloneBreakGlass | ( | ) |
Definition at line 706 of file _gadget_clone.gsc.
References break_glass().
Referenced by _ConfigureClone().
function _CloneBuildItemList | ( | player | ) |
Definition at line 782 of file _gadget_clone.gsc.
References name, STATS_TABLE_COL_ALLOCATION, STATS_TABLE_COL_NAME, STATS_TABLE_COL_NUMBERING, STATS_TABLE_COL_SLOT, and STATS_TABLE_MAX_ITEMS.
Referenced by _CloneSelectWeapon().
function private _CloneCopyPlayerLook | ( | clone | , |
player | |||
) |
Definition at line 453 of file _gadget_clone.gsc.
Referenced by _ConfigureClone().
function private _cloneDamaged | ( | ) |
Definition at line 622 of file _gadget_clone.gsc.
References set(), and wait_network_frame().
Referenced by cloneDamageOverride().
function _CloneFakeFire | ( | ) |
Definition at line 720 of file _gadget_clone.gsc.
References FAKEFIRE_MAX_RANGE_SQR, FAKEFIRE_MAX_SHOTS, FAKEFIRE_MAX_WAIT_DURATION, FAKEFIRE_MIN_SHOTS, and FAKEFIRE_MIN_WAIT_DURATION.
Referenced by _ConfigureClone().
function _CloneOrbFx | ( | endPos | , |
travelTime | |||
) |
Definition at line 437 of file _gadget_clone.gsc.
References CLONE_ORB_FX, ORB_HEIGHT_OFFSET, spawn(), and waittill_any_timeout().
Referenced by spawnClones().
function _CloneSelectWeapon | ( | player | ) |
Definition at line 755 of file _gadget_clone.gsc.
References _ChooseWeapon(), _CloneBuildItemList(), _TestPlayerWeapon(), and placeWeaponOn().
Referenced by _ConfigureClone().
function private _CloneWatchDeath | ( | ) |
Definition at line 572 of file _gadget_clone.gsc.
References _PlayDematerialization(), and removeClone().
Referenced by _ConfigureClone().
function _CloneWatchOwnerDisconnect | ( | player | ) |
Definition at line 670 of file _gadget_clone.gsc.
References waittill_any().
Referenced by _ConfigureClone().
function _CloneWatchShutdown | ( | ) |
Definition at line 684 of file _gadget_clone.gsc.
References _PlayDematerialization(), and removeClone().
Referenced by _ConfigureClone().
function private _ConfigureClone | ( | clone | , |
player | , | ||
forward | , | ||
spawnTime | |||
) |
Definition at line 485 of file _gadget_clone.gsc.
References _CloneBreakGlass(), _CloneCopyPlayerLook(), _CloneFakeFire(), _CloneSelectWeapon(), _CloneWatchDeath(), _CloneWatchOwnerDisconnect(), _CloneWatchShutdown(), _ConfigureCloneTeam(), _show(), _UpdateClonePathing(), CLONE_FIRST_POINT_DISTANCE, CLONE_HEALTH_MULTIPLIER, CLONE_MAX_SEARCH_RADIUS, CLONE_MAX_SEARCH_RADIUS_INITIAL, CLONE_MIN_SEARCH_RADIUS, cloneDamageOverride(), CONTENTS_CLIPSHOT, and NAVMESH_MATERIAL_WATER.
Referenced by spawnClones().
function private _ConfigureCloneTeam | ( | clone | , |
player | , | ||
isHacked | |||
) |
Definition at line 585 of file _gadget_clone.gsc.
References isHacked().
Referenced by _ConfigureClone().
function private _PlayDematerialization | ( | ) |
Definition at line 562 of file _gadget_clone.gsc.
References CLONE_VANISH_FX, and PlayFx().
Referenced by _CloneWatchDeath(), _CloneWatchShutdown(), and gadget_clone_off().
function private _show | ( | spawnTime | ) |
Definition at line 598 of file _gadget_clone.gsc.
References CLONE_APPEAR_FX, PlayFx(), and set().
Referenced by _ConfigureClone().
function private _TestPlayerWeapon | ( | playerweapon | , |
items | |||
) |
Definition at line 844 of file _gadget_clone.gsc.
Referenced by _CloneSelectWeapon().
function private _UpdateClonePathing | ( | ) |
Definition at line 348 of file _gadget_clone.gsc.
References CLONE_HEIGHT, CLONE_MAX_SEARCH_RADIUS, CLONE_MIN_SEARCH_RADIUS, CLONE_NOT_MOVING_DIST_SQ, CLONE_NOT_MOVING_POLL_TIME, CLONE_PATH_DISTANCE_THRESHOLD_SQ, SetBlackBoardAttribute(), STANCE, STANCE_CROUCH, and STANCE_SWIM.
Referenced by _ConfigureClone().
function CalculateSpawnOrigin | ( | origin | , |
angles | , | ||
cloneDistance | |||
) |
Definition at line 131 of file _gadget_clone.gsc.
References CLONE_COUNT, CLONE_SPAWN_FROM_PLAYER_MAX, CLONE_SPAWN_HEIGHT_OFFSET, is_jumping(), and trace().
Referenced by spawnClones().
function cloneDamageOverride | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
timeOffset | , | ||
boneIndex | , | ||
modelIndex | , | ||
surfaceType | , | ||
surfaceNormal | |||
) |
Definition at line 644 of file _gadget_clone.gsc.
References _cloneDamaged(), and ProcessCloneScoreEvent().
Referenced by _ConfigureClone().
function gadget_clone_is_flickering | ( | slot | ) |
Definition at line 83 of file _gadget_clone.gsc.
Referenced by __init__().
function gadget_clone_is_inuse | ( | slot | ) |
Definition at line 78 of file _gadget_clone.gsc.
Referenced by __init__().
function gadget_clone_off | ( | slot | , |
weapon | |||
) |
Definition at line 609 of file _gadget_clone.gsc.
References _PlayDematerialization(), clear(), killClones(), and set().
Referenced by __init__(), and spawnClones().
function gadget_clone_on | ( | slot | , |
weapon | |||
) |
Definition at line 337 of file _gadget_clone.gsc.
References CLONE_APPEAR_FX, PlayFx(), set(), and spawnClones().
Referenced by __init__().
function gadget_clone_on_connect | ( | ) |
Definition at line 105 of file _gadget_clone.gsc.
Referenced by __init__().
function gadget_clone_on_flicker | ( | slot | , |
weapon | |||
) |
Definition at line 89 of file _gadget_clone.gsc.
Referenced by __init__().
function gadget_clone_on_give | ( | slot | , |
weapon | |||
) |
Definition at line 94 of file _gadget_clone.gsc.
Referenced by __init__().
function gadget_clone_on_take | ( | slot | , |
weapon | |||
) |
Definition at line 99 of file _gadget_clone.gsc.
Referenced by __init__().
function insertClone | ( | clone | ) |
Definition at line 207 of file _gadget_clone.gsc.
References CLONE_MAX_CLONES_ALLOWED.
Referenced by spawnClones().
function is_jumping | ( | ) |
Definition at line 124 of file _gadget_clone.gsc.
Referenced by CalculateSpawnOrigin().
function killClones | ( | player | ) |
Definition at line 110 of file _gadget_clone.gsc.
Referenced by gadget_clone_off(), and spawnClones().
function ProcessCloneScoreEvent | ( | clone | , |
attacker | , | ||
weapon | |||
) |
Definition at line 630 of file _gadget_clone.gsc.
References processScoreEvent().
Referenced by Callback_ActorKilled(), and cloneDamageOverride().
function removeClone | ( | clone | ) |
Definition at line 226 of file _gadget_clone.gsc.
References CLONE_MAX_CLONES_ALLOWED, and remove_undefined().
Referenced by _CloneWatchDeath(), and _CloneWatchShutdown().
function removeOldestClone | ( | ) |
Definition at line 243 of file _gadget_clone.gsc.
References CLONE_MAX_CLONES_ALLOWED, and remove_undefined().
Referenced by spawnClones().
function spawnClones | ( | ) |
Definition at line 273 of file _gadget_clone.gsc.
References _CloneOrbFx(), _ConfigureClone(), CalculateSpawnOrigin(), CLONE_COUNT, CLONE_MAX_CLONES_ALLOWED, CLONE_SPAWN_DISTANCE, CLONE_SPAWN_FACING_OFFSET, CLONE_SPAWN_VELOCITY_OFFSET, gadget_clone_off(), insertClone(), IsOutOfBounds(), killClones(), ORANGE, ORB_TRAVEL_VELOCITY, removeOldestClone(), and WAIT_SERVER_FRAME.
Referenced by gadget_clone_on().