![]() |
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 | ARMOR_BULLET_MULTIPLIER GetDvarFloat( "scr_armor_mod_bullet_mult", .7 ) |
#define | ARMOR_EXPLOSIVE_MULTIPLIER GetDvarFloat( "scr_armor_mod_expl_mult", 1 ) |
#define | ARMOR_MELEE_MULTIPLIER GetDvarFloat( "scr_armor_mod_melee_mult", 2 ) |
#define | ARMOR_MISC_MULTIPLIER GetDvarFloat( "scr_armor_mod_misc_mult", 1 ) |
#define | ARMOR_PROJECTILE_MULTIPLIER GetDvarFloat( "scr_armor_mod_proj_mult", 1 ) |
#define | ARMOR_VIEW_KICK_MULTIPLIER GetDvarFloat( "scr_armor_mod_view_kick_mult", .001 ) |
Functions | |
function | __init__ () |
function | armor_damage_mod_allowed (weapon, sMeansOfDeath) |
function | armor_damage_type_multiplier (sMeansOfDeath) |
function | armor_player_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, modelIndex, psOffsetTime) |
function | armor_should_take_damage (eAttacker, weapon, sMeansOfDeath, sHitLoc) |
function | gadget_armor_flicker (slot, weapon) |
function | gadget_armor_is_flickering (slot) |
function | gadget_armor_is_inuse (slot) |
function | gadget_armor_off (slot, weapon) |
function | gadget_armor_on (slot, weapon) |
function | gadget_armor_on_connect () |
function | gadget_armor_on_flicker (slot, weapon) |
function | gadget_armor_on_give (slot, weapon) |
function | gadget_armor_on_take (slot, weapon) |
function | gadget_armor_status (slot, weapon) |
function | hitpoints_loss_event (val) |
function | set_gadget_status (status, time) |
#define ARMOR_BULLET_MULTIPLIER GetDvarFloat( "scr_armor_mod_bullet_mult", .7 ) |
Definition at line 22 of file _gadget_armor.gsc.
#define ARMOR_EXPLOSIVE_MULTIPLIER GetDvarFloat( "scr_armor_mod_expl_mult", 1 ) |
Definition at line 21 of file _gadget_armor.gsc.
#define ARMOR_MELEE_MULTIPLIER GetDvarFloat( "scr_armor_mod_melee_mult", 2 ) |
Definition at line 20 of file _gadget_armor.gsc.
#define ARMOR_MISC_MULTIPLIER GetDvarFloat( "scr_armor_mod_misc_mult", 1 ) |
Definition at line 23 of file _gadget_armor.gsc.
#define ARMOR_PROJECTILE_MULTIPLIER GetDvarFloat( "scr_armor_mod_proj_mult", 1 ) |
Definition at line 19 of file _gadget_armor.gsc.
#define ARMOR_VIEW_KICK_MULTIPLIER GetDvarFloat( "scr_armor_mod_view_kick_mult", .001 ) |
Definition at line 24 of file _gadget_armor.gsc.
function __init__ | ( | ) |
Definition at line 30 of file _gadget_armor.gsc.
References ARMOR_STATUS_FULL, gadget_armor_is_flickering(), gadget_armor_is_inuse(), gadget_armor_off(), gadget_armor_on(), gadget_armor_on_connect(), gadget_armor_on_flicker(), gadget_armor_on_give(), gadget_armor_on_take(), GADGET_TYPE_ARMOR, on_connect(), register(), register_gadget_activation_callbacks(), register_gadget_flicker_callbacks(), register_gadget_is_flickering_callbacks(), register_gadget_is_inuse_callbacks(), register_gadget_possession_callbacks(), and VERSION_SHIP.
function armor_damage_mod_allowed | ( | weapon | , |
sMeansOfDeath | |||
) |
Definition at line 212 of file _gadget_armor.gsc.
Referenced by armor_should_take_damage().
function armor_damage_type_multiplier | ( | sMeansOfDeath | ) |
Definition at line 170 of file _gadget_armor.gsc.
References ARMOR_BULLET_MULTIPLIER, ARMOR_EXPLOSIVE_MULTIPLIER, ARMOR_MELEE_MULTIPLIER, ARMOR_MISC_MULTIPLIER, and ARMOR_PROJECTILE_MULTIPLIER.
Referenced by armor_player_damage().
function armor_player_damage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
modelIndex | , | ||
psOffsetTime | |||
) |
Definition at line 282 of file _gadget_armor.gsc.
References armor_damage_type_multiplier(), armor_should_take_damage(), ARMOR_VIEW_KICK_MULTIPLIER, damage(), gadget_armor_is_inuse(), hitpoints_loss_event(), power_loss_event(), and set_to_player().
Referenced by gadget_armor_on().
function armor_should_take_damage | ( | eAttacker | , |
weapon | , | ||
sMeansOfDeath | , | ||
sHitLoc | |||
) |
Definition at line 262 of file _gadget_armor.gsc.
References armor_damage_mod_allowed(), and friendlyFireCheck().
Referenced by armor_player_damage(), and update().
function gadget_armor_flicker | ( | slot | , |
weapon | |||
) |
Definition at line 132 of file _gadget_armor.gsc.
References gadget_armor_is_inuse(), and set_gadget_status().
Referenced by gadget_armor_on_flicker().
function gadget_armor_is_flickering | ( | slot | ) |
Definition at line 50 of file _gadget_armor.gsc.
Referenced by __init__().
function gadget_armor_is_inuse | ( | slot | ) |
Definition at line 44 of file _gadget_armor.gsc.
Referenced by __init__(), armor_player_damage(), and gadget_armor_flicker().
function gadget_armor_off | ( | slot | , |
weapon | |||
) |
Definition at line 108 of file _gadget_armor.gsc.
References ARMOR_STATUS_OFF, clear(), get(), and set().
Referenced by __init__(), and gadget_armor_on_take().
function gadget_armor_on | ( | slot | , |
weapon | |||
) |
Definition at line 85 of file _gadget_armor.gsc.
References armor_player_damage(), gadget_armor_status(), and set().
Referenced by __init__().
function gadget_armor_on_connect | ( | ) |
Definition at line 80 of file _gadget_armor.gsc.
Referenced by __init__().
function gadget_armor_on_flicker | ( | slot | , |
weapon | |||
) |
Definition at line 56 of file _gadget_armor.gsc.
References gadget_armor_flicker().
Referenced by __init__().
function gadget_armor_on_give | ( | slot | , |
weapon | |||
) |
Definition at line 62 of file _gadget_armor.gsc.
References ARMOR_STATUS_OFF, and set().
Referenced by __init__().
function gadget_armor_on_take | ( | slot | , |
weapon | |||
) |
Definition at line 72 of file _gadget_armor.gsc.
References gadget_armor_off().
Referenced by __init__().
function gadget_armor_status | ( | slot | , |
weapon | |||
) |
Definition at line 351 of file _gadget_armor.gsc.
References ARMOR_STATUS_FULL, ARMOR_STATUS_OFF, get(), set(), and WAIT_SERVER_FRAME.
Referenced by gadget_armor_on().
function hitpoints_loss_event | ( | val | ) |
Definition at line 343 of file _gadget_armor.gsc.
Referenced by armor_player_damage().
function set_gadget_status | ( | status | , |
time | |||
) |
Definition at line 157 of file _gadget_armor.gsc.
Referenced by gadget_armor_flicker().