![]() |
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.
Functions | |
function | __init__ () |
function | Attack_Thread_MainTurret () |
function | Attack_Thread_rocket () |
function | defaultRole () |
function | Delay_Target_ToEnemy_Thread (point, enemy, timeToHit) |
function | disable_turrets () |
function | enable_turrets () |
function | get_enemies_in_view (do_trace) |
function | getEnemyArray (include_ai, include_player) |
function | GetNextMovePosition_tactical (enemy) |
function | hunter_collision_player () |
function | hunter_emped (params) |
function | hunter_exit_vehicle () |
function | hunter_fire_one_missile (launcher_index, target, offset, blinkLights, waittimeAfterBlinkLights) |
function | hunter_frontScanning () |
function | hunter_initialize () |
function | hunter_initTagArrays () |
function | hunter_level_out_for_landing () |
function | hunter_lockon_fx () |
function | hunter_pain_for_time (time, velocityStablizeParam, rotationStablizeParam, restoreLookPoint) |
function | hunter_pain_small (eAttacker, damageType, hitPoint, hitDirection, hitLocationInfo, partName) |
function | hunter_scanner_ClearLookTarget () |
function | hunter_scanner_init () |
function | hunter_scanner_SetTargetEntity (targetEnt, offset) |
function | hunter_scanner_SetTargetPosition (targetPos) |
function | hunter_scripted (params) |
function | hunter_self_destruct () |
function | hunter_SpawnDrones () |
function | hunter_update_rumble () |
function | HunterCallback_VehicleDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) |
function | is_point_in_view (point, do_trace) |
function | is_valid_target (target, do_trace) |
function | kill_drones () |
function | Movement_Thread_StayInDistance () |
function | Movement_Thread_Wander () |
function | player_fire_update_rocket () |
function | player_fire_update_side_turret_1 () |
function | player_fire_update_side_turret_2 () |
function | RegisterInterfaceAttributes (archetype) |
function | remote_missile_life () |
function | shut_off_fx () |
function | side_turret_get_best_target (a_potential_targets, n_index) |
function | side_turrets_forward () |
function | state_combat_enter (params) |
function | state_combat_exit (params) |
function | state_combat_update (params) |
function | state_death_enter (params) |
function | state_death_update (params) |
function | state_strafe_enter (params) |
function | state_strafe_exit (params) |
function | state_strafe_update (params) |
function | state_unaware_enter (params) |
function | state_unaware_exit (params) |
function | state_unaware_update (params) |
#define HUNTER_ATTACK_TARGET_RANGE 1200 |
Definition at line 55 of file _hunter.gsc.
#define HUNTER_CHANGE_POSITION_TOATTACK_TARGET_DELAY 0.5 |
Definition at line 57 of file _hunter.gsc.
#define HUNTER_COMBAT_SPEED_RATIO 1.0 |
Definition at line 31 of file _hunter.gsc.
#define HUNTER_DAMAGE_AMOUNT_TO_SHOW_PAIN 1000 |
Definition at line 61 of file _hunter.gsc.
#define HUNTER_DRONE_SPAWNER "spawner_bo3_attack_drone_enemy" |
Definition at line 51 of file _hunter.gsc.
#define HUNTER_ENABLE_ATTACK_DRONES false |
Definition at line 67 of file _hunter.gsc.
#define HUNTER_ENABLE_SCANNER_FX false |
Definition at line 64 of file _hunter.gsc.
#define HUNTER_ENABLE_SIDETURRETS_YIELD_MAINTURRET_TARGET true |
Definition at line 65 of file _hunter.gsc.
#define HUNTER_ENABLE_WEAKSPOTS false |
Definition at line 66 of file _hunter.gsc.
#define HUNTER_FOLLOWING_TARGET_RANGE 1200 |
Definition at line 56 of file _hunter.gsc.
#define HUNTER_GOAL_POINT_STEP HUNTER_RADIUS * 4 |
Definition at line 58 of file _hunter.gsc.
#define HUNTER_HALFHEIGHT 100 |
Definition at line 27 of file _hunter.gsc.
#define HUNTER_MISSILE_LOCKON_DELAY 1.5 |
Definition at line 47 of file _hunter.gsc.
#define HUNTER_MISSILE_MINIMAL_INTERVAL 8 |
Definition at line 48 of file _hunter.gsc.
#define HUNTER_MISSILE_WEAPON "hunter_rocket_turret" |
Definition at line 44 of file _hunter.gsc.
#define HUNTER_MISSILE_WEAPON_PLAYER "hunter_rocket_turret_player" |
Definition at line 45 of file _hunter.gsc.
#define HUNTER_RADIUS 200 |
Definition at line 26 of file _hunter.gsc.
#define HUNTER_SCANNER_FOV 190 |
Definition at line 40 of file _hunter.gsc.
#define HUNTER_SCANNER_PITCH 50 |
Definition at line 37 of file _hunter.gsc.
#define HUNTER_SCANNER_RANGE_PITCH 20 |
Definition at line 38 of file _hunter.gsc.
#define HUNTER_SCANNER_RANGE_YAW 45 |
Definition at line 39 of file _hunter.gsc.
#define HUNTER_SCANNER_SCANSPEED 1 |
Definition at line 36 of file _hunter.gsc.
#define HUNTER_SCANNER_TAG "tag_gunner_flash3" |
Definition at line 35 of file _hunter.gsc.
#define HUNTER_SCANNER_VIEW_DISTANCE 10000 |
Definition at line 41 of file _hunter.gsc.
#define HUNTER_SEEK_ENEMY_DELAY 1.0 |
Definition at line 69 of file _hunter.gsc.
#define HUNTER_STRAFE_COOLDOWN 2.0 |
Definition at line 71 of file _hunter.gsc.
#define HUNTER_STRAFE_DISTANCE_TO_ENEMY_DISTANCE_RATIO 0.08 |
Definition at line 72 of file _hunter.gsc.
#define HUNTER_STRAFE_SPEED_RATIO 2.0 |
Definition at line 32 of file _hunter.gsc.
#define HUNTER_TURRET_RANGE 1500 |
Definition at line 46 of file _hunter.gsc.
#define HUNTER_UNAWARE_SPEED_RATIO 0.5 |
Definition at line 30 of file _hunter.gsc.
#define HUNTER_WAITTIME_BEFORE_DEPLOYDRONE 2.2 |
Definition at line 52 of file _hunter.gsc.
function __init__ | ( | ) |
Definition at line 83 of file _hunter.gsc.
References hunter_initialize(), and RegisterInterfaceAttributes().
function Attack_Thread_MainTurret | ( | ) |
Definition at line 892 of file _hunter.gsc.
References Delay_Target_ToEnemy_Thread(), fire_for_time(), and FLAT_ORIGIN.
Referenced by state_combat_update().
function Attack_Thread_rocket | ( | ) |
Definition at line 940 of file _hunter.gsc.
References Cooldown(), hunter_fire_one_missile(), hunter_lockon_fx(), HUNTER_MISSILE_LOCKON_DELAY, HUNTER_MISSILE_MINIMAL_INTERVAL, IsCooldownReady(), and Movement_Thread_StayInDistance().
Referenced by state_combat_update().
function defaultRole | ( | ) |
Definition at line 238 of file _hunter.gsc.
References add_interrupt_connection(), add_state(), add_utility_connection(), get_state_callbacks(), hunter_emped(), hunter_scripted(), init_state_machine_for_role(), StartInitialState(), state_combat_enter(), state_combat_exit(), state_combat_update(), state_death_enter(), state_death_update(), state_strafe_enter(), state_strafe_exit(), state_strafe_update(), state_unaware_exit(), and state_unaware_update().
Referenced by hunter_initialize().
function Delay_Target_ToEnemy_Thread | ( | point | , |
enemy | , | ||
timeToHit | |||
) |
#debugstar( self.fakeTargetEnt.origin, 1000, (0,1,0) ); #/
Definition at line 854 of file _hunter.gsc.
References Spawn(), and WAIT_SERVER_FRAME.
Referenced by Attack_Thread_MainTurret().
function disable_turrets | ( | ) |
Definition at line 449 of file _hunter.gsc.
References disable(), and side_turrets_forward().
Referenced by state_unaware_update().
function enable_turrets | ( | ) |
Definition at line 442 of file _hunter.gsc.
References enable().
Referenced by state_combat_enter().
function get_enemies_in_view | ( | do_trace | ) |
Definition at line 1203 of file _hunter.gsc.
References ARRAY_ADD, getEnemyArray(), and is_valid_target().
Referenced by hunter_frontScanning().
function getEnemyArray | ( | include_ai | , |
include_player | |||
) |
Definition at line 1128 of file _hunter.gsc.
References IS_TRUE.
Referenced by get_enemies_in_view().
function GetNextMovePosition_tactical | ( | enemy | ) |
Definition at line 610 of file _hunter.gsc.
References HUNTER_RADIUS, PositionQuery_DebugScores(), PositionQuery_Filter_EngagementDist(), PositionQuery_Filter_OutOfGoalAnchor(), PositionQuery_Filter_Random(), and PositionQuery_PostProcess_SortScore().
Referenced by Movement_Thread_StayInDistance().
function hunter_collision_player | ( | ) |
Definition at line 1479 of file _hunter.gsc.
Referenced by hunter_scripted().
function hunter_emped | ( | params | ) |
Definition at line 1587 of file _hunter.gsc.
References evaluate_connections().
Referenced by defaultRole().
function hunter_exit_vehicle | ( | ) |
Definition at line 1357 of file _hunter.gsc.
Referenced by hunter_scripted().
function hunter_fire_one_missile | ( | launcher_index | , |
target | , | ||
offset | , | ||
blinkLights | , | ||
waittimeAfterBlinkLights | |||
) |
Definition at line 1064 of file _hunter.gsc.
References blink_lights_for_time(), HUNTER_MISSILE_WEAPON, and IS_TRUE.
Referenced by Attack_Thread_rocket().
function hunter_frontScanning | ( | ) |
Definition at line 1277 of file _hunter.gsc.
References get_enemies_in_view(), HUNTER_ENABLE_SCANNER_FX, hunter_scanner_init(), HUNTER_SCANNER_PITCH, HUNTER_SCANNER_RANGE_PITCH, HUNTER_SCANNER_RANGE_YAW, HUNTER_SCANNER_SCANSPEED, hunter_scanner_SetTargetPosition(), is_point_in_view(), IS_TRUE, and randomSign().
function hunter_initialize | ( | ) |
Definition at line 157 of file _hunter.gsc.
References _init_turret(), CreateInterfaceForEntity(), defaultRole(), friendly_fire_shield(), get_script_bundle(), hunter_initTagArrays(), HunterCallback_VehicleDamage(), InitThreatBias(), nudge_collision(), set_best_target_func(), set_burst_parameters(), set_target_flags(), side_turret_get_best_target(), side_turrets_forward(), TURRET_TARGET_AI, and TURRET_TARGET_PLAYERS.
Referenced by __init__().
function hunter_initTagArrays | ( | ) |
Definition at line 107 of file _hunter.gsc.
References ARRAY_ADD, HUNTER_ENABLE_ATTACK_DRONES, and HUNTER_ENABLE_WEAKSPOTS.
Referenced by hunter_initialize().
function hunter_level_out_for_landing | ( | ) |
Definition at line 1570 of file _hunter.gsc.
References emped(), and WAIT_SERVER_FRAME.
function hunter_lockon_fx | ( | ) |
Definition at line 1121 of file _hunter.gsc.
References blink_lights_for_time().
Referenced by Attack_Thread_rocket(), and state_combat_enter().
function hunter_pain_for_time | ( | time | , |
velocityStablizeParam | , | ||
rotationStablizeParam | , | ||
restoreLookPoint | |||
) |
Definition at line 1620 of file _hunter.gsc.
References IS_TRUE, and Spawn().
Referenced by hunter_pain_small().
function hunter_pain_small | ( | eAttacker | , |
damageType | , | ||
hitPoint | , | ||
hitDirection | , | ||
hitLocationInfo | , | ||
partName | |||
) |
Definition at line 1655 of file _hunter.gsc.
References hunter_pain_for_time(), IS_TRUE, set_state(), and sign().
Referenced by HunterCallback_VehicleDamage().
function hunter_scanner_ClearLookTarget | ( | ) |
Definition at line 1261 of file _hunter.gsc.
function hunter_scanner_init | ( | ) |
Definition at line 1220 of file _hunter.gsc.
References HUNTER_ENABLE_SCANNER_FX, HUNTER_SCANNER_TAG, spawn(), and Spawn().
Referenced by hunter_frontScanning().
function hunter_scanner_SetTargetEntity | ( | targetEnt | , |
offset | |||
) |
Definition at line 1245 of file _hunter.gsc.
function hunter_scanner_SetTargetPosition | ( | targetPos | ) |
Definition at line 1268 of file _hunter.gsc.
Referenced by hunter_frontScanning().
function hunter_scripted | ( | params | ) |
Definition at line 1371 of file _hunter.gsc.
References hunter_collision_player(), hunter_exit_vehicle(), player_fire_update_rocket(), player_fire_update_side_turret_1(), player_fire_update_side_turret_2(), and vehicle_damage_filter().
Referenced by defaultRole().
function hunter_self_destruct | ( | ) |
Definition at line 1522 of file _hunter.gsc.
References WAIT_SERVER_FRAME.
function hunter_SpawnDrones | ( | ) |
Definition at line 135 of file _hunter.gsc.
References ARRAY_ADD, HUNTER_DRONE_SPAWNER, and HUNTER_ENABLE_ATTACK_DRONES.
function hunter_update_rumble | ( | ) |
Definition at line 1498 of file _hunter.gsc.
function HunterCallback_VehicleDamage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | , | ||
vSurfaceNormal | |||
) |
Definition at line 1680 of file _hunter.gsc.
References hunter_pain_small(), set_damage_fx_level(), should_emp(), and should_update_damage_fx_level().
Referenced by hunter_initialize().
function is_point_in_view | ( | point | , |
do_trace | |||
) |
Definition at line 1154 of file _hunter.gsc.
References HUNTER_SCANNER_FOV, HUNTER_SCANNER_VIEW_DISTANCE, IS_TRUE, SQR, and within_fov().
Referenced by hunter_frontScanning(), and is_valid_target().
function is_valid_target | ( | target | , |
do_trace | |||
) |
Definition at line 1179 of file _hunter.gsc.
References is_dead_sentient(), is_point_in_view(), and IS_TRUE.
Referenced by get_enemies_in_view().
function kill_drones | ( | ) |
Definition at line 299 of file _hunter.gsc.
References SQR.
function Movement_Thread_StayInDistance | ( | ) |
Definition at line 683 of file _hunter.gsc.
References GetNextMovePosition_tactical(), HUNTER_SEEK_ENEMY_DELAY, IS_TRUE, SQR, and waittill_any_timeout().
Referenced by Attack_Thread_rocket(), and state_combat_update().
function Movement_Thread_Wander | ( | ) |
Definition at line 388 of file _hunter.gsc.
References clamp(), PositionQuery_Filter_OutOfGoalAnchor(), PositionQuery_Filter_Random(), PositionQuery_PostProcess_SortScore(), and waittill_any_timeout().
Referenced by state_unaware_update().
function player_fire_update_rocket | ( | ) |
Definition at line 1449 of file _hunter.gsc.
References HUNTER_MISSILE_WEAPON_PLAYER.
Referenced by hunter_scripted().
function player_fire_update_side_turret_1 | ( | ) |
Definition at line 1411 of file _hunter.gsc.
Referenced by hunter_scripted().
function player_fire_update_side_turret_2 | ( | ) |
Definition at line 1430 of file _hunter.gsc.
Referenced by hunter_scripted().
function RegisterInterfaceAttributes | ( | archetype | ) |
Definition at line 89 of file _hunter.gsc.
References RegisterNumericInterface(), and RegisterSharedInterfaceAttributes().
Referenced by __init__().
function remote_missile_life | ( | ) |
Definition at line 1110 of file _hunter.gsc.
References waitLongDurationWithHostMigrationPause().
function shut_off_fx | ( | ) |
Definition at line 286 of file _hunter.gsc.
Referenced by state_death_enter().
function side_turret_get_best_target | ( | a_potential_targets | , |
n_index | |||
) |
Definition at line 1020 of file _hunter.gsc.
References can_hit_target(), get_target(), and HUNTER_ENABLE_SIDETURRETS_YIELD_MAINTURRET_TARGET.
Referenced by hunter_initialize().
function side_turrets_forward | ( | ) |
Definition at line 457 of file _hunter.gsc.
Referenced by disable_turrets(), and hunter_initialize().
function state_combat_enter | ( | params | ) |
Definition at line 463 of file _hunter.gsc.
References enable_turrets(), HUNTER_COMBAT_SPEED_RATIO, and hunter_lockon_fx().
Referenced by defaultRole().
function state_combat_exit | ( | params | ) |
Definition at line 495 of file _hunter.gsc.
Referenced by defaultRole().
function state_combat_update | ( | params | ) |
Definition at line 474 of file _hunter.gsc.
References Attack_Thread_MainTurret(), Attack_Thread_rocket(), Movement_Thread_StayInDistance(), and set_state().
Referenced by defaultRole().
function state_death_enter | ( | params | ) |
Definition at line 313 of file _hunter.gsc.
References defaultstate_death_enter(), and shut_off_fx().
Referenced by defaultRole().
function state_death_update | ( | params | ) |
Definition at line 330 of file _hunter.gsc.
References ClearAllLookingAndTargeting(), ClearAllMovement(), defaultstate_death_update(), and get_death_type().
Referenced by defaultRole().
function state_strafe_enter | ( | params | ) |
Definition at line 506 of file _hunter.gsc.
References get_behavior_attribute(), and HUNTER_STRAFE_SPEED_RATIO.
Referenced by defaultRole().
function state_strafe_exit | ( | params | ) |
Definition at line 603 of file _hunter.gsc.
References Cooldown(), and HUNTER_STRAFE_COOLDOWN.
Referenced by defaultRole().
function state_strafe_update | ( | params | ) |
Definition at line 519 of file _hunter.gsc.
References get_behavior_attribute(), get_previous_state(), HUNTER_RADIUS, HUNTER_STRAFE_DISTANCE_TO_ENEMY_DISTANCE_RATIO, PositionQuery_DebugScores(), PositionQuery_Filter_OutOfGoalAnchor(), PositionQuery_PostProcess_SortScore(), set_state(), and waittill_any_timeout().
Referenced by defaultRole().
function state_unaware_enter | ( | params | ) |
Definition at line 355 of file _hunter.gsc.
References HUNTER_UNAWARE_SPEED_RATIO.
function state_unaware_exit | ( | params | ) |
Definition at line 383 of file _hunter.gsc.
Referenced by defaultRole().
function state_unaware_update | ( | params | ) |
Definition at line 362 of file _hunter.gsc.
References disable_turrets(), Movement_Thread_Wander(), and set_state().
Referenced by defaultRole().