123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319 |
- #include "../../../RD501_main/config_macros.hpp"
- class CfgPatches
- {
- class macro_patch_name(dwarf_spider_droid)
- {
- addonRootClass=macro_patch_name(vehicles)
- requiredAddons[]=
- {
- macro_patch_name(vehicles)
- };
- requiredVersion=0.1;
- units[]=
- {
- // REMOVE TO HERE
- macro_new_vehicle(dwarf_spider_droid,MkII),
- macro_new_vehicle(dwarf_spider_droid,Movable_MkII),
- macro_new_vehicle(crab_droid,MkII),
- macro_new_vehicle(crab_droid,Movable_MkII)
- };
- weapons[]=
- {
-
- };
- };
- };
- #include "../../common/sensor_templates.hpp"
- class DefaultEventhandlers;
- class CfgVehicles
- {
- class LandVehicle;
- class StaticWeapon: LandVehicle
- {
- class Turrets
- {
- class MainTurret;
- };
- };
- class StaticMGWeapon: StaticWeapon
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {};
- };
- };
- class 101st_Crab_Droid : StaticMGWeapon
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {};
- };
- };
- class 101st_DSD3_Droid : StaticMGWeapon
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {};
- };
- };
- class O_DBA_CIS_DSD3_F : 101st_DSD3_Droid
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {};
- };
- };
- class macro_new_vehicle(dwarf_spider_droid,MkII): O_DBA_CIS_DSD3_F
- {
- displayName = "Dwarf Spider Droid";
- 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);
- ace_dragging_canCarry = 0;
- ace_dragging_canDrag = 0;
- armor = 35;
- armorStructural = 1.0;
- explosionShielding = 0.1;
- minTotalDamageThreshold = 0.01;
- impactDamageMultiplier = 0.1;
- class HitPoints
- {
- class telo
- {
- armor = 0.9;
- material = -1;
- name = "telo";
- visual = "autonomous_unhide";
- passThrough = 1;
- radius = 3;
- };
- };
- destrType = "DestructBuilding";
- explosionEffect="FuelExplosion";
- class DestructionEffects
- {
- class Dust
- {
- intensity = 0.1;
- interval = 1;
- lifeTime = 0.01;
- position = "destructionEffect2";
- simulation = "particles";
- type = "HousePartDust";
- };
- class Light1
- {
- enabled = "distToWater";
- intensity = 0.1;
- interval = 1;
- lifeTime = 3;
- position = "destructionEffect";
- simulation = "light";
- type = "ObjectDestructionLightSmall";
- };
- class Fire1
- {
- intensity = 0.15;
- interval = 1;
- lifeTime = 3;
- position = "destructionEffect";
- simulation = "particles";
- type = "ObjectDestructionFire1Small";
- };
- class Refract1
- {
- intensity = 1;
- interval = 1;
- lifeTime = 3;
- position = "destructionEffect";
- simulation = "particles";
- type = "SmallFireFRefract";
- };
- class Sound
- {
- intensity = 1;
- interval = 1;
- lifeTime = 1;
- position = "destructionEffect";
- simulation = "sound";
- type = "Fire";
- };
- class sparks1
- {
- intensity = 0.5;
- interval = 1;
- lifeTime = 0;
- position = "destructionEffect2";
- simulation = "particles";
- type = "ObjectDestructionSparks";
- };
- class Smoke1
- {
- simulation="particles";
- type="BarelDestructionSmoke";
- position[]={0,0,0};
- intensity=0.2;
- interval=1;
- lifeTime=1;
- };
- class HouseDestr
- {
- intensity=1;
- interval=1;
- lifeTime=5;
- position="";
- simulation="destroy";
- type="DelayedDestruction";
- };
- };
- };
- 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(crab_droid,MkII): 101st_Crab_Droid
- {
- displayName = "Crab Droid";
- scope = 2;
- forceInGarage = 1;
- armor = 35;
- armorStructural = 1.0;
- explosionShielding = 0.1;
- minTotalDamageThreshold = 0.01;
- impactDamageMultiplier = 0.1;
- class EventHandlers: DefaultEventhandlers {};
- ace_dragging_canCarry = 0;
- ace_dragging_canDrag = 0;
- faction = macro_cis_faction;
- editorSubcategory = macro_editor_cat(heavy_armored_infantry);
- vehicleClass = macro_editor_vehicle_type(heavy_armored_infantry);
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- weapons[]=
- {
- "GMG_20mm"
- };
- magazines[]=
- {
- "40Rnd_20mm_g_belt",
- "40Rnd_20mm_g_belt",
- "40Rnd_20mm_g_belt",
- "40Rnd_20mm_g_belt",
- "40Rnd_20mm_g_belt"
- };
- class HitPoints
- {
- class telo
- {
- armor=0.9;
- material=-1;
- name="telo";
- visual="autonomous_unhide";
- passThrough=1;
- radius=3;
- };
- };
- };
- };
- destrType = "DestructBuilding";
- explosionEffect="FuelExplosion";
- class DestructionEffects
- {
- class Dust
- {
- intensity = 0.1;
- interval = 1;
- lifeTime = 0.01;
- position = "destructionEffect2";
- simulation = "particles";
- type = "HousePartDust";
- };
- class Light1
- {
- enabled = "distToWater";
- intensity = 0.1;
- interval = 1;
- lifeTime = 3;
- position = "destructionEffect";
- simulation = "light";
- type = "ObjectDestructionLightSmall";
- };
- class Fire1
- {
- intensity = 0.15;
- interval = 1;
- lifeTime = 3;
- position = "destructionEffect";
- simulation = "particles";
- type = "ObjectDestructionFire1Small";
- };
- class Refract1
- {
- intensity = 1;
- interval = 1;
- lifeTime = 3;
- position = "destructionEffect";
- simulation = "particles";
- type = "SmallFireFRefract";
- };
- class Sound
- {
- intensity = 1;
- interval = 1;
- lifeTime = 1;
- position = "destructionEffect";
- simulation = "sound";
- type = "Fire";
- };
- class sparks1
- {
- intensity = 0.5;
- interval = 1;
- lifeTime = 0;
- position = "destructionEffect2";
- simulation = "particles";
- type = "ObjectDestructionSparks";
- };
- class Smoke1
- {
- simulation="particles";
- type="BarelDestructionSmoke";
- position[]={0,0,0};
- intensity=0.2;
- interval=1;
- lifeTime=1;
- };
- class HouseDestr
- {
- intensity=1;
- interval=1;
- lifeTime=5;
- position="";
- simulation="destroy";
- type="DelayedDestruction";
- };
- }
- };
- class macro_new_vehicle(crab_droid,Movable_MkII): macro_new_vehicle(crab_droid,MkII)
- {
- displayName = "Crab Droid (Moveable)";
- forceInGarage = 0;
- };
- };
|