‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_zm.gsc File Reference

Go to the source code of this file.

Macros

#define INTERMISSION_STREAMER_HINT_PRIORITY   0.9
 

Functions

function __init__ ()
 
function actor_damage_override (inflictor, attacker, damage, flags, meansofdeath, weapon, vpoint, vdir, sHitLoc, psOffsetTime, boneIndex, surfaceType)
 
function actor_damage_override_wrapper (inflictor, attacker, damage, flags, meansofdeath, weapon, vpoint, vdir, sHitLoc, vDamageOrigin, psOffsetTime, boneIndex, modelIndex, surfaceType, vSurfaceNormal)
 
function actor_killed_override (eInflictor, attacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime)
 
function add_bots ()
 
function award_grenades_for_survivors ()
 
function breakAfter (time, damage, piece)
 
function Callback_PlayerDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, boneIndex, vSurfaceNormal)
 
function Callback_PlayerLastStand (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration)
 
function can_do_input (inputType)
 
function cheat_enabled (val)
 
function check_actor_damage_callbacks (inflictor, attacker, damage, flags, meansofdeath, weapon, vpoint, vdir, sHitLoc, psOffsetTime, boneIndex, surfaceType)
 
function check_end_game_intermission_delay ()
 
function check_for_valid_spawn_near_position (revivee, v_position, return_struct)
 
function check_for_valid_spawn_near_team (revivee, return_struct)
 
function check_for_valid_spawn_within_range (revivee, v_position, return_struct, min_distance, max_distance)
 
function check_player_damage_callbacks (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, psOffsetTime)
 
function checkForAllDead (excluded_player)
 
function clear_path_timers ()
 
function CodeCallback_DestructibleEvent (event, param1, param2, param3)
 
function default_delayed_exit ()
 
function default_exit_level ()
 
function default_find_exit_point ()
 
function delete_in_createfx ()
 
function disable_end_game_intermission (delay)
 
function drive_client_connected_notifies ()
 
function end_game ()
 
function end_game_player_was_spectator ()
 
function fade_out_intro_screen_zm (hold_black_time, fade_out_time, destroyed_afterwards)
 
function fade_up_over_time (t)
 
function failsafe_revive_give_back_weapons (excluded_player)
 
function finishPlayerDamageWrapper (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, boneIndex, vSurfaceNormal)
 
function first_consumables_used_watcher ()
 
function get_delay_between_rounds ()
 
function get_player_out_of_playable_area_monitor_wait_time ()
 
function get_player_too_many_weapons_monitor_wait_time ()
 
function get_players_on_team (exclude)
 
function get_round_number ()
 
function get_safe_breadcrumb_pos (player)
 
function get_valid_spawn_location (revivee, spawn_points, closest_group, return_struct)
 
function get_zombie_count_for_round (n_round, n_player_count)
 
function get_zombie_spawn_delay (n_round)
 
function getAllOtherPlayers ()
 
function getFreeSpawnpoint (spawnpoints, player)
 
function autoexec ignore_systems ()
 
function in_enabled_playable_area ()
 
function in_kill_brush ()
 
function in_life_brush ()
 
function increment_dog_round_stat (stat)
 
function init ()
 
function init_client_field_callback_funcs ()
 
function init_custom_ai_type ()
 
function init_dvars ()
 
function init_flags ()
 
function init_function_overrides ()
 
function init_fx ()
 
function init_levelvars ()
 
function init_player_levelvars ()
 
function init_shellshocks ()
 
function init_sounds ()
 
function init_strings ()
 
function initialBlack ()
 
function initialBlackEnd ()
 
function initializeStatTracking ()
 
function intermission ()
 
function is_idgun_damage (weapon)
 
function is_sidequest_previously_completed (id)
 
function last_stand_best_pistol ()
 
function last_stand_compare_pistols (struct_array)
 
function last_stand_grenade_save_and_return ()
 
function last_stand_minimum_pistol_override ()
 
function last_stand_pistol_rank_init ()
 
function last_stand_pistol_swap ()
 
function last_stand_restore_pistol_ammo ()
 
function last_stand_revive ()
 
function last_stand_save_pistol_ammo ()
 
function last_stand_take_thrown_grenade ()
 
function laststand_giveback_player_perks ()
 
function onAllPlayersReady ()
 
function onPlayerConnect_clientDvars ()
 
function onPlayerSpawned ()
 
function play_door_dialog ()
 
function play_level_start_vox_delayed ()
 
function player_damage_override (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, psOffsetTime)
 
function player_damage_override_cheat (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, psOffsetTime)
 
function player_exit_level ()
 
function player_fake_death ()
 
function player_grenade_multiattack_bookmark_watcher (grenade)
 
function player_grenade_watcher ()
 
function player_intermission ()
 
function player_killed_override (eInflictor, attacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration)
 
function player_laststand (eInflictor, attacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration)
 
function player_monitor_time_played ()
 
function player_monitor_travel_dist ()
 
function player_out_of_playable_area_monitor ()
 
function player_prevent_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, psOffsetTime)
 
function player_revive_monitor ()
 
function player_spawn_protection ()
 
function player_too_many_players_check ()
 
function player_too_many_weapons_monitor ()
 
