Forráskód Böngészése

NVG's / Thermals

Added
Zatama 5 éve
szülő
commit
93a071a890

+ 23 - 0
src/addons/RD501_Units/blufor/clones/_headwear.hpp

@@ -9,10 +9,24 @@ class JLTS_CloneNVGCC;
 class JLTS_CloneNVGMC;
 class JLTS_CloneBinocular;
 class JLTS_CloneBinocular_black;
+class swop_nvchipclean;
 
+class rd501_swop_nvchipclean: swop_nvchipclean
+{
+    displayname = "Operator Class Vision Enhancement Chip";
+    modelOptics="";
+    thermalMode[] = {0,1,2,3,4,5};
+    visionMode[]=
+    {
+        "Normal",
+        "NVG",
+        "TI"
+    };  
+}
 class rd501_JLTS_CloneNVG: JLTS_CloneNVG
 {
     displayname = "[GAR] Clone Viewfinder Visor (Toggle)";
+    modelOptics="";
     visionMode[]=
     {
         "Normal",
@@ -23,6 +37,7 @@ class rd501_JLTS_CloneNVG: JLTS_CloneNVG
 class rd501_JLTS_CloneNVG_501st: JLTS_CloneNVG
 {
     displayname = "[501st] Clone Viewfinder Visor (Toggle)";
+    modelOptics="";
     visionMode[]=
     {
         "Normal",
@@ -37,6 +52,7 @@ class rd501_JLTS_CloneNVG_501st: JLTS_CloneNVG
 class rd501_JLTS_CloneNVG_spec: JLTS_CloneNVG_spec
 {
     displayname = "[GAR] Clone Viewfinder Visor (Active)";
+    modelOptics="";
     visionMode[]=
     {
         "Normal",
@@ -47,6 +63,7 @@ class rd501_JLTS_CloneNVG_spec: JLTS_CloneNVG_spec
 class rd501_JLTS_CloneNVG_spec_501st: JLTS_CloneNVG_spec
 {
     displayname = "[501st] Clone Viewfinder Visor (Active)";
+    modelOptics="";
     visionMode[]=
     {
         "Normal",
@@ -61,6 +78,7 @@ class rd501_JLTS_CloneNVG_spec_501st: JLTS_CloneNVG_spec
 class rd501_JLTS_CloneNVGRange: JLTS_CloneNVGRange
 {
     displayname = "[501st] Clone Viewfinder Antenna (Toggle)";
+    modelOptics="";
     visionMode[]=
     {
         "Normal",
@@ -70,6 +88,7 @@ class rd501_JLTS_CloneNVGRange: JLTS_CloneNVGRange
 class rd501_JLTS_CloneNVGRange_arc: JLTS_CloneNVGRange
 {
     displayname = "[501st] ARC Viewfinder Antenna (Toggle)";
+    modelOptics="";
     visionMode[]=
     {
         "Normal",
@@ -80,6 +99,7 @@ class rd501_JLTS_CloneNVGRange_arc: JLTS_CloneNVGRange
 class rd501_JLTS_CloneNVGRange_down: JLTS_CloneNVGRange
 {
     displayname = "[501st] Clone Viewfinder Antenna (Active)";
+    modelOptics="";
     visionMode[]=
     {
         "Normal",
@@ -100,6 +120,7 @@ class rd501_JLTS_CloneNVGRange_down: JLTS_CloneNVGRange
 class rd501_JLTS_CloneNVGRange_down_arc: rd501_JLTS_CloneNVGRange_down
 {
     displayname = "[501st] ARC Viewfinder Antenna (Active)"
+    modelOptics="";
     visionMode[]=
     {
         "Normal",
@@ -110,6 +131,7 @@ class rd501_JLTS_CloneNVGRange_down_arc: rd501_JLTS_CloneNVGRange_down
 class rd501_JLTS_CloneNVGCC: JLTS_CloneNVGCC
 {
     displayname = "[501st] Clone Officer Visor";
+    modelOptics="";
     visionMode[]=
     {
         "Normal",
@@ -120,6 +142,7 @@ class rd501_JLTS_CloneNVGCC: JLTS_CloneNVGCC
 class rd501_JLTS_CloneNVGMC: JLTS_CloneNVGMC
 {
     displayname = "[501st] Clone Commander Visor";
+    modelOptics="";
     visionMode[]=
     {
         "Normal",

+ 7 - 0
src/addons/RD501_Units/blufor/clones/config.cpp

@@ -46,6 +46,13 @@ class cfgWeapons
 	#include "_other_armor.hpp"
 	#include "_headwear.hpp"
 
+	class JLTS_clone_comlink;
+	class rd501_JLTS_clone_comlink: JLTS_clone_comlink
+	{
+		tf_range=5000;
+		displayName="[501st] Clone Comlink";
+	};
+
 	//chest
 	class macro_new_vest_class(blufor,purge_vest): V_RebreatherB
 	{