Night Vision - Change Apex and Wide NVGs to Gen 4 (#9369)

make Apex and Wide NVGs gen 4
This commit is contained in:
Grim 2023-09-06 20:44:30 -04:00 committed by GitHub
parent 25b8fd6d54
commit c2ab5a24bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,12 +16,18 @@ class CfgWeapons {
modelOptics = ""; modelOptics = "";
GVAR(border) = QPATHTOF(data\nvg_mask_quad_4096.paa); // Use quad tube mask GVAR(border) = QPATHTOF(data\nvg_mask_quad_4096.paa); // Use quad tube mask
GVAR(bluRadius) = 0.26; GVAR(bluRadius) = 0.26;
GVAR(generation) = 4;
}; };
class NVGogglesB_grn_F: NVGoggles { // APEX NVG/Thermal class NVGogglesB_grn_F: NVGoggles { // APEX NVG/Thermal
modelOptics = "\A3\weapons_f_exp\reticle\ENVG.p3d"; // use vanilla modelOptics so it will show in IR mode modelOptics = "\A3\weapons_f_exp\reticle\ENVG.p3d"; // use vanilla modelOptics so it will show in IR mode
GVAR(generation) = 4;
};
class NVGogglesB_blk_F: NVGoggles {
GVAR(generation) = 4;
}; };
class NVGogglesB_gry_F: NVGoggles { class NVGogglesB_gry_F: NVGoggles {
modelOptics = "\A3\weapons_f_exp\reticle\ENVG.p3d"; modelOptics = "\A3\weapons_f_exp\reticle\ENVG.p3d";
GVAR(generation) = 4;
}; };
class NVGoggles_OPFOR: NVGoggles { class NVGoggles_OPFOR: NVGoggles {
modelOptics = ""; modelOptics = "";
@ -105,6 +111,7 @@ class CfgWeapons {
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
modelOptics = QPATHTOF(models\ACE_nvg_wide_optics); modelOptics = QPATHTOF(models\ACE_nvg_wide_optics);
displayName = CSTRING(NVG_Wide_black); displayName = CSTRING(NVG_Wide_black);
GVAR(generation) = 4;
}; };
class ACE_NVG_Wide_Black_WP: ACE_NVG_Wide_Black { class ACE_NVG_Wide_Black_WP: ACE_NVG_Wide_Black {
displayName = CSTRING(NVG_Wide_black_wP); displayName = CSTRING(NVG_Wide_black_wP);
@ -115,6 +122,7 @@ class CfgWeapons {
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
modelOptics = QPATHTOF(models\ACE_nvg_wide_optics); modelOptics = QPATHTOF(models\ACE_nvg_wide_optics);
displayName = CSTRING(NVG_Wide_brown); displayName = CSTRING(NVG_Wide_brown);
GVAR(generation) = 4;
}; };
class ACE_NVG_Wide_WP: ACE_NVG_Wide { class ACE_NVG_Wide_WP: ACE_NVG_Wide {
displayName = CSTRING(NVG_Wide_brown_WP); displayName = CSTRING(NVG_Wide_brown_WP);
@ -125,6 +133,7 @@ class CfgWeapons {
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
modelOptics = QPATHTOF(models\ACE_nvg_wide_optics); modelOptics = QPATHTOF(models\ACE_nvg_wide_optics);
displayName = CSTRING(NVG_Wide_green); displayName = CSTRING(NVG_Wide_green);
GVAR(generation) = 4;
}; };
class ACE_NVG_Wide_Green_WP: ACE_NVG_Wide_Green { class ACE_NVG_Wide_Green_WP: ACE_NVG_Wide_Green {
displayName = CSTRING(NVG_Wide_green_WP); displayName = CSTRING(NVG_Wide_green_WP);