function player_too_many_weapons_monitor_takeaway_sequence (primary_weapons_to_take)
 
function player_too_many_weapons_monitor_takeaway_simultaneous (primary_weapons_to_take)
 
function player_track_ammo_count ()
 
function player_zombie_breadcrumb ()
 
function players_playing ()
 
function players_reached_rounds_counter_watcher ()
 
function playerzombie_downed_hud ()
 
function playerzombie_downed_state ()
 
function playerzombie_infinite_health ()
 
function playerzombie_play_sound (alias)
 
function playerzombie_player_damage ()
 
function playerzombie_soundboard ()
 
function playerzombie_waitfor_buttonrelease (inputType)
 
function playSwipeSound (mod, attacker)
 
function post_all_players_connected ()
 
function post_main ()
 
function precache_models ()
 
function precache_zombie_leaderboards ()
 
function print_zombie_counts ()
 
function printHashIDs ()
 
function process_friendly_fire_callbacks (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, psOffsetTime, boneIndex)
 
function recordPlayerRoundWeapon (weapon, statname)
 
function recordPrimaryWeaponsStats (base_stat_name, max_weapons)
 
function recordRoundEndStats ()
 
function recordRoundStartStats ()
 
function refresh_player_navcard_hud ()
 
function register_actor_damage_callback (func)
 
function register_custom_ai_spawn_check (str_id, func_check, func_get_spawners, func_get_locations)
 
function register_player_damage_callback (func)
 
function register_player_friendly_fire_callback (callback)
 
function register_sidequest (id, sidequest_stat)
 
function register_vehicle_damage_callback (func)
 
function register_zombie_damage_override_callback (func)
 
function remote_revive_watch ()
 
function remove_ignore_attacker ()
 
function round_end_monitor ()
 
function round_one_up ()
 
function round_over ()
 
function round_pause (delay)
 
function round_spawn_failsafe_debug ()
 
function round_spawning ()
 
function round_spawning_test ()
 
function round_start ()
 
function round_think (restart=false)
 
function round_wait ()
 
function run_custom_ai_spawn_checks ()
 
function screen_fade_in (n_time, v_color, str_menu_id)
 
function set_default_laststand_pistol (solo_mode)
 
function set_intermission_point ()
 
function set_round_number (new_round)
 
function set_sidequest_completed (id)
 
function set_third_person (value)
 
function setSpectatePermissions (isOn)
 
function setup_player_navcard_hud ()
 
function ShowHudAndPlayPromo ()
 
function sndMusicOnKillRound ()
 
function spawn_kill_brush (origin, radius, height)
 
function spawn_life_brush (origin, radius, height)
 
function spawn_vo ()
 
function spawn_vo_player (index, num)
 
function spawnSpectator ()
 
function spectator_respawn ()
 
function spectator_respawn_player ()
 
function spectator_thread ()
 
function spectator_toggle_3rd_person ()
 
function spectators_respawn ()
 
function start_zm_dash_counter_watchers ()
 
function start_zombie_logic_in_x_sec (time_to_wait)
 
function startUnitriggers ()
 
function store_crumb (origin)
 
function to_mins (seconds)
 
function update_is_player_valid ()
 
function update_zone_name ()
 
function updateEndOfMatchCounters ()
 
function updatePlayerNum (player)
 
function upload_leaderboards ()
 
function uploadGlobalStatCounters ()
 
function vehicle_damage_override (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal)
 
function wait_and_revive ()
 
function wait_until_first_player ()
 
function watchDisconnect ()
 
function zbot_spawn ()
 
function zm_on_player_connect ()
 
function zm_on_player_disconnect ()
 
function zm_on_player_spawned ()
 
function zombie_game_over_death ()
 
function zombie_intro_screen (string1, string2, string3, string4, string5)
 
function zombiemode_melee_miss ()
 
function zombify_player ()
 

Macro Definition Documentation

◆ INTERMISSION_STREAMER_HINT_PRIORITY

#define INTERMISSION_STREAMER_HINT_PRIORITY   0.9

Definition at line 6611 of file _zm.gsc.

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 210 of file _zm.gsc.

References DEFAULT.

◆ actor_damage_override()

function actor_damage_override ( inflictor  ,
attacker  ,
damage  ,
flags  ,
meansofdeath  ,
weapon  ,
vpoint  ,
vdir  ,
sHitLoc  ,
psOffsetTime  ,
boneIndex  ,
surfaceType   
)

◆ actor_damage_override_wrapper()

function actor_damage_override_wrapper ( inflictor  ,
attacker  ,
damage  ,
flags  ,
meansofdeath  ,
weapon  ,
vpoint  ,
vdir  ,
sHitLoc  ,
vDamageOrigin  ,
psOffsetTime  ,
boneIndex  ,
modelIndex  ,
surfaceType  ,
vSurfaceNormal   
)

Definition at line 5847 of file _zm.gsc.

References actor_damage_override(), damage(), and IS_TRUE.

Referenced by init_function_overrides().

◆ actor_killed_override()

function actor_killed_override ( eInflictor  ,
attacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime   
)

Definition at line 5872 of file _zm.gsc.

References is_headshot(), and IS_TRUE.

Referenced by init_function_overrides().

