![]() |
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 | DEFAULT_HACKABLE_ANGLEDOT GetDvarFloat("scr_hacker_default_angledot") |
#define | DEFAULT_HACKABLE_COST_MULT 1.0 |
#define | DEFAULT_HACKABLE_DISTANCE GetDvarFloat("scr_hacker_default_distance") |
#define | DEFAULT_HACKABLE_HACK_TIME GetDvarFloat("scr_hacker_default_hack_time") |
#define | DEFAULT_HACKABLE_PROMPT &"WEAPON_HACKING" |
#define | DEFAULT_HACKABLE_TIMEOUT GetDvarFloat("scr_hacker_default_timeout") |
#define | DEFAULT_HACKING_BASE_SPEED GetDvarFloat("scr_hacker_default_base_speed") |
Functions | |
function | add_hackable_object (obj, test_callback, start_callback, fail_callback, complete_callback) |
function | cleanup_hackable_objects () |
function | complete_hacking_object (obj) |
function | continue_hacking_object (obj) |
function | fail_hacking_object (obj) |
function | filter_deleted (val) |
function | find_hackable_object () |
function | init () |
function | is_object_hackable (obj, origin, forward) |
function | remove_hackable_object (obj) |
function | start_hacking_object (obj) |
function | watch_timeout (obj, time) |
#define DEFAULT_HACKABLE_ANGLEDOT GetDvarFloat("scr_hacker_default_angledot") |
Definition at line 16 of file hackable.gsc.
#define DEFAULT_HACKABLE_COST_MULT 1.0 |
Definition at line 18 of file hackable.gsc.
#define DEFAULT_HACKABLE_DISTANCE GetDvarFloat("scr_hacker_default_distance") |
Definition at line 15 of file hackable.gsc.
#define DEFAULT_HACKABLE_HACK_TIME GetDvarFloat("scr_hacker_default_hack_time") |
Definition at line 14 of file hackable.gsc.
#define DEFAULT_HACKABLE_PROMPT &"WEAPON_HACKING" |
Definition at line 19 of file hackable.gsc.
#define DEFAULT_HACKABLE_TIMEOUT GetDvarFloat("scr_hacker_default_timeout") |
Definition at line 17 of file hackable.gsc.
#define DEFAULT_HACKING_BASE_SPEED GetDvarFloat("scr_hacker_default_base_speed") |
Definition at line 21 of file hackable.gsc.
function add_hackable_object | ( | obj | , |
test_callback | , | ||
start_callback | , | ||
fail_callback | , | ||
complete_callback | |||
) |
Definition at line 29 of file hackable.gsc.
References ARRAY_ADD, cleanup_hackable_objects(), DEFAULT, DEFAULT_HACKABLE_ANGLEDOT, DEFAULT_HACKABLE_COST_MULT, DEFAULT_HACKABLE_DISTANCE, DEFAULT_HACKABLE_HACK_TIME, DEFAULT_HACKABLE_PROMPT, and DEFAULT_HACKABLE_TIMEOUT.
Referenced by deploy_turret().
function cleanup_hackable_objects | ( | ) |
Definition at line 52 of file hackable.gsc.
References filter_deleted().
Referenced by add_hackable_object(), find_hackable_object(), and remove_hackable_object().
function complete_hacking_object | ( | obj | ) |
Definition at line 133 of file hackable.gsc.
Referenced by continue_hacking_object().
function continue_hacking_object | ( | obj | ) |
Definition at line 153 of file hackable.gsc.
References complete_hacking_object(), is_object_hackable(), IS_TRUE, start_hacking_object(), and watch_timeout().
Referenced by hack_things().
function fail_hacking_object | ( | obj | ) |
Definition at line 122 of file hackable.gsc.
Referenced by watch_timeout().
function filter_deleted | ( | val | ) |
Definition at line 57 of file hackable.gsc.
Referenced by cleanup_hackable_objects().
function find_hackable_object | ( | ) |
Definition at line 63 of file hackable.gsc.
References ARRAY_ADD, cleanup_hackable_objects(), and is_object_hackable().
Referenced by hack_things().
function init | ( | ) |
Definition at line 24 of file hackable.gsc.
References DEFAULT.
function is_object_hackable | ( | obj | , |
origin | , | ||
forward | |||
) |
Definition at line 83 of file hackable.gsc.
Referenced by continue_hacking_object(), and find_hackable_object().
function remove_hackable_object | ( | obj | ) |
Definition at line 46 of file hackable.gsc.
References cleanup_hackable_objects().
function start_hacking_object | ( | obj | ) |
Definition at line 112 of file hackable.gsc.
Referenced by continue_hacking_object().
function watch_timeout | ( | obj | , |
time | |||
) |
Definition at line 144 of file hackable.gsc.
References fail_hacking_object().
Referenced by continue_hacking_object().