![]() |
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 | WASP_ENEMY_TOO_CLOSE_DIST 250 |
#define | WASP_GROUP_RADIUS 140 |
#define | WASP_GROUP_SIZE 3 |
#define | WASP_GUARD_ACQUIRE_ENEMY_DIST 1000 |
#define | WASP_GUARD_KEEP_ENEMY_DIST 300 |
#define | WASP_GUARD_LOSE_ENEMY_DIST 1200 |
#define | WASP_HOVER_RADIUS 50 |
#define | WASP_MOVE_DIST_MAX 500 |
#define | WASP_MOVE_DIST_MIN 80 |
#define | WASP_NEARGOAL_DIST 40 |
Functions | |
function | __init__ () |
function | defaultRole () |
function | drone_AllowFriendlyFireDamage (eInflictor, eAttacker, sMeansOfDeath, weapon) |
function | drone_callback_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) |
function | drop_leader () |
function | fall_and_bounce (killOnImpact_speed, killOnImpact_time) |
function | get_guard_points (owner) |
function | GetNextMovePosition_tactical () |
function | GetNextMovePosition_wander () |
function | guard_points_debug () |
function | init_guard_points () |
function | path_update_interrupt () |
function | should_fly_forward (distanceToGoalSq) |
function | state_combat_enter (params) |
function | state_combat_update (params) |
function | state_death_update (params) |
function | state_emped_update (params) |
function | state_guard_can_enter (from_state, to_state, connection) |
function | state_guard_enter (params) |
function | state_guard_exit (params) |
function | state_guard_update (params) |
function | test_get_back_point (point) |
function | test_get_back_queryresult (queryResult) |
function | turretFireUpdate () |
function | update_leader () |
function | update_main_guard () |
function | wait_till_something_happens (timeout) |
function | wasp_driving (params) |
function | wasp_initialize () |
function | wasp_manage_camera_swaps () |
function __init__ | ( | ) |
Definition at line 43 of file _wasp.gsc.
References register(), VERSION_SHIP, and wasp_initialize().
function defaultRole | ( | ) |
Definition at line 107 of file _wasp.gsc.
References add_interrupt_connection(), add_state(), add_utility_connection(), get_state_callbacks(), init_state_machine_for_role(), StartInitialState(), state_combat_enter(), state_combat_update(), state_death_update(), state_emped_update(), state_guard_can_enter(), state_guard_enter(), state_guard_exit(), state_guard_update(), and wasp_driving().
Referenced by wasp_initialize().
function drone_AllowFriendlyFireDamage | ( | eInflictor | , |
eAttacker | , | ||
sMeansOfDeath | , | ||
weapon | |||
) |
Definition at line 1513 of file _wasp.gsc.
References ARCHETYPE_WASP.
Referenced by wasp_initialize().
function drone_callback_damage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | , | ||
vSurfaceNormal | |||
) |
Definition at line 1506 of file _wasp.gsc.
References shared_callback_damage().
Referenced by wasp_initialize().
function drop_leader | ( | ) |
Definition at line 1021 of file _wasp.gsc.
Referenced by wait_till_something_happens().
function fall_and_bounce | ( | killOnImpact_speed | , |
killOnImpact_time | |||
) |
Definition at line 339 of file _wasp.gsc.
References collision_fx(), kill(), SQR, and TimeSince().
Referenced by state_emped_update().
function get_guard_points | ( | owner | ) |
function GetNextMovePosition_tactical | ( | ) |
Definition at line 1349 of file _wasp.gsc.
References GetNextMovePosition_wander(), IS_TRUE, PositionQuery_DebugScores(), PositionQuery_Filter_EngagementDist(), PositionQuery_Filter_EngagementHeight(), PositionQuery_Filter_OutOfGoalAnchor(), SQR, WASP_GROUP_RADIUS, and WASP_MOVE_DIST_MAX.
Referenced by state_combat_update().
function GetNextMovePosition_wander | ( | ) |
Definition at line 1311 of file _wasp.gsc.
References PositionQuery_DebugScores(), PositionQuery_Filter_OutOfGoalAnchor(), WASP_MOVE_DIST_MAX, and WASP_MOVE_DIST_MIN.
Referenced by GetNextMovePosition_tactical(), and state_combat_update().
function guard_points_debug | ( | ) |
Definition at line 438 of file _wasp.gsc.
References GREEN, RED, and WAIT_SERVER_FRAME.
function init_guard_points | ( | ) |
Definition at line 427 of file _wasp.gsc.
References ARRAY_ADD.
Referenced by InitSentinel(), and wasp_initialize().
function path_update_interrupt | ( | ) |
Definition at line 898 of file _wasp.gsc.
References SQR, and WASP_ENEMY_TOO_CLOSE_DIST.
Referenced by state_combat_update(), and state_guard_update().
function should_fly_forward | ( | distanceToGoalSq | ) |
function state_combat_enter | ( | params | ) |
Definition at line 792 of file _wasp.gsc.
References turretFireUpdate().
Referenced by defaultRole().
function state_combat_update | ( | params | ) |
Definition at line 1124 of file _wasp.gsc.
References evaluate_connections(), GetNextMovePosition_tactical(), GetNextMovePosition_wander(), IS_TRUE, path_update_interrupt(), should_fly_forward(), SQR, update_leader(), wait_till_something_happens(), waittill_pathing_done(), and WASP_HOVER_RADIUS.
Referenced by defaultRole().
function state_death_update | ( | params | ) |
Definition at line 139 of file _wasp.gsc.
References barrel_rolling_crash(), defaultstate_death_update(), DeleteWhenSafe(), get_death_type(), plane_crash(), and random_crash().
Referenced by defaultRole().
function state_emped_update | ( | params | ) |
Definition at line 224 of file _wasp.gsc.
References Cooldown(), emp_startup_fx(), evaluate_connections(), fall_and_bounce(), GetCooldownLeft(), IsCooldownReady(), lights_off(), lights_on(), randomSign(), startTime, TimeSince(), toggle_emp_fx(), WAIT_SERVER_FRAME, and waittill_any_timeout().
Referenced by defaultRole().
function state_guard_can_enter | ( | from_state | , |
to_state | , | ||
connection | |||
) |
Definition at line 503 of file _wasp.gsc.
References SQR, WASP_GUARD_KEEP_ENEMY_DIST, and WASP_GUARD_LOSE_ENEMY_DIST.
Referenced by defaultRole(), and InitSentinel().
function state_guard_enter | ( | params | ) |
Definition at line 530 of file _wasp.gsc.
References update_main_guard().
Referenced by defaultRole(), and InitSentinel().
function state_guard_exit | ( | params | ) |
Definition at line 548 of file _wasp.gsc.
Referenced by defaultRole(), and InitSentinel().
function state_guard_update | ( | params | ) |
Definition at line 590 of file _wasp.gsc.
References evaluate_connections(), get_guard_points(), path_update_interrupt(), SQR, test_get_back_point(), test_get_back_queryresult(), TimeSince(), update_main_guard(), waittill_pathing_done(), WASP_GROUP_RADIUS, WASP_GUARD_ACQUIRE_ENEMY_DIST, and WASP_NEARGOAL_DIST.
Referenced by defaultRole(), and InitSentinel().
function test_get_back_point | ( | point | ) |
Definition at line 556 of file _wasp.gsc.
Referenced by state_guard_update(), and test_get_back_queryresult().
function test_get_back_queryresult | ( | queryResult | ) |
Definition at line 571 of file _wasp.gsc.
References test_get_back_point(), and WAIT_SERVER_FRAME.
Referenced by state_guard_update().
function turretFireUpdate | ( | ) |
Definition at line 806 of file _wasp.gsc.
References DEFAULT, fire_for_time(), GetTargetEyeOffset(), SQR, and TimeSince().
Referenced by state_combat_enter().
function update_leader | ( | ) |
Definition at line 1030 of file _wasp.gsc.
References SQR, and WASP_GROUP_SIZE.
Referenced by state_combat_update().
function update_main_guard | ( | ) |
Definition at line 540 of file _wasp.gsc.
Referenced by state_guard_enter(), and state_guard_update().
function wait_till_something_happens | ( | timeout | ) |
Definition at line 947 of file _wasp.gsc.
References cointoss(), drop_leader(), SQR, timeout(), WASP_ENEMY_TOO_CLOSE_DIST, and WASP_GROUP_RADIUS.
Referenced by state_combat_update().
function wasp_driving | ( | params | ) |
Definition at line 1528 of file _wasp.gsc.
References set(), and wasp_manage_camera_swaps().
Referenced by defaultRole().
function wasp_initialize | ( | ) |
Definition at line 49 of file _wasp.gsc.
References defaultRole(), drone_AllowFriendlyFireDamage(), drone_callback_damage(), friendly_fire_shield(), get_script_bundle(), init_guard_points(), InitThreatBias(), nudge_collision(), WASP_HOVER_RADIUS, and WASP_NEARGOAL_DIST.
Referenced by __init__().
function wasp_manage_camera_swaps | ( | ) |
Definition at line 1546 of file _wasp.gsc.
Referenced by wasp_driving().