![]() |
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 | TAACOM_KILLSTREAK_READY_WAIT 2.4 |
Functions | |
| function | __init__ () |
| function | _get_from_weapon (weapon) |
| function private | _setup_configure_team_callbacks (influencerType, configureTeamPreFunction, configureTeamPostFunction) |
| function | activate_next (do_not_update_death_count) |
| function | add_ricochet_protection (killstreak_id, owner, origin, ricochet_distance) |
| function | add_to_killstreak_count (weapon) |
| function | add_to_notification_queue (menuName, streakCount, hardpointType, noNotify) |
| function | allow_assists (killstreakType, allow) |
| function | change_killstreak_quantity (killstreakWeapon, delta) |
| function | clear_ride_intro (delay) |
| function | clear_using_remote (immediate, skipNotify) |
| function | configure_team (killstreakType, killstreakId, owner, influencerType, configureTeamPreFunction, configureTeamPostFunction, isHacked=false) |
| function | configure_team_internal (owner, isHacked) |
| function | defaultHackedHealthUpdateCallback (hacker) |
| function | display_unavailable_time () |
| function | get_by_menu_name (killstreak) |
| function | get_first_valid_killstreak_alt_weapon (killstreakType) |
| function | get_from_weapon (weapon) |
| function | get_if_top_killstreak_has_been_used () |
| function | get_killstreak_for_weapon (weapon) |
| function | get_killstreak_for_weapon_for_stats (weapon) |
| function | get_killstreak_index_by_id (killstreakId) |
| function | get_killstreak_inform_dialog (killstreakType) |
| function | get_killstreak_momentum_cost (killstreak) |
| function | get_killstreak_quantity (killstreakWeapon) |
| function | get_killstreak_team_kill_penalty_scale (weapon) |
| function | get_killstreak_usage (usageKey) |
| function | get_killstreak_usage_by_killstreak (killstreakType) |
| function | get_level (index, killstreak) |
| function | get_menu_name (killstreakType) |
| function | get_old_damage (attacker, weapon, type, damage, allow_bullet_damage) |
| function | get_random_pilot_index (killstreakType) |
| function | get_top_killstreak () |
| function | get_top_killstreak_unique_id () |
| function | get_xp_amount_for_killstreak (killstreakType) |
| function | getActiveKillstreaks () |
| function | give (killstreakType, streak, suppressNotification, noXP, toBottom) |
| function | give_for_streak () |
| function | give_if_streak_count_matches (index, killstreak, streakCount) |
| function | give_internal (killstreakType, do_not_update_death_count, noXP, toBottom) |
| function | give_owned () |
| function | give_weapon (weapon, isinventory, useStoredAmmo) |
| function | has_equipped () |
| function | has_killstreak (killstreak) |
| function | has_killstreak_in_class (killstreakMenuName) |
| function | hide_compass () |
| function | hide_tablet () |
| function | init () |
| function | init_ride_killstreak (streak, always_allow=false) |
| function | init_ride_killstreak_internal (streak, always_allow) |
| function | is_an_a_killstreak () |
| function | is_available (killstreak) |
| function | is_delayable_killstreak (killstreakType) |
| function | is_interacting_with_object () |
| function | is_killstreak_start_blocked () |
| function | is_killstreak_weapon_assist_allowed (weapon) |
| function | is_registered (killstreakType) |
| function | is_remote_override_weapon (killstreakType, weapon) |
| function | is_ricochet_protected (player) |
| function | killstreak_assist (victim, assister, killstreak) |
| function | killstreak_waiter () |
| function | missile_valid_target_check (missiletarget) |
| function | MonitorDamage (killstreak_ref, max_health, destroyed_callback, low_health, low_health_callback, emp_damage, emp_callback, allow_bullet_damage) |
| function | on_joined_team () |
| function | on_player_spawned () |
| function | OnDamagePerWeapon (killstreak_ref, attacker, damage, flags, type, weapon, max_health, destroyed_callback, low_health, low_health_callback, emp_damage, emp_callback, allow_bullet_damage, chargeLevel) |
| function | override_entity_camera_in_demo (killstreakType, value, isInventory) |
| function | play_destroyed_dialog_on_owner (killstreakType, killstreakId) |
| function | play_killstreak_being_hacked_dialog (killstreakType, killstreakId) |
| function | play_killstreak_firewall_being_hacked_dialog (killstreakType, killstreakId) |
| function | play_killstreak_firewall_hacked_dialog (killstreakType, killstreakId) |
| function | play_killstreak_hacked_dialog (killstreakType, killstreakId, hacker) |
| function | play_killstreak_ready_dialog (killstreakType, taacomWaitTime) |
| function | play_killstreak_ready_sfx (killstreaktype) |
| function | play_killstreak_start_dialog (killstreakType, team, killstreakId) |
| function | play_pilot_dialog (dialogKey, killstreakType, killstreakId, pilotIndex) |
| function | play_pilot_dialog_on_owner (dialogKey, killstreakType, killstreakId) |
| function | play_taacom_dialog_on_owner (dialogKey, killstreakType, killstreakId) |
| function | play_taacom_dialog_response (dialogKey, killstreakType, killstreakId, pilotIndex) |
| function | play_taacom_dialog_response_on_owner (dialogKey, killstreakType, killstreakId) |
| function | player_killstreak_threat_tracking (killstreakType) |
| function | point_is_in_danger_area (point, targetpos, radius) |
| function | print_killstreak_start_text (killstreakType, owner, team, targetpos, dangerRadius) |
| function | RecordKillstreakBeginDirect (recordStreakIndex) |
| function | register (killstreakType, killstreakWeaponName, killstreakMenuName, killstreakUsageKey, killstreakUseFunction, killstreakDelayStreak, weaponHoldAllowed=false, killstreakStatsName=undefined, registerDvars=true, registerInventory=true) |
| function | register_alt_weapon (killstreakType, weaponName, isInventory) |
| function | register_dev_dvars (killstreakType) |
| function | register_dialog (killstreakType, informDialog, taacomDialogBundleKey, pilotDialogArrayKey, startDialogKey, enemyStartDialogKey, enemyStartMultipleDialogKey, hackedDialogKey, hackedStartDialogKey, requestDialogKey, threatDialogKey, isInventory) |
| function | register_remote_override_weapon (killstreakType, weaponName, isInventory) |
| function | register_strings (killstreakType, receivedText, notUsableText, inboundText, inboundNearPlayerText, hackedText, utilizesAirspace=true, isInventory=false) |
| function | register_tos_dvar (dvar) |
| function | remove_oldest () |
| function | remove_ricochet_protection (killstreak_id, owner) |
| function | remove_used_killstreak (killstreak, killstreakId, take_weapon_after_use=true) |
| function | remove_when_done (killstreak, hasKillstreakBeenUsed, isFromInventory) |
| function | reset_killstreak_delay_killcam () |
| function | set_killstreak_delay_killcam (killstreak_name) |
| function | set_ricochet_protection_endtime (killstreak_id, owner, endTime) |
| function | set_team_kill_penalty_scale (killstreakType, scale, isInventory) |
| function | setup_health (killstreak_ref, max_health, low_health) |
| function | should_delay_killstreak (killstreakType) |
| function | should_give_killstreak (weapon) |
| function | should_not_timeout (killstreak) |
| function | should_override_entity_camera_in_demo (player, weapon) |
| function | take (killstreak) |
| function | take_weapon_after_use (killstreakWeapon) |
| function | track_weapon_usage () |
| function | trackActiveKillstreak (killstreak) |
| function | trigger_killstreak (killstreakType, isFromInventory) |
| function | unhide_compass () |
| function | update_actor_threat (actor) |
| function | update_dog_threat (dog) |
| function | update_missile_dog_threat (dog) |
| function | update_missile_player_threat (player) |
| function | update_non_player_threat (non_player) |
| function | update_player_threat (player) |
| function | useKillstreak (killstreak, isFromInventory) |
| function | wait_till_hero_weapon_is_fully_on (weapon) |
| function | WaitForTimeout (killstreak, duration, callback, endCondition1, endCondition2, endCondition3) |
| function | WaitForTimeoutBeep (killstreakBundle, duration) |
| function | WaitForTimeoutHacked (killstreak, callback, endCondition1, endCondition2, endCondition3) |
| function | watch_for_remove_remote_weapon () |
| function | WatchTeamChange (teamChangeNotify) |
| #define TAACOM_KILLSTREAK_READY_WAIT 2.4 |
Definition at line 67 of file _killstreaks.gsc.
| function __init__ | ( | ) |
Definition at line 75 of file _killstreaks.gsc.
References init(), on_start_gametype(), register(), and VERSION_SHIP.
| function _get_from_weapon | ( | weapon | ) |
Definition at line 766 of file _killstreaks.gsc.
Referenced by get_from_weapon().
| function private _setup_configure_team_callbacks | ( | influencerType | , |
| configureTeamPreFunction | , | ||
| configureTeamPostFunction | |||
| ) |
Definition at line 2884 of file _killstreaks.gsc.
Referenced by configure_team().
| function activate_next | ( | do_not_update_death_count | ) |
Definition at line 951 of file _killstreaks.gsc.
References give_weapon(), IS_TRUE, and WAIT_SERVER_FRAME.
Referenced by give_owned(), remove_when_done(), take(), watchKillstreakWeaponDeath(), and watchKillstreakWeaponSwitch().
| function add_ricochet_protection | ( | killstreak_id | , |
| owner | , | ||
| origin | , | ||
| ricochet_distance | |||
| ) |
Definition at line 3149 of file _killstreaks.gsc.
Referenced by heliDeliverCrate().
| function add_to_killstreak_count | ( | weapon | ) |
Definition at line 1751 of file _killstreaks.gsc.
Referenced by PlayerKilled_Kill().
| function add_to_notification_queue | ( | menuName | , |
| streakCount | , | ||
| hardpointType | , | ||
| noNotify | |||
| ) |
Definition at line 723 of file _killstreaks.gsc.
References get_killstreak_inform_dialog(), play_killstreak_ready_dialog(), play_killstreak_ready_sfx(), and TAACOM_KILLSTREAK_READY_WAIT.
Referenced by _givePlayerKillstreakInternal(), and give().
| function allow_assists | ( | killstreakType | , |
| allow | |||
| ) |
Definition at line 399 of file _killstreaks.gsc.
Referenced by init().
| function change_killstreak_quantity | ( | killstreakWeapon | , |
| delta | |||
| ) |
Definition at line 1012 of file _killstreaks.gsc.
References get_killstreak_quantity().
Referenced by _givePlayerKillstreakInternal(), give_weapon(), remove_when_done(), and supplyDropGrenadePullWatcher().
| function clear_ride_intro | ( | delay | ) |
Definition at line 2373 of file _killstreaks.gsc.
References delay(), and screen_fade_in().
Referenced by init_ride_killstreak_internal().
| function clear_using_remote | ( | immediate | , |
| skipNotify | |||
| ) |
Definition at line 2403 of file _killstreaks.gsc.
References freeze_player_controls(), hide_tablet(), IS_TRUE, reset_killstreak_delay_killcam(), set_to_player(), and switch_to_last_non_killstreak_weapon().
Referenced by _fire(), EndRemoteControlWeaponUse(), EnterHelicopter(), HackedPreFunction(), LeaveHelicopter(), player_missile_end(), QRDrone_endride(), QRDrone_explode_on_notify(), remote_mortar_killstreak(), startQRDrone(), stop_remote(), turret_watch_owner_events(), and UseRemoteControlWeapon().
| function configure_team | ( | killstreakType | , |
| killstreakId | , | ||
| owner | , | ||
| influencerType | , | ||
| configureTeamPreFunction | , | ||
| configureTeamPostFunction | , | ||
| isHacked | = false |
||
| ) |
Definition at line 2806 of file _killstreaks.gsc.
References _setup_configure_team_callbacks(), configure_team_internal(), isHacked(), and trackActiveKillstreak().
Referenced by _fire(), ActivateRCBomb(), ActivateSatellite(), ActivateSentinel(), ActivateUAV(), ai_tank_killstreak_start(), crateSpawn(), createHeliGuardSupport(), HackedCallbackPre(), HackedPreFunction(), heli_think(), heliDropCrate(), OnPlaceEMP(), OnPlaceTurret(), Prolog(), spawn_helicopter(), SpawnCounterUAV(), SpawnDart(), SpawnDrone(), SpawnHeliGunner(), SpawnPlaceable(), SpawnRaps(), and SpawnRapsHelicopter().
| function configure_team_internal | ( | owner | , |
| isHacked | |||
| ) |
Definition at line 2839 of file _killstreaks.gsc.
References create_entity_enemy_influencer(), get_random_pilot_index(), isHacked(), and remove_influencers().
Referenced by _hacked_callback(), and configure_team().
| function defaultHackedHealthUpdateCallback | ( | hacker | ) |
Definition at line 2652 of file _killstreaks.gsc.
Referenced by setup_health().
| function display_unavailable_time | ( | ) |
Definition at line 1693 of file _killstreaks.gsc.
References getTimePassed().
Referenced by killstreak_waiter(), and trigger_killstreak().
| function get_by_menu_name | ( | killstreak | ) |
Definition at line 430 of file _killstreaks.gsc.
Referenced by _setPlayerMomentum(), get_level(), give_if_streak_count_matches(), and giveKillstreaks().
| function get_first_valid_killstreak_alt_weapon | ( | killstreakType | ) |
Definition at line 1762 of file _killstreaks.gsc.
| function get_from_weapon | ( | weapon | ) |
Definition at line 806 of file _killstreaks.gsc.
References _get_from_weapon().
Referenced by challengeKills(), givePlayerScore(), killedBaseOffender(), remove_when_done(), and scoreEventPlayerKill().
| function get_if_top_killstreak_has_been_used | ( | ) |
Definition at line 1303 of file _killstreaks.gsc.
References IS_TRUE.
Referenced by useKillstreak().
| function get_killstreak_for_weapon | ( | weapon | ) |
Definition at line 1357 of file _killstreaks.gsc.
Referenced by Callback_PlayerKilled(), get_killstreak_for_weapon_for_stats(), get_killstreak_team_kill_penalty_scale(), is_killstreak_weapon_assist_allowed(), killstreak_waiter(), onPlayerKilled(), PlayerKilled_Kill(), should_override_entity_camera_in_demo(), supplyDropGrenadePullWatcher(), track_weapon_usage(), use_killstreak(), watchKillstreakWeaponDeath(), watchKillstreakWeaponDelay(), and watchKillstreakWeaponSwitch().
| function get_killstreak_for_weapon_for_stats | ( | weapon | ) |
Definition at line 1365 of file _killstreaks.gsc.
References get_killstreak_for_weapon().
Referenced by Callback_PlayerKilled().
| function get_killstreak_index_by_id | ( | killstreakId | ) |
Definition at line 1326 of file _killstreaks.gsc.
Referenced by watchKillstreakRoundChange(), watchKillstreakWeaponDeath(), and watchKillstreakWeaponSwitch().
| function get_killstreak_inform_dialog | ( | killstreakType | ) |
Definition at line 2153 of file _killstreaks.gsc.
Referenced by add_to_notification_queue().
| function get_killstreak_momentum_cost | ( | killstreak | ) |
Definition at line 1340 of file _killstreaks.gsc.
References IS_TRUE.
| function get_killstreak_quantity | ( | killstreakWeapon | ) |
Definition at line 1007 of file _killstreaks.gsc.
References VAL.
Referenced by _givePlayerKillstreakInternal(), and change_killstreak_quantity().
| function get_killstreak_team_kill_penalty_scale | ( | weapon | ) |
Definition at line 1397 of file _killstreaks.gsc.
References get_killstreak_for_weapon().
Referenced by default_getTeamKillPenalty().
| function get_killstreak_usage | ( | usageKey | ) |
Definition at line 2172 of file _killstreaks.gsc.
Referenced by get_killstreak_usage_by_killstreak(), and UpdateAndFinalizeMatchRecord().
| function get_killstreak_usage_by_killstreak | ( | killstreakType | ) |
Definition at line 2165 of file _killstreaks.gsc.
References get_killstreak_usage().
| function get_level | ( | index | , |
| killstreak | |||
| ) |
Definition at line 441 of file _killstreaks.gsc.
References get_by_menu_name().
Referenced by give_if_streak_count_matches().
| function get_menu_name | ( | killstreakType | ) |
Definition at line 435 of file _killstreaks.gsc.
Referenced by getIconForCrate(), remove_used_killstreak(), remove_when_done(), and use_killstreak().
| function get_old_damage | ( | attacker | , |
| weapon | , | ||
| type | , | ||
| damage | , | ||
| allow_bullet_damage | |||
| ) |
Definition at line 2757 of file _killstreaks.gsc.
References damage(), and IS_TRUE.
Referenced by MonitorDamage(), and OnDamagePerWeapon().
| function get_random_pilot_index | ( | killstreakType | ) |
Definition at line 2067 of file _killstreaks.gsc.
References get_script_bundle().
Referenced by configure_team_internal(), tryUsePredatorMissile(), and usePlaneMortar().
| function get_top_killstreak | ( | ) |
Definition at line 1293 of file _killstreaks.gsc.
Referenced by checkIfSwitchableWeapon(), and killstreak_waiter().
| function get_top_killstreak_unique_id | ( | ) |
Definition at line 1316 of file _killstreaks.gsc.
Referenced by checkIfSwitchableWeapon(), watchKillstreakWeaponDeath(), and watchKillstreakWeaponSwitch().
| function get_xp_amount_for_killstreak | ( | killstreakType | ) |
Definition at line 1652 of file _killstreaks.gsc.
| function getActiveKillstreaks | ( | ) |
Definition at line 2834 of file _killstreaks.gsc.
Referenced by challengeKills().
| function give | ( | killstreakType | , |
| streak | , | ||
| suppressNotification | , | ||
| noXP | , | ||
| toBottom | |||
| ) |
Definition at line 539 of file _killstreaks.gsc.
References add_to_notification_queue(), and give_internal().
Referenced by apply_powerup(), give_if_streak_count_matches(), giveCrateKillstreak(), teamOpsAcheived(), testHPs(), UpdateKillstreakInventory(), weapon_give(), and weapon_spawn_think().
| function give_for_streak | ( | ) |
Definition at line 498 of file _killstreaks.gsc.
References give_if_streak_count_matches(), and isKillStreaksEnabled().
Referenced by PlayerKilled_Kill().
| function give_if_streak_count_matches | ( | index | , |
| killstreak | , | ||
| streakCount | |||
| ) |
Definition at line 458 of file _killstreaks.gsc.
References get_by_menu_name(), get_level(), give(), is_available(), and isRoundBased().
Referenced by give_for_streak().
| function give_internal | ( | killstreakType | , |
| do_not_update_death_count | , | ||
| noXP | , | ||
| toBottom | |||
| ) |
Definition at line 613 of file _killstreaks.gsc.
References get_killstreak_weapon(), give_weapon(), isKillStreaksEnabled(), and remove_oldest().
Referenced by give().
| function give_owned | ( | ) |
Definition at line 999 of file _killstreaks.gsc.
References activate_next().
Referenced by killstreak_waiter(), menuClass(), and on_player_spawned().
| function give_weapon | ( | weapon | , |
| isinventory | , | ||
| useStoredAmmo | |||
| ) |
Definition at line 821 of file _killstreaks.gsc.
References change_killstreak_quantity(), is_killstreak_weapon(), IS_TRUE, isHeldInventoryKillstreakWeapon(), and setWeaponAmmoOverall().
Referenced by activate_next(), and give_internal().
| function has_equipped | ( | ) |
Definition at line 750 of file _killstreaks.gsc.
| function has_killstreak | ( | killstreak | ) |
Definition at line 1050 of file _killstreaks.gsc.
Referenced by UpdateKillstreakInventory().
| function has_killstreak_in_class | ( | killstreakMenuName | ) |
Definition at line 1038 of file _killstreaks.gsc.
Referenced by remove_used_killstreak(), and remove_when_done().
| function hide_compass | ( | ) |
Definition at line 2456 of file _killstreaks.gsc.
References CLIENT_FIELD_KILLSTREAK_HIDES_COMPASS, and set().
Referenced by HackedPostFunction(), HideCompassAfterWait(), and UseRemoteControlWeapon().
| function hide_tablet | ( | ) |
Definition at line 2439 of file _killstreaks.gsc.
References set_player_uimodel().
Referenced by clear_using_remote().
| function init | ( | ) |
Definition at line 87 of file _killstreaks.gsc.
References get_script_bundle(), is_killstreak_weapon(), main(), on_joined_team(), on_player_spawned(), on_spawned(), play_killstreak_being_hacked_dialog(), play_killstreak_firewall_being_hacked_dialog(), play_killstreak_firewall_hacked_dialog(), and play_killstreak_hacked_dialog().
Referenced by __init__().
| function init_ride_killstreak | ( | streak | , |
| always_allow | = false |
||
| ) |
Definition at line 2237 of file _killstreaks.gsc.
References init_ride_killstreak_internal(), and result().
Referenced by _fire(), EnterHelicopter(), remote_mortar_killstreak(), startQRDrone(), and UseRemoteControlWeapon().
| function init_ride_killstreak_internal | ( | streak | , |
| always_allow | |||
| ) |
Definition at line 2261 of file _killstreaks.gsc.
References clear_ride_intro(), fade_to_black_for_x_sec(), is_interacting_with_object(), IS_TRUE, waittill_any_timeout(), waitTillHostMigrationDone(), and watch_for_remove_remote_weapon().
Referenced by init_ride_killstreak().
| function is_an_a_killstreak | ( | ) |
Definition at line 520 of file _killstreaks.gsc.
Referenced by scoreEventPlayerKill().
| function is_available | ( | killstreak | ) |
Definition at line 418 of file _killstreaks.gsc.
Referenced by give_if_streak_count_matches().
| function is_delayable_killstreak | ( | killstreakType | ) |
Definition at line 1642 of file _killstreaks.gsc.
References IS_TRUE.
Referenced by should_delay_killstreak(), and watchKillstreakWeaponDelay().
| function is_interacting_with_object | ( | ) |
Definition at line 2384 of file _killstreaks.gsc.
References IS_TRUE.
Referenced by ActivateRCBomb(), and init_ride_killstreak_internal().
| function is_killstreak_start_blocked | ( | ) |
Definition at line 3205 of file _killstreaks.gsc.
Referenced by ActivateRCBomb(), isKillstreakAllowed(), and tryUsePredatorMissile().
| function is_killstreak_weapon_assist_allowed | ( | weapon | ) |
Definition at line 1380 of file _killstreaks.gsc.
References get_killstreak_for_weapon().
Referenced by allowedAssistWeapon().
| function is_registered | ( | killstreakType | ) |
Definition at line 218 of file _killstreaks.gsc.
| function is_remote_override_weapon | ( | killstreakType | , |
| weapon | |||
| ) |
Definition at line 375 of file _killstreaks.gsc.
Referenced by killstreak_waiter().
| function is_ricochet_protected | ( | player | ) |
Definition at line 3185 of file _killstreaks.gsc.
Referenced by figure_out_friendly_fire().
| function killstreak_assist | ( | victim | , |
| assister | , | ||
| killstreak | |||
| ) |
Definition at line 3144 of file _killstreaks.gsc.
Referenced by processKillstreakAssists().
| function killstreak_waiter | ( | ) |
Definition at line 1530 of file _killstreaks.gsc.
References display_unavailable_time(), get_killstreak_for_weapon(), get_killstreak_weapon(), get_top_killstreak(), give_owned(), is_killstreak_weapon(), is_remote_override_weapon(), IS_TRUE, switch_to_last_non_killstreak_weapon(), track_weapon_usage(), and useKillstreak().
Referenced by spawnPlayer().
| function missile_valid_target_check | ( | missiletarget | ) |
Definition at line 3094 of file _killstreaks.gsc.
Referenced by update_missile_player_threat().
| function MonitorDamage | ( | killstreak_ref | , |
| max_health | , | ||
| destroyed_callback | , | ||
| low_health | , | ||
| low_health_callback | , | ||
| emp_damage | , | ||
| emp_callback | , | ||
| allow_bullet_damage | |||
| ) |
Definition at line 2499 of file _killstreaks.gsc.
References damage(), doDamageFeedback(), friendlyFireCheck(), get_emp_grenade_damage(), get_old_damage(), get_weapon_damage(), IS_TRUE, killstreakDamageModifier(), setup_health(), trackAssists(), and update().
Referenced by ActivateCounterUAV(), ActivateSatellite(), ActivateUAV(), SetupDamageHandling(), SpawnPlaceable(), and SpawnRapsHelicopter().
| function on_joined_team | ( | ) |
| function on_player_spawned | ( | ) |
Definition at line 2182 of file _killstreaks.gsc.
References give_owned(), and play_killstreak_ready_dialog().
Referenced by init().
| function OnDamagePerWeapon | ( | killstreak_ref | , |
| attacker | , | ||
| damage | , | ||
| flags | , | ||
| type | , | ||
| weapon | , | ||
| max_health | , | ||
| destroyed_callback | , | ||
| low_health | , | ||
| low_health_callback | , | ||
| emp_damage | , | ||
| emp_callback | , | ||
| allow_bullet_damage | , | ||
| chargeLevel | |||
| ) |
Definition at line 2667 of file _killstreaks.gsc.
References damage(), friendlyFireCheck(), get_emp_grenade_damage(), get_low_health(), get_max_health(), get_old_damage(), get_weapon_damage(), and IS_TRUE.
Referenced by Callback_VehicleRadiusDamage(), combatRobotDamageOverride(), dartDamageOverride(), HelicopterGunnerDamageOverride(), MechtankCallback_VehicleDamage(), OnDamage(), OnTurretDamage(), QuadtankCallback_VehicleDamage(), SentinelDamageOverride(), siegebot_callback_damage(), and theia_callback_damage().
| function override_entity_camera_in_demo | ( | killstreakType | , |
| value | , | ||
| isInventory | |||
| ) |
| function play_destroyed_dialog_on_owner | ( | killstreakType | , |
| killstreakId | |||
| ) |
Definition at line 1982 of file _killstreaks.gsc.
References flush_killstreak_dialog_on_player(), and play_taacom_dialog().
Referenced by DestroyCounterUAV(), DestroySatellite(), DestroyUAV(), Explode(), heli_damage_monitor(), HelicopterGunnerDamageOverride(), MainTurretDestroyed(), OnDeath(), OnTurretDeath(), stop_remote_weapon(), tank_death_think(), WatchCombatRobotDeath(), and WatchDeath().
| function play_killstreak_being_hacked_dialog | ( | killstreakType | , |
| killstreakId | |||
| ) |
Definition at line 1875 of file _killstreaks.gsc.
References killstreak_dialog_queued(), and play_taacom_dialog().
Referenced by init().
| function play_killstreak_firewall_being_hacked_dialog | ( | killstreakType | , |
| killstreakId | |||
| ) |
Definition at line 1855 of file _killstreaks.gsc.
References killstreak_dialog_queued(), and play_taacom_dialog().
Referenced by init().
| function play_killstreak_firewall_hacked_dialog | ( | killstreakType | , |
| killstreakId | |||
| ) |
Definition at line 1865 of file _killstreaks.gsc.
References killstreak_dialog_queued(), and play_taacom_dialog().
Referenced by init().
| function play_killstreak_hacked_dialog | ( | killstreakType | , |
| killstreakId | , | ||
| hacker | |||
| ) |
Definition at line 1885 of file _killstreaks.gsc.
References flush_killstreak_dialog_on_player(), leader_dialog(), leader_dialog_for_other_teams(), leader_dialog_on_player(), and play_taacom_dialog().
Referenced by init().
| function play_killstreak_ready_dialog | ( | killstreakType | , |
| taacomWaitTime | |||
| ) |
Definition at line 1953 of file _killstreaks.gsc.
References killstreak_dialog_queued(), and play_taacom_dialog().
Referenced by add_to_notification_queue(), and on_player_spawned().
| function play_killstreak_ready_sfx | ( | killstreaktype | ) |
Definition at line 1940 of file _killstreaks.gsc.
Referenced by add_to_notification_queue().
| function play_killstreak_start_dialog | ( | killstreakType | , |
| team | , | ||
| killstreakId | |||
| ) |
Definition at line 1905 of file _killstreaks.gsc.
References leader_dialog(), and leader_dialog_for_other_teams().
Referenced by _fire(), ActivateCombatRobot(), ActivateCounterUAV(), ActivateRapsKillstreak(), ActivateRCBomb(), ActivateSatellite(), ActivateSentinel(), ActivateUAV(), DroneStrikeLocationSelected(), incCrateKillstreakUsageStat(), missileDroneWatcher(), OnPlaceEMP(), OnPlaceTurret(), QRDrone_ride(), remote_mortar_killstreak(), SpawnHeliGunner(), swarm_killstreak_start(), useCarriedKillstreakWeapon(), useKillstreakAITankDrop(), useKillstreakDogs(), useKillstreakHelicopter(), useKillstreakStrafeRun(), usePlaneMortar(), and WatchThrow().
| function play_pilot_dialog | ( | dialogKey | , |
| killstreakType | , | ||
| killstreakId | , | ||
| pilotIndex | |||
| ) |
Definition at line 2024 of file _killstreaks.gsc.
References killstreak_dialog_on_player().
Referenced by OnTimeoutCallback(), plane_mortar_bda_dialog(), play_bda_dialog(), play_pilot_dialog_on_owner(), remotemissile_bda_dialog(), SupportTurretDestroyed(), usePlaneMortar(), and wait_for_bda_dialog().
| function play_pilot_dialog_on_owner | ( | dialogKey | , |
| killstreakType | , | ||
| killstreakId | |||
| ) |
Definition at line 2010 of file _killstreaks.gsc.
References play_pilot_dialog().
Referenced by ActivateCounterUAV(), ActivateRapsKillstreak(), ActivateSentinel(), ActivateUAV(), EnterHelicopter(), heli_health(), heli_leave(), heli_set_active_camo_state(), HelicopterLeave(), HelicopterThink(), heliDeliverCrate(), kill_monitor(), low_health_cb(), OnCombatRobotTimeout(), OnDeath(), OnFlakDroneDestroyed(), OnLowHealth(), OnTimecheck(), OnTimeout(), play_bda_dialog(), SpawnHeliGunner(), SupportTurretDestroyed(), tank_damage_think(), tank_timeout_callback(), and WatchPlayerExitRequestThread().
| function play_taacom_dialog_on_owner | ( | dialogKey | , |
| killstreakType | , | ||
| killstreakId | |||
| ) |
Definition at line 1997 of file _killstreaks.gsc.
References play_taacom_dialog().
| function play_taacom_dialog_response | ( | dialogKey | , |
| killstreakType | , | ||
| killstreakId | , | ||
| pilotIndex | |||
| ) |
Definition at line 2052 of file _killstreaks.gsc.
References play_taacom_dialog().
Referenced by plane_mortar_bda_dialog(), and play_taacom_dialog_response_on_owner().
| function play_taacom_dialog_response_on_owner | ( | dialogKey | , |
| killstreakType | , | ||
| killstreakId | |||
| ) |
Definition at line 2036 of file _killstreaks.gsc.
References play_taacom_dialog_response().
Referenced by heli_leave(), and HelicopterLeave().
| function player_killstreak_threat_tracking | ( | killstreakType | ) |
Definition at line 2092 of file _killstreaks.gsc.
References can_play_dialog(), dialog_chance(), get_enemy_players(), mpdialog_value(), play_killstreak_threat(), and SERVER_FRAME.
Referenced by ActivateCounterUAV(), ActivateSatellite(), and ActivateUAV().
| function point_is_in_danger_area | ( | point | , |
| targetpos | , | ||
| radius | |||
| ) |
Definition at line 1798 of file _killstreaks.gsc.
Referenced by print_killstreak_start_text().
| function print_killstreak_start_text | ( | killstreakType | , |
| owner | , | ||
| team | , | ||
| targetpos | , | ||
| dangerRadius | |||
| ) |
Definition at line 1803 of file _killstreaks.gsc.
References point_is_in_danger_area().
| function RecordKillstreakBeginDirect | ( | recordStreakIndex | ) |
Definition at line 1065 of file _killstreaks.gsc.
References RecordKillstreakEndDirect().
Referenced by remove_when_done().
| function register | ( | killstreakType | , |
| killstreakWeaponName | , | ||
| killstreakMenuName | , | ||
| killstreakUsageKey | , | ||
| killstreakUseFunction | , | ||
| killstreakDelayStreak | , | ||
| weaponHoldAllowed | = false, |
||
| killstreakStatsName | = undefined, |
||
| registerDvars | = true, |
||
| registerInventory | = true |
||
| ) |
Definition at line 146 of file _killstreaks.gsc.
References getStatsTableName(), IS_TRUE, register_dev_dvars(), register_killstreak_bundle(), registerDvars(), STATS_TABLE_COL_COUNT, STATS_TABLE_COL_IMAGE, STATS_TABLE_COL_MOMENTUM, and STATS_TABLE_COL_REFERENCE.
Referenced by __init__().
| function register_alt_weapon | ( | killstreakType | , |
| weaponName | , | ||
| isInventory | |||
| ) |
| function register_dev_dvars | ( | killstreakType | ) |
Definition at line 390 of file _killstreaks.gsc.
Referenced by register().
| function register_dialog | ( | killstreakType | , |
| informDialog | , | ||
| taacomDialogBundleKey | , | ||
| pilotDialogArrayKey | , | ||
| startDialogKey | , | ||
| enemyStartDialogKey | , | ||
| enemyStartMultipleDialogKey | , | ||
| hackedDialogKey | , | ||
| hackedStartDialogKey | , | ||
| requestDialogKey | , | ||
| threatDialogKey | , | ||
| isInventory | |||
| ) |
Definition at line 239 of file _killstreaks.gsc.
References get_script_bundles(), and IS_TRUE.
Referenced by init().
| function register_remote_override_weapon | ( | killstreakType | , |
| weaponName | , | ||
| isInventory | |||
| ) |
| function register_strings | ( | killstreakType | , |
| receivedText | , | ||
| notUsableText | , | ||
| inboundText | , | ||
| inboundNearPlayerText | , | ||
| hackedText | , | ||
| utilizesAirspace | = true, |
||
| isInventory | = false |
||
| ) |
| function register_tos_dvar | ( | dvar | ) |
Definition at line 394 of file _killstreaks.gsc.
| function remove_oldest | ( | ) |
Definition at line 592 of file _killstreaks.gsc.
References get_killstreak_weapon(), and remove_used_killstreak().
Referenced by give_internal().
| function remove_ricochet_protection | ( | killstreak_id | , |
| owner | |||
| ) |
Definition at line 3177 of file _killstreaks.gsc.
Referenced by crateDelete(), and heliDropCrate().
| function remove_used_killstreak | ( | killstreak | , |
| killstreakId | , | ||
| take_weapon_after_use | = true |
||
| ) |
Definition at line 1222 of file _killstreaks.gsc.
References get_killstreak_weapon(), get_menu_name(), has_killstreak_in_class(), and take_weapon_after_use().
Referenced by remove_oldest(), remove_when_done(), supplyDropGrenadePullWatcher(), take(), watchKillstreakWeaponDeath(), and watchKillstreakWeaponSwitch().
| function remove_when_done | ( | killstreak | , |
| hasKillstreakBeenUsed | , | ||
| isFromInventory | |||
| ) |
Definition at line 1094 of file _killstreaks.gsc.
References _setPlayerMomentum(), activate_next(), change_killstreak_quantity(), get_from_weapon(), get_killstreak_weapon(), get_menu_name(), has_killstreak_in_class(), IS_TRUE, RecordKillstreakBeginDirect(), remove_used_killstreak(), switch_to_last_non_killstreak_weapon(), and unhide_compass().
Referenced by useKillstreak().
| function reset_killstreak_delay_killcam | ( | ) |
Definition at line 2451 of file _killstreaks.gsc.
Referenced by clear_using_remote(), EndRemoteControlWeaponUse(), leave_dart(), remote_killstreak_end(), and WaitTillKillStreakDone().
| function set_killstreak_delay_killcam | ( | killstreak_name | ) |
Definition at line 2446 of file _killstreaks.gsc.
Referenced by HackedPostFunction(), leave_dart(), remote_mortar_killstreak(), setUsingRemote(), and WatchThrow().
| function set_ricochet_protection_endtime | ( | killstreak_id | , |
| owner | , | ||
| endTime | |||
| ) |
Definition at line 3166 of file _killstreaks.gsc.
Referenced by setRicochetProtectionEndTime().
| function set_team_kill_penalty_scale | ( | killstreakType | , |
| scale | , | ||
| isInventory | |||
| ) |
| function setup_health | ( | killstreak_ref | , |
| max_health | , | ||
| low_health | |||
| ) |
Definition at line 2466 of file _killstreaks.gsc.
References defaultHackedHealthUpdateCallback(), get_hacked_health(), get_low_health(), and get_max_health().
Referenced by ActivateMicrowaveTurret(), ai_tank_killstreak_start(), InitTurretVehicle(), and MonitorDamage().
| function should_delay_killstreak | ( | killstreakType | ) |
Definition at line 1610 of file _killstreaks.gsc.
References get_killstreak_weapon(), is_delayable_killstreak(), isFirstRound(), and isOneRound().
Referenced by trigger_killstreak().
| function should_give_killstreak | ( | weapon | ) |
Definition at line 1780 of file _killstreaks.gsc.
References is_weapon_associated_with_killstreak().
Referenced by PlayerKilled_Kill().
| function should_not_timeout | ( | killstreak | ) |
Definition at line 2908 of file _killstreaks.gsc.
| function should_override_entity_camera_in_demo | ( | player | , |
| weapon | |||
| ) |
Definition at line 1409 of file _killstreaks.gsc.
References get_killstreak_for_weapon(), and IS_TRUE.
Referenced by PlayerKilled_Obituary().
| function take | ( | killstreak | ) |
Definition at line 568 of file _killstreaks.gsc.
References activate_next(), get_killstreak_weapon(), remove_used_killstreak(), and switch_to_last_non_killstreak_weapon().
Referenced by bleed_out(), LeaveHelicopter(), player_take_riotshield(), spectator_respawn(), and UpdateKillstreakInventory().
| function take_weapon_after_use | ( | killstreakWeapon | ) |
Definition at line 1277 of file _killstreaks.gsc.
Referenced by remove_used_killstreak().
| function track_weapon_usage | ( | ) |
Definition at line 1450 of file _killstreaks.gsc.
References get_killstreak_for_weapon(), is_primary_weapon(), name, and wait_till_hero_weapon_is_fully_on().
Referenced by killstreak_waiter().
| function trackActiveKillstreak | ( | killstreak | ) |
Definition at line 2819 of file _killstreaks.gsc.
References waittill_any().
Referenced by configure_team().
| function trigger_killstreak | ( | killstreakType | , |
| isFromInventory | |||
| ) |
Definition at line 1705 of file _killstreaks.gsc.
References display_unavailable_time(), and should_delay_killstreak().
Referenced by useKillstreak().
| function unhide_compass | ( | ) |
Definition at line 2461 of file _killstreaks.gsc.
References CLIENT_FIELD_KILLSTREAK_HIDES_COMPASS, and set().
Referenced by EndRemoteControlWeaponUse(), HackedPreFunction(), LeaveHelicopter(), and remove_when_done().
| function update_actor_threat | ( | actor | ) |
Definition at line 3053 of file _killstreaks.gsc.
Referenced by assignPrimaryTargets(), and heli_targeting().
| function update_dog_threat | ( | dog | ) |
Definition at line 3083 of file _killstreaks.gsc.
Referenced by assignPrimaryTargets(), and heli_targeting().
| function update_missile_dog_threat | ( | dog | ) |
Definition at line 3139 of file _killstreaks.gsc.
Referenced by assignSecondaryTargets(), and heli_targeting().
| function update_missile_player_threat | ( | player | ) |
Definition at line 3109 of file _killstreaks.gsc.
References missile_valid_target_check().
Referenced by assignSecondaryTargets(), and heli_targeting().
| function update_non_player_threat | ( | non_player | ) |
Definition at line 3039 of file _killstreaks.gsc.
Referenced by assignPrimaryTargets(), and heli_targeting().
| function update_player_threat | ( | player | ) |
Definition at line 2997 of file _killstreaks.gsc.
References has_hero_weapon(), has_launcher(), has_lmg(), and has_lockon().
Referenced by assignPrimaryTargets(), and heli_targeting().
| function useKillstreak | ( | killstreak | , |
| isFromInventory | |||
| ) |
Definition at line 1209 of file _killstreaks.gsc.
References get_if_top_killstreak_has_been_used(), remove_when_done(), and trigger_killstreak().
Referenced by killstreak_waiter(), and teamOpsAcheived().
| function wait_till_hero_weapon_is_fully_on | ( | weapon | ) |
Definition at line 1431 of file _killstreaks.gsc.
References gadget_is_in_use(), and WAIT_SERVER_FRAME.
Referenced by track_weapon_usage().
| function WaitForTimeout | ( | killstreak | , |
| duration | , | ||
| callback | , | ||
| endCondition1 | , | ||
| endCondition2 | , | ||
| endCondition3 | |||
| ) |
Definition at line 2913 of file _killstreaks.gsc.
References callback(), MigrationAwareWait(), and WaitForTimeoutBeep().
Referenced by ActivateCounterUAV(), ActivateSatellite(), ActivateSentinel(), ActivateUAV(), crateTimeOut(), createHeliGuardSupport(), HelicopterThinkThread(), OnPlaceEMP(), OnTimeout(), Prolog(), QRDrone_leave_on_timeout(), SpawnDart(), SpawnRaps(), tank_abort_think(), WatchPlacement(), and WatchTimeout().
| function WaitForTimeoutBeep | ( | killstreakBundle | , |
| duration | |||
| ) |
Definition at line 2945 of file _killstreaks.gsc.
References MigrationAwareWait(), and set().
Referenced by WaitForTimeout().
| function WaitForTimeoutHacked | ( | killstreak | , |
| callback | , | ||
| endCondition1 | , | ||
| endCondition2 | , | ||
| endCondition3 | |||
| ) |
Definition at line 2976 of file _killstreaks.gsc.
References callback(), get_hacked_timeout_duration_ms(), and MigrationAwareWait().
| function watch_for_remove_remote_weapon | ( | ) |
Definition at line 2250 of file _killstreaks.gsc.
References switch_to_last_non_killstreak_weapon().
Referenced by init_ride_killstreak_internal(), and UseRemoteControlWeapon().
| function WatchTeamChange | ( | teamChangeNotify | ) |
Definition at line 2895 of file _killstreaks.gsc.
References waittill_any().