浏览代码

deka and dsd balance

Florian Steinschorn 4 年之前
父节点
当前提交
5823505dce

+ 16 - 73
addons - Copy/RD501_Vehicles/land/droideka/config.cpp

@@ -1,17 +1,5 @@
-//Get this addons macro
-
-//get the macro for the air macro_patch_name(vehicles)
-
-//get generlized macros
 #include "../../../RD501_main/config_macros.hpp"
 
-//General name of the vehicle
-#define vehicle_addon droideka
-#define patch_name MODNAME##vehicle_addon##_Patches
-#define vehicle_classname MODNAME##_##vehicle_addon
-
-#define new_droideka_class(name) vehicle_classname##_##name
-
 class CfgPatches
 {
 	class macro_patch_name(droideka)
@@ -26,10 +14,9 @@ class CfgPatches
 		units[]=
 		{
 			macro_new_vehicle(droideka,base),
+			macro_new_vehicle(droideka,normal),
 			macro_new_vehicle(droideka,camo),
 			macro_new_vehicle(droideka,support),
-			macro_new_vehicle(droideka,normal),
-			macro_new_vehicle(droideka,TEST)
 		};
 		weapons[]=
 		{
@@ -38,18 +25,11 @@ class CfgPatches
 	};
 };
 
-
 #include "../../common/sensor_templates.hpp"
 class DefaultEventhandlers;
 class CfgVehicles
 {
-	//O_JM_TX130_1  empire command
-	//O_JM_TX130m1_1 normal
-	//O_JM_TX130m2_1 super
-
-	#include "inheritance.hpp"
-		//Moveable
-
+	class SWOP_Droideka;
 	class macro_new_vehicle(droideka,base) :SWOP_Droideka
 	{
 		scope=2;
@@ -57,10 +37,15 @@ class CfgVehicles
 		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)
+		faction = macro_cis_faction;
+		editorSubcategory = macro_editor_cat(heavy_armored_infantry);
+		vehicleClass = macro_editor_vehicle_type(heavy_armored_infantry);
 
+		armor = 250;
+		armorStructural = 1.0;
+		explosionShielding	= 0.1;
+		minTotalDamageThreshold	= 0.02;
+		impactDamageMultiplier = 0.1;
 		class HitPoints
 		{
 			class HitGun
@@ -77,64 +62,22 @@ class CfgVehicles
 				armor = 0.3;
 			};
 		};
+	};
 
+	class macro_new_vehicle(droideka,normal) : macro_new_vehicle(droideka,base)
+	{
+		displayName = "Moveable Droideka";
+		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikaOK_co.paa"};
 	};
 	class macro_new_vehicle(droideka,camo) : macro_new_vehicle(droideka,base)
 	{
-		scope=2;
 		displayName = "Moveable Droideka (Camo)";
 		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikacamoOK_co.paa"};
-		
 	};
-	
 	class macro_new_vehicle(droideka,support) : macro_new_vehicle(droideka,camo)
 	{
-		scope=2;
-		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikasupportOK_co.paa"};
 		displayName = "Moveable Droideka (Support)";
-		
-	};
-	
-	
-	class macro_new_vehicle(droideka,normal) : macro_new_vehicle(droideka,camo)
-	{
-		scope=2;
-		displayName = "Moveable Droideka";
-		hiddenSelections[] = {"Camo1"};
-		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikaOK_co.paa"};
-		
-	};
-
-	class macro_new_vehicle(droideka,TEST) :SWOP_Droideka
-	{
-		scope=2;
-		armor = 1000;
-		displayName = "TEST - Ekka 1";
-		armorStructural = 3;
-		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 = 360;
-				material = -1;
-				name = "gun";
-				visual = "autonomous_unhide";
-				passThrough = 0;
-				radius = 0.2;
-			};
-			class HitTurret: HitGun
-			{
-				armor = 360;
-			};
-		};
-
+		hiddenSelectionsTextures[] = {"SW_CloneWarsWeapons\Droideka\DroidikasupportOK_co.paa"};
 	};
 
