Selaa lähdekoodia

readd old deka and dsd

Florian Steinschorn 4 vuotta sitten
vanhempi
commit
68e24bc204

+ 15 - 1
addons - Copy/RD501_Vehicles/config.cpp

@@ -79,13 +79,20 @@ class Extended_Init_EventHandlers
         };
     };
 
-    class macro_new_vehicle(droideka,camo)
+    class macro_new_vehicle(droideka,normal)
     {
     	class droideka_movable 
         {
             init = [_this select 0] spawn macro_fnc_name(droidekka_move);
         };
     };
+	class macro_new_vehicle(droideka,camo_depr)
+	{
+		class droideka_movable
+		{
+			init = [_this select 0] spawn macro_fnc_name(droidekka_move);
+		};
+	};
 
     class macro_new_vehicle(dwarf_spider_droid,Movable_MkII)
     {
@@ -94,6 +101,13 @@ class Extended_Init_EventHandlers
             init = [_this select 0] spawn macro_fnc_name(dwarf_move);
         };	                               
     };
+	class macro_new_vehicle(dwarf_spider_droid,Movable_MkII_depr)
+	{
+		class dwarf_movable
+		{
+			init = [_this select 0] spawn macro_fnc_name(dwarf_move);
+		};
+	};
 
     class macro_new_vehicle(marid,MkII_CIS)// not ran
     {

+ 74 - 7
addons - Copy/RD501_Vehicles/land/droideka/config.cpp

@@ -13,6 +13,12 @@ class CfgPatches
 		requiredVersion=0.1;
 		units[]=
 		{
+			// REMOVE FROM HERE
+			macro_new_vehicle(droideka,base_depr),
+			macro_new_vehicle(droideka,normal_depr),
+			macro_new_vehicle(droideka,camo_depr),
+			macro_new_vehicle(droideka,support_depr),
+			// REMOVE TO HERE
 			macro_new_vehicle(droideka,base),
 			macro_new_vehicle(droideka,normal),
 			macro_new_vehicle(droideka,camo),
@@ -30,11 +36,72 @@ class DefaultEventhandlers;
 class CfgVehicles
 {
 	class SWOP_Droideka;
-	class macro_new_vehicle(droideka,base) :SWOP_Droideka
+
+	// REMOVE FROM HERE
+	class macro_new_vehicle(droideka,base_depr) :SWOP_Droideka
 	{
 		scope=2;
 		armor = 275;
 		displayName = "Static Droideka";
+		class EventHandlers: DefaultEventhandlers {};
+
+		faction = macro_cis_faction
+		editorSubcategory = macro_editor_cat(heavy_armored_infantry)
+		vehicleClass = macro_editor_vehicle_type(heavy_armored_infantry)
+
+		class HitPoints
+		{
+			class HitGun
+			{
+				armor = 0.9;
+				material = -1;
+				name = "gun";
+				visual = "autonomous_unhide";
+				passThrough = 0;
+				radius = 0.2;
+			};
+			class HitTurret: HitGun
+			{
+				armor = 0.3;
+			};
+		};
+
+	};
+	class macro_new_vehicle(droideka,camo_depr) : macro_new_vehicle(droideka,base_depr)
+	{
+		scope=2;
+		displayName = "Moveable Droideka (Camo)";
+		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikacamoOK_co.paa"};
+
+	};
+
+	class macro_new_vehicle(droideka,support_depr) : macro_new_vehicle(droideka,camo_depr)
+	{
+		scope=2;
+		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikasupportOK_co.paa"};
+		displayName = "Moveable Droideka (Support)";
+
+	};
+
+
+	class macro_new_vehicle(droideka,normal_depr) : macro_new_vehicle(droideka,camo_depr)
+	{
+		scope=2;
+		displayName = "Moveable Droideka";
+		hiddenSelections[] = {"Camo1"};
+		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikaOK_co.paa"};
+
+	};
+	// REMOVE TO HERE
+
+
+
+
+	class macro_new_vehicle(droideka,base): SWOP_Droideka
+	{
+		scope=2;
+		armor = 275;
+		displayName = "Static Droideka (new)";
 		class EventHandlers: DefaultEventhandlers {}; 
 
 		faction = macro_cis_faction;
@@ -64,19 +131,19 @@ class CfgVehicles
 		};
 	};
 
-	class macro_new_vehicle(droideka,normal) : macro_new_vehicle(droideka,base)
+	class macro_new_vehicle(droideka,normal): macro_new_vehicle(droideka,base)
 	{
-		displayName = "Moveable Droideka";
+		displayName = "Moveable Droideka (new)";
 		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikaOK_co.paa"};
 	};
-	class macro_new_vehicle(droideka,camo) : macro_new_vehicle(droideka,base)
+	class macro_new_vehicle(droideka,camo): macro_new_vehicle(droideka,normal)
 	{
-		displayName = "Moveable Droideka (Camo)";
+		displayName = "Moveable Droideka  (new)(Camo)";
 		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikacamoOK_co.paa"};
 	};
-	class macro_new_vehicle(droideka,support) : macro_new_vehicle(droideka,camo)
+	class macro_new_vehicle(droideka,support): macro_new_vehicle(droideka,normal)
 	{
-		displayName = "Moveable Droideka (Support)";
+		displayName = "Moveable Droideka  (new)(Support)";
 		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikasupportOK_co.paa"};
 	};
 

+ 45 - 2
addons - Copy/RD501_Vehicles/land/dwarf_spider_droid/config.cpp

@@ -13,6 +13,10 @@ class CfgPatches
 		requiredVersion=0.1;
 		units[]=
 		{
+			// REMOVE FROM HERE
+			macro_new_vehicle(dwarf_spider_droid,MkII_depr),
+			macro_new_vehicle(dwarf_spider_droid,Movable_MkII_depr),
+			// REMOVE TO HERE
 			macro_new_vehicle(dwarf_spider_droid,MkII),
 			macro_new_vehicle(dwarf_spider_droid,Movable_MkII),
 		};
@@ -33,9 +37,48 @@ class CfgVehicles
 	{
 		scope=0;
 	};
-	class macro_new_vehicle(dwarf_spider_droid,MkII): SpiderDSD
+
+	// REMOVE FROM HERE
+	class macro_new_vehicle(dwarf_spider_droid,MkII_depr): SpiderDSD
 	{
 		displayName = "Dwarf Spider Droid MkII";
+		armor = 350;
+		scope=2;
+		forceInGarage = 1;
+		class EventHandlers: DefaultEventhandlers {};
+
+		faction = macro_cis_faction
+		editorSubcategory = macro_editor_cat(heavy_armored_infantry)
+		vehicleClass = macro_editor_vehicle_type(heavy_armored_infantry)
+		class HitPoints
+		{
+			class HitGun
+			{
+				armor = 0.9;
+				material = -1;
+				name = "gun";
+				visual = "autonomous_unhide";
+				passThrough = 0;
+				radius = 0.2;
+			};
+			class HitTurret: HitGun
+			{
+				armor = 0.3;
+			};
+		};
+	};
+
+	class macro_new_vehicle(dwarf_spider_droid,Movable_MkII_depr): macro_new_vehicle(dwarf_spider_droid,MkII_depr)
+	{
+		displayName = "Dwarf Spider Droid MkII (Moveable)";
+		forceInGarage = 0;
+	};
+	// REMOVE TO HERE
+
+
+	class macro_new_vehicle(dwarf_spider_droid,MkII): SpiderDSD
+	{
+		displayName = "Dwarf Spider Droid MkII (new)";
 		scope = 2;
 		forceInGarage = 1;
 
@@ -70,7 +113,7 @@ class CfgVehicles
 
 	class macro_new_vehicle(dwarf_spider_droid,Movable_MkII): macro_new_vehicle(dwarf_spider_droid,MkII)
 	{
-		displayName = "Dwarf Spider Droid MkII (Moveable)";
+		displayName = "Dwarf Spider Droid MkII (new) (Moveable)";
 		forceInGarage = 0;
 	};
 };