![]() |
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 | cRailTurret |
class | cSecurityDoor |
class | cSecurityLight |
class | cSecurityMover |
class | cSecurityPanel |
class | cSecurityReversePanel |
class | cSecuritySystem |
Macros | |
#define | ALERT_NONE 0 |
#define | ALERT_SCANNING 1 |
#define | ALERT_SEE 2 |
Functions | |
function | __init__ () |
function | activate () |
function | activate_camera_light (light_type) |
function | blocker_control_thread () |
function | camera_awareness () |
function | camera_death_watcher () |
function | camera_debug (light_type) |
function | camera_scan () |
function | camera_spotlight_controller () |
constructor () | |
function | deactivate () |
destructor () | |
function | get_yaw_to_target () |
function | hide_laser () |
function | laser_awareness () |
function | laser_movement () |
function | looping_movement () |
function | precache_all () |
function | reactivate () |
function | retract () |
function | reverse () |
function | security_panel_consequences () |
function | setup (blocker, secsystem) |
function | setup (crusher, secsystem) |
function | setup (securitynode, secsystem) |
function | setup (str_struct, secsystem) |
function | setup (trigger, secsystem) |
function | setup_all_traps () |
function | show_laser () |
function | spawn_at_struct (str_struct, secsystem) |
function | turret_behavior () |
function | turret_movement_behavior () |
function | watch_for_player_touch () |
function | watch_security_panel_trigger () |
function | watch_securitynode_death () |
Variables | |
var | b_active |
var | b_camera_shake |
cSecurityDoor | b_crusher_is_active |
var | b_laser_can_reactivate |
var | b_max_scanyaw |
var | b_min_scanyaw |
var | b_reversed |
var | b_scandir_right |
var | b_scanning |
var | b_start_scanyaw |
var | b_visible_laser_exists |
var | e_camera |
var | e_camera_mount |
var | e_camera_sound |
var | e_frustrum |
var | e_linkto_target |
var | e_target |
var | e_visible_laser |
var | fx_ent |
class cSecurityLight | m_e_securitynode |
var | m_o_secsystem |
var | n_camerapitch |
var | n_health |
class cSecurityMover | n_inner_radius |
var | n_laser_movement_duration |
var | n_outer_radius |
var | n_scanangle_left |
var | n_scanangle_right |
var | n_scanpausetime |
var | n_scantime |
var | n_spotlighttype |
var | n_viewrange |
var | t_frustrum |
class cSecuritySystem | t_laser |
var | t_panel |
var | v_laser_destination |
var | v_laser_origin |
#define ALERT_NONE 0 |
Definition at line 24 of file traps_shared.gsc.
#define ALERT_SCANNING 1 |
Definition at line 25 of file traps_shared.gsc.
#define ALERT_SEE 2 |
Definition at line 26 of file traps_shared.gsc.
function __init__ | ( | ) |
Definition at line 44 of file traps_shared.gsc.
References precache_all(), and setup_all_traps().
function activate | ( | ) |
Definition at line 655 of file traps_shared.gsc.
References set(), and show_laser().
Referenced by _fire(), activate_player_health_visionset(), apply_burn(), EnterHelicopter(), gadget_flashback_on(), gadget_heat_wave_on_activate(), gadget_resurrect_is_primed(), gadget_speed_burst_on(), gadget_vision_pulse_on(), HackedPostFunction(), Laststand_Bleedout(), mpintro_visionset_activate_func(), player_damage(), player_elec_damage(), player_fire_damage(), player_health_visionset(), player_laststand(), player_vortex_visionset(), raps_round_spawning(), reactivate(), StartDartRemoteControl(), StartSentinelRemoteControl(), startTankRemoteControl(), StartTurretRemoteControl(), teleport_pad_player_fx(), teleport_players(), thrasherConsumePlayerUtil(), wasp_round_spawning(), and watch_rejack_activate().
function activate_camera_light | ( | light_type | ) |
Definition at line 2122 of file traps_shared.gsc.
References e_camera, fx_ent, and spawn_model().
Referenced by camera_spotlight_controller().
function blocker_control_thread | ( | ) |
Definition at line 1076 of file traps_shared.gsc.
References ALERT_SCANNING, b_reversed, m_o_secsystem, n_inner_radius, n_outer_radius, cSecurityMover::v_endpos, cSecurityMover::v_startpos, and WAIT_SERVER_FRAME.
Referenced by setup().
function camera_awareness | ( | ) |
Definition at line 2234 of file traps_shared.gsc.
References ALERT_SCANNING, b_active, b_max_scanyaw, b_min_scanyaw, e_camera, e_camera_mount, e_target, get_yaw_to_target(), m_o_secsystem, n_spotlighttype, n_viewrange, and WAIT_SERVER_FRAME.
Referenced by setup().
function camera_death_watcher | ( | ) |
Definition at line 2218 of file traps_shared.gsc.
References deactivate(), e_camera, e_camera_sound, fx_ent, and spawn_model().
Referenced by setup().
function camera_debug | ( | light_type | ) |
Definition at line 2157 of file traps_shared.gsc.
Referenced by camera_spotlight_controller().
function camera_scan | ( | ) |
Definition at line 2161 of file traps_shared.gsc.
References b_max_scanyaw, b_min_scanyaw, b_scandir_right, b_scanning, e_camera, e_camera_sound, n_scanangle_left, n_scanangle_right, n_scanpausetime, n_scantime, and WAIT_SERVER_FRAME.
Referenced by setup().
function camera_spotlight_controller | ( | ) |
Definition at line 2104 of file traps_shared.gsc.
References activate_camera_light(), b_active, camera_debug(), n_spotlighttype, and WAIT_SERVER_FRAME.
Referenced by setup().
constructor | ( | ) |
Definition at line 537 of file traps_shared.gsc.
References b_camera_shake, b_laser_can_reactivate, b_visible_laser_exists, init(), and n_laser_movement_duration.
function deactivate | ( | ) |
Definition at line 649 of file traps_shared.gsc.
References clear(), and hide_laser().
Referenced by auto_revive(), bleed_out(), camera_death_watcher(), deactivate_player_health_visionset(), deactivateFlashbackWarpAfterTime(), EndSentinelRemoteControl(), endTankRemoteControl(), EndTurretRemoteControl(), gadget_vision_pulse_watch_death(), gadget_vision_pulse_watch_emp(), HackedCallbackPre(), HackedPreFunction(), leave_dart(), LeaveHelicopter(), player_health_visionset(), player_missile_end(), rejack_suicide(), revive_success(), tank_watch_owner_events(), teleport_players(), thrasherPlayerDeath(), thrasherReleasePlayer(), watch_entity_shutdown(), and watch_rejack_activate().
destructor | ( | ) |
Definition at line 546 of file traps_shared.gsc.
function get_yaw_to_target | ( | ) |
Definition at line 2284 of file traps_shared.gsc.
References e_camera, and e_target.
Referenced by camera_awareness().
function hide_laser | ( | ) |
Definition at line 677 of file traps_shared.gsc.
References b_visible_laser_exists, and e_visible_laser.
Referenced by deactivate(), and laser_awareness().
function laser_awareness | ( | ) |
Definition at line 590 of file traps_shared.gsc.
References ALERT_SCANNING, b_camera_shake, b_laser_can_reactivate, b_visible_laser_exists, clear(), e_visible_laser, get(), hide_laser(), m_o_secsystem, t_laser, and wait_till().
Referenced by setup().
function laser_movement | ( | ) |
Definition at line 624 of file traps_shared.gsc.
References e_visible_laser, n_laser_movement_duration, t_laser, v_laser_destination, and v_laser_origin.
Referenced by setup().
function looping_movement | ( | ) |
Definition at line 1207 of file traps_shared.gsc.
References b_crusher_is_active, cSecurityMover::move_to_endpos(), cSecurityMover::move_to_startpos(), and cSecurityMover::n_delay_before_movement.
function precache_all | ( | ) |
Definition at line 85 of file traps_shared.gsc.
Referenced by __init__().
function reactivate | ( | ) |
Definition at line 661 of file traps_shared.gsc.
References activate(), and b_laser_can_reactivate.
function retract | ( | ) |
Definition at line 1225 of file traps_shared.gsc.
References b_crusher_is_active, cSecurityMover::n_movement_duration, and cSecurityMover::v_startpos.
function reverse | ( | ) |
Definition at line 1071 of file traps_shared.gsc.
References b_reversed.
Referenced by ammo_pouch_think(), build_drive(), and scavenger_think().
function security_panel_consequences | ( | ) |
Definition at line 1382 of file traps_shared.gsc.
function setup | ( | blocker | , |
secsystem | |||
) |
Definition at line 1056 of file traps_shared.gsc.
References b_reversed, blocker_control_thread(), init(), m_o_secsystem, n_inner_radius, n_outer_radius, and cSecurityMover::setup_mover().
function setup | ( | crusher | , |
secsystem | |||
) |
Definition at line 1185 of file traps_shared.gsc.
References b_crusher_is_active, m_o_secsystem, cSecurityMover::setup_mover(), and watch_for_player_touch().
function setup | ( | securitynode | , |
secsystem | |||
) |
Definition at line 1322 of file traps_shared.gsc.
References e_linkto_target, m_e_securitynode, m_o_secsystem, n_health, and watch_securitynode_death().
function setup | ( | str_struct | , |
secsystem | |||
) |
Definition at line 2052 of file traps_shared.gsc.
References b_max_scanyaw, b_min_scanyaw, b_start_scanyaw, camera_awareness(), camera_death_watcher(), camera_scan(), camera_spotlight_controller(), e_camera, e_camera_mount, e_camera_sound, m_o_secsystem, n_camerapitch, n_scanangle_left, n_scanangle_right, n_scantime, n_spotlighttype, n_viewrange, set(), spawn(), and spawn_model().
function setup | ( | trigger | , |
secsystem | |||
) |
Definition at line 550 of file traps_shared.gsc.
References b_camera_shake, b_laser_can_reactivate, b_visible_laser_exists, e_visible_laser, laser_awareness(), laser_movement(), m_o_secsystem, set(), spawn_model(), and t_laser.
function setup_all_traps | ( | ) |
Definition at line 65 of file traps_shared.gsc.
References ARRAY_ADD, get_array(), and wait_till().
Referenced by __init__().
function show_laser | ( | ) |
Definition at line 669 of file traps_shared.gsc.
References b_visible_laser_exists, and e_visible_laser.
Referenced by activate().
function spawn_at_struct | ( | str_struct | , |
secsystem | |||
) |
Definition at line 1461 of file traps_shared.gsc.
References cRailTurret::face_player(), get(), init(), m_o_secsystem, cRailTurret::n_health, set(), cRailTurret::set_combat_target(), spawn(), spawn_model(), cRailTurret::thread_watch_for_damage(), cRailTurret::thread_watch_for_death(), cRailTurret::turret_awareness(), cRailTurret::turret_behavior(), and cRailTurret::turret_movement_behavior().
function turret_behavior | ( | ) |
Definition at line 1506 of file traps_shared.gsc.
References cRailTurret::fire_at_target(), and wait_till().
function turret_movement_behavior | ( | ) |
Definition at line 1516 of file traps_shared.gsc.
References get(), cRailTurret::move_along_path(), and cRailTurret::stop_moving().
function watch_for_player_touch | ( | ) |
Definition at line 1193 of file traps_shared.gsc.
References b_crusher_is_active.
Referenced by setup().
function setup::watch_security_panel_trigger | ( | ) |
Definition at line 1372 of file traps_shared.gsc.
function watch_securitynode_death | ( | ) |
Definition at line 1352 of file traps_shared.gsc.
Referenced by setup().
var b_active |
Definition at line 2021 of file traps_shared.gsc.
Referenced by camera_awareness(), and camera_spotlight_controller().
var b_camera_shake |
Definition at line 531 of file traps_shared.gsc.
Referenced by constructor(), laser_awareness(), and setup().
cSecurityDoor b_crusher_is_active |
Referenced by looping_movement(), retract(), setup(), and watch_for_player_touch().
var b_laser_can_reactivate |
Definition at line 530 of file traps_shared.gsc.
Referenced by constructor(), laser_awareness(), reactivate(), and setup().
var b_max_scanyaw |
Definition at line 2025 of file traps_shared.gsc.
Referenced by camera_awareness(), camera_scan(), and setup().
var b_min_scanyaw |
Definition at line 2026 of file traps_shared.gsc.
Referenced by camera_awareness(), camera_scan(), and setup().
var b_reversed |
Definition at line 1054 of file traps_shared.gsc.
Referenced by blocker_control_thread(), reverse(), and setup().
var b_scandir_right |
Definition at line 2023 of file traps_shared.gsc.
Referenced by camera_scan().
var b_scanning |
Definition at line 2022 of file traps_shared.gsc.
Referenced by camera_scan().
var b_start_scanyaw |
Definition at line 2024 of file traps_shared.gsc.
Referenced by setup().
var b_visible_laser_exists |
Definition at line 529 of file traps_shared.gsc.
Referenced by constructor(), hide_laser(), laser_awareness(), setup(), and show_laser().
var e_camera |
Definition at line 2005 of file traps_shared.gsc.
Referenced by activate_camera_light(), camera_awareness(), camera_death_watcher(), camera_scan(), get_yaw_to_target(), and setup().
var e_camera_mount |
Definition at line 2006 of file traps_shared.gsc.
Referenced by camera_awareness(), and setup().
var e_camera_sound |
Definition at line 2007 of file traps_shared.gsc.
Referenced by camera_death_watcher(), camera_scan(), and setup().
var e_frustrum |
Definition at line 2011 of file traps_shared.gsc.
var e_linkto_target |
Definition at line 1309 of file traps_shared.gsc.
Referenced by setup().
var e_target |
Definition at line 2029 of file traps_shared.gsc.
Referenced by __main__(), _debug_turret_think(), _get_any_priority_targets(), _get_best_target_quadtank_side_turret(), _get_default_target_offset(), _get_potential_targets(), _is_target_within_range(), _shoot_turret_at_target(), _waittill_turret_on_target(), camera_awareness(), can_hit_target(), get_favorite_enemy(), get_hack_angles(), get_player_closest_to(), get_target(), get_trigger_look_target(), get_yaw_to_target(), grenade_bounces(), init_hint_trigger(), cDoor::init_trigger(), is_target(), set_target(), shoot_at_target(), shoot_at_target_once(), trace_test(), track_lens_flare(), and trigger_look().
var e_visible_laser |
Definition at line 528 of file traps_shared.gsc.
Referenced by hide_laser(), laser_awareness(), laser_movement(), setup(), and show_laser().
var fx_ent |
Definition at line 2008 of file traps_shared.gsc.
Referenced by activate_camera_light(), camera_death_watcher(), croc_death(), firefly_pod_destroyed(), firefly_pod_release_fireflies(), metalstorm_death(), and metalstorm_update_damage_fx().
class cSecurityLight m_e_securitynode |
Referenced by setup().
class cRailTurret m_o_secsystem |
Definition at line 527 of file traps_shared.gsc.
Referenced by blocker_control_thread(), camera_awareness(), laser_awareness(), setup(), and spawn_at_struct().
var n_camerapitch |
Definition at line 2028 of file traps_shared.gsc.
Referenced by setup().
var n_health |
Definition at line 1311 of file traps_shared.gsc.
Referenced by setup().
class cSecurityMover n_inner_radius |
Referenced by blocker_control_thread(), and setup().
var n_laser_movement_duration |
Definition at line 535 of file traps_shared.gsc.
Referenced by constructor(), and laser_movement().
var n_outer_radius |
Definition at line 1053 of file traps_shared.gsc.
Referenced by blocker_control_thread(), and setup().
var n_scanangle_left |
Definition at line 2013 of file traps_shared.gsc.
Referenced by camera_scan(), and setup().
var n_scanangle_right |
Definition at line 2014 of file traps_shared.gsc.
Referenced by camera_scan(), and setup().
var n_scanpausetime |
Definition at line 2017 of file traps_shared.gsc.
Referenced by camera_scan().
var n_scantime |
Definition at line 2016 of file traps_shared.gsc.
Referenced by camera_scan(), and setup().
var n_spotlighttype |
Definition at line 2019 of file traps_shared.gsc.
Referenced by camera_awareness(), camera_spotlight_controller(), and setup().
var n_viewrange |
Definition at line 2018 of file traps_shared.gsc.
Referenced by camera_awareness(), and setup().
var t_frustrum |
Definition at line 2010 of file traps_shared.gsc.
class cSecuritySystem t_laser |
Referenced by laser_awareness(), laser_movement(), and setup().
var t_panel |
Definition at line 1353 of file traps_shared.gsc.
var v_laser_destination |
Definition at line 534 of file traps_shared.gsc.
Referenced by laser_movement().
var v_laser_origin |
Definition at line 533 of file traps_shared.gsc.
Referenced by laser_movement().