123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333 |
- //Get this addons macro
- //get the macro for the air macro_patch_name(vehicles)
- //get generlized macros
- #include "../../../RD501_main/config_macros.hpp"
- class CfgPatches
- {
- class macro_patch_name(bantha)
- {
- addonRootClass=macro_patch_name(vehicles)
- requiredAddons[]=
- {
- macro_patch_name(vehicles)
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(bantha,501st_MkI)
- };
- weapons[]=
- {
-
- };
- };
- };
- #include "../../common/sensor_templates.hpp"
- class DefaultEventhandlers ;
- class CfgVehicles
- {
- class Car_F;
- class Wheeled_APC_F : Car_F
- {
- class turrets;
- };
- class 212th_APC_Wheeled_01_base_F : Wheeled_APC_F
- {
- class Turrets: Turrets
- {
- class MainTurret;
- };
- }
- class 212th_B_APC_Wheeled_01_base_F : 212th_APC_Wheeled_01_base_F
- {
- class Turrets: Turrets
- {
- class MainTurret;
- };
- }
- class 212th_B_APC_Wheeled_01_cannon_F : 212th_B_APC_Wheeled_01_base_F
- {
- class Turrets: Turrets
- {
- class MainTurret;
- };
- };
- class 212th_B_APC_Wheeled_01_cannon_F_OCimport_01 : 212th_B_APC_Wheeled_01_cannon_F
- {
- class HitPoints;
- class Turrets: Turrets
- {
- class MainTurret:MainTurret
- {
- class HitPoints;
- class turrets;
- };
- };
- };
- class 212th_B_APC_Wheeled_01_cannon_F_OCimport_02 : 212th_B_APC_Wheeled_01_cannon_F_OCimport_01
- {
- class HitPoints: HitPoints
- {
- class HitBody;
- class HitEngine;
- class HitFuel;
- class HitHull;
- };
- class Turrets: Turrets
- {
- class MainTurret:MainTurret
- {
- class HitPoints:HitPoints
- {
- class HitTurret;
- class HitGun;
- };
- class turrets: turrets
- {
- class commanderoptics;
- };
- };
- };
- };
- class macro_new_vehicle(bantha,501st_MkI):212th_B_APC_Wheeled_01_cannon_F_OCimport_02
- {
- armor = 600;//320;
- armorStructural = 5;
- htMax = 1800;
- htMin = 60;
- minTotalDamageThreshold = 0.001;
- explosionShielding = 1;
- crewVulnerable = false;
- crewCrashProtection = 0;
- ace_repair_canRepair =1;
- memoryPointLMissile[] = {"Rocket_1","Rocket_2"};
- memoryPointRMissile[] = {"Rocket_2","Rocket_1"};
- scope=2;
- scopeCurator=2;
- displayName="Bantha (501st) Mk.I (Mynock)";
- hiddenSelectionsTextures[]=
- {
- "RD501_Vehicles\textures\bantha\bantha_ext01_mynock_co.paa",
- "RD501_Vehicles\textures\bantha\bantha_tire_mynock_co.paa",
- "RD501_Vehicles\textures\bantha\bantha_turret_mynock_co.paa",
- "RD501_Vehicles\textures\bantha\bantha_int01_mynock_co.paa",
- };
- faction = macro_republic_faction
- editorSubcategory = macro_editor_cat(APC)
- vehicleClass = macro_editor_vehicle_type(APC)
- slingLoadCargoMemoryPoints[] = {
- "wheel_1_1_axis","wheel_1_2_axis","wheel_1_3_axis","wheel_1_4_axis","wheel_1_5_axis",
- "wheel_2_1_axis","wheel_2_2_axis","wheel_2_3_axis","wheel_2_4_axis","wheel_2_5_axis",
- "light_l_flare","light_l_flare2",
- "light_r_flare","light_r_flare2",
- "commander_turret_axis",
- "engineeffectl","engineeffectr"
- };
- slingLoadCargoMemoryPointsDir[] = {};
- class EventHandlers
- {
- init = "[_this select 0] execVM 'RD501_Vehicles\_init_functions\wheel_dmg.sqf';";
- };
- class HitPoints: HitPoints
- {
- class HitBody: HitBody//basicly the armor
- {
- armor = 3.5;
- material = -1;
- name = "karoserie";
- visual = "zbytek";
- passThrough = 0.35;
- minimalHit = 0.1;
- explosionShielding = 0.45;
- radius = 0.3;
- };
- class HitEngine: HitEngine // hit front red for death
- {
- armor = 3.5;//1.9;
- material = -1;
- name = "motor";
- passThrough = 0.2;
- minimalHit = 0.1;
- explosionShielding = 0.4;
- radius = 0.3;
- };
- class HitFuel: HitFuel
- {
- armor = 3.5;//1.4;
- material = -1;
- name = "palivo";
- passThrough = 0.3;
- minimalHit = 0.1;
- explosionShielding = 0.4;
- radius = 0.3;
- };
- class HitHull: HitHull
- {
- armor = 3.5;//2.2;
- material = -1;
- name = "palivo";
- passThrough = 0.4;
- minimalHit = 0.1;
- explosionShielding = 0.2;
- radius = 0.3;
- };
-
- };
- class Turrets: Turrets
- {
- class MainTurret:MainTurret
- {
- weapons[] = {"SCI_autocannon_Z20_HBB","missiles_DAGR","missiles_titan"};
- magazines[] = {"SCI_500Rnd_Z20_HBB","SCI_500Rnd_Z20_HBB","SCI_500Rnd_Z20_HBB","SCI_500Rnd_Z20_HBB","12Rnd_PG_missiles","2Rnd_GAT_missiles"};
- class HitPoints:HitPoints
- {
- class HitTurret:HitTurret
- {
- armor = 13;//1
- };
- class HitGun:HitGun
- {
- armor = 13;//0.7;
- };
- };
- class turrets:turrets
- {
- class commanderoptics:commanderoptics
- {
- weapons[] = {"CMFlareLauncher","SmokeLauncher","212th_arifle_VALKEN38A_F","Laserdesignator_vehicle"};
- magazines[] = {"300Rnd_CMFlare_Chaff_Magazine","SmokeLauncherMag","SmokeLauncherMag","SmokeLauncherMag","SmokeLauncherMag","SmokeLauncherMag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","212th_200Rnd_VALKEN38SAW_mag","Laserbatteries"};
- };
- };
- };
- };
- class TransportBackpacks;
- class TransportItems
- {
- class _xx_ACE_elasticBandage
- {
- count = 0;
- };
- class _xx_ACE_packingBandage
- {
- count = 0;
- };
- class _xx_ACE_quikclot
- {
- count = 0;
- };
- class _xx_ACE_salineIV
- {
- count = 0;
- };
- class _xx_ACE_salineIV_250
- {
- count = 0;
- };
- class _xx_ACE_salineIV_500
- {
- count = 0;
- };
- class _xx_ACE_tourniquet
- {
- count = 0;
- };
- class _xx_OPTRE_M2_Smoke_Blue
- {
- count = 0;
- };
- class _xx_OPTRE_M2_Smoke_Green
- {
- count = 0;
- };
- class _xx_OPTRE_M2_Smoke_Purple
- {
- count = 0;
- };
- class _xx_OPTRE_M2_Smoke_Red
- {
- count = 0;
- };
- class _xx_SmokeShell
- {
- count = 0;
- };
- class _xx_SW_halfshield_Mag
- {
- count = 0;
- };
- class _xx_SW_SquadShield_Mag
- {
- count = 0;
- };
- class _xx_SWOP_termDet_G
- {
- count = 0;
- };
- };
- class TransportMagazines
- {
- class _xx_SCI_200Rnd_VALKEN38SAW_mag
- {
- count = 0;
- };
- class _xx_SCI_35Rnd_DC15A_mag
- {
- count = 0;
- };
- class _xx_SCI_45Rnd_DC15S_mag
- {
- count = 0;
- };
- class _xx_SCI_5Rnd_VALKEN38SAW_mag
- {
- count = 0;
- };
- class _xx_SCI_600Rnd_z6_mag
- {
- count = 0;
- };
- class _xx_SCI_PLX1_Missile
- {
- count = 0;
- };
- class _xx_SCI_RPS6_HEAA
- {
- count = 0;
- };
- };
- class TransportWeapons
- {
- class _xx_SCI_arifle_DC15A_F
- {
- count = 0;
- };
- class _xx_SCI_arifle_DC15S_F
- {
- count = 0;
- };
- class _xx_SCI_arifle_z6_F
- {
- count = 0;
- };
- class _xx_SCI_RPS6
- {
- count = 0;
- };
- };
- };
- };
|