![]() |
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_COLOR_B .2 |
| #define | ARMOR_COLOR_G .3 |
| #define | ARMOR_COLOR_R .3 |
| #define | ARMOR_EXPANSION .3 |
| #define | ARMOR_MATERIAL "mc/mtl_power_armor" |
Functions | |
| function | __init__ () |
| function | armor_get_shader_color (armorStatusNew) |
| function | armor_is_local_player (localClientNum) |
| function | armor_overlay_transition_fx (localClientNum, armorStatusNew) |
| function | armor_update_fx_event (localClientNum, doArmorFx) |
| function | armor_update_shader_event (localClientNum, armorStatusNew) |
| function | on_local_player_spawned (localClientNum) |
| function | player_armor_changed (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | player_armor_changed_event (localClientNum, newVal) |
| function | player_damage_type_changed (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| #define ARMOR_COLOR_B .2 |
Definition at line 21 of file _gadget_armor.csc.
| #define ARMOR_COLOR_G .3 |
Definition at line 20 of file _gadget_armor.csc.
| #define ARMOR_COLOR_R .3 |
Definition at line 19 of file _gadget_armor.csc.
| #define ARMOR_EXPANSION .3 |
Definition at line 22 of file _gadget_armor.csc.
| #define ARMOR_MATERIAL "mc/mtl_power_armor" |
Definition at line 18 of file _gadget_armor.csc.
| function __init__ | ( | ) |
Definition at line 26 of file _gadget_armor.csc.
References ARMOR_MATERIAL, CF_CALLBACK_ZERO_ON_NEW_ENT, CF_HOST_ONLY, DR_CULL_ALWAYS, DR_TYPE_FRAMEBUFFER_DUPLICATE, on_local_player_spawned(), on_localplayer_spawned(), player_armor_changed(), player_damage_type_changed(), register(), set_dr_filter_framebuffer_duplicate(), and VERSION_SHIP.
| function armor_get_shader_color | ( | armorStatusNew | ) |
Definition at line 95 of file _gadget_armor.csc.
References ARMOR_COLOR_B, ARMOR_COLOR_G, and ARMOR_COLOR_R.
Referenced by armor_update_shader_event().
| function armor_is_local_player | ( | localClientNum | ) |
Definition at line 189 of file _gadget_armor.csc.
Referenced by armor_update_fx_event().
| function armor_overlay_transition_fx | ( | localClientNum | , |
| armorStatusNew | |||
| ) |
Definition at line 146 of file _gadget_armor.csc.
References ARMOR_STATUS_FULL, ARMOR_STATUS_OFF, and IS_TRUE.
| function armor_update_fx_event | ( | localClientNum | , |
| doArmorFx | |||
| ) |
Definition at line 127 of file _gadget_armor.csc.
References armor_is_local_player().
Referenced by player_armor_changed_event(), and player_damage_type_changed().
| function armor_update_shader_event | ( | localClientNum | , |
| armorStatusNew | |||
| ) |
Definition at line 62 of file _gadget_armor.csc.
References ARMOR_EXPANSION, armor_get_shader_color(), ARMOR_STATUS_FULL, and update_dr_flag().
Referenced by player_armor_changed_event().
| function on_local_player_spawned | ( | localClientNum | ) |
Definition at line 35 of file _gadget_armor.csc.
References get(), and player_armor_changed_event().
Referenced by __init__().
| function player_armor_changed | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 50 of file _gadget_armor.csc.
References player_armor_changed_event().
Referenced by __init__().
| function player_armor_changed_event | ( | localClientNum | , |
| newVal | |||
| ) |
Definition at line 55 of file _gadget_armor.csc.
References armor_update_fx_event(), and armor_update_shader_event().
Referenced by on_local_player_spawned(), and player_armor_changed().
| function player_damage_type_changed | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 45 of file _gadget_armor.csc.
References armor_update_fx_event().
Referenced by __init__().