◆ add_bots()

function add_bots ( )

Definition at line 824 of file _zm.gsc.

References set(), WAIT_SERVER_FRAME, and zbot_spawn().

Referenced by onAllPlayersReady().

◆ award_grenades_for_survivors()

function award_grenades_for_survivors ( )

Definition at line 4564 of file _zm.gsc.

References get_player_lethal_grenade(), IS_TRUE, is_zombie(), and player_is_in_laststand().

Referenced by round_think().

◆ breakAfter()

function breakAfter ( time  ,
damage  ,
piece   
)

Definition at line 1404 of file _zm.gsc.

References damage().

Referenced by CodeCallback_DestructibleEvent().

◆ Callback_PlayerDamage()

function Callback_PlayerDamage ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
vDamageOrigin  ,
psOffsetTime  ,
boneIndex  ,
vSurfaceNormal   
)

◆ Callback_PlayerLastStand()

function Callback_PlayerLastStand ( eInflictor  ,
eAttacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime  ,
deathAnimDuration   
)

Definition at line 1373 of file _zm.gsc.

References PlayerLastStand().

Referenced by init_function_overrides().

◆ can_do_input()

function can_do_input ( inputType  )

Definition at line 4990 of file _zm.gsc.

Referenced by playerzombie_soundboard().

◆ cheat_enabled()

function cheat_enabled ( val  )

Definition at line 427 of file _zm.gsc.

Referenced by round_spawning(), and round_wait().

◆ check_actor_damage_callbacks()

function check_actor_damage_callbacks ( inflictor  ,
attacker  ,
damage  ,
flags  ,
meansofdeath  ,
weapon  ,
vpoint  ,
vdir  ,
sHitLoc  ,
psOffsetTime  ,
boneIndex  ,
surfaceType   
)

Definition at line 5815 of file _zm.gsc.

References damage().

Referenced by actor_damage_override().

◆ check_end_game_intermission_delay()

function check_end_game_intermission_delay ( )

Definition at line 6281 of file _zm.gsc.

Referenced by end_game().

◆ check_for_valid_spawn_near_position()

function check_for_valid_spawn_near_position ( revivee  ,
v_position  ,
return_struct   
)

Definition at line 3508 of file _zm.gsc.

References get_player_spawns_for_gametype(), and get_valid_spawn_location().

◆ check_for_valid_spawn_near_team()

◆ check_for_valid_spawn_within_range()

function check_for_valid_spawn_within_range ( revivee  ,
v_position  ,
return_struct  ,
min_distance  ,
max_distance   
)

Definition at line 3578 of file _zm.gsc.

References get_player_spawns_for_gametype(), and get_valid_spawn_location().

◆ check_player_damage_callbacks()

function check_player_damage_callbacks ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
psOffsetTime   
)

Definition at line 5502 of file _zm.gsc.

Referenced by player_damage_override().

◆ checkForAllDead()

function checkForAllDead ( excluded_player  )

Definition at line 1773 of file _zm.gsc.

References IS_TRUE, and player_is_in_laststand().

Referenced by decrement_no_end_game_check(), and onPlayerDisconnect().

◆ clear_path_timers()

function clear_path_timers ( )

Definition at line 5489 of file _zm.gsc.

Referenced by player_damage_override().

◆ CodeCallback_DestructibleEvent()

function CodeCallback_DestructibleEvent ( event  ,
param1  ,
param2  ,
param3   
)

Definition at line 1380 of file _zm.gsc.

References breakAfter(), and damage().

◆ default_delayed_exit()

function default_delayed_exit ( )

Definition at line 6745 of file _zm.gsc.

References default_find_exit_point(), and get().

Referenced by default_exit_level().

◆ default_exit_level()

function default_exit_level ( )

Definition at line 6718 of file _zm.gsc.

References default_delayed_exit(), default_find_exit_point(), and IS_TRUE.

◆ default_find_exit_point()

function default_find_exit_point ( )

Definition at line 6767 of file _zm.gsc.

References get().

Referenced by default_delayed_exit(), and default_exit_level().

◆ delete_in_createfx()

function delete_in_createfx ( )

Definition at line 799 of file _zm.gsc.

References get_array(), and self_delete().

Referenced by init_fx().

◆ disable_end_game_intermission()

function disable_end_game_intermission ( delay  )

Definition at line 6270 of file _zm.gsc.

References delay().

◆ drive_client_connected_notifies()

function drive_client_connected_notifies ( )

Definition at line 459 of file _zm.gsc.

References callback(), and reset_actor_bookmark_kill_times().

Referenced by init().

◆ end_game()

◆ end_game_player_was_spectator()

function end_game_player_was_spectator ( )

Definition at line 6259 of file _zm.gsc.

References WAIT_SERVER_FRAME.

Referenced by end_game().

◆ fade_out_intro_screen_zm()

function fade_out_intro_screen_zm ( hold_black_time  ,
fade_out_time  ,
destroyed_afterwards   
)

◆ fade_up_over_time()

function fade_up_over_time ( )

Definition at line 6712 of file _zm.gsc.

Referenced by game_module_custom_intermission().

◆ failsafe_revive_give_back_weapons()

function failsafe_revive_give_back_weapons ( excluded_player  )

