![]() |
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 | WIDOWS_WINE_COCOON_MAX_SCORE 10 |
#define | WIDOWS_WINE_SLOW_MAX_SCORE 6 |
#define | WW_MELEE_COCOON_CHANCE 0.50 |
#define | WW_POWERUP_DROP_CHANCE_MELEE 0.25 |
#define | WW_POWERUP_DROP_CHANCE_NORMAL 0.20 |
#define | WW_POWERUP_DROP_CHANCE_WEBBING 0.15 |
Functions | |
function | __init__ () |
function | enable_widows_wine_perk_for_level () |
function | grenade_bounce_monitor () |
function | grenade_bounces () |
function | init_widows_wine () |
function | powerup_widows_wine_timeout () |
function | vehicle_stuck_grenade_monitor () |
function | widows_wine_cocoon_zombie (e_player) |
function | widows_wine_cocoon_zombie_score (e_player, duration, max_score) |
function | widows_wine_contact_explosion () |
function | widows_wine_damage_callback (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime) |
function | widows_wine_override_melee_wallbuy_purchase (vo_dialog_id, flourish_weapon, weapon, ballistic_weapon, ballistic_upgraded_weapon, flourish_fn, wallbuy) |
function | widows_wine_override_wallbuy_purchase (weapon, wallbuy) |
function | widows_wine_perk_activate () |
function | widows_wine_perk_lost (b_pause, str_perk, str_result) |
function | widows_wine_perk_machine_setup (use_trigger, perk_machine, bump_trigger, collision) |
function | widows_wine_precache () |
function | widows_wine_register_clientfield () |
function | widows_wine_set_clientfield (state) |
function | widows_wine_slow_zombie (e_player) |
function | widows_wine_vehicle_behavior (attacker, weapon) |
function | widows_wine_vehicle_damage_response (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) |
function | widows_wine_zombie_damage_response (str_mod, str_hit_location, v_hit_origin, e_player, n_amount, w_weapon, direction_vec, tagName, modelName, partName, dFlags, inflictor, chargeLevel) |
function | widows_wine_zombie_death_watch (attacker) |
#define WIDOWS_WINE_COCOON_MAX_SCORE 10 |
Definition at line 395 of file _zm_perk_widows_wine.gsc.
#define WIDOWS_WINE_SLOW_MAX_SCORE 6 |
Definition at line 396 of file _zm_perk_widows_wine.gsc.
#define WW_MELEE_COCOON_CHANCE 0.50 |
Definition at line 218 of file _zm_perk_widows_wine.gsc.
#define WW_POWERUP_DROP_CHANCE_MELEE 0.25 |
Definition at line 309 of file _zm_perk_widows_wine.gsc.
#define WW_POWERUP_DROP_CHANCE_NORMAL 0.20 |
Definition at line 308 of file _zm_perk_widows_wine.gsc.
#define WW_POWERUP_DROP_CHANCE_WEBBING 0.15 |
Definition at line 307 of file _zm_perk_widows_wine.gsc.
function __init__ | ( | ) |
Definition at line 55 of file _zm_perk_widows_wine.gsc.
References enable_widows_wine_perk_for_level().
function enable_widows_wine_perk_for_level | ( | ) |
Definition at line 60 of file _zm_perk_widows_wine.gsc.
References init_widows_wine(), IS_TRUE, PERK_WIDOWS_WINE, register(), register_perk_basic_info(), register_perk_clientfields(), register_perk_host_migration_params(), register_perk_machine(), register_perk_precache_func(), register_perk_threads(), VERSION_SHIP, WIDOWS_WINE_FX_MACHINE_LIGHT, WIDOWS_WINE_NAME, widows_wine_perk_activate(), WIDOWS_WINE_PERK_BOTTLE_WEAPON, WIDOWS_WINE_PERK_COST, widows_wine_perk_lost(), widows_wine_perk_machine_setup(), widows_wine_precache(), WIDOWS_WINE_RADIANT_MACHINE_NAME, widows_wine_register_clientfield(), and widows_wine_set_clientfield().
Referenced by __init__().
function grenade_bounce_monitor | ( | ) |
Definition at line 529 of file _zm_perk_widows_wine.gsc.
References grenade_bounces().
Referenced by widows_wine_perk_activate().
function grenade_bounces | ( | ) |
Definition at line 542 of file _zm_perk_widows_wine.gsc.
References ARCHETYPE_PARASITE, ARCHETYPE_RAPS, and e_target.
Referenced by grenade_bounce_monitor().
function init_widows_wine | ( | ) |
Definition at line 130 of file _zm_perk_widows_wine.gsc.
References register_lethal_grenade_for_level(), register_melee_weapon_for_level(), register_perk_damage_override_func(), register_vehicle_damage_callback(), register_zombie_damage_callback(), register_zombie_death_event_callback(), WIDOWS_WINE_BOWIE_KNIFE, widows_wine_damage_callback(), WIDOWS_WINE_GRENADE, WIDOWS_WINE_KNIFE, WIDOWS_WINE_SICKLE_KNIFE, widows_wine_vehicle_damage_response(), widows_wine_zombie_damage_response(), and widows_wine_zombie_death_watch().
Referenced by enable_widows_wine_perk_for_level().
function powerup_widows_wine_timeout | ( | ) |
Definition at line 338 of file _zm_perk_widows_wine.gsc.
References powerup_delete(), and powerup_show().
Referenced by widows_wine_zombie_death_watch().
function vehicle_stuck_grenade_monitor | ( | ) |
Definition at line 519 of file _zm_perk_widows_wine.gsc.
Referenced by widows_wine_vehicle_damage_response().
function widows_wine_cocoon_zombie | ( | e_player | ) |
Definition at line 417 of file _zm_perk_widows_wine.gsc.
References CF_WIDOWS_WINE_WRAP, IS_TRUE, set(), waittill_any_timeout(), WIDOWS_WINE_COCOON_DURATION, WIDOWS_WINE_COCOON_FRACTION, WIDOWS_WINE_COCOON_MAX_SCORE, and widows_wine_cocoon_zombie_score().
Referenced by widows_wine_slow_zombie(), and widows_wine_zombie_damage_response().
function widows_wine_cocoon_zombie_score | ( | e_player | , |
duration | , | ||
max_score | |||
) |
Definition at line 398 of file _zm_perk_widows_wine.gsc.
References add_to_player_score(), and DEFAULT.
Referenced by widows_wine_cocoon_zombie(), and widows_wine_slow_zombie().
function widows_wine_contact_explosion | ( | ) |
Definition at line 211 of file _zm_perk_widows_wine.gsc.
References increment_to_player().
Referenced by widows_wine_damage_callback().
function widows_wine_damage_callback | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
sWeapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
psOffsetTime | |||
) |
Definition at line 282 of file _zm_perk_widows_wine.gsc.
References is_enabled(), widows_wine_contact_explosion(), and WIDOWS_WINE_CONTACT_EXPLOSION_COUNT.
Referenced by init_widows_wine().
function widows_wine_override_melee_wallbuy_purchase | ( | vo_dialog_id | , |
flourish_weapon | , | ||
weapon | , | ||
ballistic_weapon | , | ||
ballistic_upgraded_weapon | , | ||
flourish_fn | , | ||
wallbuy | |||
) |
Definition at line 673 of file _zm_perk_widows_wine.gsc.
References can_player_purchase(), create_and_play_dialog(), give_melee_weapon(), is_melee_weapon(), melee_weapon_show(), minus_to_player_score(), play_sound_on_ent(), and set().
Referenced by widows_wine_perk_activate().
function widows_wine_override_wallbuy_purchase | ( | weapon | , |
wallbuy | |||
) |
Definition at line 652 of file _zm_perk_widows_wine.gsc.
References create_and_play_dialog(), is_lethal_grenade(), and play_sound_on_ent().
Referenced by widows_wine_perk_activate().
function widows_wine_perk_activate | ( | ) |
Definition at line 155 of file _zm_perk_widows_wine.gsc.
References get_player_lethal_grenade(), get_player_melee_weapon(), grenade_bounce_monitor(), set_player_lethal_grenade(), set_player_melee_weapon(), widows_wine_override_melee_wallbuy_purchase(), and widows_wine_override_wallbuy_purchase().
Referenced by enable_widows_wine_perk_for_level().
function widows_wine_perk_lost | ( | b_pause | , |
str_perk | , | ||
str_result | |||
) |
Definition at line 590 of file _zm_perk_widows_wine.gsc.
References get_player_lethal_grenade(), init_player_lethal_grenade(), init_player_melee_weapon(), PERK_WIDOWS_WINE, player_is_in_laststand(), set_player_lethal_grenade(), and set_player_melee_weapon().
Referenced by enable_widows_wine_perk_for_level().
function widows_wine_perk_machine_setup | ( | use_trigger | , |
perk_machine | , | ||
bump_trigger | , | ||
collision | |||
) |
Definition at line 112 of file _zm_perk_widows_wine.gsc.
Referenced by enable_widows_wine_perk_for_level().
function widows_wine_precache | ( | ) |
Definition at line 81 of file _zm_perk_widows_wine.gsc.
References PERK_WIDOWS_WINE, WIDOWS_WINE_FX_FILE_MACHINE_LIGHT, WIDOWS_WINE_FX_FILE_WRAP, WIDOWS_WINE_FX_MACHINE_LIGHT, WIDOWS_WINE_FX_WRAP, WIDOWS_WINE_MACHINE_ACTIVE_MODEL, WIDOWS_WINE_MACHINE_DISABLED_MODEL, and WIDOWS_WINE_PERK_BOTTLE_WEAPON.
Referenced by enable_widows_wine_perk_for_level().
function widows_wine_register_clientfield | ( | ) |
Definition at line 98 of file _zm_perk_widows_wine.gsc.
References CF_WIDOWS_WINE_WRAP, PERK_CLIENTFIELD_WIDOWS_WINE, register(), and VERSION_SHIP.
Referenced by enable_widows_wine_perk_for_level().
function widows_wine_set_clientfield | ( | state | ) |
Definition at line 107 of file _zm_perk_widows_wine.gsc.
References PERK_CLIENTFIELD_WIDOWS_WINE, and set_player_uimodel().
Referenced by enable_widows_wine_perk_for_level().
function widows_wine_slow_zombie | ( | e_player | ) |
Definition at line 470 of file _zm_perk_widows_wine.gsc.
References CF_WIDOWS_WINE_WRAP, IS_TRUE, set(), waittill_any_timeout(), widows_wine_cocoon_zombie(), widows_wine_cocoon_zombie_score(), WIDOWS_WINE_SLOW_DURATION, WIDOWS_WINE_SLOW_FRACTION, and WIDOWS_WINE_SLOW_MAX_SCORE.
Referenced by widows_wine_zombie_damage_response().
function widows_wine_vehicle_behavior | ( | attacker | , |
weapon | |||
) |
Definition at line 558 of file _zm_perk_widows_wine.gsc.
References ARCHETYPE_PARASITE, ARCHETYPE_RAPS, CF_WIDOWS_WINE_WRAP, SERVER_FRAME, set(), WIDOWS_WINE_ELEMENTAL_SPEED_OVERRIDE, and WIDOWS_WINE_SLOW_DURATION.
Referenced by widows_wine_vehicle_damage_response().
function widows_wine_vehicle_damage_response | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | , | ||
vSurfaceNormal | |||
) |
Definition at line 258 of file _zm_perk_widows_wine.gsc.
References ARCHETYPE_PARASITE, IS_TRUE, player_add_points(), vehicle_stuck_grenade_monitor(), and widows_wine_vehicle_behavior().
Referenced by init_widows_wine().
function widows_wine_zombie_damage_response | ( | str_mod | , |
str_hit_location | , | ||
v_hit_origin | , | ||
e_player | , | ||
n_amount | , | ||
w_weapon | , | ||
direction_vec | , | ||
tagName | , | ||
modelName | , | ||
partName | , | ||
dFlags | , | ||
inflictor | , | ||
chargeLevel | |||
) |
Definition at line 221 of file _zm_perk_widows_wine.gsc.
References check_for_instakill(), IS_EQUAL, IS_TRUE, PERK_WIDOWS_WINE, player_add_points(), WIDOWS_WINE_COCOON_RADIUS_SQ, widows_wine_cocoon_zombie(), widows_wine_slow_zombie(), and WW_MELEE_COCOON_CHANCE.
Referenced by init_widows_wine().
function widows_wine_zombie_death_watch | ( | attacker | ) |
Definition at line 311 of file _zm_perk_widows_wine.gsc.
References IS_TRUE, PERK_WIDOWS_WINE, powerup_widows_wine_timeout(), specific_powerup_drop(), WW_POWERUP_DROP_CHANCE_MELEE, WW_POWERUP_DROP_CHANCE_NORMAL, and WW_POWERUP_DROP_CHANCE_WEBBING.
Referenced by init_widows_wine().