123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- #define COMPONENT nvg
- #include "../../RD501_main/config_macros.hpp"
- #include "../_common/common.hpp"
- class CfgPatches
- {
- class macro_patch_name(nvg)
- {
- author=DANKAUTHORS;
- addonRootClass= macro_patch_name(weapons)
- requiredAddons[]=
- {
- macro_patch_name(weapons)
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
- macro_new_weapon(nvg_integrated,pilot),
- macro_new_weapon(nvg_integrated,infantry),
- macro_new_weapon(nvg,visor),
- macro_new_weapon(nvg,visor_perma_down),
- macro_new_weapon(nvg,antenna),
- macro_new_weapon(nvg,501_antenna),
- macro_new_weapon(nvg,501_visor_perma_down),
- macro_new_weapon(nvg_integrated,pilot_test)
- };
- };
- };
- class cfgWeapons
- {
- class Integrated_NVG_TI_1_F;
- class NVGoggles;
- class macro_new_weapon(nvg_integrated,pilot): Integrated_NVG_TI_1_F
- {
- scope = 1;
- visionMode[] = {"Normal", "NVG", "TI"};
-
- modelOptics = "";
- macro_thermal_nvg_default
- };
- class macro_new_weapon(nvg_integrated,pilot_test): macro_new_weapon(nvg_integrated,pilot)
- {
- scope = 1;
- visionMode[] = {"Normal", "NVG", "TI"};
- thermalMode[] = {8};
- modelOptics = "";
- };
- class macro_new_weapon(nvg_integrated,pilot_erlien): macro_new_weapon(nvg_integrated,pilot)
- {
- scope = 1;
- visionMode[] = {"Normal", "NVG", "TI"};
- thermalMode[] = {4,8};
- modelOptics = "";
- };
- class macro_new_weapon(nvg_integrated,infantry): Integrated_NVG_TI_1_F
- {
- scope = 1;
- visionMode[] = {"Normal", "NVG"};
- thermalMode[] = {};
- modelOptics = "";
- };
- #include "swop_edit.hpp"
- class macro_new_weapon(nvg,visor) : SWOP_visor_w
- {
- modelOptics = "";
- useModelOptics = 1;
- opticsDisablePeripherialVision = 0;
- visionMode[] = {"Normal","NVG","TI"};
- macro_thermal_nvg_default
- dlc = "rd501";
- author= "RD501";
- displayName = "Clone Visor 501";
- hiddenSelections[] = {"Camo1"};
- hiddenSelectionsTextures[] = {
- texturepath\nvg\visor_501_co.paa
- };
- };
-
-
- class macro_new_weapon(nvg,visor_perma_down) : macro_new_weapon(nvg,visor)
- {
- displayName = "Clone Visor 501 (perma down)";
- macro_thermal_nvg_default
- class ItemInfo
- {
- type = 616;
- hmdType = 0;
- uniformModel = "SWOP_clones\nvg\visor.p3d";
- modelOff = "SWOP_clones\nvg\visor.p3d";
- mass = 4;
- hiddenSelections[] = {"Camo1"};
- hiddenSelectionsTextures[] = {texturepath\nvg\visor_501_co.paa};
- };
- hiddenSelections[] = {"Camo1"};
- hiddenSelectionsTextures[] = {texturepath\nvg\visor_501_co.paa};
- };
- class macro_new_weapon(nvg,antenna) : SWOP_visor_antenna
- {
- modelOptics = "";
- useModelOptics = 1;
- opticsDisablePeripherialVision = 0;
- visionMode[] = {"Normal","NVG","TI"};
- macro_thermal_nvg_default
- opticsZoomMin = 1;
- opticsZoomMax = 1300;
- opticsZoomInit = 1305;
- distanceZoomMin = 100;
- distanceZoomMax = 1300;
- dlc = "rd501";
- author= "RD501";
- displayName = "Clone Visor Down + antenna";
- class ItemInfo
- {
- type = 616;
- hmdType = 0;
- uniformModel = "SWOP_clones\nvg\visor_antenna.p3d";
- modelOff = "SWOP_clones\nvg\visor_antenna.p3d";
- mass = 4;
- hiddenSelections[] = {"Camo1"};
- hiddenSelectionsTextures[] = {
- texturepath\nvg\visor_501_co.paa
- };
- };
- hiddenSelections[] = {"Camo1"};
- hiddenSelectionsTextures[] = {
- texturepath\nvg\visor_501_co.paa
- };
-
-
- };
- class macro_new_weapon(nvg,501_antenna) : SWOP_visor_antenna
- {
- modelOptics = "";
- useModelOptics = 1;
- opticsDisablePeripherialVision = 0;
- visionMode[] = {"Normal","NVG","TI"};
- macro_thermal_nvg_default
- dlc = "rd501";
- author= "RD501";
- displayName = "Clone Visor 501 + antenna";
- class ItemInfo
- {
- type = 616;
- hmdType = 0;
- uniformModel = "SWOP_clones\nvg\visor_antenna.p3d";
- modelOff = "SWOP_clones\nvg\visorOff_antenna.p3d";
- mass = 4;
- hiddenSelections[] = {"Camo1"};
- hiddenSelectionsTextures[] = {
- texturepath\nvg\visor_501_co.paa
- };
- };
- hiddenSelections[] = {"Camo1"};
- hiddenSelectionsTextures[] = {
- texturepath\nvg\visor_501_co.paa
- };
-
-
- };
- class macro_new_weapon(nvg,501_visor_perma_down) : macro_new_weapon(nvg,visor)
- {
- displayName = "Clone Visor (perma down)";
- class ItemInfo
- {
- type = 616;
- hmdType = 0;
- uniformModel = "SWOP_clones\nvg\visor.p3d";
- modelOff = "SWOP_clones\nvg\visor.p3d";
- mass = 4;
- };
- hiddenSelections[] = {"Camo1"};
- hiddenSelectionsTextures[] = {"SWOP_clones\data\spec\Spec2_co.paa"};
- macro_thermal_nvg_default
- };
- class macro_new_weapon(nvg,shock_trooper) : SWOP_NVChip2
- {
- visionMode[] = {"Normal"};
- dlc = "rd501";
- author= "RD501";
- RD501_isNV = 1;
- displayName = "Shock Trooper Chip";
- };
- class macro_new_weapon(nvg,shock_trooper_enhanced) : SWOP_NVChip2
- {
- visionMode[] = {"Normal","TI"};
- thermalMode[] = {0,2};
- dlc = "rd501";
- author= "RD501";
- RD501_isNV = 1;
- displayName = "Shock Trooper Enhanced Chip";
- };
- };
|