◆ finishPlayerDamageWrapper()

function finishPlayerDamageWrapper ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
vDamageOrigin  ,
psOffsetTime  ,
boneIndex  ,
vSurfaceNormal   
)

Definition at line 1568 of file _zm.gsc.

Referenced by Callback_PlayerDamage().

◆ first_consumables_used_watcher()

function first_consumables_used_watcher ( )

◆ get_delay_between_rounds()

function get_delay_between_rounds ( )

Definition at line 4282 of file _zm.gsc.

Referenced by init().

◆ get_player_out_of_playable_area_monitor_wait_time()

function get_player_out_of_playable_area_monitor_wait_time ( )

Definition at line 2022 of file _zm.gsc.

References IS_TRUE.

Referenced by player_out_of_playable_area_monitor().

◆ get_player_too_many_weapons_monitor_wait_time()

function get_player_too_many_weapons_monitor_wait_time ( )

Definition at line 2111 of file _zm.gsc.

Referenced by player_too_many_weapons_monitor().

◆ get_players_on_team()

function get_players_on_team ( exclude  )

Definition at line 3622 of file _zm.gsc.

◆ get_round_number()

function get_round_number ( )

Definition at line 447 of file _zm.gsc.

Referenced by get_stat_round_number(), and round_think().

◆ get_safe_breadcrumb_pos()

function get_safe_breadcrumb_pos ( player  )

Definition at line 3641 of file _zm.gsc.

References is_player_valid().

◆ get_valid_spawn_location()

function get_valid_spawn_location ( revivee  ,
spawn_points  ,
closest_group  ,
return_struct   
)

◆ get_zombie_count_for_round()

function get_zombie_count_for_round ( n_round  ,
n_player_count   
)

Definition at line 3842 of file _zm.gsc.

References default_max_zombie_func().

Referenced by round_spawning().

◆ get_zombie_spawn_delay()

function get_zombie_spawn_delay ( n_round  )

Definition at line 4598 of file _zm.gsc.

Referenced by init().

◆ getAllOtherPlayers()

function getAllOtherPlayers ( )

Definition at line 654 of file _zm.gsc.

◆ getFreeSpawnpoint()

function getFreeSpawnpoint ( spawnpoints  ,
player   
)

◆ ignore_systems()

function autoexec ignore_systems ( )

Definition at line 162 of file _zm.gsc.

References ignore().

◆ in_enabled_playable_area()

function in_enabled_playable_area ( )

Definition at line 1999 of file _zm.gsc.

References wait_zone_flags_updating(), and zone_is_enabled().

Referenced by player_out_of_playable_area_monitor().

◆ in_kill_brush()

function in_kill_brush ( )

Definition at line 1974 of file _zm.gsc.

Referenced by player_out_of_playable_area_monitor().

◆ in_life_brush()

function in_life_brush ( )

Definition at line 1943 of file _zm.gsc.

Referenced by player_out_of_playable_area_monitor().

◆ increment_dog_round_stat()

function increment_dog_round_stat ( stat  )

Definition at line 7006 of file _zm.gsc.

References increment_client_stat().

Referenced by dog_round_wait_func(), and player_damage_override().

◆ init()

◆ init_client_field_callback_funcs()

function init_client_field_callback_funcs ( )

Definition at line 1627 of file _zm.gsc.

References IS_TRUE, register(), VERSION_SHIP, VERSION_SHIP_OBSOLETE, and VERSION_TU15_FFOTD_090816_0.

Referenced by init().

◆ init_custom_ai_type()

function init_custom_ai_type ( )

Definition at line 953 of file _zm.gsc.

Referenced by post_main().

◆ init_dvars()

function init_dvars ( )

Definition at line 1303 of file _zm.gsc.

Referenced by init().

◆ init_flags()

function init_flags ( )

Definition at line 1597 of file _zm.gsc.

References init().

Referenced by init().

◆ init_function_overrides()

◆ init_fx()

function init_fx ( )

Definition at line 1670 of file _zm.gsc.

References delete_in_createfx(), and IS_TRUE.

◆ init_levelvars()

function init_levelvars ( )

Definition at line 1147 of file _zm.gsc.

References DEFAULT, init_player_levelvars(), set_round_number(), and set_zombie_var().

Referenced by init().

◆ init_player_levelvars()

function init_player_levelvars ( )

Definition at line 1283 of file _zm.gsc.

References set_zombie_var(), and wait_till().

Referenced by init_levelvars().

◆ init_shellshocks()

function init_shellshocks ( )

Definition at line 1071 of file _zm.gsc.

Referenced by init().

◆ init_sounds()

function init_sounds ( )

Definition at line 1096 of file _zm.gsc.

References add_sound().

Referenced by init().

◆ init_strings()

function init_strings ( )

Definition at line 1076 of file _zm.gsc.

References add_zombie_hint().

Referenced by init().

◆ initialBlack()

function initialBlack ( )

Definition at line 633 of file _zm.gsc.

Referenced by matchStartBlacscreen(), and onAllPlayersReady().

◆ initialBlackEnd()

function initialBlackEnd ( )

Definition at line 639 of file _zm.gsc.

Referenced by fade_out_intro_screen_zm().

◆ initializeStatTracking()

