123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328 |
- //get generlized macros
- #include "../../../RD501_main/config_macros.hpp"
- class CfgPatches
- {
- class RD501_patch_static_cis
- {
- addonRootClass=MACRO_QUOTE(RD501_patch_vehicles);
- requiredAddons[]=
- {
- RD501_patch_vehicles
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(field_cannon,cis),
- macro_new_vehicle(field_repeater,cis),
- macro_new_vehicle(mortar,cis)
- };
- weapons[]=
- {
-
- };
- };
- };
- class CfgVehicles
- {
- class Land;
- class LandVehicle: Land
- {
- class ViewPilot;
- class ViewGunner;
- class NewTurret;
- };
- class StaticWeapon: LandVehicle
- {
- class Turrets
- {
- class MainTurret;
- };
- };
- class StaticMGWeapon: StaticWeapon
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {};
- };
- };
- class 3AS_FieldCannon_Base: StaticMGWeapon
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- };
- };
- };
- class macro_new_vehicle(field_cannon,cis):3AS_FieldCannon_Base
- {
- author = "RD501";
- scope = 2;
- side = 0;
- displayname = "CIS Field Cannon";
- scopeCurator = 2;
- crew=MACRO_QUOTE(macro_new_unit_class(opfor,B1_crew));
- faction = MACRO_QUOTE(macro_faction(CIS));
- editorSubcategory = MACRO_QUOTE(macro_editor_cat(turrets));
- vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type(turrets));
- ace_dragging_canCarry = 0;
- ace_dragging_canDrag = 0;
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- weapons[] =
- {
- macro_new_weapon(mynock_cannon,mbt)
- };
- magazines[] =
- {
- macro_new_mag(mynock_mbt_ap,12),
- macro_new_mag(mynock_mbt_he,12),
- macro_new_mag(mynock_mbt_ap,12),
- macro_new_mag(mynock_mbt_he,12)
- };
- };
- };
- 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 3as_ParticleCannon_Base: StaticMGWeapon
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- };
- };
- };
- class macro_new_vehicle(field_repeater,cis):3as_ParticleCannon_Base
- {
- author = "RD501";
- scope = 2;
- side = 0;
- displayname = "CIS Field Repeater";
- scopeCurator = 2;
- crew = MACRO_QUOTE(macro_new_unit_class(opfor,B1_crew));
- faction = MACRO_QUOTE(macro_faction(CIS));
- editorSubcategory = MACRO_QUOTE(macro_editor_cat(turrets));
- vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type(turrets));
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- weapons[]=
- {
- macro_new_weapon(generic,preatorian_turret_opfor)
- };
- magazines[]={macro_new_mag(generic_aircraft_gun,1000),macro_new_mag(generic_aircraft_gun,1000),macro_new_mag(generic_aircraft_gun,1000),macro_new_mag(generic_aircraft_gun,1000),macro_new_mag(generic_aircraft_gun,1000)};
- };
- };
- 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 StaticMortar: StaticWeapon
- {
- class Turrets: Turrets
- {
- class MainTurret
- {};
- };
- };
- class Mortar_01_base_F: StaticMortar
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {};
- };
- class assembleInfo;
- };
- class B_Mortar_01_F: Mortar_01_base_F
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {};
- };
- };
- class 3AS_Republic_Mortar: B_Mortar_01_F
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {};
- };
- };*/
- class 3AS_CIS_Mortar;
- class macro_new_vehicle(mortar,cis):3AS_CIS_Mortar
- {
- author = "RD501";
- scope = 2;
- side = 0;
- displayname = "CIS Field Mortar";
- scopeCurator = 2;
- crew = MACRO_QUOTE(macro_new_unit_class(opfor,B1_crew));
- faction = MACRO_QUOTE(macro_faction(CIS));
- editorSubcategory = MACRO_QUOTE(macro_editor_cat(arty));
- vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type(arty));
- };
- };
|