![]() |
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_perk (str_perk) |
function | init () |
function | init_custom_perks () |
function | init_perk_custom_threads () |
function | init_perk_machines_fx (localclientnum) |
function | perk_init_code_callbacks () |
function | perk_meteor_fx (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
function | perk_start_up () |
function | perks_register_clientfield () |
function | play_perk_fx_on_client (client_num, fx_light, duration) |
function | register_perk_clientfields (str_perk, func_clientfield_register, func_code_callback) |
function | register_perk_effects (str_perk, str_light_effect) |
function | register_perk_init_thread (str_perk, func_init_thread) |
function | vending_machine_flicker_light (fx_light, duration) |
function _register_undefined_perk | ( | str_perk | ) |
Definition at line 167 of file _zm_perks.csc.
Referenced by register_perk_clientfields(), register_perk_effects(), and register_perk_init_thread().
function init | ( | ) |
Definition at line 21 of file _zm_perks.csc.
References init_custom_perks(), init_perk_custom_threads(), init_perk_machines_fx(), on_start_gametype(), and perks_register_clientfield().
function init_custom_perks | ( | ) |
Definition at line 76 of file _zm_perks.csc.
Referenced by init().
function init_perk_custom_threads | ( | ) |
Definition at line 152 of file _zm_perks.csc.
Referenced by init().
function init_perk_machines_fx | ( | localclientnum | ) |
Definition at line 196 of file _zm_perks.csc.
References get_array(), and perk_start_up().
Referenced by init().
function perk_init_code_callbacks | ( | ) |
Definition at line 57 of file _zm_perks.csc.
Referenced by perks_register_clientfield().
function perk_meteor_fx | ( | localClientNum | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 180 of file _zm_perks.csc.
Referenced by perks_register_clientfield().
function perk_start_up | ( | ) |
Definition at line 209 of file _zm_perks.csc.
References timer(), and vending_machine_flicker_light().
Referenced by init_perk_machines_fx().
function perks_register_clientfield | ( | ) |
Definition at line 33 of file _zm_perks.csc.
References CF_CALLBACK_ZERO_ON_NEW_ENT, CF_HOST_ONLY, IS_TRUE, perk_init_code_callbacks(), perk_meteor_fx(), register(), and VERSION_SHIP.
Referenced by init().
function play_perk_fx_on_client | ( | client_num | , |
fx_light | , | ||
duration | |||
) |
Definition at line 255 of file _zm_perks.csc.
References spawn().
Referenced by vending_machine_flicker_light().
function register_perk_clientfields | ( | str_perk | , |
func_clientfield_register | , | ||
func_code_callback | |||
) |
Description:
"Function Name: register_perk_clientfields( <str_perk>, <func_clientfield_register>, <func_code_callback> )" "Module: Zombie Perks"
"Summary: Registers functions to register and set clientfields for a perk. These are used to set and clear hud elements when the perk is toggled."
"Mandatory Argument(s): <str_perk>: the name of the specialty that this perk uses. This should be unique, and will identify this perk in system scripts."
"Mandatory Argument(s): <func_clientfield_register>: sets up the clientfield for the perk. Should call clientfield::register(). This is not threaded."
"Mandatory Argument(s): <func_code_callback>: sets code callback for perk. Should internally call SetupClientFieldCodeCallbacks(). This is not threaded."
"Example:register_perk_clientfields( "specialty_vultureaid", &vulture_client_field_func, &vulture_code_callback_func );"
"Single Player / Multi Player: multiplayer"
Definition at line 96 of file _zm_perks.csc.
References _register_undefined_perk().
Referenced by __init__(), enable_additional_primary_weapon_perk_for_level(), enable_deadshot_perk_for_level(), enable_doubletap2_perk_for_level(), enable_electric_cherry_perk_for_level(), enable_juggernaut_perk_for_level(), enable_quick_revive_perk_for_level(), enable_sleight_of_hand_perk_for_level(), enable_staminup_perk_for_level(), and enable_widows_wine_perk_for_level().
function register_perk_effects | ( | str_perk | , |
str_light_effect | |||
) |
Description:
"Function Name: register_perk_clientfields( <str_perk>, <func_clientfield_register>, <func_code_callback> )" "Module: Zombie Perks"
"Summary: Registers functions to register and set clientfields for a perk. These are used to set and clear hud elements when the perk is toggled."
"Mandatory Argument(s): <str_perk>: the name of the specialty that this perk uses. This should be unique, and will identify this perk in system scripts."
"Mandatory Argument(s): <func_clientfield_register>: sets up the clientfield for the perk. Should call clientfield::register(). This is not threaded."
"Mandatory Argument(s): <func_code_callback>: sets code callback for perk. Should internally call SetupClientFieldCodeCallbacks(). This is not threaded."
"Example:register_perk_clientfields( "specialty_vultureaid", &vulture_client_field_func, &vulture_code_callback_func );"
"Single Player / Multi Player: multiplayer"
Definition at line 122 of file _zm_perks.csc.
References _register_undefined_perk().
Referenced by __init__(), enable_additional_primary_weapon_perk_for_level(), enable_deadshot_perk_for_level(), enable_doubletap2_perk_for_level(), enable_quick_revive_perk_for_level(), enable_sleight_of_hand_perk_for_level(), and enable_staminup_perk_for_level().
function register_perk_init_thread | ( | str_perk | , |
func_init_thread | |||
) |
Description:
"Function Name: register_perk_init_thread( <str_perk>, <func_init_thread> )" "Module: Zombie Perks"
"Summary: Sets a function that will be threaded on level after all perk clientfields have been set"
"Mandatory Argument(s): <str_perk>: the name of the specialty that this perk uses. This should be unique, and will identify this perk in system scripts."
"Mandatory Argument(s): <func_init_thread>: function that should run after clientfields are set"
"Example:register_perk_init_thread( "specialty_vultureaid", &init_vulture );"
"Single Player / Multi Player: multiplayer"
Definition at line 142 of file _zm_perks.csc.
References _register_undefined_perk().
Referenced by __init__(), enable_additional_primary_weapon_perk_for_level(), enable_deadshot_perk_for_level(), enable_doubletap2_perk_for_level(), enable_quick_revive_perk_for_level(), enable_sleight_of_hand_perk_for_level(), and enable_staminup_perk_for_level().
function vending_machine_flicker_light | ( | fx_light | , |
duration | |||
) |
Definition at line 246 of file _zm_perks.csc.
References play_perk_fx_on_client().
Referenced by perk_start_up().