function initializeStatTracking ( )

Definition at line 6312 of file _zm.gsc.

Referenced by init().

◆ intermission()

◆ is_idgun_damage()

function is_idgun_damage ( weapon  )

Definition at line 7084 of file _zm.gsc.

Referenced by actor_damage_override().

◆ is_sidequest_previously_completed()

function is_sidequest_previously_completed ( id  )

Definition at line 6878 of file _zm.gsc.

References IS_TRUE.

◆ last_stand_best_pistol()

function last_stand_best_pistol ( )

Definition at line 2924 of file _zm.gsc.

References get(), and last_stand_compare_pistols().

Referenced by last_stand_save_pistol_ammo().

◆ last_stand_compare_pistols()

function last_stand_compare_pistols ( struct_array  )

Definition at line 2974 of file _zm.gsc.

References get(), IS_TRUE, and PERK_QUICK_REVIVE.

Referenced by last_stand_best_pistol().

◆ last_stand_grenade_save_and_return()

function last_stand_grenade_save_and_return ( )

◆ last_stand_minimum_pistol_override()

function last_stand_minimum_pistol_override ( )

Definition at line 2896 of file _zm.gsc.

Referenced by last_stand_pistol_swap().

◆ last_stand_pistol_rank_init()

function last_stand_pistol_rank_init ( )

Definition at line 2804 of file _zm.gsc.

Referenced by init().

◆ last_stand_pistol_swap()

function last_stand_pistol_swap ( )

Definition at line 2825 of file _zm.gsc.

References get(), has_powerup_weapon(), IS_TRUE, and last_stand_minimum_pistol_override().

Referenced by init_function_overrides().

◆ last_stand_restore_pistol_ammo()

function last_stand_restore_pistol_ammo ( )

Definition at line 3072 of file _zm.gsc.

Referenced by init_function_overrides().

◆ last_stand_revive()

function last_stand_revive ( )

Definition at line 2774 of file _zm.gsc.

References auto_revive(), is_player_valid(), and player_is_in_laststand().

Referenced by round_think().

◆ last_stand_save_pistol_ammo()

function last_stand_save_pistol_ammo ( )

Definition at line 3037 of file _zm.gsc.

References last_stand_best_pistol().

Referenced by init_function_overrides().

◆ last_stand_take_thrown_grenade()

function last_stand_take_thrown_grenade ( )

Definition at line 3145 of file _zm.gsc.

Referenced by last_stand_grenade_save_and_return().

◆ laststand_giveback_player_perks()

function laststand_giveback_player_perks ( )

Definition at line 2456 of file _zm.gsc.

References give_perk().

◆ onAllPlayersReady()

◆ onPlayerConnect_clientDvars()

function onPlayerConnect_clientDvars ( )

Definition at line 1755 of file _zm.gsc.

References player_getup_setup().

Referenced by init_function_overrides().

◆ onPlayerSpawned()

◆ play_door_dialog()

function play_door_dialog ( )

Definition at line 4146 of file _zm.gsc.

References create_and_play_dialog(), timer(), and WAIT_SERVER_FRAME.

Referenced by main().

◆ play_level_start_vox_delayed()

function play_level_start_vox_delayed ( )

Definition at line 6830 of file _zm.gsc.

References create_and_play_dialog().

Referenced by round_one_up().

◆ player_damage_override()

◆ player_damage_override_cheat()

function player_damage_override_cheat ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
psOffsetTime   
)

Definition at line 5094 of file _zm.gsc.

References player_damage_override().

◆ player_exit_level()

function player_exit_level ( )

Definition at line 6349 of file _zm.gsc.

Referenced by end_game().

◆ player_fake_death()

function player_fake_death ( )

Definition at line 6332 of file _zm.gsc.

Referenced by player_damage_override().

◆ player_grenade_multiattack_bookmark_watcher()

function player_grenade_multiattack_bookmark_watcher ( grenade  )

Definition at line 2275 of file _zm.gsc.

References increment_challenge_stat(), IS_TRUE, and waittill_any_ex().

Referenced by player_grenade_watcher().

◆ player_grenade_watcher()

function player_grenade_watcher ( )

Definition at line 2341 of file _zm.gsc.

References player_grenade_multiattack_bookmark_watcher().

Referenced by onPlayerSpawned().

◆ player_intermission()

function player_intermission ( )

◆ player_killed_override()

function player_killed_override ( eInflictor  ,
attacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime  ,
deathAnimDuration   
)

Definition at line 6359 of file _zm.gsc.

Referenced by init_function_overrides().

◆ player_laststand()

function player_laststand ( eInflictor  ,
attacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime  ,
deathAnimDuration   
)

◆ player_monitor_time_played()

function player_monitor_time_played ( )

Definition at line 2260 of file _zm.gsc.

References increment_client_stat(), and wait_till().

Referenced by onPlayerSpawned().

◆ player_monitor_travel_dist()

function player_monitor_travel_dist ( )

Definition at line 2244 of file _zm.gsc.

Referenced by onPlayerSpawned().

◆ player_out_of_playable_area_monitor()

◆ player_prevent_damage()

function player_prevent_damage ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
psOffsetTime   
)

Definition at line 2369 of file _zm.gsc.

