![]() |
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 | arm_test () |
function | Attack_Rocket (target) |
function | Attack_Thread_machinegun () |
function | Attack_Thread_Rocket () |
function | clean_up_spawned () |
function | clean_up_spawnedOnDeath (entToWatch) |
function | defaultRole () |
function | destroy_siegebot () |
function | disable_missiles () |
function | does_rocket_shoot_through_wall (use_old_trace) |
function | emped (down_time) |
function | emped_enter (params) |
function | emped_exit (params) |
function | emped_reenter (params) |
function | emped_update (params) |
function | enable_missiles () |
function | extend_left_arm () |
function | extend_right_arm () |
function | face_target (position, targetAngleDiff) |
function | GetNextMovePosition_tactical () |
function | GetNextMovePosition_unaware () |
function | initJumpStruct () |
function | locomotion_start () |
function | monitor_enter_exit_vehicle () |
function | Movement_Thread () |
function | Movement_Thread_Unaware () |
function | on_player_disconnected () |
function | pain_toggle (enabled) |
function | pain_update (params) |
function | path_update_interrupt () |
function | process_siegebot_kill (driver) |
function | reload_rockets (player) |
function | retract_left_arm () |
function | retract_right_arm () |
function | Scan () |
function | set_rocket_count (rocket_count) |
function | siegebot_callback_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) |
function | siegebot_driving (params) |
function | siegebot_initialize () |
function | siegebot_kill_on_tilting () |
function | siegebot_player_aimUpdate () |
function | siegebot_player_fireupdate () |
function | siegebot_update_difficulty () |
function | state_combat_exit (params) |
function | state_combat_update (params) |
function | state_death_update (params) |
function | state_jump_can_enter (from_state, to_state, connection) |
function | state_jump_enter (params) |
function | state_jump_exit (params) |
function | state_jump_update (params) |
function | state_unaware_update (params) |
function | stopMovementAndSetBrake () |
function | update_client_ammo (ammo_count, driver_only_update=false) |
function | update_emped_driver_visuals () |
function | update_emped_visuals (driver, emped) |
function | vehicle_occupied (player) |
function | vehicle_unoccupied (player) |
function | wait_then_hide (wait_time) |
function | watch_death () |
function | watch_emped () |
function | watch_game_ended () |
function | watch_left_arm () |
function | watch_right_arm () |
function | watch_rockets (player) |
function | weapon_doors_state (isOpen, waittime=0) |
#define DEBUG_ON false |
Definition at line 40 of file _siegebot.gsc.
#define JUMP_COOLDOWN 7 |
Definition at line 39 of file _siegebot.gsc.
#define SIEGEBOT_ARM_TRACE_CLIP_MASK PHYSICS_TRACE_MASK_PHYSICS | PHYSICS_TRACE_MASK_CLIP |
Definition at line 56 of file _siegebot.gsc.
#define SIEGEBOT_BUNDLE "siegebot" |
Definition at line 42 of file _siegebot.gsc.
#define SIEGEBOT_LEFT_ARM_TRACE_END -30 |
Definition at line 54 of file _siegebot.gsc.
#define SIEGEBOT_LEFT_ARM_TRACE_OFFSET -60 |
Definition at line 52 of file _siegebot.gsc.
#define SIEGEBOT_LEFT_ARM_TRACE_START 40 |
Definition at line 53 of file _siegebot.gsc.
#define SIEGEBOT_LEFT_ARM_TRACE_TAG "tag_turret" |
Definition at line 51 of file _siegebot.gsc.
#define SIEGEBOT_MISSILE_COUNT_AFTER_RELOAD 3 |
Definition at line 44 of file _siegebot.gsc.
#define SIEGEBOT_MISSILE_TURRET_INDEX 2 |
Definition at line 43 of file _siegebot.gsc.
#define SIEGEBOT_RIGHT_ARM_TRACE_END -30 |
Definition at line 49 of file _siegebot.gsc.
#define SIEGEBOT_RIGHT_ARM_TRACE_OFFSET 60 |
Definition at line 47 of file _siegebot.gsc.
#define SIEGEBOT_RIGHT_ARM_TRACE_START 40 |
Definition at line 48 of file _siegebot.gsc.
#define SIEGEBOT_RIGHT_ARM_TRACE_TAG "tag_turret" |
Definition at line 46 of file _siegebot.gsc.
#define SIEGEBOT_ROCKET_WALL_BLOCKED_FRAMES 10 |
Definition at line 67 of file _siegebot.gsc.
#define SIEGEBOT_ROCKET_WALL_FORWARD_OFFSET 100 |
Definition at line 64 of file _siegebot.gsc.
#define SIEGEBOT_ROCKET_WALL_RELATIVE_TAG "tag_turret" |
Definition at line 61 of file _siegebot.gsc.
#define SIEGEBOT_ROCKET_WALL_RIGHT_OFFSET 40 |
Definition at line 65 of file _siegebot.gsc.
#define SIEGEBOT_ROCKET_WALL_TAG "tag_turret" |
Definition at line 63 of file _siegebot.gsc.
#define SIEGEBOT_ROCKET_WALL_TRACE_END -12 |
Definition at line 60 of file _siegebot.gsc.
#define SIEGEBOT_ROCKET_WALL_TRACE_START 12 |
Definition at line 59 of file _siegebot.gsc.
#define SIEGEBOT_ROCKET_WALL_TRACE_TAG "tag_gunner_flash2b" |
Definition at line 58 of file _siegebot.gsc.
#define SIEGEBOT_ROCKET_WALL_Z_OFFSET 500 |
Definition at line 66 of file _siegebot.gsc.
function __init__ | ( | ) |
Definition at line 76 of file _siegebot.gsc.
References on_disconnect(), on_player_disconnected(), register(), siegebot_initialize(), and VERSION_TU15.
function arm_test | ( | ) |
Definition at line 1566 of file _siegebot.gsc.
References delay(), extend_left_arm(), extend_right_arm(), retract_left_arm(), and retract_right_arm().
function Attack_Rocket | ( | target | ) |
Definition at line 1170 of file _siegebot.gsc.
References waittill_any_timeout().
Referenced by Attack_Thread_Rocket().
function Attack_Thread_machinegun | ( | ) |
Definition at line 1118 of file _siegebot.gsc.
References fire_for_time().
Referenced by state_combat_update().
function Attack_Thread_Rocket | ( | ) |
Definition at line 1182 of file _siegebot.gsc.
References Attack_Rocket(), Cooldown(), IsCooldownReady(), and weapon_doors_state().
function clean_up_spawned | ( | ) |
Definition at line 580 of file _siegebot.gsc.
Referenced by state_death_update().
function clean_up_spawnedOnDeath | ( | entToWatch | ) |
Definition at line 587 of file _siegebot.gsc.
Referenced by initJumpStruct().
function defaultRole | ( | ) |
Definition at line 186 of file _siegebot.gsc.
References add_state(), add_utility_connection(), emped_enter(), emped_exit(), emped_reenter(), emped_update(), get_state_callbacks(), init_state_machine_for_role(), pain_update(), siegebot_driving(), StartInitialState(), state_combat_exit(), state_combat_update(), state_death_update(), state_jump_can_enter(), state_jump_enter(), state_jump_exit(), state_jump_update(), and state_unaware_update().
Referenced by siegebot_initialize().
function destroy_siegebot | ( | ) |
Definition at line 1403 of file _siegebot.gsc.
Referenced by watch_game_ended().
function disable_missiles | ( | ) |
Definition at line 1514 of file _siegebot.gsc.
References SIEGEBOT_MISSILE_TURRET_INDEX.
Referenced by reload_rockets().
function does_rocket_shoot_through_wall | ( | use_old_trace | ) |
Definition at line 1723 of file _siegebot.gsc.
References SIEGEBOT_ARM_TRACE_CLIP_MASK, SIEGEBOT_ROCKET_WALL_RELATIVE_TAG, SIEGEBOT_ROCKET_WALL_TRACE_END, SIEGEBOT_ROCKET_WALL_TRACE_START, SIEGEBOT_ROCKET_WALL_TRACE_TAG, and trace().
Referenced by siegebot_player_aimUpdate().
function emped | ( | down_time | ) |
Definition at line 1359 of file _siegebot.gsc.
References update_emped_driver_visuals().
Referenced by _turret_think(), croc_emped(), croc_main(), croc_off(), emp_watcher(), escort_drone_collision(), escort_drone_fire_for_time(), escort_drone_level_out_for_landing(), escort_drone_off(), hunter_level_out_for_landing(), metalstorm_main(), metalstorm_off(), quadrotor_collision(), quadrotor_fire_for_time(), quadrotor_level_out_for_landing(), quadrotor_off(), quadtank_emped(), state_off_enter(), turret_gadget_deploy_fire_for_time(), turret_gadget_deploy_off(), update_emped_driver_visuals(), update_emped_visuals(), UpdateEMP(), and watch_emped().
function emped_enter | ( | params | ) |
Definition at line 391 of file _siegebot.gsc.
References toggle_emp_fx().
Referenced by defaultRole().
function emped_exit | ( | params | ) |
Definition at line 426 of file _siegebot.gsc.
Referenced by defaultRole().
function emped_reenter | ( | params | ) |
Definition at line 430 of file _siegebot.gsc.
Referenced by defaultRole().
function emped_update | ( | params | ) |
Definition at line 405 of file _siegebot.gsc.
References evaluate_connections(), stopMovementAndSetBrake(), and waittill_asm_complete().
Referenced by defaultRole().
function enable_missiles | ( | ) |
Definition at line 1508 of file _siegebot.gsc.
References SIEGEBOT_MISSILE_TURRET_INDEX.
Referenced by reload_rockets(), and watch_rockets().
function extend_left_arm | ( | ) |
Definition at line 1602 of file _siegebot.gsc.
References DEFAULT, and set().
Referenced by arm_test(), and watch_left_arm().
function extend_right_arm | ( | ) |
Definition at line 1636 of file _siegebot.gsc.
References DEFAULT, and set().
Referenced by arm_test(), and watch_right_arm().
function face_target | ( | position | , |
targetAngleDiff | |||
) |
Definition at line 1048 of file _siegebot.gsc.
References FLAT_ORIGIN, locomotion_start(), TimeSince(), and WAIT_SERVER_FRAME.
Referenced by Movement_Thread(), Scan(), and state_jump_update().
function GetNextMovePosition_tactical | ( | ) |
Definition at line 830 of file _siegebot.gsc.
References PositionQuery_DebugScores(), PositionQuery_Filter_EngagementDist(), PositionQuery_Filter_OutOfGoalAnchor(), and PositionQuery_PostProcess_SortScore().
Referenced by Movement_Thread().
function GetNextMovePosition_unaware | ( | ) |
Definition at line 527 of file _siegebot.gsc.
References PositionQuery_DebugScores(), PositionQuery_Filter_OutOfGoalAnchor(), and PositionQuery_PostProcess_SortScore().
Referenced by Movement_Thread_Unaware().
function initJumpStruct | ( | ) |
Definition at line 595 of file _siegebot.gsc.
References clean_up_spawnedOnDeath(), get_array(), and Spawn().
Referenced by siegebot_initialize().
function locomotion_start | ( | ) |
Definition at line 820 of file _siegebot.gsc.
Referenced by face_target(), Movement_Thread(), and Movement_Thread_Unaware().
function monitor_enter_exit_vehicle | ( | ) |
Definition at line 1226 of file _siegebot.gsc.
References vehicle_occupied(), and vehicle_unoccupied().
Referenced by siegebot_initialize().
function Movement_Thread | ( | ) |
Definition at line 982 of file _siegebot.gsc.
References evaluate_connections(), face_target(), GetNextMovePosition_tactical(), IsCooldownReady(), locomotion_start(), path_update_interrupt(), TimeSince(), and waittill_pathing_done().
Referenced by state_combat_update().
function Movement_Thread_Unaware | ( | ) |
Definition at line 494 of file _siegebot.gsc.
References GetNextMovePosition_unaware(), locomotion_start(), path_update_interrupt(), Scan(), WAIT_SERVER_FRAME, and waittill_pathing_done().
Referenced by state_unaware_update().
function on_player_disconnected | ( | ) |
Definition at line 1773 of file _siegebot.gsc.
Referenced by __init__().
function pain_toggle | ( | enabled | ) |
Definition at line 439 of file _siegebot.gsc.
Referenced by state_jump_enter().
function pain_update | ( | params | ) |
Definition at line 444 of file _siegebot.gsc.
References evaluate_connections(), stopMovementAndSetBrake(), and waittill_asm_complete().
Referenced by defaultRole().
function path_update_interrupt | ( | ) |
Definition at line 881 of file _siegebot.gsc.
References SQR, and TimeSince().
Referenced by Movement_Thread(), and Movement_Thread_Unaware().
function process_siegebot_kill | ( | driver | ) |
Definition at line 1445 of file _siegebot.gsc.
References processScoreEvent().
Referenced by watch_death().
function reload_rockets | ( | player | ) |
Definition at line 1482 of file _siegebot.gsc.
References disable_missiles(), enable_missiles(), isStunned(), set_rocket_count(), SIEGEBOT_BUNDLE, and SIEGEBOT_MISSILE_COUNT_AFTER_RELOAD.
Referenced by watch_rockets().
function retract_left_arm | ( | ) |
Definition at line 1588 of file _siegebot.gsc.
References DEFAULT, and set().
Referenced by arm_test(), and watch_left_arm().
function retract_right_arm | ( | ) |
Definition at line 1622 of file _siegebot.gsc.
References DEFAULT, and set().
Referenced by arm_test(), and watch_right_arm().
function Scan | ( | ) |
Definition at line 1082 of file _siegebot.gsc.
References face_target(), and waittill_any_timeout().
Referenced by Movement_Thread_Unaware().
function set_rocket_count | ( | rocket_count | ) |
Definition at line 1502 of file _siegebot.gsc.
References update_client_ammo().
Referenced by reload_rockets(), and watch_rockets().
function siegebot_callback_damage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | , | ||
vSurfaceNormal | |||
) |
Definition at line 1301 of file _siegebot.gsc.
References DEFAULT, IS_TRUE, isFMJDamage(), OnDamagePerWeapon(), set_damage_fx_level(), should_emp(), should_update_damage_fx_level(), SIEGEBOT_BUNDLE, and update_damage_as_occupant().
Referenced by siegebot_initialize().
function siegebot_driving | ( | params | ) |
Definition at line 280 of file _siegebot.gsc.
References siegebot_kill_on_tilting(), and siegebot_player_fireupdate().
Referenced by defaultRole().
function siegebot_initialize | ( | ) |
Definition at line 86 of file _siegebot.gsc.
References CreateBlackBoardForEntity(), friendly_fire_shield(), get_max_health(), get_script_bundle(), initJumpStruct(), InitThreatBias(), monitor_enter_exit_vehicle(), register_killstreak_bundle(), RegisterVehicleBlackBoardAttributes(), SIEGEBOT_BUNDLE, siegebot_callback_damage(), SIEGEBOT_MISSILE_COUNT_AFTER_RELOAD, siegebot_update_difficulty(), SQR, target_hijackers(), watch_death(), watch_emped(), and watch_game_ended().
Referenced by __init__().
function siegebot_kill_on_tilting | ( | ) |
Definition at line 290 of file _siegebot.gsc.
References WAIT_SERVER_FRAME.
Referenced by siegebot_driving().
function siegebot_player_aimUpdate | ( | ) |
Definition at line 348 of file _siegebot.gsc.
References does_rocket_shoot_through_wall(), SIEGEBOT_MISSILE_TURRET_INDEX, SIEGEBOT_ROCKET_WALL_BLOCKED_FRAMES, SIEGEBOT_ROCKET_WALL_FORWARD_OFFSET, SIEGEBOT_ROCKET_WALL_RIGHT_OFFSET, SIEGEBOT_ROCKET_WALL_TAG, SIEGEBOT_ROCKET_WALL_Z_OFFSET, and WAIT_SERVER_FRAME.
Referenced by siegebot_player_fireupdate().
function siegebot_player_fireupdate | ( | ) |
Definition at line 321 of file _siegebot.gsc.
References SIEGEBOT_MISSILE_TURRET_INDEX, siegebot_player_aimUpdate(), and WAIT_SERVER_FRAME.
Referenced by siegebot_driving(), and vehicle_occupied().
function siegebot_update_difficulty | ( | ) |
Definition at line 175 of file _siegebot.gsc.
References get_general_difficulty_level().
Referenced by siegebot_initialize().
function state_combat_exit | ( | params | ) |
Definition at line 814 of file _siegebot.gsc.
Referenced by defaultRole().
function state_combat_update | ( | params | ) |
Definition at line 804 of file _siegebot.gsc.
References Attack_Thread_machinegun(), Attack_Thread_rocket(), and Movement_Thread().
Referenced by defaultRole().
function state_death_update | ( | params | ) |
Definition at line 224 of file _siegebot.gsc.
References clean_up_spawned(), CleanUp(), death_radius_damage(), do_death_dynents(), FreeWhenSafe(), get_death_type(), set_damage_fx_level(), set_death_model(), stopMovementAndSetBrake(), and waittill_asm_complete().
Referenced by defaultRole().
function state_jump_can_enter | ( | from_state | , |
to_state | , | ||
connection | |||
) |
function state_jump_enter | ( | params | ) |
Definition at line 623 of file _siegebot.gsc.
References DEBUG_ON, pain_toggle(), PHYSICS_TRACE_MASK_VEHICLE, stopMovementAndSetBrake(), and trace().
Referenced by defaultRole().
function state_jump_exit | ( | params | ) |
Definition at line 797 of file _siegebot.gsc.
Referenced by defaultRole().
function state_jump_update | ( | params | ) |
Definition at line 651 of file _siegebot.gsc.
References Cooldown(), DEBUG_ON, evaluate_connections(), face_target(), FLAT_ORIGIN, impact_fx(), JUMP_COOLDOWN, SQR, stopMovementAndSetBrake(), WAIT_SERVER_FRAME, and waittill_asm_complete().
Referenced by defaultRole().
function state_unaware_update | ( | params | ) |
Definition at line 477 of file _siegebot.gsc.
References evaluate_connections(), and Movement_Thread_Unaware().
Referenced by defaultRole().
function stopMovementAndSetBrake | ( | ) |
Definition at line 1037 of file _siegebot.gsc.
Referenced by emped_update(), pain_update(), state_death_update(), state_jump_enter(), and state_jump_update().
function update_client_ammo | ( | ammo_count | , |
driver_only_update | = false |
||
) |
Definition at line 1552 of file _siegebot.gsc.
References increment_to_player(), and set().
Referenced by set_rocket_count(), and watch_rockets().
function update_emped_driver_visuals | ( | ) |
Definition at line 1377 of file _siegebot.gsc.
References emped(), and update_emped_visuals().
Referenced by emped(), and vehicle_occupied().
function update_emped_visuals | ( | driver | , |
emped | |||
) |
Definition at line 1382 of file _siegebot.gsc.
References emped(), set_to_player(), and VAL.
Referenced by update_emped_driver_visuals(), and vehicle_unoccupied().
function vehicle_occupied | ( | player | ) |
Definition at line 1243 of file _siegebot.gsc.
References ENEMY_VEHICLE_ACTIVE, set(), siegebot_player_fireupdate(), update_damage_as_occupant(), update_emped_driver_visuals(), watch_left_arm(), watch_right_arm(), watch_rockets(), and weapon_doors_state().
Referenced by monitor_enter_exit_vehicle().
function vehicle_unoccupied | ( | player | ) |
Definition at line 1274 of file _siegebot.gsc.
References ENEMY_VEHICLE_INACTIVE, set(), update_emped_visuals(), and weapon_doors_state().
Referenced by monitor_enter_exit_vehicle(), and watch_death().
function wait_then_hide | ( | wait_time | ) |
Definition at line 1408 of file _siegebot.gsc.
Referenced by watch_game_ended().
function watch_death | ( | ) |
Definition at line 1419 of file _siegebot.gsc.
References death_radius_damage(), DeleteWhenSafe(), do_death_dynents(), process_siegebot_kill(), set_death_model(), and vehicle_unoccupied().
Referenced by siegebot_initialize().
function watch_emped | ( | ) |
Definition at line 1347 of file _siegebot.gsc.
References emped().
Referenced by siegebot_initialize().
function watch_game_ended | ( | ) |
Definition at line 1393 of file _siegebot.gsc.
References destroy_siegebot(), and wait_then_hide().
Referenced by siegebot_initialize().
function watch_left_arm | ( | ) |
Definition at line 1655 of file _siegebot.gsc.
References extend_left_arm(), retract_left_arm(), SIEGEBOT_ARM_TRACE_CLIP_MASK, SIEGEBOT_LEFT_ARM_TRACE_END, SIEGEBOT_LEFT_ARM_TRACE_OFFSET, SIEGEBOT_LEFT_ARM_TRACE_START, SIEGEBOT_LEFT_ARM_TRACE_TAG, and trace().
Referenced by vehicle_occupied().
function watch_right_arm | ( | ) |
Definition at line 1689 of file _siegebot.gsc.
References extend_right_arm(), retract_right_arm(), SIEGEBOT_ARM_TRACE_CLIP_MASK, SIEGEBOT_RIGHT_ARM_TRACE_END, SIEGEBOT_RIGHT_ARM_TRACE_OFFSET, SIEGEBOT_RIGHT_ARM_TRACE_START, SIEGEBOT_RIGHT_ARM_TRACE_TAG, and trace().
Referenced by vehicle_occupied().
function watch_rockets | ( | player | ) |
Definition at line 1520 of file _siegebot.gsc.
References enable_missiles(), isStunned(), reload_rockets(), set_rocket_count(), and update_client_ammo().
Referenced by vehicle_occupied().
function weapon_doors_state | ( | isOpen | , |
waittime | = 0 |
||
) |
Definition at line 968 of file _siegebot.gsc.
References toggle_ambient_anim_group().
Referenced by Attack_Thread_Rocket(), vehicle_occupied(), and vehicle_unoccupied().