Night Vision - Add color variants to all generations (#8209)

This commit is contained in:
JoramD 2021-05-09 18:49:56 +02:00 committed by GitHub
parent 97701fc075
commit 2e1e6daef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 92 additions and 69 deletions

View File

@ -106,6 +106,7 @@ Hawkins
Head <brobergsebastian@gmail.com> Head <brobergsebastian@gmail.com>
Hybrid V Hybrid V
john681611 <john681611@hotmail.com> john681611 <john681611@hotmail.com>
JoramD
Karneck <dschultz26@hotmail.com> Karneck <dschultz26@hotmail.com>
Kavinsky <nmunozfernandez@gmail.com> Kavinsky <nmunozfernandez@gmail.com>
Keithen <Keithen.Neu@gmail.com> Keithen <Keithen.Neu@gmail.com>

View File

@ -27,23 +27,63 @@ class CfgWeapons {
}; };
class ACE_NVG_Gen1: NVGoggles_OPFOR { class ACE_NVG_Gen1: NVGoggles_OPFOR {
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
displayName = CSTRING(NVG_Gen1); displayName = CSTRING(NVG_Gen1_black);
GVAR(generation) = 1; GVAR(generation) = 1;
}; };
class ACE_NVG_Gen1_Brown: NVGoggles {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(NVG_Gen1_brown);
GVAR(generation) = 1;
};
class ACE_NVG_Gen1_Green: NVGoggles_INDEP {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(NVG_Gen1_green);
GVAR(generation) = 1;
};
class ACE_NVG_Gen2_Black: NVGoggles_OPFOR {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(NVG_Gen2_black);
GVAR(generation) = 2;
};
class ACE_NVG_Gen2_Brown: NVGoggles {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(NVG_Gen2_brown);
GVAR(generation) = 2;
};
class ACE_NVG_Gen2: NVGoggles_INDEP { class ACE_NVG_Gen2: NVGoggles_INDEP {
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
displayName = CSTRING(NVG_Gen2); displayName = CSTRING(NVG_Gen2_green);
GVAR(generation) = 2; GVAR(generation) = 2;
}; };
class ACE_NVG_Gen4_Black: NVGoggles_OPFOR {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(NVG_Gen4_black);
GVAR(generation) = 4;
};
class ACE_NVG_Gen4: NVGoggles { class ACE_NVG_Gen4: NVGoggles {
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
displayName = CSTRING(NVG_Gen4); displayName = CSTRING(NVG_Gen4_brown);
GVAR(generation) = 4; GVAR(generation) = 4;
}; };
class ACE_NVG_Gen4_Green: NVGoggles_INDEP {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(NVG_Gen4_green);
GVAR(generation) = 4;
};
class ACE_NVG_Wide_Black: NVGoggles_OPFOR {
author = ECSTRING(common,ACETeam);
modelOptics = QPATHTOF(models\ACE_nvg_wide_optics);
displayName = CSTRING(NVG_Wide_black);
};
class ACE_NVG_Wide: NVGoggles { class ACE_NVG_Wide: NVGoggles {
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_FullScreen); displayName = CSTRING(NVG_Wide_brown);
};
class ACE_NVG_Wide_Green: NVGoggles_INDEP {
author = ECSTRING(common,ACETeam);
modelOptics = QPATHTOF(models\ACE_nvg_wide_optics);
displayName = CSTRING(NVG_Wide_green);
}; };

View File

