![]() |
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 | AMWS_ACCELERATION VAL( self.settings.default_move_acceleration, 10.0 ) |
#define | AMWS_AWAY_FROM_CHARACTER 200 |
#define | AMWS_CHANGE_POSITION_TOATTACK_TARGET_DELAY 0.5 |
#define | AMWS_ENEMY_TOO_CLOSE_DIST ( 0.8 * 0.5 * ( self.settings.engagementDistMin + self.settings.engagementDistMax ) ) |
#define | AMWS_EVADE_DIST_MAX 360 |
#define | AMWS_EVADE_DIST_MIN 120 |
#define | AMWS_EVADE_HALF_HEIGHT ( AMWS_MOVE_DIST_MAX * 0.5 ) |
#define | AMWS_EVADE_POINT_SPACING_FACTOR ( 1.5 ) |
#define | AMWS_MAX_TIME_AT_SAME_POSITION 1.0 |
#define | AMWS_MOVE_DIST_MAX 500 |
#define | AMWS_MOVE_DIST_MIN 80 |
#define | AMWS_REPATH_RANGE 100 |
#define | WEAPON_REGULAR "amws_gun_turret" |
#define | WEAPON_STATIONARY "amws_gun_turret_stationary" |
Functions | |
function | __init__ () |
function | aim_and_fire_rocket_launcher (aim_time) |
function | amws_initialize () |
function | cobra_raise () |
function | cobra_retract () |
function | death_suicide_crash (params) |
function | defaultRole () |
function | drone_callback_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) |
function | FireRocketLauncher (enemy) |
function | GetNextMovePosition_evasive (client_flags) |
function | GetNextMovePosition_tactical (enemy) |
function | GetNextMovePosition_wander () |
function | gib (attacker) |
function | is_ai_using_minigun () |
function | path_update_interrupt () |
function | path_update_interrupt_by_attacker () |
function | state_combat_enter (params) |
function | state_combat_update (params) |
function | state_combat_update_wait (wait_time) |
function | state_death_update (params) |
function | state_driving_update (params) |
function | state_emped_update (params) |
function | state_stationary_enter (params) |
function | state_stationary_exit (params) |
function | state_stationary_update (params) |
function | state_stationary_update_wait (wait_time) |
function | state_surge_exit (params) |
function | state_surge_update (params) |
function | turretFireUpdate () |
function | wait_evasion_reaction_time () |
function | waittill_weapon_lock_or_timeout (wait_time) |
#define AMWS_ACCELERATION VAL( self.settings.default_move_acceleration, 10.0 ) |
#define AMWS_ENEMY_TOO_CLOSE_DIST ( 0.8 * 0.5 * ( self.settings.engagementDistMin + self.settings.engagementDistMax ) ) |
#define AMWS_EVADE_HALF_HEIGHT ( AMWS_MOVE_DIST_MAX * 0.5 ) |
function __init__ | ( | ) |
Definition at line 51 of file _amws.gsc.
References amws_initialize().
function aim_and_fire_rocket_launcher | ( | aim_time | ) |
Definition at line 645 of file _amws.gsc.
References Cooldown(), and FireRocketLauncher().
Referenced by state_combat_update().
function amws_initialize | ( | ) |
Definition at line 56 of file _amws.gsc.
References Cooldown(), CreateBlackBoardForEntity(), defaultRole(), drone_callback_damage(), friendly_fire_shield(), get_script_bundle(), nudge_collision(), and RegisterVehicleBlackBoardAttributes().
Referenced by __init__().
function cobra_raise | ( | ) |
Definition at line 215 of file _amws.gsc.
References waittill_asm_complete().
Referenced by state_driving_update(), and state_stationary_update().
function cobra_retract | ( | ) |
Definition at line 228 of file _amws.gsc.
References waittill_asm_complete().
Referenced by endTankRemoteControl(), state_driving_update(), and state_stationary_update().
function death_suicide_crash | ( | params | ) |
Definition at line 164 of file _amws.gsc.
References ClearAllLookingAndTargeting(), ClearAllMovement(), MPH_TO_INCHES_PER_SEC, and waittill_any_timeout().
Referenced by state_death_update().
function defaultRole | ( | ) |
Definition at line 111 of file _amws.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_driving_update(), state_emped_update(), state_stationary_enter(), state_stationary_exit(), state_stationary_update(), state_surge_exit(), and state_surge_update().
Referenced by amws_initialize().
function drone_callback_damage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | , | ||
vSurfaceNormal | |||
) |
Definition at line 1083 of file _amws.gsc.
References shared_callback_damage().
Referenced by amws_initialize().
function FireRocketLauncher | ( | enemy | ) |
Definition at line 714 of file _amws.gsc.
References fire_for_rounds(), and waittill_any_timeout().
Referenced by aim_and_fire_rocket_launcher(), and state_stationary_update().
function GetNextMovePosition_evasive | ( | client_flags | ) |
Definition at line 793 of file _amws.gsc.
References AMWS_ACCELERATION, AMWS_EVADE_DIST_MAX, AMWS_EVADE_DIST_MIN, AMWS_EVADE_HALF_HEIGHT, AMWS_EVADE_POINT_SPACING_FACTOR, clamp(), PositionQuery_DebugScores(), and VAL.
Referenced by state_combat_update().
function GetNextMovePosition_tactical | ( | enemy | ) |
Definition at line 897 of file _amws.gsc.
References AMWS_ENEMY_TOO_CLOSE_DIST, AMWS_MOVE_DIST_MAX, AMWS_MOVE_DIST_MIN, IS_TRUE, PositionQuery_DebugScores(), PositionQuery_Filter_DistAwayFromTarget(), PositionQuery_Filter_EngagementDist(), and PositionQuery_Filter_OutOfGoalAnchor().
Referenced by state_combat_update().
function GetNextMovePosition_wander | ( | ) |
Definition at line 737 of file _amws.gsc.
References AMWS_MOVE_DIST_MAX, AMWS_MOVE_DIST_MIN, and PositionQuery_Filter_OutOfGoalAnchor().
Referenced by state_combat_update().
function gib | ( | attacker | ) |
Definition at line 1072 of file _amws.gsc.
References do_gib_dynents(), and kill().
Referenced by ReapplyHiddenGibPieces(), riotshield_knockdown_zombie(), setup_thundergun_vox(), ShowHiddenGibPieces(), thundergun_knockdown_zombie(), zombie_hat_gib(), and zombie_knockdown().
function is_ai_using_minigun | ( | ) |
function path_update_interrupt | ( | ) |
Definition at line 1033 of file _amws.gsc.
References AMWS_ENEMY_TOO_CLOSE_DIST, Cooldown(), IsCooldownReady(), and SQR.
Referenced by state_combat_update().
function path_update_interrupt_by_attacker | ( | ) |
Definition at line 1009 of file _amws.gsc.
References waittill_any().
Referenced by state_combat_update().
function state_combat_enter | ( | params | ) |
Definition at line 406 of file _amws.gsc.
References turretFireUpdate().
Referenced by defaultRole().
function state_combat_update | ( | params | ) |
Definition at line 491 of file _amws.gsc.
References aim_and_fire_rocket_launcher(), AMWS_ACCELERATION, AMWS_AWAY_FROM_CHARACTER, AMWS_CHANGE_POSITION_TOATTACK_TARGET_DELAY, AMWS_MAX_TIME_AT_SAME_POSITION, evaluate_connections(), GetNextMovePosition_evasive(), GetNextMovePosition_tactical(), GetNextMovePosition_wander(), InitLockField(), IS_TRUE, IsCooldownReady(), path_update_interrupt(), path_update_interrupt_by_attacker(), SQR, state_combat_update_wait(), UpdatePersonalThreatBias_AttackerLockedOnToMe(), UpdatePersonalThreatBias_AttackerLockingOnToMe(), VAL, and waittill_pathing_done().
Referenced by defaultRole().
function state_combat_update_wait | ( | wait_time | ) |
Definition at line 664 of file _amws.gsc.
References waittill_weapon_lock_or_timeout().
Referenced by state_combat_update().
function state_death_update | ( | params | ) |
Definition at line 145 of file _amws.gsc.
References death_suicide_crash(), defaultstate_death_update(), and get_death_type().
Referenced by defaultRole().
function state_driving_update | ( | params | ) |
Definition at line 187 of file _amws.gsc.
References cobra_raise(), cobra_retract(), and waittill_vehicle_move_up_button_pressed().
Referenced by defaultRole().
function state_emped_update | ( | params | ) |
Definition at line 240 of file _amws.gsc.
References defaultstate_emped_update().
Referenced by defaultRole().
function state_stationary_enter | ( | params | ) |
Definition at line 278 of file _amws.gsc.
References ClearAllLookingAndTargeting(), and ClearAllMovement().
Referenced by defaultRole().
function state_stationary_exit | ( | params | ) |
Definition at line 394 of file _amws.gsc.
References ClearAllLookingAndTargeting(), ClearAllMovement(), and Cooldown().
Referenced by defaultRole().
function state_stationary_update | ( | params | ) |
Definition at line 286 of file _amws.gsc.
References AMWS_AWAY_FROM_CHARACTER, ClearAllLookingAndTargeting(), ClearAllMovement(), cobra_raise(), cobra_retract(), Cooldown(), evaluate_connections(), fire_for_time(), FireRocketLauncher(), IsCooldownReady(), SQR, startTime, state_stationary_update_wait(), TimeSince(), and wait_evasion_reaction_time().
Referenced by defaultRole().
function state_stationary_update_wait | ( | wait_time | ) |
Definition at line 389 of file _amws.gsc.
References waittill_weapon_lock_or_timeout().
Referenced by state_stationary_update().
function state_surge_exit | ( | params | ) |
Definition at line 267 of file _amws.gsc.
References ClearAllLookingAndTargeting(), and ClearAllMovement().
Referenced by defaultRole().
function state_surge_update | ( | params | ) |
Definition at line 256 of file _amws.gsc.
References defaultstate_surge_update(), and MPH_TO_INCHES_PER_SEC.
Referenced by defaultRole().
function turretFireUpdate | ( | ) |
Definition at line 416 of file _amws.gsc.
References fire_for_time(), is_ai_using_minigun(), owner_in_line_of_fire(), and SQR.
Referenced by state_combat_enter().
function wait_evasion_reaction_time | ( | ) |
Definition at line 709 of file _amws.gsc.
References VAL.
Referenced by state_stationary_update(), and waittill_weapon_lock_or_timeout().
function waittill_weapon_lock_or_timeout | ( | wait_time | ) |
Definition at line 669 of file _amws.gsc.
References wait_evasion_reaction_time(), and waittill_any_timeout().
Referenced by state_combat_update_wait(), and state_stationary_update_wait().