123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461 |
- //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 warden
- #define patch_name MODNAME##vehicle_addon##_Patches
- #define vehicle_classname MODNAME##_##vehicle_addon
- #define new_warden_class(name) vehicle_classname##_##name
- class CfgPatches
- {
- class macro_patch_name(warden_tank)
- {
- addonRootClass=macro_patch_name(vehicles)
- requiredAddons[]=
- {
- macro_patch_name(vehicles)
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(warden_tank,mobile),
- macro_new_vehicle(warden_tank,field)
- };
- weapons[]=
- {
-
- };
- };
- };
- #include "../../common/sensor_templates.hpp"
- class DefaultEventhandlers;
- class CfgVehicles
- {
- class APC_Tracked_01_base_F;
- class B_APC_Tracked_01_base_F:APC_Tracked_01_base_F
- {
- class Turrets;
- };
- class B_APC_Tracked_01_CRV_F:B_APC_Tracked_01_base_F
- {
- class Turrets:Turrets
- {
- class MainTurret;
- class CommanderOptics;
- };
- class Components;
- };
-
- class macro_new_vehicle(warden_tank,mobile) : B_APC_Tracked_01_CRV_F
- {
- displayName = "Republic Overseer ASV";
- ace_refuel_fuelCargo = 999999999999;
- ace_rearm_defaultSupply = 999999999999;
- ace_cargo_space = 170;
- ace_repair_canRepair =1;
- ace_refuel_hooks[] = {{0.38, -3.17, -0.7}, {-0.41, -3.17, -0.7}};
- scopeCurator = 2;
-
- transportSoldier=8;
- LESH_canTow = 1;
- crew = "JLTS_Clone_P2_Rex_501";
- LESH_AxisOffsetTower[] = {0,-6,1};
- driverCanSee = 31;
- gunnerCanSee = 31;
- commanderCanSee = 31;
- canUseScanner = 1;
- incomingMissileDetectionSystem = 16;
- weaponLockSystem = "2+4+8";
- receiveRemoteTargets = true;
- reportRemoteTargets = true;
- reportOwnPosition = true;
- faction = macro_republic_faction
- editorSubcategory = macro_editor_cat(APC)
- vehicleClass = macro_editor_vehicle_type(APC)
- #include "../Mynock/common_stuff_mynock.hpp"
- #include "../../common/smallvehiclekit.hpp"
-
- author = "RD501";
- //faction = "RD501Faction";
- scope = 2;
- side = 1;
- hiddenSelections[] = {"camo1", "camo2", "camo3", "camo4", "CamoNet"};
- hiddenSelectionsTextures[]=
- {
- "RD501_Vehicles\textures\warden\overseer_ext1_cream_blue_co.paa",
- "RD501_Vehicles\textures\warden\overseer_ext2_cream_blue_co.paa",
- "RD501_Vehicles\textures\warden\overseer_turret_cream_co.paa",
- "RD501_Vehicles\textures\warden\overseer_ext3_cream_blue_co.paa",
- "a3\Armor_F\Data\camonet_NATO_Desert_CO.paa"
- };
- forceInGarage =1;
-
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- weapons[] = {
-
- macro_basic_air_weapons,
- macro_new_weapon(generic,blue_aircraft_cannon)
- };
- magazines[] = {
-
- macro_basic_air_mags,
- macro_new_mag(generic_aircraft_cannon_blue,1000),
- macro_new_mag(generic_aircraft_cannon_blue,1000)
- };
- };
- class CommanderOptics: CommanderOptics
- {
- };
- };
- class components: Components
- {
- class SensorsManagerComponent
- {
- class components
- {
- class IRSensorComponent: SensorTemplateIR
- {
- typeRecognitionDistance = 16000;
- angleRangeHorizontal = 360;
- angleRangeVertical = 360;
- groundNoiseDistanceCoef = -1;
- maxGroundNoiseDistance = 1600;
- minSpeedThreshold = 0;
- maxSpeedThreshold = 2000;
- maxFogSeeThrough= -1;
- nightRangeCoef = 1;
- class AirTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- maxFogSeeThrough= -1;
- nightRangeCoef = 1;
- };
- class GroundTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- maxFogSeeThrough= -1;
- nightRangeCoef = 1;
- };
- };
- class NVSensorComponent: SensorTemplateNV
- {
- typeRecognitionDistance = 16000;
- angleRangeHorizontal = 360;
- angleRangeVertical = 360;
- groundNoiseDistanceCoef = -1;
- maxGroundNoiseDistance = 1600;
- minSpeedThreshold = 0;
- maxSpeedThreshold = 2000;
- class AirTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- class GroundTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- };
- class LaserSensorComponent: SensorTemplateLaser
- {
- typeRecognitionDistance = 16000;
- angleRangeHorizontal = 360;
- angleRangeVertical = 360;
- groundNoiseDistanceCoef = -1;
- maxGroundNoiseDistance = 1600;
- minSpeedThreshold = 0;
- maxSpeedThreshold = 2000;
- class AirTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- class GroundTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- };
- class ActiveRadarSensorComponent: SensorTemplateActiveRadar
- {
- typeRecognitionDistance = 16000;
- angleRangeHorizontal = 360;
- angleRangeVertical = 360;
- groundNoiseDistanceCoef = -1;
- maxGroundNoiseDistance = 1600;
- minSpeedThreshold = 0;
- maxSpeedThreshold = 2000;
- class AirTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- class GroundTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- };
- class PassiveRadarSensorComponent: SensorTemplatePassiveRadar
- {
- typeRecognitionDistance = 16000;
- angleRangeHorizontal = 360;
- angleRangeVertical = 360;
- groundNoiseDistanceCoef = -1;
- maxGroundNoiseDistance = 1600;
- minSpeedThreshold = 0;
- maxSpeedThreshold = 2000;
- class AirTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- class GroundTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- };
- class VisualSensorComponent: SensorTemplateVisual
- {
- typeRecognitionDistance = 16000;
- angleRangeHorizontal = 360;
- angleRangeVertical = 360;
- groundNoiseDistanceCoef = -1;
- maxGroundNoiseDistance = 1600;
- minSpeedThreshold = 0;
- maxSpeedThreshold = 2000;
- class AirTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- class GroundTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- };
- class ManSensorComponent: SensorTemplateMan
- {
- typeRecognitionDistance = 16000;
- angleRangeHorizontal = 360;
- angleRangeVertical = 360;
- groundNoiseDistanceCoef = -1;
- maxGroundNoiseDistance = 1600;
- minSpeedThreshold = 0;
- maxSpeedThreshold = 2000;
- class AirTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- class GroundTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- };
- class DataLinkSensorComponent: SensorTemplateDataLink
- {
- typeRecognitionDistance = 16000;
- angleRangeHorizontal = 360;
- angleRangeVertical = 360;
- groundNoiseDistanceCoef = -1;
- maxGroundNoiseDistance = 1600;
- minSpeedThreshold = 0;
- maxSpeedThreshold = 2000;
- class AirTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- class GroundTarget
- {
- minRange = 0;
- maxRange = 16000;
- objectDistanceLimitCoef = -1;
- viewDistanceLimitCoef = -1;
- };
- };
- };
- };
- class VehicleSystemsDisplayManagerComponentRight
- {
- componentType = "VehicleSystemsDisplayManager";
- defaultDisplay = "EmptyDisplay";
- right = 1;
- x = "(profilenamespace getvariable [""IGUI_GRID_CUSTOMINFORIGHT_X"", ((safezoneX + safezoneW) - ( (10 * ( ((safezoneW / safezoneH) min 1.2) / 40)) + 0.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)))])";
- y = "(profilenamespace getvariable [""IGUI_GRID_CUSTOMINFORIGHT_Y"", (safezoneY + safezoneH - 21 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25))])";
- class Components
- {
- class CrewDisplay
- {
- componentType = "CrewDisplayComponent";
- };
- class EmptyDisplay
- {
- componentType = "EmptyDisplayComponent";
- };
- class MineDetectorDisplay
- {
- componentType = "MineDetectorDisplayComponent";
- };
- class MinimapDisplay
- {
- componentType = "MinimapDisplayComponent";
- };
- class SlingLoadDisplay
- {
- componentType = "SlingLoadDisplayComponent";
- };
- class UAVDisplay
- {
- componentType = "UAVFeedDisplayComponent";
- };
- class VehicleCommanderDisplay
- {
- componentType = "TransportFeedDisplayComponent";
- source = "Commander";
- };
- class VehiclePrimaryGunnerDisplay
- {
- componentType = "TransportFeedDisplayComponent";
- source = "PrimaryGunner";
- };
- class SensorDisplay
- {
- componentType = "SensorsDisplayComponent";
- range[] = {32000,16000,8000,4000,2000};
- resource = "RscCustomInfoSensors";
- };
- };
- };
- class VehicleSystemsDisplayManagerComponentLeft
- {
- componentType = "VehicleSystemsDisplayManager";
- defaultDisplay = "EmptyDisplay";
- left = 1;
- x = "(profilenamespace getvariable [""IGUI_GRID_CUSTOMINFOLEFT_X"", (safezoneX + 0.5 * ( ((safezoneW / safezoneH) min 1.2) / 40))])";
- y = "(profilenamespace getvariable [""IGUI_GRID_CUSTOMINFOLEFT_Y"", (safezoneY + safezoneH - 21 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25))])";
- class Components
- {
- class CrewDisplay
- {
- componentType = "CrewDisplayComponent";
- };
- class EmptyDisplay
- {
- componentType = "EmptyDisplayComponent";
- };
- class MineDetectorDisplay
- {
- componentType = "MineDetectorDisplayComponent";
- };
- class MinimapDisplay
- {
- componentType = "MinimapDisplayComponent";
- };
- class SlingLoadDisplay
- {
- componentType = "SlingLoadDisplayComponent";
- };
- class UAVDisplay
- {
- componentType = "UAVFeedDisplayComponent";
- };
- class VehicleCommanderDisplay
- {
- componentType = "TransportFeedDisplayComponent";
- source = "Commander";
- };
- class VehiclePrimaryGunnerDisplay
- {
- componentType = "TransportFeedDisplayComponent";
- source = "PrimaryGunner";
- };
- class SensorDisplay
- {
- componentType = "SensorsDisplayComponent";
- range[] = {32000,16000,8000,4000,2000};
- resource = "RscCustomInfoSensors";
- };
- };
- };
- };
- class EventHandlers : DefaultEventhandlers {};
- };
- class macro_new_vehicle(warden_tank,field):macro_new_vehicle(warden_tank,mobile)
- {
- displayName = "Republic Overseer ASV Turbo";
- enginePower = 2400;
- gearBox[] = {-7,0,11,8,5.7,4.2};
- maxSpeed = 120;
- maxOmega = 500;
- peakTorque = 7400;
- torqueCurve[] = {[0.291667,0.540541],[0.416667,0.675676],[0.583333,0.810811],[0.666667,0.891892],[0.75,0.972973],[0.833333,1.02703],[0.916667,1],[1,0.945946]};
- engineMOI = 1;
- armor = 500;
- weapons[]={"SmokeLauncher"};
- magazines[]={"SmokeLauncherMag"};
- hiddenSelections[] = {"camo1", "camo2", "camo3", "camo4", "CamoNet"};
- hiddenSelectionsTextures[]=
- {
- "RD501_Vehicles\textures\warden\overseer_ext1_black_blue_co.paa",
- "RD501_Vehicles\textures\warden\overseer_ext2_black_blue_co.paa",
- "RD501_Vehicles\textures\warden\trebuchet_turret_mynock_co.paa",
- "RD501_Vehicles\textures\warden\overseer_ext3_black_blue_co.paa",
- "a3\Armor_F\Data\camonet_NATO_Desert_CO.paa"
- };
- }
- };
|