![]() |
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.
Data Structures | |
class | cDoor |
Macros | |
#define | DOOR_CLEARANCE_TIMER 0.3 |
#define | HACKING_PLAYER_WEAPON "pda_hack" |
Functions | |
class cDoor | __init__ () |
function | calculate_offset_position (v_origin, v_angles, v_offset) |
function | close () |
function | close_internal () |
constructor () | |
function | delete_door () |
destructor () | |
function | door_debug_line (v_origin) |
function | door_open_update (c_door) |
function | door_update (c_door) |
function | door_update_lock_scripted (c_door) |
function | door_wait_until_clear (c_door, e_triggerer) |
function | door_wait_until_user_release (c_door, e_triggerer, str_kill_on_door_notify) |
function | get_hack_angles () |
function | get_hack_pos () |
function | GetSwingAngle () |
function | give_ai_key (n_timeout_sec=undefined, str_key_type="door") |
function | give_ai_key_internal (n_timeout_sec, str_key_type) |
function | give_player_key (str_key_type="door") |
function | init () |
function | init_hint_trigger () |
function | init_movement (n_slide_up, n_slide_amount) |
function | init_trigger (v_offset, n_radius) |
function | init_xmodel (str_xmodel, connect_paths, v_origin, v_angles) |
function | key_process_timeout (n_timeout_sec, e_trigger, e_model) |
function | lock () |
function | open () |
function | open_internal () |
function | player_freeze_in_place (b_do_freeze) |
function | player_has_key (str_key_type) |
function | player_take_key (str_key_type) |
function | process_hint_trigger_message () |
function | rotate_key_forever () |
function | run_lock_fx () |
function | set_door_paths (n_door_connect_paths) |
function | set_script_flags (b_set) |
function | set_swing_angle (angle) |
function | SetDoorOpenDelay (delay_time) |
function | setup_door_scriptbundle (s_door_bundle, s_door_instance) |
function | trigger_check_for_ents_touching (str_kill_trigger_notify) |
function | trigger_wait_until_clear (c_door) |
function | unlock () |
function | unlock (str_name, str_name_type="targetname", b_do_open=true) |
function | unlock_all (b_do_open=true) |
function | update_use_message () |
Variables | |
var | m_b_hacking |
var | m_b_is_open |
var | m_door_open_delay_time |
var | m_e_door |
var | m_e_hint_trigger |
var | m_e_trigger |
var | m_e_trigger_player |
var | m_n_door_connect_paths |
var | m_n_hack_pct |
var | m_n_trigger_height |
var | m_override_swing_angle |
var | m_s_bundle |
var | m_str_script_flag |
var | m_str_target |
var | m_str_targetname |
var | m_v_close_pos |
var | m_v_open_pos |
#define DOOR_CLEARANCE_TIMER 0.3 |
Definition at line 12 of file doors_shared.gsc.
#define HACKING_PLAYER_WEAPON "pda_hack" |
Definition at line 11 of file doors_shared.gsc.
class cDoor __init__ | ( | ) |
Definition at line 552 of file doors_shared.gsc.
References get_array(), and init().
function __init__::calculate_offset_position | ( | v_origin | , |
v_angles | , | ||
v_offset | |||
) |
Definition at line 483 of file doors_shared.gsc.
function __init__::close | ( | ) |
Definition at line 216 of file doors_shared.gsc.
function __init__::close_internal | ( | ) |
Definition at line 166 of file doors_shared.gsc.
References cDoor::m_e_trigger.
__init__::constructor | ( | ) |
Definition at line 30 of file doors_shared.gsc.
function __init__::delete_door | ( | ) |
Definition at line 149 of file doors_shared.gsc.
__init__::destructor | ( | ) |
Definition at line 38 of file doors_shared.gsc.
function door_debug_line | ( | v_origin | ) |
Definition at line 1027 of file doors_shared.gsc.
function door_open_update | ( | c_door | ) |
Definition at line 742 of file doors_shared.gsc.
References door_wait_until_clear(), get(), IS_TRUE, player_freeze_in_place(), player_has_key(), player_take_key(), WAIT_SERVER_FRAME, and wait_till_clear().
Referenced by door_update().
function door_update | ( | c_door | ) |
Definition at line 807 of file doors_shared.gsc.
References door_open_update(), door_update_lock_scripted(), get(), IS_TRUE, set(), WAIT_SERVER_FRAME, wait_till(), and wait_till_clear().
Referenced by setup_door_scriptbundle().
function door_update_lock_scripted | ( | c_door | ) |
Definition at line 868 of file doors_shared.gsc.
Referenced by door_update().
function door_wait_until_clear | ( | c_door | , |
e_triggerer | |||
) |
Definition at line 969 of file doors_shared.gsc.
References door_wait_until_user_release(), IS_TRUE, spawn(), and trigger_wait_until_clear().
Referenced by door_open_update().
function door_wait_until_user_release | ( | c_door | , |
e_triggerer | , | ||
str_kill_on_door_notify | |||
) |
Definition at line 944 of file doors_shared.gsc.
References WAIT_SERVER_FRAME.
Referenced by door_wait_until_clear().
function __init__::get_hack_angles | ( | ) |
Definition at line 84 of file doors_shared.gsc.
References e_target, and cDoor::m_str_target.
function __init__::get_hack_pos | ( | ) |
Definition at line 65 of file doors_shared.gsc.
function __init__::GetSwingAngle | ( | ) |
Definition at line 512 of file doors_shared.gsc.
function give_ai_key | ( | n_timeout_sec | = undefined , |
str_key_type | = "door" |
||
) |
Definition at line 1171 of file doors_shared.gsc.
References give_ai_key_internal().
function give_ai_key_internal | ( | n_timeout_sec | , |
str_key_type | |||
) |
Definition at line 1123 of file doors_shared.gsc.
References give_player_key(), key_process_timeout(), rotate_key_forever(), and spawn().
Referenced by give_ai_key().
function give_player_key | ( | str_key_type | = "door" | ) |
Definition at line 1178 of file doors_shared.gsc.
Referenced by give_ai_key_internal().
function init | ( | ) |
Definition at line 570 of file doors_shared.gsc.
References setup_door_scriptbundle().
Referenced by __init__(), and setup_door_scriptbundle().
function __init__::init_hint_trigger | ( | ) |
Definition at line 100 of file doors_shared.gsc.
References e_target, and cDoor::m_str_target.
function __init__::init_movement | ( | n_slide_up | , |
n_slide_amount | |||
) |
Definition at line 457 of file doors_shared.gsc.
function __init__::init_trigger | ( | v_offset | , |
n_radius | |||
) |
Definition at line 404 of file doors_shared.gsc.
function __init__::init_xmodel | ( | str_xmodel | , |
connect_paths | , | ||
v_origin | , | ||
v_angles | |||
) |
Definition at line 46 of file doors_shared.gsc.
function key_process_timeout | ( | n_timeout_sec | , |
e_trigger | , | ||
e_model | |||
) |
Definition at line 1085 of file doors_shared.gsc.
Referenced by give_ai_key_internal().
function __init__::lock | ( | ) |
Definition at line 138 of file doors_shared.gsc.
Referenced by GetBestTarget(), LockedOn(), LockingOn(), and TargetingHacking().
function __init__::open | ( | ) |
Definition at line 161 of file doors_shared.gsc.
function __init__::open_internal | ( | ) |
Definition at line 221 of file doors_shared.gsc.
function player_freeze_in_place | ( | b_do_freeze | ) |
Definition at line 880 of file doors_shared.gsc.
References Spawn().
Referenced by door_open_update().
function player_has_key | ( | str_key_type | ) |
Definition at line 1045 of file doors_shared.gsc.
Referenced by door_open_update(), and player_take_key().
function player_take_key | ( | str_key_type | ) |
Definition at line 1060 of file doors_shared.gsc.
References player_has_key().
Referenced by door_open_update().
function __init__::process_hint_trigger_message | ( | ) |
Definition at line 366 of file doors_shared.gsc.
function rotate_key_forever | ( | ) |
Definition at line 1075 of file doors_shared.gsc.
Referenced by give_ai_key_internal().
function __init__::run_lock_fx | ( | ) |
Definition at line 319 of file doors_shared.gsc.
function __init__::set_door_paths | ( | n_door_connect_paths | ) |
Definition at line 476 of file doors_shared.gsc.
function __init__::set_script_flags | ( | b_set | ) |
Definition at line 438 of file doors_shared.gsc.
function __init__::set_swing_angle | ( | angle | ) |
Definition at line 507 of file doors_shared.gsc.
function __init__::SetDoorOpenDelay | ( | delay_time | ) |
Definition at line 525 of file doors_shared.gsc.
function setup_door_scriptbundle | ( | s_door_bundle | , |
s_door_instance | |||
) |
Definition at line 586 of file doors_shared.gsc.
References door_update(), init(), IS_TRUE, and set().
Referenced by init().
function trigger_check_for_ents_touching | ( | str_kill_trigger_notify | ) |
Definition at line 1010 of file doors_shared.gsc.
Referenced by trigger_wait_until_clear().
function trigger_wait_until_clear | ( | c_door | ) |
Definition at line 906 of file doors_shared.gsc.
References DOOR_CLEARANCE_TIMER, trigger_check_for_ents_touching(), and WAIT_SERVER_FRAME.
Referenced by door_wait_until_clear().
function __init__::unlock | ( | ) |
Definition at line 144 of file doors_shared.gsc.
function unlock | ( | str_name | , |
str_name_type | = "targetname" , |
||
b_do_open | = true |
||
) |
Definition at line 1234 of file doors_shared.gsc.
References get_array().
function unlock_all | ( | b_do_open | = true | ) |
Definition at line 1216 of file doors_shared.gsc.
References get_array().
function __init__::update_use_message | ( | ) |
Definition at line 275 of file doors_shared.gsc.
var m_b_hacking |
Definition at line 14 of file doors_shared.gsc.
var m_b_is_open |
Definition at line 23 of file doors_shared.gsc.
var m_door_open_delay_time |
Definition at line 28 of file doors_shared.gsc.
var m_e_door |
Definition at line 7 of file doors_shared.gsc.
var m_e_hint_trigger |
Definition at line 16 of file doors_shared.gsc.
var m_e_trigger |
Definition at line 9 of file doors_shared.gsc.
var m_e_trigger_player |
Definition at line 10 of file doors_shared.gsc.
var m_n_door_connect_paths |
Definition at line 21 of file doors_shared.gsc.
var m_n_hack_pct |
Definition at line 13 of file doors_shared.gsc.
var m_n_trigger_height |
Definition at line 11 of file doors_shared.gsc.
var m_override_swing_angle |
Definition at line 26 of file doors_shared.gsc.
var m_s_bundle |
Definition at line 2 of file doors_shared.gsc.
var m_str_script_flag |
Definition at line 5 of file doors_shared.gsc.
var m_str_target |
Definition at line 4 of file doors_shared.gsc.
var m_str_targetname |
Definition at line 3 of file doors_shared.gsc.
var m_v_close_pos |
Definition at line 19 of file doors_shared.gsc.
var m_v_open_pos |
Definition at line 18 of file doors_shared.gsc.