References IS_TRUE.

Referenced by init_function_overrides().

◆ player_revive_monitor()

function player_revive_monitor ( )

◆ player_spawn_protection()

function player_spawn_protection ( )

Definition at line 1921 of file _zm.gsc.

References decrement_ignoreme(), and increment_ignoreme().

Referenced by onPlayerSpawned().

◆ player_too_many_players_check()

function player_too_many_players_check ( )

Definition at line 7067 of file _zm.gsc.

References freeze_players().

Referenced by init().

◆ player_too_many_weapons_monitor()

◆ player_too_many_weapons_monitor_takeaway_sequence()

function player_too_many_weapons_monitor_takeaway_sequence ( primary_weapons_to_take  )

◆ player_too_many_weapons_monitor_takeaway_simultaneous()

function player_too_many_weapons_monitor_takeaway_simultaneous ( primary_weapons_to_take  )

◆ player_track_ammo_count()

function player_track_ammo_count ( )

Definition at line 978 of file _zm.gsc.

References create_and_play_dialog(), and player_is_in_laststand().

Referenced by onPlayerSpawned().

◆ player_zombie_breadcrumb()

function player_zombie_breadcrumb ( )

Definition at line 6365 of file _zm.gsc.

References debug_breadcrumbs(), debug_print(), store_crumb(), and trace().

Referenced by onPlayerSpawned(), and spectator_respawn().

◆ players_playing()

function players_playing ( )

Definition at line 1738 of file _zm.gsc.

Referenced by post_all_players_connected().

◆ players_reached_rounds_counter_watcher()

function players_reached_rounds_counter_watcher ( )

Definition at line 932 of file _zm.gsc.

References increment_zm_dash_counter().

Referenced by start_zm_dash_counter_watchers().

◆ playerzombie_downed_hud()

function playerzombie_downed_hud ( )

Definition at line 4875 of file _zm.gsc.

Referenced by playerzombie_downed_state().

◆ playerzombie_downed_state()

function playerzombie_downed_state ( )

◆ playerzombie_infinite_health()

function playerzombie_infinite_health ( )

Definition at line 4907 of file _zm.gsc.

Referenced by playerzombie_player_damage().

◆ playerzombie_play_sound()

function playerzombie_play_sound ( alias  )

Definition at line 5030 of file _zm.gsc.

References play_sound_on_ent().

Referenced by playerzombie_soundboard().

◆ playerzombie_player_damage()

function playerzombie_player_damage ( )

Definition at line 4808 of file _zm.gsc.

References playerzombie_downed_state(), playerzombie_infinite_health(), and WAIT_SERVER_FRAME.

Referenced by zombify_player().

◆ playerzombie_soundboard()

function playerzombie_soundboard ( )

◆ playerzombie_waitfor_buttonrelease()

function playerzombie_waitfor_buttonrelease ( inputType  )

Definition at line 5035 of file _zm.gsc.

References WAIT_SERVER_FRAME.

Referenced by playerzombie_soundboard().

◆ playSwipeSound()

function playSwipeSound ( mod  ,
attacker   
)

Definition at line 6911 of file _zm.gsc.

References IS_TRUE.

Referenced by player_damage_override().

◆ post_all_players_connected()

function post_all_players_connected ( )

◆ post_main()

function post_main ( )

Definition at line 422 of file _zm.gsc.

References init_custom_ai_type().

◆ precache_models()

function precache_models ( )

Definition at line 1063 of file _zm.gsc.

Referenced by init().

◆ precache_zombie_leaderboards()

function precache_zombie_leaderboards ( )

Definition at line 6920 of file _zm.gsc.

Referenced by init().

◆ print_zombie_counts()

function print_zombie_counts ( )

Definition at line 4662 of file _zm.gsc.

References get_current_zombie_count().

Referenced by round_wait().

◆ printHashIDs()

function printHashIDs ( )

Definition at line 7137 of file _zm.gsc.

References IS_TRUE.

Referenced by init().

◆ process_friendly_fire_callbacks()

function process_friendly_fire_callbacks ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
psOffsetTime  ,
boneIndex   
)

Definition at line 1586 of file _zm.gsc.

References callback().

Referenced by Callback_PlayerDamage().

◆ recordPlayerRoundWeapon()

function recordPlayerRoundWeapon ( weapon  ,
statname   
)

Definition at line 4287 of file _zm.gsc.

Referenced by recordPrimaryWeaponsStats().

◆ recordPrimaryWeaponsStats()

function recordPrimaryWeaponsStats ( base_stat_name  ,
max_weapons   
)

Definition at line 4299 of file _zm.gsc.

References recordPlayerRoundWeapon().

Referenced by recordRoundEndStats(), and recordRoundStartStats().

◆ recordRoundEndStats()

function recordRoundEndStats ( )

Definition at line 4323 of file _zm.gsc.

References get_current_zone(), recordPrimaryWeaponsStats(), and ZM_MAP_EVENT_ROUND_END.

Referenced by round_over().

◆ recordRoundStartStats()

function recordRoundStartStats ( )

Definition at line 4308 of file _zm.gsc.

References get_current_zone(), recordPrimaryWeaponsStats(), and ZM_MAP_EVENT_ROUND_START.

