![]() |
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 | BLACKJACK_BODY_INDEX 9 |
#define | MIN_TIME_BETWEEN_GIVE_FLIP_AUDIO_MS 99 |
#define | THIEF_ACTIVATION_WAIT 1.1 |
#define | THIEF_NEW_GADGET_ANIM_TIME 0.75 |
#define | THIEF_OVERCLOCK_POWER_THRESHOLD 80 |
#define | THIEF_PRE_FLIP_WAIT_TIME 0.85 |
#define | THIEF_STATE_DEFAULT 0 |
#define | THIEF_STATE_DONE_FLIPING 2 |
#define | THIEF_STATE_RECEIVED_NEW_GADGET 1 |
#define | THIEF_WEAPON_OPTION_NONE 0 |
Functions | |
function | __init__ () |
function | disable_hero_gadget_activation (duration) |
function | dpad_left_pressed () |
function | earnedSpecialistWeapon (victim, slot, wasFullyCharged, stolenHeroWeapon) |
function | failsafe_reenable_offhand_special () |
function | gadget_give_random_gadget (slot, weapon, weaponStolenFromEntnum, justSpawned=false) |
function | gadget_thief_active (slot, weapon) |
function | gadget_thief_flicker (slot, weapon) |
function | gadget_thief_is_flickering (slot) |
function | gadget_thief_is_inuse (slot) |
function | gadget_thief_is_ready (slot, weapon) |
function | gadget_thief_kill_callback (victim, weapon) |
function | gadget_thief_on_activate (slot, weapon) |
function | gadget_thief_on_connect () |
function | gadget_thief_on_deactivate (slot, weapon) |
function | gadget_thief_on_flicker (slot, weapon) |
function | gadget_thief_on_give (slot, weapon) |
function | gadget_thief_on_player_spawn () |
function | gadget_thief_on_take (slot, weapon) |
function | getStolenHeroWeapon (gadget) |
function | getThiefPowerGain () |
function | GetVictimBodyIndex (victim, heroWeapon) |
function | giveFlipWeapon (slot, victim, heroWeapon) |
function | givePreviouslyEarnedSpecialistWeapon (slot, justSpawned) |
function | handleStolenScoreEvent (heroweapon) |
function | handleThiefKill (slot, weapon, victim) |
function | resetFlashStartAndEndAfterDelay (delay) |
function | set_gadget_status (status, time) |
function | setup_gadget_thief_array () |
function | spawnThiefBeamEffect (origin) |
function | waitthendelete (time) |
function | watch_entity_shutdown () |
function | watchForHeroKill (slot) |
function | watchForOptionUse (slot, victimBodyIndex, justSpawned) |
function | watchGadgetActivated (slot) |
function | watchHeroWeaponChanged () |
#define BLACKJACK_BODY_INDEX 9 |
Definition at line 41 of file _gadget_thief.gsc.
#define MIN_TIME_BETWEEN_GIVE_FLIP_AUDIO_MS 99 |
Definition at line 43 of file _gadget_thief.gsc.
#define THIEF_ACTIVATION_WAIT 1.1 |
Definition at line 37 of file _gadget_thief.gsc.
#define THIEF_NEW_GADGET_ANIM_TIME 0.75 |
Definition at line 35 of file _gadget_thief.gsc.
#define THIEF_OVERCLOCK_POWER_THRESHOLD 80 |
Definition at line 39 of file _gadget_thief.gsc.
#define THIEF_PRE_FLIP_WAIT_TIME 0.85 |
Definition at line 36 of file _gadget_thief.gsc.
#define THIEF_STATE_DEFAULT 0 |
Definition at line 30 of file _gadget_thief.gsc.
#define THIEF_STATE_DONE_FLIPING 2 |
Definition at line 32 of file _gadget_thief.gsc.
#define THIEF_STATE_RECEIVED_NEW_GADGET 1 |
Definition at line 31 of file _gadget_thief.gsc.
#define THIEF_WEAPON_OPTION_NONE 0 |
Definition at line 33 of file _gadget_thief.gsc.
function __init__ | ( | ) |
Definition at line 46 of file _gadget_thief.gsc.
References gadget_thief_is_flickering(), gadget_thief_is_inuse(), gadget_thief_is_ready(), gadget_thief_on_activate(), gadget_thief_on_connect(), gadget_thief_on_deactivate(), gadget_thief_on_flicker(), gadget_thief_on_give(), gadget_thief_on_player_spawn(), gadget_thief_on_take(), GADGET_TYPE_THIEF, on_connect(), on_spawned(), register(), register_gadget_activation_callbacks(), register_gadget_flicker_callbacks(), register_gadget_is_flickering_callbacks(), register_gadget_is_inuse_callbacks(), register_gadget_possession_callbacks(), register_gadget_ready_callbacks(), setup_gadget_thief_array(), and VERSION_TU11.
function disable_hero_gadget_activation | ( | duration | ) |
Definition at line 464 of file _gadget_thief.gsc.
function dpad_left_pressed | ( | ) |
Definition at line 692 of file _gadget_thief.gsc.
Referenced by watchForOptionUse().
function earnedSpecialistWeapon | ( | victim | , |
slot | , | ||
wasFullyCharged | , | ||
stolenHeroWeapon | |||
) |
Definition at line 364 of file _gadget_thief.gsc.
References gadget_give_random_gadget(), getStolenHeroWeapon(), giveFlipWeapon(), handleStolenScoreEvent(), set_to_player(), THIEF_STATE_RECEIVED_NEW_GADGET, and THIEF_WEAPON_OPTION_NONE.
Referenced by handleThiefKill(), and watchForHeroKill().
function failsafe_reenable_offhand_special | ( | ) |
Definition at line 477 of file _gadget_thief.gsc.
function gadget_give_random_gadget | ( | slot | , |
weapon | , | ||
weaponStolenFromEntnum | , | ||
justSpawned | = false |
||
) |
Definition at line 608 of file _gadget_thief.gsc.
References GADGET_HELD_0, GADGET_HELD_COUNT, and watchGadgetActivated().
Referenced by earnedSpecialistWeapon(), gadget_thief_active(), givePreviouslyEarnedSpecialistWeapon(), and watchForOptionUse().
function gadget_thief_active | ( | slot | , |
weapon | |||
) |
Definition at line 195 of file _gadget_thief.gsc.
References gadget_give_random_gadget(), and watchForHeroKill().
Referenced by gadget_thief_on_give().
function gadget_thief_flicker | ( | slot | , |
weapon | |||
) |
Definition at line 766 of file _gadget_thief.gsc.
Referenced by gadget_thief_on_flicker().
function gadget_thief_is_flickering | ( | slot | ) |
Definition at line 103 of file _gadget_thief.gsc.
Referenced by __init__().
function gadget_thief_is_inuse | ( | slot | ) |
Definition at line 97 of file _gadget_thief.gsc.
Referenced by __init__().
function gadget_thief_is_ready | ( | slot | , |
weapon | |||
) |
Definition at line 191 of file _gadget_thief.gsc.
Referenced by __init__().
function gadget_thief_kill_callback | ( | victim | , |
weapon | |||
) |
Definition at line 144 of file _gadget_thief.gsc.
References handleThiefKill().
Referenced by gadget_thief_on_give().
function gadget_thief_on_activate | ( | slot | , |
weapon | |||
) |
Definition at line 187 of file _gadget_thief.gsc.
Referenced by __init__().
function gadget_thief_on_connect | ( | ) |
Definition at line 157 of file _gadget_thief.gsc.
Referenced by __init__().
function gadget_thief_on_deactivate | ( | slot | , |
weapon | |||
) |
Definition at line 750 of file _gadget_thief.gsc.
References GADGET_HELD_0, and GADGET_HELD_COUNT.
Referenced by __init__().
function gadget_thief_on_flicker | ( | slot | , |
weapon | |||
) |
Definition at line 109 of file _gadget_thief.gsc.
References gadget_thief_flicker().
Referenced by __init__().
function gadget_thief_on_give | ( | slot | , |
weapon | |||
) |
Definition at line 115 of file _gadget_thief.gsc.
References gadget_thief_active(), gadget_thief_kill_callback(), set_to_player(), THIEF_STATE_DEFAULT, and VAL.
Referenced by __init__().
function gadget_thief_on_player_spawn | ( | ) |
Definition at line 165 of file _gadget_thief.gsc.
References givePreviouslyEarnedSpecialistWeapon(), and watchHeroWeaponChanged().
Referenced by __init__().
function gadget_thief_on_take | ( | slot | , |
weapon | |||
) |
Definition at line 150 of file _gadget_thief.gsc.
Referenced by __init__().
function getStolenHeroWeapon | ( | gadget | ) |
Definition at line 206 of file _gadget_thief.gsc.
Referenced by earnedSpecialistWeapon(), and watchForHeroKill().
function getThiefPowerGain | ( | ) |
Definition at line 283 of file _gadget_thief.gsc.
References VAL.
Referenced by handleThiefKill(), and watchGadgetActivated().
function GetVictimBodyIndex | ( | victim | , |
heroWeapon | |||
) |
Definition at line 785 of file _gadget_thief.gsc.
References BLACKJACK_BODY_INDEX.
Referenced by giveFlipWeapon().
function giveFlipWeapon | ( | slot | , |
victim | , | ||
heroWeapon | |||
) |
Definition at line 420 of file _gadget_thief.gsc.
References GetVictimBodyIndex(), handleStolenScoreEvent(), MIN_TIME_BETWEEN_GIVE_FLIP_AUDIO_MS, set_to_player(), THIEF_NEW_GADGET_ANIM_TIME, THIEF_STATE_DONE_FLIPING, VAL, and watchForOptionUse().
Referenced by earnedSpecialistWeapon().
function givePreviouslyEarnedSpecialistWeapon | ( | slot | , |
justSpawned | |||
) |
Definition at line 450 of file _gadget_thief.gsc.
References gadget_give_random_gadget(), and watchForOptionUse().
Referenced by gadget_thief_on_player_spawn().
function handleStolenScoreEvent | ( | heroweapon | ) |
Definition at line 490 of file _gadget_thief.gsc.
Referenced by earnedSpecialistWeapon(), and giveFlipWeapon().
function handleThiefKill | ( | slot | , |
weapon | , | ||
victim | |||
) |
Definition at line 291 of file _gadget_thief.gsc.
References earnedSpecialistWeapon(), getThiefPowerGain(), is_killstreak_weapon(), processScoreEvent(), resetFlashStartAndEndAfterDelay(), set_player_uimodel(), THIEF_OVERCLOCK_POWER_THRESHOLD, and VAL.
Referenced by gadget_thief_kill_callback().
function resetFlashStartAndEndAfterDelay | ( | delay | ) |
Definition at line 272 of file _gadget_thief.gsc.
References delay(), and set_player_uimodel().
Referenced by handleThiefKill().
function set_gadget_status | ( | status | , |
time | |||
) |
Definition at line 770 of file _gadget_thief.gsc.
function setup_gadget_thief_array | ( | ) |
function spawnThiefBeamEffect | ( | origin | ) |
Definition at line 594 of file _gadget_thief.gsc.
References set(), spawn(), and waitthendelete().
Referenced by watchForHeroKill().
function waitthendelete | ( | time | ) |
Definition at line 602 of file _gadget_thief.gsc.
Referenced by spawnThiefBeamEffect(), and watchForHeroKill().
function watch_entity_shutdown | ( | ) |
Definition at line 183 of file _gadget_thief.gsc.
function watchForHeroKill | ( | slot | ) |
Definition at line 548 of file _gadget_thief.gsc.
References earnedSpecialistWeapon(), getStolenHeroWeapon(), processScoreEvent(), set(), spawn(), spawnThiefBeamEffect(), and waitthendelete().
Referenced by gadget_thief_active().
function watchForOptionUse | ( | slot | , |
victimBodyIndex | , | ||
justSpawned | |||
) |
Definition at line 648 of file _gadget_thief.gsc.
References dpad_left_pressed(), gadget_give_random_gadget(), set_to_player(), THIEF_PRE_FLIP_WAIT_TIME, THIEF_STATE_RECEIVED_NEW_GADGET, THIEF_WEAPON_OPTION_NONE, and WAIT_SERVER_FRAME.
Referenced by giveFlipWeapon(), and givePreviouslyEarnedSpecialistWeapon().
function watchGadgetActivated | ( | slot | ) |
Definition at line 723 of file _gadget_thief.gsc.
References GADGET_HELD_0, GADGET_HELD_COUNT, getThiefPowerGain(), set_to_player(), THIEF_STATE_DEFAULT, and THIEF_WEAPON_OPTION_NONE.
Referenced by gadget_give_random_gadget().
function watchHeroWeaponChanged | ( | ) |
Definition at line 697 of file _gadget_thief.gsc.
Referenced by gadget_thief_on_player_spawn().