![]() |
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 | add_attachments (weapon, upgrade) |
function | add_custom_limited_weapon_check (callback) |
function | add_dynamic_wallbuy (weapon, wallbuy, pristine) |
function | add_limited_weapon (weapon_name, amount) |
function | add_retrievable_knife_init_name (name) |
function | add_shared_ammo_weapon (weapon, base_weapon) |
function | add_weapon_to_content (weapon_name, package) |
function | add_zombie_weapon (weapon_name, upgrade_name, hint, cost, weaponVO, weaponVOresp, ammo_cost, create_vox, is_wonder_weapon, force_attachments) |
function | ammo_give (weapon) |
function | autofill_wallbuys_init () |
function | can_upgrade_weapon (weapon) |
function | checkGrenadeForDud (weapon, isThrownGrenade, player) |
function | checkStringValid (str) |
function | clear_stowed_weapon () |
function | create_loadout (weapons) |
function | createBallisticKnifeWatcher_zm (weaponName) |
function | default_attachment (weapon) |
function | default_check_firesale_loc_valid_func () |
function | get_ammo_cost (weapon) |
function | get_ammo_cost_for_weapon (w_current, n_base_non_wallbuy_cost, n_upgraded_non_wallbuy_cost) |
function | get_attachment_index (weapon) |
function | get_base_weapon (upgradedweapon) |
function | get_default_weapondata (weapon) |
function | get_force_attachments (weapon) |
function | get_is_in_box (weapon) |
function | get_nonalternate_weapon (weapon) |
function | get_pack_a_punch_camo_index (prev_pap_index) |
function | get_pack_a_punch_weapon_options (weapon) |
function | get_player_weapon_with_same_base (weapon) |
function | get_player_weapondata (player, weapon) |
function | get_shared_ammo_weapon (weapon) |
function | get_upgrade_weapon (weapon, add_attachment) |
function | get_upgraded_ammo_cost (weapon) |
function | get_weapon_cost (weapon) |
function | get_weapon_hint (weapon) |
function | get_weapon_hint_ammo () |
function | get_weapon_with_attachments (weapon) |
function | give_build_kit_weapon (weapon) |
function | give_fallback_weapon (immediate=false) |
function | give_start_weapons (takeAllWeapons, alreadySpawned) |
function | grenade_safe_to_bounce (player, weapon) |
function | grenade_safe_to_throw (player, weapon) |
function | has_upgrade (weapon) |
function | has_weapon_or_attachments (weapon) |
function | has_weapon_or_upgrade (weapon) |
function | include_zombie_weapon (weapon_name, in_box) |
function | init () |
function | init_spawnable_weapon_upgrade () |
function | init_weapon_upgrade () |
function | init_weapons () |
function | is_wallbuy (w_to_check) |
function | is_weapon_included (weapon) |
function | is_weapon_or_base_included (weapon) |
function | is_weapon_upgraded (weapon) |
function | is_wonder_weapon (w_to_check) |
function | limited_weapon_below_quota (weapon, ignore_player, pap_triggers) |
function | load_weapon_spec_from_table (table, first_row) |
function | makeGrenadeDudAndDestroy () |
function | merge_weapons (oldweapondata, newweapondata) |
function | onPlayerConnect () |
function | onPlayerSpawned () |
function | placeable_mine_can_buy_weapon_extra_check_func (w_weapon) |
function | play_weapon_vo (weapon, magic_box) |
function | player_can_use_content (weapon) |
function | player_get_loadout () |
function | player_give_loadout (loadout, replace_existing=true, immediate_switch=false) |
function | player_take_loadout (loadout) |
function | random_attachment (weapon, exclude) |
function | register_zombie_weapon_callback (weapon, func) |
function | reset_wallbuy_internal (set_hint_string) |
function | reset_wallbuys () |
function | set_stowed_weapon (weapon) |
function | should_upgrade_weapon (player) |
function | show_all_weapon_buys (player, cost, ammo_cost, is_grenade) |
function | suppress_stowed_weapon (onOff) |
function | switch_back_primary_weapon (oldprimary, immediate=false) |
function | switch_from_alt_weapon (weapon) |
function | take_fallback_weapon () |
function | trackWeaponZM () |
function | updateLastHeldWeaponTimingsZM (newTime) |
function | updateWeaponTimingsZM (newTime) |
function | wait_explode () |
function | wait_for_explosion (time) |
function | wait_timeout (time) |
function | wall_weapon_update_prompt (player) |
function | watchForGrenadeDuds () |
function | watchForGrenadeLauncherDuds () |
function | watchForScriptExplosion (weapon, isThrownGrenade, player) |
function | watchWeaponChangeZM () |
function | watchWeaponUsageZM () |
function | weapon_give (weapon, is_upgrade=false, magic_box=false, nosound=false, b_switch_weapon=true) |
function | weapon_is_better (left, right) |
function | weapon_set_first_time_hint (cost, ammo_cost) |
function | weapon_show (player) |
function | weapon_spawn_think () |
function | weapon_supports_aat (weapon) |
function | weapon_supports_attachments (weapon) |
function | weapon_supports_default_attachment (weapon) |
function | weapon_supports_this_attachment (weapon, att) |
function | weapon_take (weapon) |
function | weapon_type_check (weapon) |
function | weapondata_give (weapondata) |
function | weapondata_take (weapondata) |
function | weaponobjects_on_player_connect_override () |
function | weaponobjects_on_player_connect_override_internal () |
function add_attachments | ( | weapon | , |
upgrade | |||
) |
Definition at line 613 of file _zm_weapons.gsc.
Referenced by add_zombie_weapon().
function add_custom_limited_weapon_check | ( | callback | ) |
Definition at line 796 of file _zm_weapons.gsc.
References callback().
function add_dynamic_wallbuy | ( | weapon | , |
wallbuy | , | ||
pristine | |||
) |
Definition at line 1027 of file _zm_weapons.gsc.
References add_stub(), get(), get_weapon_cost(), get_weapon_hint(), get_weapon_hint_ammo(), is_placeable_mine(), IS_TRUE, melee_weapon_think(), register_static_unitrigger(), set(), spawn_weapon_model(), unitrigger_force_per_player_triggers(), wall_weapon_update_prompt(), and weapon_spawn_think().
function add_limited_weapon | ( | weapon_name | , |
amount | |||
) |
Definition at line 682 of file _zm_weapons.gsc.
Referenced by load_weapon_spec_from_table().
function add_retrievable_knife_init_name | ( | name | ) |
Definition at line 333 of file _zm_weapons.gsc.
References name.
Referenced by __main__(), and weaponobjects_on_player_connect_override().
function add_shared_ammo_weapon | ( | weapon | , |
base_weapon | |||
) |
Definition at line 1865 of file _zm_weapons.gsc.
function add_weapon_to_content | ( | weapon_name | , |
package | |||
) |
Definition at line 810 of file _zm_weapons.gsc.
function add_zombie_weapon | ( | weapon_name | , |
upgrade_name | , | ||
hint | , | ||
cost | , | ||
weaponVO | , | ||
weaponVOresp | , | ||
ammo_cost | , | ||
create_vox | , | ||
is_wonder_weapon | , | ||
force_attachments | |||
) |
Definition at line 529 of file _zm_weapons.gsc.
References add_attachments(), can_swap_attachments(), IS_TRUE, is_wonder_weapon(), round_up_to_ten(), and zmbVoxAdd().
Referenced by load_weapon_spec_from_table().
function ammo_give | ( | weapon | ) |
Definition at line 2919 of file _zm_weapons.gsc.
References get_weapon_with_attachments(), has_weapon_or_upgrade(), is_offhand_weapon(), and play_sound_on_ent().
Referenced by weapon_spawn_think().
function autofill_wallbuys_init | ( | ) |
Definition at line 3450 of file _zm_weapons.gsc.
References get_array(), and init().
function can_upgrade_weapon | ( | weapon | ) |
Definition at line 1675 of file _zm_weapons.gsc.
References can_swap_attachments(), get_nonalternate_weapon(), is_weapon_included(), is_weapon_upgraded(), and weapon_supports_attachments().
Referenced by can_pack_weapon(), treasure_chest_give_weapon(), vending_weapon_upgrade(), and weapon_spawn_think().
function checkGrenadeForDud | ( | weapon | , |
isThrownGrenade | , | ||
player | |||
) |
Definition at line 155 of file _zm_weapons.gsc.
References grenade_safe_to_bounce(), grenade_safe_to_throw(), makeGrenadeDudAndDestroy(), and waittill_any_ex().
Referenced by watchForGrenadeDuds(), and watchForGrenadeLauncherDuds().
function checkStringValid | ( | str | ) |
Definition at line 3355 of file _zm_weapons.gsc.
Referenced by load_weapon_spec_from_table().
function clear_stowed_weapon | ( | ) |
Definition at line 3340 of file _zm_weapons.gsc.
Referenced by UpdateRiotShieldModel().
function create_loadout | ( | weapons | ) |
Definition at line 3241 of file _zm_weapons.gsc.
References get_default_weapondata().
function createBallisticKnifeWatcher_zm | ( | weaponName | ) |
Definition at line 515 of file _zm_weapons.gsc.
References createUseWeaponObjectWatcher(), on_spawn(), and on_spawn_retrieve_trigger().
Referenced by weaponobjects_on_player_connect_override_internal().
function default_attachment | ( | weapon | ) |
Definition at line 1510 of file _zm_weapons.gsc.
References get_base_weapon().
function default_check_firesale_loc_valid_func | ( | ) |
Definition at line 524 of file _zm_weapons.gsc.
Referenced by init().
function get_ammo_cost | ( | weapon | ) |
Definition at line 1431 of file _zm_weapons.gsc.
Referenced by get_ammo_cost_for_weapon(), wall_weapon_update_prompt(), and weapon_spawn_think().
function get_ammo_cost_for_weapon | ( | w_current | , |
n_base_non_wallbuy_cost | , | ||
n_upgraded_non_wallbuy_cost | |||
) |
Definition at line 1448 of file _zm_weapons.gsc.
References DEFAULT, get_ammo_cost(), get_base_weapon(), halve_score(), has_upgrade(), is_wallbuy(), and is_weapon_upgraded().
Referenced by wall_weapon_update_prompt(), and weapon_spawn_think().
function get_attachment_index | ( | weapon | ) |
Definition at line 1568 of file _zm_weapons.gsc.
References get_nonalternate_weapon().
Referenced by weapon_is_better().
function get_base_weapon | ( | upgradedweapon | ) |
Definition at line 1624 of file _zm_weapons.gsc.
References get_nonalternate_weapon().
Referenced by default_attachment(), get_ammo_cost_for_weapon(), get_upgrade_weapon(), give_build_kit_weapon(), is_wallbuy(), is_weapon_or_base_included(), is_wonder_weapon(), weapon_supports_attachments(), and weapon_supports_default_attachment().
function get_default_weapondata | ( | weapon | ) |
Definition at line 2988 of file _zm_weapons.gsc.
Referenced by create_loadout().
function get_force_attachments | ( | weapon | ) |
Definition at line 1495 of file _zm_weapons.gsc.
Referenced by get_weapon_with_attachments(), and give_build_kit_weapon().
function get_is_in_box | ( | weapon | ) |
Definition at line 1488 of file _zm_weapons.gsc.
Referenced by treasure_chest_CanPlayerReceiveWeapon().
function get_nonalternate_weapon | ( | weapon | ) |
Definition at line 230 of file _zm_weapons.gsc.
Referenced by can_upgrade_weapon(), get_attachment_index(), get_base_weapon(), get_player_weapon_with_same_base(), get_shared_ammo_weapon(), get_upgrade_weapon(), get_weapon_with_attachments(), has_upgrade(), has_weapon_or_upgrade(), is_weapon_included(), is_weapon_or_base_included(), is_weapon_upgraded(), switch_from_alt_weapon(), weapon_supports_aat(), weapon_supports_this_attachment(), and weapon_type_check().
function get_pack_a_punch_camo_index | ( | prev_pap_index | ) |
Definition at line 2457 of file _zm_weapons.gsc.
Referenced by get_pack_a_punch_weapon_options(), give_build_kit_weapon(), spawn_buildkit_weapon_model(), and third_person_weapon_upgrade().
function get_pack_a_punch_weapon_options | ( | weapon | ) |
Definition at line 2482 of file _zm_weapons.gsc.
References get_pack_a_punch_camo_index(), and is_weapon_upgraded().
function get_player_weapon_with_same_base | ( | weapon | ) |
Definition at line 1911 of file _zm_weapons.gsc.
References get_nonalternate_weapon(), and get_weapon_with_attachments().
Referenced by weapondata_give().
function get_player_weapondata | ( | player | , |
weapon | |||
) |
Definition at line 3033 of file _zm_weapons.gsc.
Referenced by player_get_loadout(), take_additionalprimaryweapon(), and weapondata_give().
function get_shared_ammo_weapon | ( | weapon | ) |
Definition at line 1874 of file _zm_weapons.gsc.
References get_nonalternate_weapon().
Referenced by wall_weapon_update_prompt(), and weapon_spawn_think().
function get_upgrade_weapon | ( | weapon | , |
add_attachment | |||
) |
Definition at line 1639 of file _zm_weapons.gsc.
References can_swap_attachments(), get_base_weapon(), get_nonalternate_weapon(), IS_TRUE, is_weapon_upgraded(), and random_attachment().
Referenced by treasure_chest_give_weapon(), vending_weapon_upgrade(), and weapon_spawn_think().
function get_upgraded_ammo_cost | ( | weapon | ) |
Definition at line 1438 of file _zm_weapons.gsc.
Referenced by wall_weapon_update_prompt().
function get_weapon_cost | ( | weapon | ) |
Definition at line 1424 of file _zm_weapons.gsc.
Referenced by add_dynamic_wallbuy(), init_spawnable_weapon_upgrade(), init_weapon_upgrade(), reset_wallbuy_internal(), reset_wallbuys(), wall_weapon_update_prompt(), and weapon_spawn_think().
function get_weapon_hint | ( | weapon | ) |
Definition at line 1417 of file _zm_weapons.gsc.
Referenced by add_dynamic_wallbuy(), init_spawnable_weapon_upgrade(), init_weapon_upgrade(), reset_wallbuy_internal(), reset_wallbuys(), and weapon_spawn_think().
function get_weapon_hint_ammo | ( | ) |
Definition at line 1936 of file _zm_weapons.gsc.
References IS_TRUE.
Referenced by add_dynamic_wallbuy(), and weapon_set_first_time_hint().
function get_weapon_with_attachments | ( | weapon | ) |
Definition at line 1744 of file _zm_weapons.gsc.
References get_force_attachments(), get_nonalternate_weapon(), is_weapon_included(), and is_weapon_upgraded().
Referenced by ammo_give(), and get_player_weapon_with_same_base().
function give_build_kit_weapon | ( | weapon | ) |
Definition at line 2543 of file _zm_weapons.gsc.
References get_base_weapon(), get_force_attachments(), get_pack_a_punch_camo_index(), is_weapon_included(), and is_weapon_upgraded().
Referenced by change_melee_weapon(), do_melee_weapon_flourish_begin(), do_melee_weapon_flourish_end(), laststand_enable_player_weapons(), return_additionalprimaryweapon(), wait_for_player_to_take(), and weapon_give().
function give_fallback_weapon | ( | immediate | = false | ) |
Definition at line 270 of file _zm_weapons.gsc.
Referenced by switch_back_primary_weapon().
function give_start_weapons | ( | takeAllWeapons | , |
alreadySpawned | |||
) |
Definition at line 264 of file _zm_weapons.gsc.
References give_start_weapon().
Referenced by init().
function grenade_safe_to_bounce | ( | player | , |
weapon | |||
) |
Definition at line 133 of file _zm_weapons.gsc.
Referenced by checkGrenadeForDud().
function grenade_safe_to_throw | ( | player | , |
weapon | |||
) |
Definition at line 124 of file _zm_weapons.gsc.
Referenced by checkGrenadeForDud().
function has_upgrade | ( | weapon | ) |
Definition at line 1806 of file _zm_weapons.gsc.
References get_nonalternate_weapon(), has_upgraded_ballistic_knife(), and has_weapon_or_attachments().
Referenced by get_ammo_cost_for_weapon(), has_weapon_or_upgrade(), wall_weapon_update_prompt(), and weapon_spawn_think().
function has_weapon_or_attachments | ( | weapon | ) |
Definition at line 1780 of file _zm_weapons.gsc.
References can_swap_attachments().
Referenced by has_upgrade(), and has_weapon_or_upgrade().
function has_weapon_or_upgrade | ( | weapon | ) |
Definition at line 1830 of file _zm_weapons.gsc.
References get_nonalternate_weapon(), has_any_ballistic_knife(), has_upgrade(), has_weapon_or_attachments(), is_active(), and is_equipment().
Referenced by ammo_give(), limited_weapon_below_quota(), treasure_chest_CanPlayerReceiveWeapon(), wall_weapon_update_prompt(), weapon_give(), and weapon_spawn_think().
function include_zombie_weapon | ( | weapon_name | , |
in_box | |||
) |
Definition at line 658 of file _zm_weapons.gsc.
Referenced by include_weapon().
function init | ( | ) |
Definition at line 52 of file _zm_weapons.gsc.
References DEFAULT, default_check_firesale_loc_valid_func(), init_weapon_upgrade(), init_weapons(), onPlayerConnect(), and weaponobjects_on_player_connect_override().
Referenced by autofill_wallbuys_init().
function init_spawnable_weapon_upgrade | ( | ) |
Definition at line 836 of file _zm_weapons.gsc.
References get(), get_array(), get_weapon_cost(), get_weapon_hint(), IS_TRUE, register(), register_static_unitrigger(), Spawn(), unitrigger_force_per_player_triggers(), VERSION_SHIP, wall_weapon_update_prompt(), and weapon_spawn_think().
Referenced by init_weapon_upgrade().
function init_weapon_upgrade | ( | ) |
Definition at line 1380 of file _zm_weapons.gsc.
References get_weapon_cost(), get_weapon_hint(), init_spawnable_weapon_upgrade(), IS_TRUE, and weapon_spawn_think().
Referenced by init().
function init_weapons | ( | ) |
Definition at line 674 of file _zm_weapons.gsc.
Referenced by init().
function is_wallbuy | ( | w_to_check | ) |
Definition at line 3568 of file _zm_weapons.gsc.
References get_base_weapon().
Referenced by get_ammo_cost_for_weapon().
function is_weapon_included | ( | weapon | ) |
Definition at line 638 of file _zm_weapons.gsc.
References get_nonalternate_weapon().
Referenced by can_upgrade_weapon(), get_weapon_with_attachments(), and give_build_kit_weapon().
function is_weapon_or_base_included | ( | weapon | ) |
Definition at line 650 of file _zm_weapons.gsc.
References get_base_weapon(), and get_nonalternate_weapon().
Referenced by can_pack_weapon(), and vending_weapon_upgrade().
function is_weapon_upgraded | ( | weapon | ) |
Definition at line 1725 of file _zm_weapons.gsc.
References get_nonalternate_weapon().
Referenced by can_upgrade_weapon(), get_ammo_cost_for_weapon(), get_pack_a_punch_weapon_options(), get_upgrade_weapon(), get_weapon_with_attachments(), give_build_kit_weapon(), weapon_give(), weapon_supports_aat(), and weapon_type_check().
function is_wonder_weapon | ( | w_to_check | ) |
Definition at line 3582 of file _zm_weapons.gsc.
References get_base_weapon().
Referenced by add_zombie_weapon(), load_weapon_spec_from_table(), wall_weapon_update_prompt(), and weapon_spawn_think().
function limited_weapon_below_quota | ( | weapon | , |
ignore_player | , | ||
pap_triggers | |||
) |
Definition at line 696 of file _zm_weapons.gsc.
References get_triggers(), has_weapon_or_upgrade(), IS_TRUE, and limit().
Referenced by craftable_place_think(), craftablestub_update_prompt(), open_craftablestub_update_prompt(), and treasure_chest_CanPlayerReceiveWeapon().
function load_weapon_spec_from_table | ( | table | , |
first_row | |||
) |
Definition at line 3362 of file _zm_weapons.gsc.
References add_limited_weapon(), add_zombie_weapon(), checkStringValid(), include_weapon(), is_limited(), is_wonder_weapon(), limit(), register_aat_exemption(), WEAPON_TABLE_COL_AAT_EXEMPT, WEAPON_TABLE_COL_AMMO_COST, WEAPON_TABLE_COL_AUTOSPAWN, WEAPON_TABLE_COL_CLASS, WEAPON_TABLE_COL_CONTENT_RESTRICT, WEAPON_TABLE_COL_COST, WEAPON_TABLE_COL_CREATE_VOX, WEAPON_TABLE_COL_FORCE_ATTACHMENTS, WEAPON_TABLE_COL_HINT, WEAPON_TABLE_COL_IN_BOX, WEAPON_TABLE_COL_IS_LIMITED, WEAPON_TABLE_COL_IS_WONDER_WEAPON, WEAPON_TABLE_COL_IS_ZCLEANSED, WEAPON_TABLE_COL_LIMIT, WEAPON_TABLE_COL_NAME, WEAPON_TABLE_COL_UPGRADE_IN_BOX, WEAPON_TABLE_COL_UPGRADE_LIMIT, WEAPON_TABLE_COL_UPGRADE_NAME, WEAPON_TABLE_COL_VO, and WEAPON_TABLE_COL_VO_RESPOND.
function makeGrenadeDudAndDestroy | ( | ) |
Definition at line 143 of file _zm_weapons.gsc.
Referenced by checkGrenadeForDud().
function merge_weapons | ( | oldweapondata | , |
newweapondata | |||
) |
Definition at line 3108 of file _zm_weapons.gsc.
References weapon_is_better().
Referenced by weapondata_give().
function onPlayerConnect | ( | ) |
function onPlayerSpawned | ( | ) |
Definition at line 81 of file _zm_weapons.gsc.
References watchForGrenadeDuds(), and watchForGrenadeLauncherDuds().
Referenced by onPlayerConnect().
function placeable_mine_can_buy_weapon_extra_check_func | ( | w_weapon | ) |
Definition at line 1984 of file _zm_weapons.gsc.
References get_player_placeable_mine().
Referenced by weapon_spawn_think().
function play_weapon_vo | ( | weapon | , |
magic_box | |||
) |
Definition at line 2838 of file _zm_weapons.gsc.
References create_and_play_dialog(), IS_TRUE, and weapon_type_check().
Referenced by wait_for_player_to_take(), and weapon_give().
function player_can_use_content | ( | weapon | ) |
Definition at line 820 of file _zm_weapons.gsc.
Referenced by treasure_chest_CanPlayerReceiveWeapon(), and weapon_give().
function player_get_loadout | ( | ) |
Definition at line 3265 of file _zm_weapons.gsc.
References get_player_weapondata().
function player_give_loadout | ( | loadout | , |
replace_existing | = true , |
||
immediate_switch | = false |
||
) |
Definition at line 3280 of file _zm_weapons.gsc.
References is_offhand_weapon(), IS_TRUE, and weapondata_give().
function player_take_loadout | ( | loadout | ) |
Definition at line 3307 of file _zm_weapons.gsc.
References weapondata_take().
function random_attachment | ( | weapon | , |
exclude | |||
) |
Definition at line 1534 of file _zm_weapons.gsc.
Referenced by get_upgrade_weapon().
function register_zombie_weapon_callback | ( | weapon | , |
func | |||
) |
Definition at line 3317 of file _zm_weapons.gsc.
Referenced by __main__(), and init().
function reset_wallbuy_internal | ( | set_hint_string | ) |
Definition at line 1292 of file _zm_weapons.gsc.
References get_weapon_cost(), get_weapon_hint(), IS_TRUE, set(), and set_hint_string().
Referenced by reset_wallbuys().
function reset_wallbuys | ( | ) |
Definition at line 1320 of file _zm_weapons.gsc.
References get_weapon_cost(), get_weapon_hint(), IS_TRUE, reset_wallbuy_internal(), and set().
function set_stowed_weapon | ( | weapon | ) |
Definition at line 3331 of file _zm_weapons.gsc.
References IS_TRUE.
Referenced by UpdateRiotShieldModel().
function should_upgrade_weapon | ( | player | ) |
Definition at line 2328 of file _zm_weapons.gsc.
References is_enabled().
Referenced by weapon_spawn_think().
function show_all_weapon_buys | ( | player | , |
cost | , | ||
ammo_cost | , | ||
is_grenade | |||
) |
Definition at line 2343 of file _zm_weapons.gsc.
References is_grenade(), is_melee_weapon(), IS_TRUE, set(), weapon_set_first_time_hint(), and weapon_show().
Referenced by weapon_spawn_think().
function suppress_stowed_weapon | ( | onOff | ) |
Definition at line 3346 of file _zm_weapons.gsc.
function switch_back_primary_weapon | ( | oldprimary | , |
immediate | = false |
||
) |
Definition at line 280 of file _zm_weapons.gsc.
References give_fallback_weapon(), is_lethal_grenade(), is_melee_weapon(), is_placeable_mine(), is_tactical_grenade(), and IS_TRUE.
Referenced by craftable_use_hold_think_internal(), do_melee_weapon_flourish_end(), perk_give_bottle_end(), plant_gravity_trap(), revive_give_back_weapons(), take(), upgrade_knuckle_crack_end(), watch_for_glitches(), and weapon_powerup_remove().
function switch_from_alt_weapon | ( | weapon | ) |
Definition at line 240 of file _zm_weapons.gsc.
References get_nonalternate_weapon(), and waittill_any_timeout().
Referenced by vending_weapon_upgrade(), and weapon_give().
function take_fallback_weapon | ( | ) |
Definition at line 275 of file _zm_weapons.gsc.
Referenced by weapon_give().
function trackWeaponZM | ( | ) |
Definition at line 380 of file _zm_weapons.gsc.
References updateLastHeldWeaponTimingsZM(), updateWeaponTimingsZM(), and waittill_any_return().
Referenced by weaponobjects_on_player_connect_override_internal().
function updateLastHeldWeaponTimingsZM | ( | newTime | ) |
Definition at line 414 of file _zm_weapons.gsc.
Referenced by trackWeaponZM(), and updateWeaponTimingsZM().
function updateWeaponTimingsZM | ( | newTime | ) |
Definition at line 427 of file _zm_weapons.gsc.
References is_bot(), and updateLastHeldWeaponTimingsZM().
Referenced by trackWeaponZM(), and update_players_stats_at_match_end().
function wait_explode | ( | ) |
Definition at line 184 of file _zm_weapons.gsc.
Referenced by wait_for_explosion().
function wait_for_explosion | ( | time | ) |
Definition at line 204 of file _zm_weapons.gsc.
References wait_explode(), and wait_timeout().
Referenced by watchForScriptExplosion().
function wait_timeout | ( | time | ) |
Definition at line 194 of file _zm_weapons.gsc.
Referenced by wait_for_explosion().
function wall_weapon_update_prompt | ( | player | ) |
Definition at line 1176 of file _zm_weapons.gsc.
References get_ammo_cost(), get_ammo_cost_for_weapon(), get_shared_ammo_weapon(), get_upgraded_ammo_cost(), get_weapon_cost(), has_upgrade(), has_weapon_or_upgrade(), is_enabled(), IS_TRUE, and is_wonder_weapon().
Referenced by add_dynamic_wallbuy(), and init_spawnable_weapon_upgrade().
function watchForGrenadeDuds | ( | ) |
Definition at line 94 of file _zm_weapons.gsc.
References checkGrenadeForDud(), is_equipment(), is_placeable_mine(), and watchForScriptExplosion().
Referenced by onPlayerSpawned().
function watchForGrenadeLauncherDuds | ( | ) |
Definition at line 110 of file _zm_weapons.gsc.
References checkGrenadeForDud(), and watchForScriptExplosion().
Referenced by onPlayerSpawned().
function watchForScriptExplosion | ( | weapon | , |
isThrownGrenade | , | ||
player | |||
) |
Definition at line 214 of file _zm_weapons.gsc.
References is_lethal_grenade(), and wait_for_explosion().
Referenced by watchForGrenadeDuds(), and watchForGrenadeLauncherDuds().
function watchWeaponChangeZM | ( | ) |
Definition at line 452 of file _zm_weapons.gsc.
References mayDropWeapon().
Referenced by weaponobjects_on_player_connect_override_internal().
function watchWeaponUsageZM | ( | ) |
Definition at line 343 of file _zm_weapons.gsc.
References trackWeaponFire().
Referenced by weaponobjects_on_player_connect_override_internal().
function weapon_give | ( | weapon | , |
is_upgrade | = false , |
||
magic_box | = false , |
||
nosound | = false , |
||
b_switch_weapon | = true |
||
) |
Definition at line 2603 of file _zm_weapons.gsc.
References change_melee_weapon(), get_player_hero_weapon(), get_player_lethal_grenade(), get_player_placeable_mine(), get_player_tactical_grenade(), get_player_weapon_limit(), give(), give_ballistic_knife(), give_build_kit_weapon(), has_weapon_or_upgrade(), is_equipment(), is_hero_weapon(), is_lethal_grenade(), is_melee_weapon(), is_offhand_weapon(), is_placeable_mine(), is_tactical_grenade(), IS_TRUE, is_weapon_upgraded(), name, play_sound_on_ent(), play_weapon_vo(), player_can_use_content(), set_player_hero_weapon(), set_player_lethal_grenade(), set_player_placeable_mine(), set_player_tactical_grenade(), setup_for_player(), switch_from_alt_weapon(), take_fallback_weapon(), and weapon_take().
Referenced by craftable_place_think(), give_hero_weapon(), give_start_weapon(), octobomb_give(), reset_after_bleeding_out(), treasure_chest_give_weapon(), wait_for_player_to_take(), weapon_spawn_think(), and weapondata_give().
function weapon_is_better | ( | left | , |
right | |||
) |
Definition at line 3087 of file _zm_weapons.gsc.
References get_attachment_index().
Referenced by merge_weapons().
function weapon_set_first_time_hint | ( | cost | , |
ammo_cost | |||
) |
Definition at line 1964 of file _zm_weapons.gsc.
References get_weapon_hint_ammo(), and IS_TRUE.
Referenced by show_all_weapon_buys().
function weapon_show | ( | player | ) |
Definition at line 2419 of file _zm_weapons.gsc.
References play_sound_at_pos(), and WAIT_SERVER_FRAME.
Referenced by show_all_weapon_buys().
function weapon_spawn_think | ( | ) |
Definition at line 1994 of file _zm_weapons.gsc.
References ammo_give(), can_buy_weapon(), can_player_purchase(), can_upgrade_weapon(), create_and_play_dialog(), decide_hide_show_hint(), get_ammo_cost(), get_ammo_cost_for_weapon(), get_eye(), get_player_lethal_grenade(), get_shared_ammo_weapon(), get_upgrade_weapon(), get_weapon_cost(), get_weapon_hint(), give(), has_powerup_weapon(), has_upgrade(), has_weapon_or_upgrade(), ignore_triggers(), increment_challenge_stat(), increment_client_stat(), increment_player_stat(), is_enabled(), is_grenade(), is_lethal_grenade(), is_melee_weapon(), is_pers_double_points_active(), is_placeable_mine(), is_player_valid(), IS_TRUE, is_wonder_weapon(), minus_to_player_score(), pers_nube_override_ammo_cost(), pers_nube_should_we_give_raygun(), pers_nube_weapon_ammo_check(), pers_nube_weapon_upgrade_check(), placeable_mine_can_buy_weapon_extra_check_func(), play_sound_on_ent(), remove(), set_player_lethal_grenade(), should_upgrade_weapon(), show_all_weapon_buys(), weapon_give(), weapon_take(), ZM_MAP_EVENT_PURCHASE_AMMO, and ZM_MAP_EVENT_PURCHASE_GUN.
Referenced by add_dynamic_wallbuy(), init_spawnable_weapon_upgrade(), and init_weapon_upgrade().
function weapon_supports_aat | ( | weapon | ) |
Definition at line 1700 of file _zm_weapons.gsc.
References get_nonalternate_weapon(), is_exempt_weapon(), and is_weapon_upgraded().
Referenced by player_use_can_pack_now(), and vending_weapon_upgrade().
function weapon_supports_attachments | ( | weapon | ) |
Definition at line 1526 of file _zm_weapons.gsc.
References get_base_weapon().
Referenced by can_upgrade_weapon().
function weapon_supports_default_attachment | ( | weapon | ) |
Definition at line 1502 of file _zm_weapons.gsc.
References get_base_weapon().
function weapon_supports_this_attachment | ( | weapon | , |
att | |||
) |
Definition at line 1599 of file _zm_weapons.gsc.
References get_nonalternate_weapon().
function weapon_take | ( | weapon | ) |
Definition at line 2829 of file _zm_weapons.gsc.
Referenced by take_fallback_weapon(), weapon_give(), weapon_spawn_think(), weapondata_give(), and weapondata_take().
function weapon_type_check | ( | weapon | ) |
Definition at line 2888 of file _zm_weapons.gsc.
References get_nonalternate_weapon(), and is_weapon_upgraded().
Referenced by play_weapon_vo().
function weapondata_give | ( | weapondata | ) |
Definition at line 3158 of file _zm_weapons.gsc.
References get_player_weapon_with_same_base(), get_player_weapondata(), merge_weapons(), weapon_give(), and weapon_take().
Referenced by player_give_loadout().
function weapondata_take | ( | weapondata | ) |
Definition at line 3209 of file _zm_weapons.gsc.
References weapon_take().
Referenced by player_take_loadout().
function weaponobjects_on_player_connect_override | ( | ) |
Definition at line 507 of file _zm_weapons.gsc.
References add_retrievable_knife_init_name(), on_connect(), and weaponobjects_on_player_connect_override_internal().
Referenced by init().
function weaponobjects_on_player_connect_override_internal | ( | ) |
Definition at line 475 of file _zm_weapons.gsc.
References createBallisticKnifeWatcher_zm(), createBaseWatchers(), setup_watchers(), setupRetrievableWatcher(), trackWeaponZM(), watchGrenadeUsage(), watchMissileUsage(), watchWeaponChangeZM(), and watchWeaponUsageZM().
Referenced by weaponobjects_on_player_connect_override().