Referenced by round_think().

◆ refresh_player_navcard_hud()

function refresh_player_navcard_hud ( )

◆ register_actor_damage_callback()

function register_actor_damage_callback ( func  )

Definition at line 5835 of file _zm.gsc.

Referenced by __init__().

◆ register_custom_ai_spawn_check()

function register_custom_ai_spawn_check ( str_id  ,
func_check  ,
func_get_spawners  ,
func_get_locations   
)

Definition at line 3945 of file _zm.gsc.

◆ register_player_damage_callback()

function register_player_damage_callback ( func  )

Definition at line 5522 of file _zm.gsc.

Referenced by __init__().

◆ register_player_friendly_fire_callback()

function register_player_friendly_fire_callback ( callback  )

Definition at line 1579 of file _zm.gsc.

References callback().

◆ register_sidequest()

function register_sidequest ( id  ,
sidequest_stat   
)

Definition at line 6839 of file _zm.gsc.

References get_global_stat(), IS_TRUE, and wait_till().

◆ register_vehicle_damage_callback()

function register_vehicle_damage_callback ( func  )

Definition at line 5597 of file _zm.gsc.

Referenced by __init__(), and init_widows_wine().

◆ register_zombie_damage_override_callback()

function register_zombie_damage_override_callback ( func  )

Definition at line 5865 of file _zm.gsc.

References ARRAY_ADD, and DEFAULT.

Referenced by __main__(), and init().

◆ remote_revive_watch()

function remote_revive_watch ( )

Definition at line 2484 of file _zm.gsc.

References remote_revive().

Referenced by player_laststand().

◆ remove_ignore_attacker()

function remove_ignore_attacker ( )

Definition at line 5078 of file _zm.gsc.

Referenced by player_damage_override().

◆ round_end_monitor()

function round_end_monitor ( )

Definition at line 5940 of file _zm.gsc.

References bookmark(), upload_zm_dash_counters(), and WAIT_SERVER_FRAME.

Referenced by post_all_players_connected().

◆ round_one_up()

function round_one_up ( )

Definition at line 4192 of file _zm.gsc.

References create_and_play_dialog(), IS_TRUE, and play_level_start_vox_delayed().

Referenced by round_think().

◆ round_over()

function round_over ( )

Definition at line 4253 of file _zm.gsc.

References recordRoundEndStats().

Referenced by round_think().

◆ round_pause()

function round_pause ( delay  )

Definition at line 4028 of file _zm.gsc.

References create_counter_hud(), delay(), and destroy_hud().

Referenced by round_start().

◆ round_spawn_failsafe_debug()

function round_spawn_failsafe_debug ( )

Definition at line 4640 of file _zm.gsc.

References wait_network_frame().

◆ round_spawning()

◆ round_spawning_test()

function round_spawning_test ( )

Definition at line 3958 of file _zm.gsc.

References spawn_zombie().

Referenced by round_start().

◆ round_start()

function round_start ( )

◆ round_think()

◆ round_wait()

function round_wait ( )

◆ run_custom_ai_spawn_checks()

function run_custom_ai_spawn_checks ( )

Definition at line 3878 of file _zm.gsc.

References ARRAY_ADD, and IS_TRUE.

Referenced by round_spawning().

◆ screen_fade_in()

function screen_fade_in ( n_time  ,
v_color  ,
str_menu_id   
)

Definition at line 6613 of file _zm.gsc.

References screen_fade().

Referenced by fade_out_intro_screen_zm(), and player_intermission().

◆ set_default_laststand_pistol()

function set_default_laststand_pistol ( solo_mode  )

◆ set_intermission_point()

function set_intermission_point ( )

Definition at line 2624 of file _zm.gsc.

References get_array().

Referenced by onAllPlayersReady().

◆ set_round_number()

function set_round_number ( new_round  )

Definition at line 440 of file _zm.gsc.

Referenced by init_levelvars(), round_think(), and zombie_goto_round().

◆ set_sidequest_completed()

function set_sidequest_completed ( id  )

Definition at line 6884 of file _zm.gsc.

References add_global_stat(), and IS_TRUE.

◆ set_third_person()

function set_third_person ( value  )

Definition at line 2755 of file _zm.gsc.

Referenced by spectator_toggle_3rd_person().

◆ setSpectatePermissions()

function setSpectatePermissions ( isOn  )

Definition at line 2709 of file _zm.gsc.

Referenced by Callback_PlayerConnect(), spawnSpectator(), and spectator_respawn().

◆ setup_player_navcard_hud()

function setup_player_navcard_hud ( )

Definition at line 7015 of file _zm.gsc.

References refresh_player_navcard_hud(), and wait_till().

◆ ShowHudAndPlayPromo()

function ShowHudAndPlayPromo ( )

Definition at line 534 of file _zm.gsc.

References IS_TRUE.

Referenced by fade_out_intro_screen_zm().

◆ sndMusicOnKillRound()

function sndMusicOnKillRound ( )

Definition at line 4749 of file _zm.gsc.

References sndMusicSystem_PlayState().

Referenced by round_wait().

◆ spawn_kill_brush()

function spawn_kill_brush ( origin  ,
radius  ,
height   
)

Definition at line 1965 of file _zm.gsc.

