![]() |
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 | PROTOTYPE_SCOUT_HP_MOD 1 |
#define | SCOUT_BASE_SPEED_MODIFIER 0.33 |
#define | SCOUT_DEFAULT_RADIUS_FOR_DEFEND_ROLE 64 |
#define | SCOUT_DEFAULT_RADIUS_FOR_GUARD_ROLE 64 |
#define | SCOUT_DEFAULT_RADIUS_FOR_LOITER_ROLE 64 |
#define | SCOUT_DEFEND_HEIGHT 300 |
#define | SCOUT_LOITER_HEIGHT 300 |
#define | SCOUT_PATROL_HEIGHT 300 |
#define | SCOUT_TRACK_DISTANCE 256 |
#define | SCOUT_TRACK_HEIGHT 128 |
#define | SCOUT_TRACK_TETHER 512 |
Functions | |
function | __init__ () |
function | _track_target_position (target) |
function | defend (s_centerpoint, n_radius) |
function | get_custom_damage_effect (health_pct) |
function | guard (v_centerpoint) |
function | loiter (v_center, n_radius) |
function | patrol (start_node) |
function | scout_callback_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, psOffsetTime, damageFromUnderneath, modelIndex, partName) |
function | scout_drone_initialize () |
function | scout_find_new_position () |
function | set_patrol_path (patrol_path_start_node) |
function | state_alert_update () |
function | state_combat_enter () |
function | state_combat_update () |
function | state_highalert_enter () |
function | state_lowalert_enter () |
function | state_unaware_enter () |
function | state_unaware_update () |
#define PROTOTYPE_SCOUT_HP_MOD 1 |
Definition at line 16 of file _scout_drone.gsc.
#define SCOUT_BASE_SPEED_MODIFIER 0.33 |
Definition at line 26 of file _scout_drone.gsc.
#define SCOUT_DEFAULT_RADIUS_FOR_DEFEND_ROLE 64 |
Definition at line 17 of file _scout_drone.gsc.
#define SCOUT_DEFAULT_RADIUS_FOR_GUARD_ROLE 64 |
Definition at line 18 of file _scout_drone.gsc.
#define SCOUT_DEFAULT_RADIUS_FOR_LOITER_ROLE 64 |
Definition at line 19 of file _scout_drone.gsc.
#define SCOUT_DEFEND_HEIGHT 300 |
Definition at line 21 of file _scout_drone.gsc.
#define SCOUT_LOITER_HEIGHT 300 |
Definition at line 22 of file _scout_drone.gsc.
#define SCOUT_PATROL_HEIGHT 300 |
Definition at line 23 of file _scout_drone.gsc.
#define SCOUT_TRACK_DISTANCE 256 |
Definition at line 20 of file _scout_drone.gsc.
#define SCOUT_TRACK_HEIGHT 128 |
Definition at line 24 of file _scout_drone.gsc.
#define SCOUT_TRACK_TETHER 512 |
Definition at line 25 of file _scout_drone.gsc.
function __init__ | ( | ) |
Definition at line 34 of file _scout_drone.gsc.
References scout_drone_initialize().
function _track_target_position | ( | target | ) |
Definition at line 326 of file _scout_drone.gsc.
References SCOUT_TRACK_DISTANCE, and SCOUT_TRACK_HEIGHT.
Referenced by state_combat_enter(), and state_combat_update().
function defend | ( | s_centerpoint | , |
n_radius | |||
) |
Definition at line 73 of file _scout_drone.gsc.
function get_custom_damage_effect | ( | health_pct | ) |
Definition at line 383 of file _scout_drone.gsc.
Referenced by scout_callback_damage().
function guard | ( | v_centerpoint | ) |
Definition at line 78 of file _scout_drone.gsc.
function loiter | ( | v_center | , |
n_radius | |||
) |
Definition at line 83 of file _scout_drone.gsc.
function patrol | ( | start_node | ) |
Definition at line 88 of file _scout_drone.gsc.
References flipping_shooting_death(), get_state_callbacks(), init_state_machine_for_role(), set_patrol_path(), set_role(), set_state(), state_alert_update(), state_combat_enter(), state_combat_update(), state_highalert_enter(), state_lowalert_enter(), state_unaware_enter(), and state_unaware_update().
Referenced by scout_drone_initialize().
function scout_callback_damage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | |||
) |
Definition at line 405 of file _scout_drone.gsc.
References get_custom_damage_effect(), and throw_off_balance().
Referenced by scout_drone_initialize().
function scout_drone_initialize | ( | ) |
Definition at line 41 of file _scout_drone.gsc.
References friendly_fire_shield(), get_script_bundle(), nudge_collision(), patrol(), and scout_callback_damage().
Referenced by __init__().
function scout_find_new_position | ( | ) |
Definition at line 422 of file _scout_drone.gsc.
function set_patrol_path | ( | patrol_path_start_node | ) |
Definition at line 112 of file _scout_drone.gsc.
Referenced by patrol().
function state_alert_update | ( | ) |
Definition at line 275 of file _scout_drone.gsc.
References waittill_pathing_done().
Referenced by patrol().
function state_combat_enter | ( | ) |
Definition at line 310 of file _scout_drone.gsc.
References _track_target_position(), and set_state().
Referenced by patrol().
function state_combat_update | ( | ) |
Definition at line 332 of file _scout_drone.gsc.
References _track_target_position(), SCOUT_TRACK_TETHER, SQR, and waittill_pathing_done().
Referenced by patrol().
function state_highalert_enter | ( | ) |
Definition at line 270 of file _scout_drone.gsc.
Referenced by patrol().
function state_lowalert_enter | ( | ) |
Definition at line 265 of file _scout_drone.gsc.
Referenced by patrol().
function state_unaware_enter | ( | ) |
Definition at line 117 of file _scout_drone.gsc.
Referenced by patrol().
function state_unaware_update | ( | ) |
Definition at line 139 of file _scout_drone.gsc.
References RANDOM, SCOUT_PATROL_HEIGHT, script_wait(), and waittill_pathing_done().
Referenced by patrol().