123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472 |
- #include "../../../RD501_main/config_macros.hpp"
- class CfgPatches
- {
- class RD501_patch_gat
- {
- addonRootClass=MACRO_QUOTE(RD501_patch_vehicles);
- requiredAddons[]=
- {
- RD501_patch_vehicles
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(cis,gat),
- macro_new_vehicle(cis,gat_tan),
- macro_new_vehicle(cis,gat_olive),
- macro_new_vehicle(cis,gat_urban),
- macro_new_vehicle(cis,gat_aa),
- macro_new_vehicle(cis,gat_aa_tan),
- macro_new_vehicle(cis,gat_aa_olive),
- macro_new_vehicle(cis,gat_aa_urban)
- };
- weapons[]=
- {
-
- };
- };
- };
- /////////////Radar classes////////////
- class SensorTemplatePassiveRadar;
- class SensorTemplateAntiRadiation;
- class SensorTemplateActiveRadar;
- class SensorTemplateIR;
- class SensorTemplateVisual;
- class SensorTemplateMan;
- class SensorTemplateLaser;
- class SensorTemplateNV;
- class SensorTemplateDataLink;
- class DefaultVehicleSystemsDisplayManagerLeft
- {
- class components;
- };
- class DefaultVehicleSystemsDisplayManagerRight
- {
- class components;
- };
- class VehicleSystemsTemplateLeftDriver: DefaultVehicleSystemsDisplayManagerLeft
- {
- class components;
- };
- class VehicleSystemsTemplateRightDriver: DefaultVehicleSystemsDisplayManagerRight
- {
- class components;
- };
- class VehicleSystemsTemplateLeftCommander: DefaultVehicleSystemsDisplayManagerLeft
- {
- class components;
- };
- class VehicleSystemsTemplateRightCommander: DefaultVehicleSystemsDisplayManagerRight
- {
- class components;
- };
- class VehicleSystemsTemplateLeftGunner: DefaultVehicleSystemsDisplayManagerLeft
- {
- class components;
- };
- class VehicleSystemsTemplateRightGunner: DefaultVehicleSystemsDisplayManagerRight
- {
- class components;
- };
- class CfgVehicles
- {
- class LandVehicle;
- class Tank: LandVehicle
- {
- class NewTurret;
- class HitPoints;
- };
- class Tank_F: Tank
- {
- class Turrets
- {
- class MainTurret: NewTurret
- {};
- };
- class HitPoints: HitPoints
- {
- class HitHull;
- class HitFuel;
- class HitEngine;
- class HitLTrack;
- class HitRTrack;
- };
- };
- class 3AS_GAT_base_F:Tank_F
- {
- class Components;
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- };
- };
- class HitPoints: HitPoints
- {
- class HitHull:HitHull{};
- class HitFuel:HitFuel{};
- class HitEngine:HitEngine{};
- class HitLTrack:HitLTrack{};
- class HitRTrack:HitRTrack{};
- };
- };
- class macro_new_vehicle(cis,gat):3AS_GAT_base_F
- {
- scope = 2;
- armor = 700;
- armorStructural = 4;
- displayName = "CIS GAT";
- crew = MACRO_QUOTE(macro_new_unit_class(opfor,B1_crew));
- side = 0;
- faction = MACRO_QUOTE(macro_faction(CIS));
- editorSubcategory = MACRO_QUOTE(macro_editor_cat(tank));
- vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type(tank));
- scopeCurator = 2;
- forceInGarage = 1;
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- weapons[]=
- {
- macro_new_weapon(aat_cannon,mbt),
- "SmokeLauncher"
- };
- magazines[]=
- {
- macro_new_mag(aat_mbt,50),
- macro_new_mag(aat_mbt,50),
- "SmokeLauncherMag"
- };
- };
- };
- class HitPoints: HitPoints
- {
- class HitHull: HitHull { // Handle internal damage
- armor=4.5;
- material=-1;
- name="telo";
- visual="zbytek";
- passThrough=1;
- minimalHit = 0.2;
- explosionShielding = 0.2;
- radius = 0.12;
- };
- class HitEngine: HitEngine {
- armor=0.75;
- material=-1;
- name="motor";
- passThrough=0.2;
- minimalHit = 0.2;
- explosionShielding = 0.2;
- radius = 0.33;
- };
- class HitLTrack: HitLTrack {
- armor=0.5;
- material=-1;
- name="track_l_hit";
- passThrough=0;
- minimalHit = 0.08;
- explosionShielding = 1.44;
- radius = 0.3;
- };
- class HitRTrack: HitRTrack {
- armor=0.5;
- material=-1;
- name="track_r_hit";
- passThrough=0;
- minimalHit = 0.08;
- explosionShielding = 1.44;
- radius = 0.3;
- };
- class HitFuel: HitFuel
- {
- armor = 1.5;
- material = -1;
- name = "palivo";
- passThrough = 0.1;
- minimalHit = 0.1;
- explosionShielding = 0.6;
- radius = 0.25;
- };
- };
- };
- class macro_new_vehicle(cis,gat_tan): macro_new_vehicle(cis,gat)
- {
- displayname="CIS GAT (Tan)";
- hiddenSelections[]=
- {
- "camo1",
- "camo2"
- };
- hiddenSelectionstextures[]=
- {
- "3AS\3AS_gat\data\Olive\hull_CO.paa",
- "3AS\3AS_gat\data\Olive\weapons_CO.paa"
- };
- editorPreview="3as\3as_gat\images\3AS_GAT_tan.jpg";
- accuracy=1000;
- };
- class macro_new_vehicle(cis,gat_olive): macro_new_vehicle(cis,gat)
- {
- displayname="CIS GAT (Olive)";
- hiddenSelections[]=
- {
- "camo1",
- "camo2"
- };
- hiddenSelectionstextures[]=
- {
- "3AS\3AS_GAT\data\Olive\hull_CO.paa",
- "3AS\3AS_GAT\data\Light_Tank\OLIVE\weapons_CO.paa"
- };
- editorPreview="3as\3as_gat\images\3AS_GAT_tan.jpg";
- accuracy=1000;
- };
- class macro_new_vehicle(cis,gat_urban): macro_new_vehicle(cis,gat)
- {
- displayname="CIS GAT (Urban)";
- hiddenSelections[]=
- {
- "camo1",
- "camo2"
- };
- hiddenSelectionstextures[]=
- {
- "3AS\3AS_gat\data\hull_CO.paa",
- "3AS\3AS_gat\data\weapons_CO.paa"
- };
- editorPreview="3as\3as_gat\images\3AS_GAT_tan.jpg";
- accuracy=1000;
- };
- class 3AS_GAT_Light_Base: 3AS_GAT_base_F
- {
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- };
- };
- class HitPoints: HitPoints
- {
- class HitHull:HitHull{};
- class HitFuel:HitFuel{};
- class HitEngine:HitEngine{};
- class HitLTrack:HitLTrack{};
- class HitRTrack:HitRTrack{};
- };
- };
- class macro_new_vehicle(cis,gat_aa):3AS_GAT_Light_Base
- {
- scope=2;
- armor = 700;
- displayName = "CIS GAT AA";
- crew = MACRO_QUOTE(macro_new_unit_class(opfor,B1_crew));
- side = 0;
- faction = MACRO_QUOTE(macro_faction(CIS));
- editorSubcategory = MACRO_QUOTE(macro_editor_cat(AA));
- vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type(AA));
- scopeCurator = 2;
- forceInGarage = 1;
- irScanGround = 0;
- irScanRangeMax = 10000;
- irScanRangeMin = 200;
- irScanToEyeFactor = 2;
- irTarget = 1;
- irTargetSize = 1.2;
- class HitPoints: HitPoints
- {
- class HitHull: HitHull { // Handle internal damage
- armor=4.5;
- material=-1;
- name="telo";
- visual="zbytek";
- passThrough=1;
- minimalHit = 0.2;
- explosionShielding = 0.2;
- radius = 0.12;
- };
- class HitEngine: HitEngine {
- armor=0.75;
- material=-1;
- name="motor";
- passThrough=0.2;
- minimalHit = 0.2;
- explosionShielding = 0.2;
- radius = 0.33;
- };
- class HitLTrack: HitLTrack {
- armor=0.5;
- material=-1;
- name="track_l_hit";
- passThrough=0;
- minimalHit = 0.08;
- explosionShielding = 1.44;
- radius = 0.3;
- };
- class HitRTrack: HitRTrack {
- armor=0.5;
- material=-1;
- name="track_r_hit";
- passThrough=0;
- minimalHit = 0.08;
- explosionShielding = 1.44;
- radius = 0.3;
- };
- class HitFuel: HitFuel
- {
- armor = 1.5;
- material = -1;
- name = "palivo";
- passThrough = 0.1;
- minimalHit = 0.1;
- explosionShielding = 0.6;
- radius = 0.25;
- };
- };
- /*class Components: Components
- {
- class SensorsManagerComponent
- {
- class Components
- {
- class ActiveRadarSensorComponent: SensorTemplateActiveRadar
- {
- class AirTarget
- {
- minRange=9000;
- maxRange=9000;
- objectDistanceLimitCoef=-1;
- viewDistanceLimitCoef=-1;
- };
- class GroundTarget
- {
- minRange=6000;
- maxRange=6000;
- objectDistanceLimitCoef=-1;
- viewDistanceLimitCoef=-1;
- };
- typeRecognitionDistance=6000;
- angleRangeHorizontal=360;
- angleRangeVertical=100;
- aimDown=-45;
- maxTrackableSpeed=694.44397;
- };
- class DataLinkSensorComponent: SensorTemplateDataLink
- {
- };
- };
- };
- };*/
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- maxElev = 60;
- canUseScanner = 1;
- turretInfoType="RscOptics_APC_Tracked_01_gunner";
- memoryPointGun[]=
- {
- "z_gunL_muzzle",
- "z_gunR_muzzle",
- "z_gunL_muzzle_2",
- "z_gunr_muzzle_2"
- };
- weapons[] =
- {
- macro_new_weapon(generic,preatorian_gun_opfor),
- //macro_new_weapon(wynd,a2a)
- };
- magazines[] =
- {
- //macro_new_mag(a2a,4),
- //macro_new_mag(a2a,4),
- macro_new_mag(generic_aircraft_gun_preatorian,1000),
- macro_new_mag(generic_aircraft_gun_preatorian,1000),
- macro_new_mag(generic_aircraft_gun_preatorian,1000),
- macro_new_mag(generic_aircraft_gun_preatorian,1000),
- macro_new_mag(generic_aircraft_gun_preatorian,1000),
- macro_new_mag(generic_aircraft_gun_preatorian,1000)
- };
- /*class Components
- {
- class VehicleSystemsDisplayManagerComponentLeft: VehicleSystemsTemplateLeftGunner
- {
- class Components: components
- {
- class SensorDisplay
- {
- componentType="SensorsDisplayComponent";
- range[]={16000,8000,4000,2000};
- resource="RscCustomInfoSensors";
- };
- };
- };
- class VehicleSystemsDisplayManagerComponentRight: VehicleSystemsTemplateRightGunner
- {
- defaultDisplay="SensorDisplay";
- class Components: components
- {
- class SensorDisplay
- {
- componentType="SensorsDisplayComponent";
- range[]={16000,8000,4000,2000};
- resource="RscCustomInfoSensors";
- };
- };
- };
- };*/
- };
- };
- };
- class macro_new_vehicle(cis,gat_aa_tan): macro_new_vehicle(cis,gat_aa)
- {
- displayname="CIS GAT AA (Tan)";
- hiddenSelections[]=
- {
- "camo1",
- "camo2"
- };
- hiddenSelectionstextures[]=
- {
- "3AS\3AS_gat\data\Olive\hull_CO.paa",
- "3AS\3AS_GAT\data\Light_Tank\Olive\weapons_CO.paa"
- };
- editorPreview="3as\3as_gat\images\3AS_GAT_Light_tan.jpg";
- accuracy=1000;
- };
- class macro_new_vehicle(cis,gat_aa_olive): macro_new_vehicle(cis,gat_aa)
- {
- displayname="CIS GAT AA (Olive)";
- hiddenSelections[]=
- {
- "camo1",
- "camo2"
- };
- editorPreview="3as\3as_gat\images\3AS_GAT_Light_olive.jpg";
- hiddenSelectionstextures[]=
- {
- "3AS\3AS_GAT\data\Olive\hull_CO.paa",
- "3AS\3AS_GAT\data\Light_Tank\OLIVE\weapons_CO.paa"
- };
- accuracy=1000;
- };
- class macro_new_vehicle(cis,gat_aa_urban): macro_new_vehicle(cis,gat_aa)
- {
- displayname="CIS GAT AA (Urban)";
- hiddenSelections[]=
- {
- "camo1",
- "camo2"
- };
- editorPreview="3as\3as_gat\images\3AS_GAT_Light_urban.jpg";
- hiddenSelectionstextures[]=
- {
- "3AS\3AS_gat\data\hull_CO.paa",
- "3AS\3AS_GAT\data\Light_Tank\CIS\weapons_CO.paa"
- };
- accuracy=1000;
- };
- };
|