References spawn().

◆ spawn_life_brush()

function spawn_life_brush ( origin  ,
radius  ,
height   
)

Definition at line 1934 of file _zm.gsc.

References spawn().

Referenced by main().

◆ spawn_vo()

function spawn_vo ( )

Definition at line 1039 of file _zm.gsc.

References get_player_index(), and spawn_vo_player().

◆ spawn_vo_player()

function spawn_vo_player ( index  ,
num   
)

Definition at line 1056 of file _zm.gsc.

Referenced by spawn_vo().

◆ spawnSpectator()

function spawnSpectator ( )

◆ spectator_respawn()

◆ spectator_respawn_player()

function spectator_respawn_player ( )

Definition at line 3253 of file _zm.gsc.

References refresh_player_navcard_hud(), and spectator_respawn().

Referenced by spectators_respawn().

◆ spectator_thread()

function spectator_thread ( )

Definition at line 2717 of file _zm.gsc.

Referenced by spawnSpectator().

◆ spectator_toggle_3rd_person()

function spectator_toggle_3rd_person ( )

Definition at line 2745 of file _zm.gsc.

References set_third_person().

◆ spectators_respawn()

function spectators_respawn ( )

Definition at line 3231 of file _zm.gsc.

References spectator_respawn_player().

Referenced by round_think().

◆ start_zm_dash_counter_watchers()

function start_zm_dash_counter_watchers ( )

Definition at line 916 of file _zm.gsc.

References first_consumables_used_watcher(), and players_reached_rounds_counter_watcher().

Referenced by init().

◆ start_zombie_logic_in_x_sec()

function start_zombie_logic_in_x_sec ( time_to_wait  )

Definition at line 647 of file _zm.gsc.

References set().

Referenced by onAllPlayersReady().

◆ startUnitriggers()

function startUnitriggers ( )

Definition at line 453 of file _zm.gsc.

References array, main(), and wait_till_any().

Referenced by init().

◆ store_crumb()

function store_crumb ( origin  )

Definition at line 6461 of file _zm.gsc.

Referenced by player_zombie_breadcrumb().

◆ to_mins()

function to_mins ( seconds  )

Definition at line 6493 of file _zm.gsc.

Referenced by end_game().

◆ update_is_player_valid()

function update_is_player_valid ( )

Definition at line 7100 of file _zm.gsc.

References is_player_valid(), and WAIT_SERVER_FRAME.

Referenced by zm_on_player_spawned().

◆ update_zone_name()

function update_zone_name ( )

Definition at line 7113 of file _zm.gsc.

References get_current_zone().

Referenced by zm_on_player_spawned(), and zombie_complete_emerging_into_playable_area().

◆ updateEndOfMatchCounters()

function updateEndOfMatchCounters ( )

Definition at line 5958 of file _zm.gsc.

References increment_zm_dash_counter(), is_solo_ranked_game(), and IS_TRUE.

Referenced by end_game().

◆ updatePlayerNum()

function updatePlayerNum ( player  )

Definition at line 673 of file _zm.gsc.

References get_game_var(), and set_game_var().

Referenced by getFreeSpawnpoint(), and onSpawnPlayer().

◆ upload_leaderboards()

function upload_leaderboards ( )

Definition at line 6301 of file _zm.gsc.

Referenced by end_game().

◆ uploadGlobalStatCounters()

function uploadGlobalStatCounters ( )

Definition at line 6325 of file _zm.gsc.

◆ vehicle_damage_override()

function vehicle_damage_override ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
vDamageOrigin  ,
psOffsetTime  ,
damageFromUnderneath  ,
modelIndex  ,
partName  ,
vSurfaceNormal   
)

Definition at line 5607 of file _zm.gsc.

References Callback_VehicleDamage().

Referenced by init_function_overrides().

◆ wait_and_revive()

◆ wait_until_first_player()

function wait_until_first_player ( )

Definition at line 4181 of file _zm.gsc.

◆ watchDisconnect()

function watchDisconnect ( )

Definition at line 6996 of file _zm.gsc.

References zm_on_player_disconnect().

Referenced by zm_on_player_connect().

◆ zbot_spawn()

function zbot_spawn ( )

Definition at line 861 of file _zm.gsc.

References onFindValidSpawnPoint().

Referenced by add_bots().

◆ zm_on_player_connect()

◆ zm_on_player_disconnect()

function zm_on_player_disconnect ( )

◆ zm_on_player_spawned()

function zm_on_player_spawned ( )

Definition at line 7094 of file _zm.gsc.

References update_is_player_valid(), and update_zone_name().

Referenced by init().

◆ zombie_game_over_death()

function zombie_game_over_death ( )

Definition at line 6570 of file _zm.gsc.

References IS_TRUE, and zombie_head_gib().

Referenced by intermission().

◆ zombie_intro_screen()

function zombie_intro_screen ( string1  ,
string2  ,
string3  ,
string4  ,
string5   
)

Definition at line 1733 of file _zm.gsc.

References wait_till().

Referenced by init_function_overrides().

◆ zombiemode_melee_miss()

function zombiemode_melee_miss ( )

Definition at line 967 of file _zm.gsc.

◆ zombify_player()

function zombify_player ( )