![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the source code of this file.
Macros | |
| #define | FX_LC_BOLT "zombie/fx_tesla_bolt_secondary_zmb" |
| #define | FX_LC_SHOCK "zombie/fx_tesla_shock_zmb" |
| #define | FX_LC_SHOCK_EYES "zombie/fx_tesla_shock_eyes_zmb" |
| #define | FX_LC_SHOCK_NONFATAL "zombie/fx_bmode_shock_os_zod_zmb" |
| #define | FX_LC_SHOCK_SECONDARY "zombie/fx_tesla_bolt_secondary_zmb" |
Functions | |
| function | arc_damage (source_enemy, player, arc_num, params=level.default_lightning_chain_params) |
| function | arc_damage_ent (player, arc_num, params=level.default_lightning_chain_params) |
| function | create_lightning_chain_params (max_arcs=5, max_enemies_killed=10, radius_start=300, radius_decay=20, head_gib_chance=75, arc_travel_time=0.11, kills_for_powerup=10, min_fx_distance=128, network_death_choke=4, should_kill_enemies=true, clientside_fx=true, arc_fx_sound=undefined, no_fx=false, prevent_weapon_kill_credit=false) |
| function | init () |
| function private | lc_debug_arc (origin, distance) |
| function private | lc_do_damage (source_enemy, arc_num, player, params) |
| function private | lc_end_arc_damage (arc_num, enemies_hit_num, params) |
| function private | lc_flag_hit (enemy, hit) |
| function private | lc_get_enemies_in_area (origin, distance, player) |
| function | lc_play_arc_fx (target, params) |
| function | lc_play_death_fx (arc_num, params) |
| function private | on_player_connect () |
| #define FX_LC_BOLT "zombie/fx_tesla_bolt_secondary_zmb" |
Definition at line 34 of file _zm_lightning_chain.gsc.
| #define FX_LC_SHOCK "zombie/fx_tesla_shock_zmb" |
Definition at line 35 of file _zm_lightning_chain.gsc.
| #define FX_LC_SHOCK_EYES "zombie/fx_tesla_shock_eyes_zmb" |
Definition at line 37 of file _zm_lightning_chain.gsc.
| #define FX_LC_SHOCK_NONFATAL "zombie/fx_bmode_shock_os_zod_zmb" |
Definition at line 38 of file _zm_lightning_chain.gsc.
| #define FX_LC_SHOCK_SECONDARY "zombie/fx_tesla_bolt_secondary_zmb" |
Definition at line 36 of file _zm_lightning_chain.gsc.
| function arc_damage | ( | source_enemy | , |
| player | , | ||
| arc_num | , | ||
| params | = level.default_lightning_chain_params |
||
| ) |
Definition at line 120 of file _zm_lightning_chain.gsc.
References debug_print(), DEFAULT, lc_do_damage(), lc_end_arc_damage(), lc_flag_hit(), lc_get_enemies_in_area(), and wait_network_frame().
Referenced by result(), and tesla_damage_init().
| function arc_damage_ent | ( | player | , |
| arc_num | , | ||
| params | = level.default_lightning_chain_params |
||
| ) |
Definition at line 168 of file _zm_lightning_chain.gsc.
References lc_do_damage(), and lc_flag_hit().
| function create_lightning_chain_params | ( | max_arcs | = 5, |
| max_enemies_killed | = 10, |
||
| radius_start | = 300, |
||
| radius_decay | = 20, |
||
| head_gib_chance | = 75, |
||
| arc_travel_time | = 0.11, |
||
| kills_for_powerup | = 10, |
||
| min_fx_distance | = 128, |
||
| network_death_choke | = 4, |
||
| should_kill_enemies | = true, |
||
| clientside_fx | = true, |
||
| arc_fx_sound | = undefined, |
||
| no_fx | = false, |
||
| prevent_weapon_kill_credit | = false |
||
| ) |
Definition at line 68 of file _zm_lightning_chain.gsc.
Referenced by __init__(), and init().
| function init | ( | ) |
Definition at line 48 of file _zm_lightning_chain.gsc.
References create_lightning_chain_params(), FX_LC_BOLT, FX_LC_SHOCK, FX_LC_SHOCK_EYES, FX_LC_SHOCK_NONFATAL, FX_LC_SHOCK_SECONDARY, on_connect(), on_player_connect(), register(), VERSION_SHIP, and VERSION_TU10.
| function private lc_debug_arc | ( | origin | , |
| distance | |||
| ) |
Definition at line 505 of file _zm_lightning_chain.gsc.
| function private lc_do_damage | ( | source_enemy | , |
| arc_num | , | ||
| player | , | ||
| params | |||
| ) |
Definition at line 286 of file _zm_lightning_chain.gsc.
References debug_print(), increment_challenge_stat(), IS_TRUE, lc_play_arc_fx(), lc_play_death_fx(), player_add_points(), player_can_score_from_zombies(), set(), wait_network_frame(), and WAIT_SERVER_FRAME.
Referenced by arc_damage(), and arc_damage_ent().
| function private lc_end_arc_damage | ( | arc_num | , |
| enemies_hit_num | , | ||
| params | |||
| ) |
Definition at line 174 of file _zm_lightning_chain.gsc.
References debug_print().
Referenced by arc_damage().
| function private lc_flag_hit | ( | enemy | , |
| hit | |||
| ) |
Definition at line 265 of file _zm_lightning_chain.gsc.
Referenced by arc_damage(), and arc_damage_ent().
| function private lc_get_enemies_in_area | ( | origin | , |
| distance | , | ||
| player | |||
| ) |
Definition at line 201 of file _zm_lightning_chain.gsc.
References get_round_enemy_array(), is_magic_bullet_shield_enabled(), and IS_TRUE.
Referenced by arc_damage().
| function lc_play_arc_fx | ( | target | , |
| params | |||
| ) |
Definition at line 451 of file _zm_lightning_chain.gsc.
References ARCHETYPE_ZOMBIE, debug_print(), IS_EQUAL, IS_TRUE, and spawn_model().
Referenced by lc_do_damage().
| function lc_play_death_fx | ( | arc_num | , |
| params | |||
| ) |
Definition at line 397 of file _zm_lightning_chain.gsc.
References ARCHETYPE_ZOMBIE, IS_EQUAL, IS_TRUE, N_DEFAULT_SHOCK_EFFECT, N_NONFATAL_SHOCK_EFFECT, N_SECONDARY_SHOCK_EFFECT, network_safe_play_fx_on_tag(), and set().
Referenced by lc_do_damage().
| function private on_player_connect | ( | ) |
Definition at line 104 of file _zm_lightning_chain.gsc.
References wait_network_frame().
Referenced by init().