-
 };

+ 0 - 1
addons - Copy/RD501_Vehicles/land/droideka/inheritance.hpp

@@ -1 +0,0 @@
-class SWOP_Droideka;

+ 18 - 60
addons - Copy/RD501_Vehicles/land/dwarf_spider_droid/config.cpp

@@ -1,17 +1,5 @@
-//Get this addons macro
-
-//get the macro for the air macro_patch_name(vehicles)
-
-//get generlized macros
 #include "../../../RD501_main/config_macros.hpp"
 
-//General name of the vehicle
-#define vehicle_addon dwarf_spider_droid
-#define patch_name MODNAME##vehicle_addon##_Patches
-#define vehicle_classname MODNAME##_##vehicle_addon
-
-#define new_dwarf_class(name) vehicle_classname##_##name
-
 class CfgPatches
 {
 	class macro_patch_name(dwarf_spider_droid)
@@ -27,7 +15,6 @@ class CfgPatches
 		{
 			macro_new_vehicle(dwarf_spider_droid,MkII),
 			macro_new_vehicle(dwarf_spider_droid,Movable_MkII),
-			macro_new_vehicle(dwarf_spider_droid,TEST)
 		};
 		weapons[]=
 		{
@@ -36,27 +23,33 @@ class CfgPatches
 	};
 };
 
-
 #include "../../common/sensor_templates.hpp"
 
-
 class DefaultEventhandlers;
 class CfgVehicles
 {
-
-	#include "inheritance.hpp"
-
-	class macro_new_vehicle(dwarf_spider_droid,MkII):SpiderDSD
+	class StaticMGWeapon;
+	class SpiderDSD: StaticMGWeapon
+	{
+		scope=0;
+	};
+	class macro_new_vehicle(dwarf_spider_droid,MkII): SpiderDSD
 	{
 		displayName = "Dwarf Spider Droid MkII";
-		armor = 350;
-		scope=2;
+		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)
+		faction = macro_cis_faction;
+		editorSubcategory = macro_editor_cat(heavy_armored_infantry);
+		vehicleClass = macro_editor_vehicle_type(heavy_armored_infantry);
+
+		armor = 250;
+		armorStructural = 1.0;
+		explosionShielding	= 0.1;
+		minTotalDamageThreshold	= 0.02;
+		impactDamageMultiplier = 0.1;
 		class HitPoints
 		{
 			class HitGun
@@ -75,44 +68,9 @@ class CfgVehicles
 		};
 	};
 
-	class macro_new_vehicle(dwarf_spider_droid,Movable_MkII):macro_new_vehicle(dwarf_spider_droid,MkII)
+	class macro_new_vehicle(dwarf_spider_droid,Movable_MkII): macro_new_vehicle(dwarf_spider_droid,MkII)
 	{
 		displayName = "Dwarf Spider Droid MkII (Moveable)";
 		forceInGarage = 0;
 	};
-	
-	class macro_new_vehicle(dwarf_spider_droid,TEST):SpiderDSD
-	{
-		displayName = "TEST - DSD 1";
-
-		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)
-
-		armor = 1000;
-		armorLights = 0.4;
-		armorStructural = 3;
-		class HitPoints
-		{
-			class HitGun
-			{
-				armor = 36;
-				material = -1;
-				name = "gun";
-				visual = "autonomous_unhide";
-				passThrough = 0;
-				radius = 0.2;
-			};
-			class HitTurret: HitGun
-			{
-				armor = 36;
-			};
-		};
-
-	};
-
 };	

+ 0 - 5
addons - Copy/RD501_Vehicles/land/dwarf_spider_droid/inheritance.hpp

@@ -1,5 +0,0 @@
-class StaticMGWeapon;
-class SpiderDSD:StaticMGWeapon
-{
-	scope=0;
-};