![]() |
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 | ai_tank_killstreak_start (owner, origin, killstreak_id, category) |
function | ConfigureTeamPost (owner, isHacked) |
function | crateLand (crate, category, owner, team, context) |
function | deleteOnKillbrush (player) |
function | emp_crazy_death () |
function | endTankRemoteControl (drone, exitRequestedByOwner) |
function | get_vehicle_name (vehicle_version) |
function | HackedCallbackPost (hacker) |
function | HackedCallbackPre (hacker) |
function | init () |
function | is_location_good (location, context) |
function | kill_monitor () |
function | killstreak_stop_and_assert (hardpoint_name, team, killstreak_id, assert_msg) |
function | perform_recoil (recoil_tag, force_scale_factor, force_z_offset) |
function | perform_recoil_missile_turret (player) |
function | register () |
function | reload_rockets (player) |
function | setup_gameplay_think (category) |
function | startTankRemoteControl (drone) |
function | stop_remote () |
function | tank_abort_think () |
function | tank_compute_enemy_position () |
function | tank_damage_think () |
function | tank_death_think (hardpointName) |
function | tank_game_end_think (drone) |
function | tank_get_player_enemies (on_radar) |
function | tank_hacked_health_update (hacker) |
function | tank_has_radar () |
function | tank_low_health_fx () |
function | tank_rocket_watch (player) |
function | tank_rocket_watch_ai () |
function | tank_stun (duration) |
function | tank_team_kill () |
function | tank_timeout_callback () |
function | tank_too_far_from_nav_mesh_abort_think () |
function | tank_watch_owner_events () |
function | update_client_ammo (ammo_count, driver_only_update=false) |
function | useKillstreakAITankDrop (hardpointType) |
function | valid_location (location) |
function | valid_target (target, team, owner) |
function | WatchWater () |
#define AI_TANK_BULLET_MITIGATION .8 |
Definition at line 44 of file _ai_tank.gsc.
#define AI_TANK_EXPLOSIVE_MITIGATION 1 |
Definition at line 45 of file _ai_tank.gsc.
#define AI_TANK_FURTHEST_FROM_NAVMESH_ALLOWED ( 40 * 12 ) |
Definition at line 56 of file _ai_tank.gsc.
#define AI_TANK_GUN_TURRET 1 |
Definition at line 49 of file _ai_tank.gsc.
#define AI_TANK_GUNNER_AIM_OFFSET -24 |
Definition at line 53 of file _ai_tank.gsc.
#define AI_TANK_GUNNER_AIM_TAG "tag_gunner_aim1" |
Definition at line 52 of file _ai_tank.gsc.
#define AI_TANK_GUNNER_FLASH_TAG "tag_flash_gunner1" |
Definition at line 51 of file _ai_tank.gsc.
#define AI_TANK_HEALTH 1500 |
Definition at line 42 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_FUTZ_FRACTION ( 12 / AI_TANK_IN_WATER_TRACE_START ) |
Definition at line 1193 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_REF_DISTANCE ( AI_TANK_IN_WATER_TRACE_REF - AI_TANK_IN_WATER_TRACE_END ) |
Definition at line 1192 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_TRACE_DISTANCE ( AI_TANK_IN_WATER_TRACE_START - AI_TANK_IN_WATER_TRACE_END ) |
Definition at line 1191 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_TRACE_END ( 12 ) |
Definition at line 1189 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_TRACE_FRACTION ( (AI_TANK_IN_WATER_TRACE_START - AI_TANK_IN_WATER_TRACE_REF) / ( AI_TANK_IN_WATER_TRACE_START - AI_TANK_IN_WATER_TRACE_END ) ) |
Definition at line 1190 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_TRACE_MASK ( PHYSICS_TRACE_MASK_WATER ) |
Definition at line 1185 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_TRACE_MAXS ( 2, 2, 2 ) |
Definition at line 1184 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_TRACE_MINS ( -2, -2, -2 ) |
Definition at line 1183 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_TRACE_REF ( 36 ) |
Definition at line 1188 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_TRACE_START ( 42 ) |
Definition at line 1187 of file _ai_tank.gsc.
#define AI_TANK_IN_WATER_TRACE_WAIT ( 0.3 ) |
Definition at line 1186 of file _ai_tank.gsc.
#define AI_TANK_MISSILE_FLASH_TAG "tag_flash" |
Definition at line 50 of file _ai_tank.gsc.
#define AI_TANK_MISSILE_TURRET 0 |
Definition at line 48 of file _ai_tank.gsc.
#define AI_TANK_NAV_MESH_VALID_LOCATION_BOUNDARY 16 |
Definition at line 58 of file _ai_tank.gsc.
#define AI_TANK_NAV_MESH_VALID_LOCATION_TOLERANCE 4 |
Definition at line 59 of file _ai_tank.gsc.
#define AI_TANK_PATH_TIMEOUT 45 |
Definition at line 43 of file _ai_tank.gsc.
#define AI_TANK_STUN_DURATION 4 |
Definition at line 46 of file _ai_tank.gsc.
#define AI_TANK_STUN_DURATION_PROXIMITY 1.5 |
Definition at line 47 of file _ai_tank.gsc.
#define AI_TANK_THINK_DEBUG GetDvarInt( "scr_ai_tank_think_debug" ) |
Definition at line 54 of file _ai_tank.gsc.
#define AI_TANK_TIME_TO_WAIT_FOR_LOST_TARGET 5 |
Definition at line 55 of file _ai_tank.gsc.
#define AI_TANK_WEAPON_NAME "ai_tank_marker" |
Definition at line 41 of file _ai_tank.gsc.
function ai_tank_killstreak_start | ( | owner | , |
origin | , | ||
killstreak_id | , | ||
category | |||
) |
Definition at line 281 of file _ai_tank.gsc.
References add_to_target_group(), AI_TANK_AGR_NAME, AI_TANK_GUNNER_FLASH_TAG, AI_TANK_HEALTH, AI_TANK_LIFETIME, AI_TANK_MISSLE_COUNT_AFTER_RELOAD, configure_team(), ConfigureTeamPost(), deleteOnKillbrush(), enable_hacking(), ENEMY_VEHICLE_ACTIVE, get_script_bundle(), HackedCallbackPost(), HackedCallbackPre(), init_target_group(), kill_monitor(), killstreak_stop_and_assert(), set(), setup_gameplay_think(), setup_health(), tank_game_end_think(), tank_rocket_watch_ai(), and UseRemoteWeapon().
Referenced by crateLand().
function ConfigureTeamPost | ( | owner | , |
isHacked | |||
) |
Definition at line 275 of file _ai_tank.gsc.
References tank_watch_owner_events().
Referenced by ai_tank_killstreak_start().
function crateLand | ( | crate | , |
category | , | ||
owner | , | ||
team | , | ||
context | |||
) |
Definition at line 188 of file _ai_tank.gsc.
References ai_tank_killstreak_start(), EnemyEMPActive(), is_location_good(), and killstreakStop().
Referenced by init().
function deleteOnKillbrush | ( | player | ) |
Definition at line 621 of file _ai_tank.gsc.
Referenced by ai_tank_killstreak_start().
function emp_crazy_death | ( | ) |
Definition at line 692 of file _ai_tank.gsc.
References AI_TANK_GUN_TURRET, AI_TANK_MISSILE_TURRET, set(), and WAIT_SERVER_FRAME.
function endTankRemoteControl | ( | drone | , |
exitRequestedByOwner | |||
) |
Definition at line 1049 of file _ai_tank.gsc.
References AI_TANK_VISIONSET_ALIAS, cobra_retract(), deactivate(), destroyRemoteHUD(), IS_TRUE, set(), set_state(), and stop_monitor_missiles_locked_on_to_me().
Referenced by init().
function get_vehicle_name | ( | vehicle_version | ) |
Definition at line 356 of file _ai_tank.gsc.
function HackedCallbackPost | ( | hacker | ) |
Definition at line 266 of file _ai_tank.gsc.
References set_vehicle_drivable_time_starting_now(), and UseRemoteWeapon().
Referenced by ai_tank_killstreak_start().
function HackedCallbackPre | ( | hacker | ) |
Definition at line 252 of file _ai_tank.gsc.
References AI_TANK_VISIONSET_ALIAS, deactivate(), EndRemoteControlWeaponUse(), RemoveAndAssignNewRemoteControlTrigger(), set(), set_to_player(), and stop_remote().
Referenced by ai_tank_killstreak_start().
function init | ( | ) |
Definition at line 79 of file _ai_tank.gsc.
References AI_TANK_AGR_NAME, AI_TANK_VISIONSET_ALIAS, AI_TANK_WEAPON_NAME, AITANK_HIDE_COMPASS_ON_REMOTE_CONTROL, DEFAULT, endTankRemoteControl(), get_script_bundle(), get_spawnpoint_array(), ramp_in_out_thread_per_player_death_shutdown(), register(), register_alt_weapon(), register_dialog(), register_info(), register_remote_override_weapon(), register_strings(), RegisterRemoteWeapon(), startTankRemoteControl(), useKillstreakAITankDrop(), and VERSION_SHIP.
function is_location_good | ( | location | , |
context | |||
) |
Definition at line 222 of file _ai_tank.gsc.
References IsLocationGood(), and valid_location().
Referenced by crateLand(), and useKillstreakAITankDrop().
function kill_monitor | ( | ) |
Definition at line 390 of file _ai_tank.gsc.
References AI_TANK_AGR_NAME, and play_pilot_dialog_on_owner().
Referenced by ai_tank_killstreak_start().
function killstreak_stop_and_assert | ( | hardpoint_name | , |
team | , | ||
killstreak_id | , | ||
assert_msg | |||
) |
Definition at line 844 of file _ai_tank.gsc.
References killstreakStop().
Referenced by ai_tank_killstreak_start(), tank_death_think(), and useKillstreakAITankDrop().
function perform_recoil | ( | recoil_tag | , |
force_scale_factor | , | ||
force_z_offset | |||
) |
Definition at line 1096 of file _ai_tank.gsc.
Referenced by perform_recoil_missile_turret().
function perform_recoil_missile_turret | ( | player | ) |
Definition at line 1084 of file _ai_tank.gsc.
References AI_TANK_AGR_NAME, IS_TRUE, and perform_recoil().
Referenced by tank_rocket_watch().
function register | ( | ) |
Definition at line 126 of file _ai_tank.gsc.
References VERSION_SHIP.
Referenced by __init__(), add_zombie_powerup(), additional_primary_weapon_client_field_func(), additional_primary_weapon_register_clientfield(), deadshot_client_field_func(), deadshot_register_clientfield(), doubletap2_client_field_func(), doubletap2_register_clientfield(), electric_cherry_client_field_func(), electric_cherry_register_clientfield(), enable_widows_wine_perk_for_level(), finalize_type_clientfields(), init(), init_client_field_callback_funcs(), init_clientfields(), init_electric_cherry(), init_fx(), init_powerups(), init_shared(), init_spawnable_weapon_upgrade(), juggernaut_client_field_func(), juggernaut_register_clientfield(), main(), opt_in(), perks_register_clientfield(), quick_revive_client_field_func(), quick_revive_register_clientfield(), register_clientfields(), register_sidequest_icon(), RegisterClientFields(), score_cf_register_info(), setup_notetracks(), sleight_of_hand_client_field_func(), sleight_of_hand_register_clientfield(), staminup_client_field_func(), staminup_register_clientfield(), widows_wine_client_field_func(), and widows_wine_register_clientfield().
function reload_rockets | ( | player | ) |
Definition at line 1160 of file _ai_tank.gsc.
References AI_TANK_AGR_NAME, AI_TANK_MISSLE_COUNT_AFTER_RELOAD, isStunned(), and update_client_ammo().
Referenced by tank_rocket_watch().
function setup_gameplay_think | ( | category | ) |
Definition at line 371 of file _ai_tank.gsc.
References tank_abort_think(), tank_damage_think(), tank_death_think(), tank_team_kill(), tank_too_far_from_nav_mesh_abort_think(), and WatchWater().
Referenced by ai_tank_killstreak_start().
function startTankRemoteControl | ( | drone | ) |
Definition at line 1019 of file _ai_tank.gsc.
References activate(), AI_TANK_LIFETIME, AI_TANK_VISIONSET_ALIAS, monitor_missiles_locked_on_to_me(), set(), set_vehicle_drivable_time(), tank_rocket_watch(), update_client_ammo(), update_damage_as_occupant(), and VAL.
Referenced by init().
function stop_remote | ( | ) |
Definition at line 475 of file _ai_tank.gsc.
References clear_using_remote(), clientNotify(), and destroyRemoteHUD().
Referenced by HackedCallbackPre(), and tank_watch_owner_events().
function tank_abort_think | ( | ) |
Definition at line 419 of file _ai_tank.gsc.
References AI_TANK_AGR_NAME, AI_TANK_LIFETIME, tank_timeout_callback(), and WaitForTimeout().
Referenced by setup_gameplay_think().
function tank_compute_enemy_position | ( | ) |
Definition at line 922 of file _ai_tank.gsc.
References tank_get_player_enemies().
function tank_damage_think | ( | ) |
Definition at line 498 of file _ai_tank.gsc.
References AI_TANK_AGR_NAME, AI_TANK_BULLET_MITIGATION, AI_TANK_EXPLOSIVE_MITIGATION, AI_TANK_STUN_DURATION, AI_TANK_STUN_DURATION_PROXIMITY, damage(), get_emp_grenade_damage(), get_hacked_health(), get_weapon_damage(), isStunned(), play_pilot_dialog_on_owner(), stunnedTankWithEMPGrenade(), tank_hacked_health_update(), tank_low_health_fx(), tank_stun(), and update_damage_as_occupant().
Referenced by setup_gameplay_think().
function tank_death_think | ( | hardpointName | ) |
Definition at line 726 of file _ai_tank.gsc.
References AI_TANK_AGR_NAME, destroyNonAirScoreStreak_PostStatsLock(), destroyRemoteHUD(), destroyScoreStreak(), IsEnemyPlayer(), killstreak_stop_and_assert(), killstreakStop(), play_destroyed_dialog_on_owner(), PlayFx(), processScoreEvent(), set(), VAL, wait_network_frame(), and waittill_any_timeout().
Referenced by setup_gameplay_think().
function tank_game_end_think | ( | drone | ) |
Definition at line 465 of file _ai_tank.gsc.
Referenced by ai_tank_killstreak_start().
function tank_get_player_enemies | ( | on_radar | ) |
Definition at line 879 of file _ai_tank.gsc.
References tank_has_radar(), and valid_target().
Referenced by tank_compute_enemy_position().
function tank_hacked_health_update | ( | hacker | ) |
Definition at line 486 of file _ai_tank.gsc.
Referenced by tank_damage_think().
function tank_has_radar | ( | ) |
Definition at line 869 of file _ai_tank.gsc.
References HasSatellite(), and HasUAV().
Referenced by tank_get_player_enemies().
function tank_low_health_fx | ( | ) |
function tank_rocket_watch | ( | player | ) |
Definition at line 1116 of file _ai_tank.gsc.
References isStunned(), perform_recoil_missile_turret(), reload_rockets(), and update_client_ammo().
Referenced by startTankRemoteControl().
function tank_rocket_watch_ai | ( | ) |
Definition at line 1148 of file _ai_tank.gsc.
Referenced by ai_tank_killstreak_start().
function tank_stun | ( | duration | ) |
Definition at line 647 of file _ai_tank.gsc.
References set(), set_to_player(), and stunStaticFX().
Referenced by tank_damage_think().
function tank_team_kill | ( | ) |
Definition at line 383 of file _ai_tank.gsc.
Referenced by setup_gameplay_think().
function tank_timeout_callback | ( | ) |
Definition at line 426 of file _ai_tank.gsc.
References AI_TANK_AGR_NAME, and play_pilot_dialog_on_owner().
Referenced by tank_abort_think().
function tank_too_far_from_nav_mesh_abort_think | ( | ) |
Definition at line 850 of file _ai_tank.gsc.
References AI_TANK_FURTHEST_FROM_NAVMESH_ALLOWED.
Referenced by setup_gameplay_think().
function tank_watch_owner_events | ( | ) |
Definition at line 435 of file _ai_tank.gsc.
References AI_TANK_VISIONSET_ALIAS, deactivate(), set(), stop_remote(), and waittill_any().
Referenced by ConfigureTeamPost().
function update_client_ammo | ( | ammo_count | , |
driver_only_update | = false |
||
) |
Definition at line 1103 of file _ai_tank.gsc.
References increment_to_player(), and set().
Referenced by reload_rockets(), startTankRemoteControl(), and tank_rocket_watch().
function useKillstreakAITankDrop | ( | hardpointType | ) |
Definition at line 134 of file _ai_tank.gsc.
References AI_TANK_AGR_NAME, AI_TANK_NAV_MESH_VALID_LOCATION_BOUNDARY, AI_TANK_NAV_MESH_VALID_LOCATION_TOLERANCE, AI_TANK_WEAPON_NAME, displayKillstreakStartTeamMessageToAll(), is_location_good(), isSupplyDropGrenadeAllowed(), killstreak_stop_and_assert(), killstreakStart(), killstreakStop(), PHYSICS_TRACE_MASK_PHYSICS, PHYSICS_TRACE_MASK_WATER, play_killstreak_start_dialog(), result(), and useSupplyDropMarker().
Referenced by init().
function valid_location | ( | location | ) |
Definition at line 227 of file _ai_tank.gsc.
References end(), IsTouchingAnyOOBTrigger(), PHYSICS_TRACE_MASK_VEHICLE_CLIP, and trace().
Referenced by is_location_good().
function valid_target | ( | target | , |
team | , | ||
owner | |||
) |
Definition at line 950 of file _ai_tank.gsc.
References IS_TRUE.
Referenced by tank_get_player_enemies().
function WatchWater | ( | ) |
Definition at line 1195 of file _ai_tank.gsc.
References AI_TANK_IN_WATER_REF_DISTANCE, AI_TANK_IN_WATER_TRACE_DISTANCE, AI_TANK_IN_WATER_TRACE_END, AI_TANK_IN_WATER_TRACE_FRACTION, AI_TANK_IN_WATER_TRACE_MASK, AI_TANK_IN_WATER_TRACE_MAXS, AI_TANK_IN_WATER_TRACE_MINS, AI_TANK_IN_WATER_TRACE_START, AI_TANK_IN_WATER_TRACE_WAIT, set_to_player(), and trace().
Referenced by setup_gameplay_think().