|
@@ -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"};
|
|
|
};
|
|
|
|
|
|
-
|
|
|
};
|