![]() |
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 | GROUND_LEVEL 0 |
#define | HINT_ICON "riotshield_zm_icon" |
#define | MIN_CHARGES_IN_LEVEL 3 |
#define | MODEL_SHIELD_RECHARGE "p7_zm_zod_nitrous_tank" |
#define | RIOTSHIELD_JUKE_DISTANCE (10 * 12) |
#define | RIOTSHIELD_JUKE_KILL_HALFWIDTH (3 * 12) |
#define | RIOTSHIELD_JUKE_KILL_HALFWIDTH_SQ (RIOTSHIELD_JUKE_KILL_HALFWIDTH * RIOTSHIELD_JUKE_KILL_HALFWIDTH) |
#define | RIOTSHIELD_JUKE_KILL_VERT_LIMIT (6 * 12) |
#define | ROCKET_SHIELD_HINT_TEXT &"ZOMBIE_ROCKET_HINT" |
#define | ROCKET_SHIELD_HINT_TIMER 5 |
#define | ROCKETSHIELD_MODEL "wpn_t7_zmb_zod_rocket_shield_world" |
#define | ROCKETSHIELD_NAME "craft_shield_zm" |
#define | ROCKETSHIELD_REFILL_ON_MAX_AMMO true |
#define | ROCKETSHIELD_WEAPON "zod_riotshield" |
#define | ROCKETSHIELD_WEAPON_UPGRADED "zod_riotshield_upgraded" |
#define | RS_JUKE_MELEE_DAMAGE_AMOUNT 5000 |
#define | RS_JUKE_MELEE_DAMAGE_RADIUS (12*5) |
Functions | |
function | __init__ () |
function | __main__ () |
function | bottle_trigger_activate (trig_stub, player) |
function | bottle_trigger_visibility (player) |
function | check_weapon_ammo (weapon) |
function | create_bottle_unitrigger (v_origin, v_angles) |
function | on_player_connect () |
function | on_player_spawned () |
function | player_damage_rocketshield (iDamage, bHeld, fromCode=false, smod="MOD_UNKNOWN") |
function | player_watch_ammo_change () |
function | player_watch_max_ammo () |
function | player_watch_shield_juke () |
function | player_watch_upgraded_pickup_from_table () |
function | riotshield_get_juke_enemies_in_range () |
function | riotshield_melee_juke (weapon) |
function | shield_recharge_trigger_think () |
function | spawn_recharge_tanks () |
function | watchFirstUse () |
#define GROUND_LEVEL 0 |
Definition at line 36 of file _zm_weap_rocketshield.gsc.
#define HINT_ICON "riotshield_zm_icon" |
Definition at line 35 of file _zm_weap_rocketshield.gsc.
#define MIN_CHARGES_IN_LEVEL 3 |
Definition at line 352 of file _zm_weap_rocketshield.gsc.
#define MODEL_SHIELD_RECHARGE "p7_zm_zod_nitrous_tank" |
Definition at line 52 of file _zm_weap_rocketshield.gsc.
#define RIOTSHIELD_JUKE_DISTANCE (10 * 12) |
Definition at line 284 of file _zm_weap_rocketshield.gsc.
#define RIOTSHIELD_JUKE_KILL_HALFWIDTH (3 * 12) |
Definition at line 285 of file _zm_weap_rocketshield.gsc.
#define RIOTSHIELD_JUKE_KILL_HALFWIDTH_SQ (RIOTSHIELD_JUKE_KILL_HALFWIDTH * RIOTSHIELD_JUKE_KILL_HALFWIDTH) |
Definition at line 286 of file _zm_weap_rocketshield.gsc.
#define RIOTSHIELD_JUKE_KILL_VERT_LIMIT (6 * 12) |
Definition at line 287 of file _zm_weap_rocketshield.gsc.
#define ROCKET_SHIELD_HINT_TEXT &"ZOMBIE_ROCKET_HINT" |
Definition at line 107 of file _zm_weap_rocketshield.gsc.
#define ROCKET_SHIELD_HINT_TIMER 5 |
Definition at line 108 of file _zm_weap_rocketshield.gsc.
#define ROCKETSHIELD_MODEL "wpn_t7_zmb_zod_rocket_shield_world" |
Definition at line 50 of file _zm_weap_rocketshield.gsc.
#define ROCKETSHIELD_NAME "craft_shield_zm" |
Definition at line 47 of file _zm_weap_rocketshield.gsc.
#define ROCKETSHIELD_REFILL_ON_MAX_AMMO true |
Definition at line 55 of file _zm_weap_rocketshield.gsc.
#define ROCKETSHIELD_WEAPON "zod_riotshield" |
Definition at line 48 of file _zm_weap_rocketshield.gsc.
#define ROCKETSHIELD_WEAPON_UPGRADED "zod_riotshield_upgraded" |
Definition at line 49 of file _zm_weap_rocketshield.gsc.
#define RS_JUKE_MELEE_DAMAGE_AMOUNT 5000 |
Definition at line 236 of file _zm_weap_rocketshield.gsc.
#define RS_JUKE_MELEE_DAMAGE_RADIUS (12*5) |
Definition at line 235 of file _zm_weap_rocketshield.gsc.
function __init__ | ( | ) |
Definition at line 57 of file _zm_weap_rocketshield.gsc.
References init(), on_connect(), on_player_connect(), on_player_spawned(), on_spawned(), register(), ROCKETSHIELD_MODEL, ROCKETSHIELD_NAME, ROCKETSHIELD_WEAPON, ROCKETSHIELD_WEAPON_UPGRADED, and VERSION_SHIP.
function __main__ | ( | ) |
Definition at line 73 of file _zm_weap_rocketshield.gsc.
References include(), player_damage_rocketshield(), register_for_level(), ROCKETSHIELD_REFILL_ON_MAX_AMMO, ROCKETSHIELD_WEAPON, ROCKETSHIELD_WEAPON_UPGRADED, set_ammo_driven(), set_zombie_var(), and spawn_recharge_tanks().
function bottle_trigger_activate | ( | trig_stub | , |
player | |||
) |
Definition at line 481 of file _zm_weap_rocketshield.gsc.
References change_ammo(), IS_TRUE, and unregister_unitrigger().
Referenced by shield_recharge_trigger_think().
function bottle_trigger_visibility | ( | player | ) |
Definition at line 433 of file _zm_weap_rocketshield.gsc.
References IS_TRUE.
Referenced by create_bottle_unitrigger().
function check_weapon_ammo | ( | weapon | ) |
Definition at line 168 of file _zm_weap_rocketshield.gsc.
References set(), and WAIT_SERVER_FRAME.
Referenced by player_watch_ammo_change(), player_watch_max_ammo(), and player_watch_shield_juke().
function create_bottle_unitrigger | ( | v_origin | , |
v_angles | |||
) |
Definition at line 390 of file _zm_weap_rocketshield.gsc.
References bottle_trigger_visibility(), MODEL_SHIELD_RECHARGE, register_static_unitrigger(), shield_recharge_trigger_think(), and Spawn().
Referenced by spawn_recharge_tanks().
function on_player_connect | ( | ) |
Definition at line 102 of file _zm_weap_rocketshield.gsc.
References watchFirstUse().
Referenced by __init__().
function on_player_spawned | ( | ) |
Definition at line 125 of file _zm_weap_rocketshield.gsc.
References player_damage_rocketshield(), player_watch_ammo_change(), player_watch_max_ammo(), player_watch_shield_juke(), and player_watch_upgraded_pickup_from_table().
Referenced by __init__().
function player_damage_rocketshield | ( | iDamage | , |
bHeld | , | ||
fromCode | = false , |
||
smod | = "MOD_UNKNOWN" |
||
) |
Definition at line 200 of file _zm_weap_rocketshield.gsc.
References IS_EQUAL, and player_damage_shield().
Referenced by __main__(), and on_player_spawned().
function player_watch_ammo_change | ( | ) |
Definition at line 134 of file _zm_weap_rocketshield.gsc.
References check_weapon_ammo(), ROCKETSHIELD_WEAPON, and ROCKETSHIELD_WEAPON_UPGRADED.
Referenced by on_player_spawned().
function player_watch_max_ammo | ( | ) |
Definition at line 151 of file _zm_weap_rocketshield.gsc.
References check_weapon_ammo(), IS_TRUE, and WAIT_SERVER_FRAME.
Referenced by on_player_spawned().
function player_watch_shield_juke | ( | ) |
Definition at line 214 of file _zm_weap_rocketshield.gsc.
References check_weapon_ammo(), and riotshield_melee_juke().
Referenced by on_player_spawned().
function player_watch_upgraded_pickup_from_table | ( | ) |
Definition at line 180 of file _zm_weap_rocketshield.gsc.
References buy(), and IS_TRUE.
Referenced by on_player_spawned().
function riotshield_get_juke_enemies_in_range | ( | ) |
Definition at line 289 of file _zm_weap_rocketshield.gsc.
References ARCHETYPE_MARGWA, RIOTSHIELD_JUKE_DISTANCE, RIOTSHIELD_JUKE_KILL_HALFWIDTH, and RIOTSHIELD_JUKE_KILL_VERT_LIMIT.
Referenced by riotshield_melee_juke().
function riotshield_melee_juke | ( | weapon | ) |
Definition at line 238 of file _zm_weap_rocketshield.gsc.
References DEFAULT, player_damage_shield(), riotshield_fling_zombie(), and riotshield_get_juke_enemies_in_range().
Referenced by player_watch_shield_juke().
function shield_recharge_trigger_think | ( | ) |
Definition at line 454 of file _zm_weap_rocketshield.gsc.
References bottle_trigger_activate(), in_revive_trigger(), IS_DRINKING, and is_player_valid().
Referenced by create_bottle_unitrigger().
function spawn_recharge_tanks | ( | ) |
Definition at line 354 of file _zm_weap_rocketshield.gsc.
References create_bottle_unitrigger(), get_array(), IS_TRUE, MIN_CHARGES_IN_LEVEL, and wait_till().
Referenced by __main__().
function watchFirstUse | ( | ) |
Definition at line 111 of file _zm_weap_rocketshield.gsc.
References ROCKET_SHIELD_HINT_TEXT, ROCKET_SHIELD_HINT_TIMER, and show_hint_text().
Referenced by on_player_connect().