@ -4,7 +4,21 @@ class CfgPatches {
class ADDON { class ADDON {
name = COMPONENT_NAME; name = COMPONENT_NAME;
units[] = {}; units[] = {};
weapons[] = {"ACE_NVG_Gen1", "ACE_NVG_Gen2", /*"ACE_NVG_Gen3",*/ "ACE_NVG_Gen4", "ACE_NVG_Wide"}; weapons[] = {
"ACE_NVG_Gen1",
"ACE_NVG_Gen1_Brown",
"ACE_NVG_Gen1_Green",
"ACE_NVG_Gen2_Black",
"ACE_NVG_Gen2_Brown",
"ACE_NVG_Gen2",
/*"ACE_NVG_Gen3",*/
"ACE_NVG_Gen4_Black",
"ACE_NVG_Gen4",
"ACE_NVG_Gen4_Green",
"ACE_NVG_Wide_Black",
"ACE_NVG_Wide",
"ACE_NVG_Wide_Green"
};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);

View File

@ -16,39 +16,23 @@
<Turkish>ACE Gece Görüşü</Turkish> <Turkish>ACE Gece Görüşü</Turkish>
<Spanish>ACE visión nocturna</Spanish> <Spanish>ACE visión nocturna</Spanish>
</Key> </Key>
<Key ID="STR_ACE_NightVision_NVG_Gen1"> <Key ID="STR_ACE_NightVision_NVG_Gen1_brown">
<English>NV Goggles (Gen1)</English> <English>NV Goggles (Gen1, Brown)</English>
<Czech>Noktovizor (Gen1)</Czech>
<French>JVN (Gen1)</French>
<German>NS-Brille (1. Gen.)</German>
<Italian>Occhiali notturni (Gen1)</Italian>
<Polish>Gogle noktowizyjne (Gen1)</Polish>
<Portuguese>Óculos de visão noturna (Gen1)</Portuguese>
<Russian>ПНВ (Gen1)</Russian>
<Spanish>Gafas de visión nocturna (Gen1)</Spanish>
<Hungarian>Éjjellátó szemüveg (1. Gen.)</Hungarian>
<Japanese>暗視装置 (第1世代)</Japanese>
<Korean>야투경 (1세대)</Korean>
<Chinesesimp>夜视镜 (初代)</Chinesesimp>
<Chinese>夜視鏡 (初代)</Chinese>
<Turkish>GG Gözlüğü (1. Jen)</Turkish>
</Key> </Key>
<Key ID="STR_ACE_NightVision_NVG_Gen2"> <Key ID="STR_ACE_NightVision_NVG_Gen1_black">
<English>NV Goggles (Gen2)</English> <English>NV Goggles (Gen1, Black)</English>
<Czech>Noktovizor (Gen2)</Czech> </Key>
<French>JVN (Gen2)</French> <Key ID="STR_ACE_NightVision_NVG_Gen1_green">
<German>NS-Brille (2. Gen.)</German> <English>NV Goggles (Gen1, Green)</English>
<Italian>Occhiali notturni (Gen2)</Italian> </Key>
<Polish>Gogle noktowizyjne (Gen2)</Polish> <Key ID="STR_ACE_NightVision_NVG_Gen2_brown">
<Portuguese>Óculos de visão noturna (Gen2)</Portuguese> <English>NV Goggles (Gen2, Brown)</English>
<Russian>ПНВ (Gen2)</Russian> </Key>
<Spanish>Gafas de visión nocturna (Gen2)</Spanish> <Key ID="STR_ACE_NightVision_NVG_Gen2_black">
<Hungarian>Éjjellátó szemüveg (2. Gen.)</Hungarian> <English>NV Goggles (Gen2, Black)</English>
<Japanese>暗視装置 (第2世代)</Japanese> </Key>
<Korean>야투경 (2세대)</Korean> <Key ID="STR_ACE_NightVision_NVG_Gen2_green">
<Chinesesimp>夜视镜 (二代)</Chinesesimp> <English>NV Goggles (Gen2, Green)</English>
<Chinese>夜視鏡 (二代)</Chinese>
<Turkish>GG Gözlüğü (2. Jen)</Turkish>
</Key> </Key>
<Key ID="STR_ACE_NightVision_NVG_Gen3"> <Key ID="STR_ACE_NightVision_NVG_Gen3">
<English>NV Goggles (Gen3)</English> <English>NV Goggles (Gen3)</English>
@ -118,39 +102,23 @@
<Chinese>夜視鏡 (三代, 黑色)</Chinese> <Chinese>夜視鏡 (三代, 黑色)</Chinese>
<Turkish>GG Gözlüğü (3. Jen Siyah)</Turkish> <Turkish>GG Gözlüğü (3. Jen Siyah)</Turkish>
</Key> </Key>
<Key ID="STR_ACE_NightVision_NVG_Gen4"> <Key ID="STR_ACE_NightVision_NVG_Gen4_brown">
<English>NV Goggles (Gen4)</English> <English>NV Goggles (Gen4, Brown)</English>
<Czech>Noktovizor (Gen4)</Czech>
<French>JVN (Gen4)</French>
<German>NS-Brille (4. Gen.)</German>
<Italian>Occhiali notturni (Gen4)</Italian>
<Polish>Gogle noktowizyjne (Gen4)</Polish>
<Portuguese>Óculos de visão noturna (Gen4)</Portuguese>
<Russian>ПНВ (Gen4)</Russian>
<Spanish>Gafas de visión nocturna (Gen4)</Spanish>
<Hungarian>Éjjellátó szemüveg (4. Gen.)</Hungarian>
<Japanese>暗視装置 (第4世代)</Japanese>
<Korean>야투경 (4세대)</Korean>
<Chinesesimp>夜视镜 (四代)</Chinesesimp>
<Chinese>夜視鏡 (四代)</Chinese>
<Turkish>GG Gözlüğü (4. Jen)</Turkish>
</Key> </Key>
<Key ID="STR_ACE_NightVision_NVG_FullScreen"> <Key ID="STR_ACE_NightVision_NVG_Gen4_black">
<English>NV Goggles (Wide)</English> <English>NV Goggles (Gen4, Black)</English>
<German>NS-Brille (Weitwinkel)</German> </Key>
<Spanish>Gafas de visión nocturna (Panorámicas)</Spanish> <Key ID="STR_ACE_NightVision_NVG_Gen4_green">
<Polish>Gogle noktowizyjne (panoramiczne)</Polish> <English>NV Goggles (Gen4, Green)</English>
<Czech>Noktovizor (Širokoúhlý)</Czech> </Key>
<Russian>ПНВ (Широкоугольный)</Russian> <Key ID="STR_ACE_NightVision_NVG_Wide_brown">
<French>JVN (Large)</French> <English>NV Goggles (Wide, Brown)</English>
<Hungarian>Éjjellátó szemüveg (széles látószögű)</Hungarian> </Key>
<Portuguese>Óculos de visão noturna (Panorâmico)</Portuguese> <Key ID="STR_ACE_NightVision_NVG_Wide_black">
<Italian>Occhiali notturni (Larghi)</Italian> <English>NV Goggles (Wide, Black)</English>
<Japanese>暗視装置 (ワイド)</Japanese> </Key>
<Korean>야투경 (넓음)</Korean> <Key ID="STR_ACE_NightVision_NVG_Wide_green">
<Chinesesimp>夜视镜 (宽版)</Chinesesimp> <English>NV Goggles (Wide, Green)</English>
<Chinese>夜視鏡 (寬版)</Chinese>
<Turkish>GG Gözlüğü (Geniş)</Turkish>
</Key> </Key>
<Key ID="STR_ACE_NightVision_NVGBrightness"> <Key ID="STR_ACE_NightVision_NVGBrightness">
<English>Brightness: %1</English> <English>Brightness: %1</English>