![]() |
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 | _register_undefined_powerup (str_powerup) |
function | add_zombie_powerup (powerup_name, model_name, hint, func_should_drop_with_regular_powerups, only_affects_grabber, any_team, zombie_grabbable, fx, client_field_name, time_name, on_name, clientfield_version=VERSION_SHIP, player_specific=false) |
function | add_zombie_special_drop (powerup_name) |
function | check_for_instakill (player, mod, hit_location) |
function | check_for_rare_drop_override (pos) |
function | devil_dialog_delay () |
function | func_should_always_drop () |
function | func_should_never_drop () |
function | get_closest_window_repair (windows, origin) |
function | get_next_powerup () |
function | get_powerups (origin, radius) |
function | get_random_powerup_name () |
function | get_regular_random_powerup_name () |
function | get_valid_powerup () |
function | include_zombie_powerup (powerup_name) |
function | init () |
function | init_player_zombie_vars () |
function | init_powerups () |
function | is_carpenter_boards_upgraded () |
function | is_insta_kill_active () |
function | minigun_no_drop () |
function | point_doubler_on_hud (drop_item, player_team) |
function | powerup_delete () |
function | powerup_delete_delayed (time) |
function | powerup_drop (drop_point) |
function | powerup_emp () |
function | powerup_grab (powerup_team) |
function | powerup_hud_monitor () |
function | powerup_move () |
function | powerup_remove_from_regular_drops (powerup_name) |
function | powerup_round_start () |
function | powerup_set_can_pick_up_in_last_stand (powerup_name, b_can_pick_up) |
function | powerup_set_player_specific (powerup_name, b_player_specific=POWERUP_FOR_SPECIFIC_PLAYER) |
function | powerup_set_prevent_pick_up_if_drinking (powerup_name, b_prevent_pick_up) |
function | powerup_set_statless_powerup (powerup_name) |
function | powerup_setup (powerup_override, powerup_team, powerup_location, powerup_player, shouldplaysound=true) |
function | powerup_show (visible) |
function | powerup_timeout () |
function | powerup_vo (type) |
function | powerup_wobble () |
function | powerup_wobble_fx () |
function | powerup_zombie_grab (powerup_team) |
function | powerup_zombie_grab_trigger_cleanup (trigger) |
function | print_powerup_drop (powerup, type) |
function | randomize_powerups () |
function | register_carpenter_node (node, callback) |
function | register_powerup (str_powerup, func_grab_powerup, func_setup) |
function | register_powerup_weapon (str_powerup, func_countdown) |
function | set_clientfield_powerups (clientfield_name, powerup_timer, powerup_on, flashing_timers, flashing_values) |
function | set_weapon_ignore_max_ammo (weapon) |
function | should_award_stat (powerup_name) |
function | show_on_hud (player_team, str_powerup) |
function | special_drop_setup () |
function | special_powerup_drop (drop_point) |
function | specific_powerup_drop (powerup_name, drop_spot, powerup_team, powerup_location, pickup_delay, powerup_player, b_stay_forever) |
function | teller_withdrawl (powerup, player) |
function | tesla_powerup_active () |
function | time_remaining_on_point_doubler_powerup (player_team) |
function | time_remaining_on_powerup (player_team, str_powerup) |
function | watch_for_drop () |
function | weapon_powerup (ent_player, time, str_weapon, allow_cycling=false) |
function | weapon_powerup_change (ent_player, str_gun_return_notify, str_weapon) |
function | weapon_powerup_countdown (ent_player, str_gun_return_notify, time, str_weapon) |
function | weapon_powerup_remove (ent_player, str_gun_return_notify, str_weapon, b_switch_back_weapon=true) |
function | weapon_powerup_replace (ent_player, str_gun_return_notify, str_weapon) |
function | weapon_watch_gunner_downed (str_weapon) |
function _register_undefined_powerup | ( | str_powerup | ) |
Definition at line 1980 of file _zm_powerups.gsc.
References include_zombie_powerup().
Referenced by register_powerup(), and register_powerup_weapon().
function add_zombie_powerup | ( | powerup_name | , |
model_name | , | ||
hint | , | ||
func_should_drop_with_regular_powerups | , | ||
only_affects_grabber | , | ||
any_team | , | ||
zombie_grabbable | , | ||
fx | , | ||
client_field_name | , | ||
time_name | , | ||
on_name | , | ||
clientfield_version | = VERSION_SHIP , |
||
player_specific | = false |
||
) |
Definition at line 477 of file _zm_powerups.gsc.
References add_zombie_special_drop(), IS_TRUE, and register().
Referenced by init_powerups().
function add_zombie_special_drop | ( | powerup_name | ) |
Definition at line 552 of file _zm_powerups.gsc.
Referenced by add_zombie_powerup().
function check_for_instakill | ( | player | , |
mod | , | ||
hit_location | |||
) |
Definition at line 1438 of file _zm_powerups.gsc.
References get(), is_magic_bullet_shield_enabled(), IS_TRUE, remove_mod_from_methodofdeath(), and zombie_head_gib().
Referenced by widows_wine_zombie_damage_response(), zombie_damage(), and zombie_damage_ads().
function check_for_rare_drop_override | ( | pos | ) |
function devil_dialog_delay | ( | ) |
Definition at line 1567 of file _zm_powerups.gsc.
function func_should_always_drop | ( | ) |
Definition at line 1644 of file _zm_powerups.gsc.
Referenced by __init__().
function func_should_never_drop | ( | ) |
Definition at line 1639 of file _zm_powerups.gsc.
Referenced by __init__(), init_powerups(), and powerup_remove_from_regular_drops().
function get_closest_window_repair | ( | windows | , |
origin | |||
) |
Definition at line 1182 of file _zm_powerups.gsc.
References all_chunks_intact().
function get_next_powerup | ( | ) |
Definition at line 336 of file _zm_powerups.gsc.
References randomize_powerups().
Referenced by get_valid_powerup().
function get_powerups | ( | origin | , |
radius | |||
) |
Definition at line 1688 of file _zm_powerups.gsc.
function get_random_powerup_name | ( | ) |
Definition at line 454 of file _zm_powerups.gsc.
function get_regular_random_powerup_name | ( | ) |
Definition at line 461 of file _zm_powerups.gsc.
function get_valid_powerup | ( | ) |
Definition at line 359 of file _zm_powerups.gsc.
References get_next_powerup().
Referenced by powerup_setup(), powerup_special_drop_override(), and special_drop_setup().
function include_zombie_powerup | ( | powerup_name | ) |
Definition at line 562 of file _zm_powerups.gsc.
Referenced by _register_undefined_powerup().
function init | ( | ) |
Definition at line 56 of file _zm_powerups.gsc.
References init_player_zombie_vars(), init_powerups(), IS_TRUE, N_POWERUP_DEFAULT_TIME, on_connect(), set_zombie_var(), and watch_for_drop().
Referenced by init_powerups().
function init_player_zombie_vars | ( | ) |
Definition at line 148 of file _zm_powerups.gsc.
Referenced by init().
function init_powerups | ( | ) |
Definition at line 105 of file _zm_powerups.gsc.
References add_zombie_powerup(), CLIENTFIELD_POWERUP_FX_NAME, CLIENTFIELD_POWERUP_INSTANT_KILL_UG, func_should_never_drop(), init(), IS_TRUE, POWERUP_ANY_TEAM, powerup_hud_monitor(), POWERUP_ONLY_AFFECTS_GRABBER, POWERUP_ZOMBIE_GRABBABLE, randomize_powerups(), register(), set(), and VERSION_SHIP.
Referenced by init().
function is_carpenter_boards_upgraded | ( | ) |
Definition at line 1625 of file _zm_powerups.gsc.
Referenced by start_carpenter(), and start_carpenter_new().
function is_insta_kill_active | ( | ) |
Definition at line 1430 of file _zm_powerups.gsc.
function minigun_no_drop | ( | ) |
Definition at line 388 of file _zm_powerups.gsc.
References get().
Referenced by func_should_drop_minigun().
function point_doubler_on_hud | ( | drop_item | , |
player_team | |||
) |
Definition at line 1504 of file _zm_powerups.gsc.
References N_POWERUP_DEFAULT_TIME, and time_remaining_on_point_doubler_powerup().
function powerup_delete | ( | ) |
Definition at line 1407 of file _zm_powerups.gsc.
Referenced by powerup_delete_delayed(), powerup_timeout(), and powerup_widows_wine_timeout().
function powerup_delete_delayed | ( | time | ) |
Definition at line 1417 of file _zm_powerups.gsc.
References powerup_delete().
Referenced by powerup_emp(), powerup_grab(), and powerup_zombie_grab().
function powerup_drop | ( | drop_point | ) |
Definition at line 586 of file _zm_powerups.gsc.
References check_for_rare_drop_override(), is_team_enabled(), IS_TRUE, network_safe_spawn(), powerup_emp(), powerup_grab(), powerup_move(), powerup_setup(), powerup_timeout(), powerup_wobble(), and print_powerup_drop().
Referenced by zombie_delay_powerup_drop().
function powerup_emp | ( | ) |
Definition at line 1670 of file _zm_powerups.gsc.
References powerup_delete_delayed(), and should_watch_for_emp().
Referenced by powerup_drop(), special_drop_setup(), and specific_powerup_drop().
function powerup_grab | ( | powerup_team | ) |
Definition at line 967 of file _zm_powerups.gsc.
References bookmark(), in_revive_trigger(), increment_challenge_stat(), increment_client_stat(), increment_player_stat(), IS_DRINKING, is_enabled(), IS_TRUE, player_is_in_laststand(), powerup_delete_delayed(), powerup_zombie_grab(), should_award_stat(), sndAnnouncerPlayVox(), teller_withdrawl(), and ZM_MAP_EVENT_POWERUP_GRABBED.
Referenced by powerup_drop(), special_drop_setup(), and specific_powerup_drop().
function powerup_hud_monitor | ( | ) |
Definition at line 165 of file _zm_powerups.gsc.
References CLIENTFIELD_POWERUP_STATE_FLASHING_OFF, CLIENTFIELD_POWERUP_STATE_FLASHING_ON, CLIENTFIELD_POWERUP_STATE_OFF, POWERUP_FLASHING_STAGE_ONE_DELTA_TIME, POWERUP_FLASHING_STAGE_ONE_TIME, POWERUP_FLASHING_STAGE_TWO_DELTA_TIME, POWERUP_FLASHING_STAGE_TWO_TIME, set_clientfield_powerups(), set_to_player(), WAIT_SERVER_FRAME, and wait_till().
Referenced by init_powerups().
function powerup_move | ( | ) |
Definition at line 1649 of file _zm_powerups.gsc.
Referenced by powerup_drop(), special_drop_setup(), and specific_powerup_drop().
function powerup_remove_from_regular_drops | ( | powerup_name | ) |
Definition at line 572 of file _zm_powerups.gsc.
References func_should_never_drop().
function powerup_round_start | ( | ) |
Definition at line 581 of file _zm_powerups.gsc.
Referenced by round_think().
function powerup_set_can_pick_up_in_last_stand | ( | powerup_name | , |
b_can_pick_up | |||
) |
Definition at line 529 of file _zm_powerups.gsc.
function powerup_set_player_specific | ( | powerup_name | , |
b_player_specific | = POWERUP_FOR_SPECIFIC_PLAYER |
||
) |
Definition at line 539 of file _zm_powerups.gsc.
Referenced by __init__().
function powerup_set_prevent_pick_up_if_drinking | ( | powerup_name | , |
b_prevent_pick_up | |||
) |
Definition at line 534 of file _zm_powerups.gsc.
Referenced by __init__().
function powerup_set_statless_powerup | ( | powerup_name | ) |
function powerup_setup | ( | powerup_override | , |
powerup_team | , | ||
powerup_location | , | ||
powerup_player | , | ||
shouldplaysound | = true |
||
) |
Definition at line 759 of file _zm_powerups.gsc.
References bookmark(), get_valid_powerup(), IS_TRUE, and tesla_powerup_active().
Referenced by powerup_drop(), special_drop_setup(), and specific_powerup_drop().
function powerup_show | ( | visible | ) |
Definition at line 1314 of file _zm_powerups.gsc.
Referenced by powerup_timeout(), and powerup_widows_wine_timeout().
function powerup_timeout | ( | ) |
Definition at line 1344 of file _zm_powerups.gsc.
References is_team_enabled(), N_POWERUP_DEFAULT_TIME, powerup_delete(), and powerup_show().
Referenced by powerup_drop(), special_drop_setup(), and specific_powerup_drop().
function powerup_vo | ( | type | ) |
Definition at line 1216 of file _zm_powerups.gsc.
References create_and_play_dialog().
Referenced by grab_bonfire_sale(), grab_carpenter(), grab_double_points(), grab_fire_sale(), grab_full_ammo(), grab_insta_kill(), grab_minigun(), grab_nuke(), grab_shield_charge(), and grab_ww_grenade().
function powerup_wobble | ( | ) |
Definition at line 1284 of file _zm_powerups.gsc.
References powerup_wobble_fx().
Referenced by powerup_drop(), special_drop_setup(), and specific_powerup_drop().
function powerup_wobble_fx | ( | ) |
Definition at line 1249 of file _zm_powerups.gsc.
References CLIENTFIELD_POWERUP_FX_ANY_TEAM_ON, CLIENTFIELD_POWERUP_FX_NAME, CLIENTFIELD_POWERUP_FX_ON, CLIENTFIELD_POWERUP_FX_ONLY_AFFECTS_GRABBER_ON, CLIENTFIELD_POWERUP_FX_ZOMBIE_GRABBABLE_ON, and set().
Referenced by powerup_wobble().
function powerup_zombie_grab | ( | powerup_team | ) |
Definition at line 884 of file _zm_powerups.gsc.
References create_zombie_point_of_interest(), IS_TRUE, powerup_delete_delayed(), powerup_zombie_grab_trigger_cleanup(), sndAnnouncerPlayVox(), spawn(), SPAWNFLAG_TRIGGER_AI_AXIS, and SPAWNFLAG_TRIGGER_NOT_PLAYER.
Referenced by powerup_grab().
function powerup_zombie_grab_trigger_cleanup | ( | trigger | ) |
Definition at line 877 of file _zm_powerups.gsc.
References waittill_any().
Referenced by powerup_zombie_grab().
function print_powerup_drop | ( | powerup | , |
type | |||
) |
Definition at line 1605 of file _zm_powerups.gsc.
Referenced by powerup_drop().
function randomize_powerups | ( | ) |
Definition at line 321 of file _zm_powerups.gsc.
Referenced by get_next_powerup(), and init_powerups().
function register_carpenter_node | ( | node | , |
callback | |||
) |
Definition at line 1609 of file _zm_powerups.gsc.
References callback().
function register_powerup | ( | str_powerup | , |
func_grab_powerup | , | ||
func_setup | |||
) |
Description:
"Function Name: register_powerup( <str_powerup>, [func_grab_powerup], [func_setup] )" "Module: Zombie Powerups"
"Summary: Registers functions to run when zombie perks are given to and taken from players."
"Mandatory Argument(s): <str_powerup>: the name of the specialty that this perk uses. This should be unique, and will identify this perk in system scripts."
"Optional Argument(s): [func_grab_powerup]: this function will run when the player grabs the powerup."
"Optional Argument(s): [func_setup]: this function will in addition to normal powerup setup."
"Example:register_powerup( "nuke", &grab_nuke );"
"Single Player / Multi Player: multiplayer"
Definition at line 1956 of file _zm_powerups.gsc.
References _register_undefined_powerup().
Referenced by __init__().
function register_powerup_weapon | ( | str_powerup | , |
func_countdown | |||
) |
Description:
"Function Name: register_powerup_weapon( <str_powerup>, [func_grab_powerup], [func_setup] )" "Module: Zombie Powerups"
"Summary: Registers functions to run when zombie perks are given to and taken from players."
"Mandatory Argument(s): <str_powerup>: the name of the specialty that this perk uses. This should be unique, and will identify this perk in system scripts."
"Optional Argument(s): [func_countdown]: this function will run when the weapon powerup counts down."
"Example:register_powerup_weapon( "minigun", &minigun_countdown );"
"Single Player / Multi Player: multiplayer"
Definition at line 2004 of file _zm_powerups.gsc.
References _register_undefined_powerup().
Referenced by __init__().
function set_clientfield_powerups | ( | clientfield_name | , |
powerup_timer | , | ||
powerup_on | , | ||
flashing_timers | , | ||
flashing_values | |||
) |
Definition at line 291 of file _zm_powerups.gsc.
References CLIENTFIELD_POWERUP_STATE_FLASHING_OFF, CLIENTFIELD_POWERUP_STATE_OFF, CLIENTFIELD_POWERUP_STATE_ON, POWERUP_FLASHING_STAGE_ONE_TIME, and set_to_player().
Referenced by powerup_hud_monitor().
function set_weapon_ignore_max_ammo | ( | weapon | ) |
Definition at line 154 of file _zm_powerups.gsc.
Referenced by __init__().
function should_award_stat | ( | powerup_name | ) |
Definition at line 1705 of file _zm_powerups.gsc.
Referenced by powerup_grab().
function show_on_hud | ( | player_team | , |
str_powerup | |||
) |
Definition at line 1726 of file _zm_powerups.gsc.
References is_team_enabled(), N_POWERUP_DEFAULT_TIME, and time_remaining_on_powerup().
Referenced by double_points_powerup(), and insta_kill_powerup().
function special_drop_setup | ( | ) |
Definition at line 841 of file _zm_powerups.gsc.
References get_valid_powerup(), powerup_emp(), powerup_grab(), powerup_move(), powerup_setup(), powerup_timeout(), and powerup_wobble().
Referenced by special_powerup_drop().
function special_powerup_drop | ( | drop_point | ) |
Definition at line 720 of file _zm_powerups.gsc.
References spawn(), and special_drop_setup().
Referenced by player_teleporting().
function specific_powerup_drop | ( | powerup_name | , |
drop_spot | , | ||
powerup_team | , | ||
powerup_location | , | ||
pickup_delay | , | ||
powerup_player | , | ||
b_stay_forever | |||
) |
Definition at line 688 of file _zm_powerups.gsc.
References delay(), IS_TRUE, network_safe_spawn(), powerup_emp(), powerup_grab(), powerup_move(), powerup_setup(), powerup_timeout(), and powerup_wobble().
Referenced by dog_round_aftermath(), parasite_drop_item(), raps_round_aftermath(), and widows_wine_zombie_death_watch().
function teller_withdrawl | ( | powerup | , |
player | |||
) |
Definition at line 1720 of file _zm_powerups.gsc.
References add_to_player_score().
Referenced by powerup_grab().
function tesla_powerup_active | ( | ) |
Definition at line 1586 of file _zm_powerups.gsc.
Referenced by powerup_setup().
function time_remaining_on_point_doubler_powerup | ( | player_team | ) |
Definition at line 1534 of file _zm_powerups.gsc.
References N_POWERUP_DEFAULT_TIME, spawn(), and WAIT_SERVER_FRAME.
Referenced by point_doubler_on_hud().
function time_remaining_on_powerup | ( | player_team | , |
str_powerup | |||
) |
Definition at line 1751 of file _zm_powerups.gsc.
References is_team_enabled(), N_POWERUP_DEFAULT_TIME, Spawn(), and WAIT_SERVER_FRAME.
Referenced by show_on_hud().
function watch_for_drop | ( | ) |
Definition at line 417 of file _zm_powerups.gsc.
References WAIT_SERVER_FRAME, wait_till(), and while().
Referenced by init().
function weapon_powerup | ( | ent_player | , |
time | , | ||
str_weapon | , | ||
allow_cycling | = false |
||
) |
Definition at line 1789 of file _zm_powerups.gsc.
References increment_is_drinking(), weapon_powerup_change(), weapon_powerup_countdown(), and weapon_powerup_replace().
Referenced by minigun_weapon_powerup().
function weapon_powerup_change | ( | ent_player | , |
str_gun_return_notify | , | ||
str_weapon | |||
) |
Definition at line 1820 of file _zm_powerups.gsc.
References weapon_powerup_remove().
Referenced by weapon_powerup().
function weapon_powerup_countdown | ( | ent_player | , |
str_gun_return_notify | , | ||
time | , | ||
str_weapon | |||
) |
Definition at line 1841 of file _zm_powerups.gsc.
References is_team_enabled(), N_POWERUP_DEFAULT_TIME, and weapon_powerup_remove().
Referenced by weapon_powerup().
function weapon_powerup_remove | ( | ent_player | , |
str_gun_return_notify | , | ||
str_weapon | , | ||
b_switch_back_weapon | = true |
||
) |
Definition at line 1884 of file _zm_powerups.gsc.
References decrement_is_drinking(), and switch_back_primary_weapon().
Referenced by weapon_powerup_change(), and weapon_powerup_countdown().
function weapon_powerup_replace | ( | ent_player | , |
str_gun_return_notify | , | ||
str_weapon | |||
) |
Definition at line 1863 of file _zm_powerups.gsc.
References decrement_is_drinking().
Referenced by weapon_powerup().
function weapon_watch_gunner_downed | ( | str_weapon | ) |
Definition at line 1911 of file _zm_powerups.gsc.
References IS_TRUE, and WAIT_SERVER_FRAME.
Referenced by minigun_powerup_last_stand().