123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- //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 Mynock
- #define patch_name MODNAME##vehicle_addon##_Patches
- #define vehicle_classname MODNAME##_##vehicle_addon
- #define new_Mynock_class(name) vehicle_classname##_##name
- class CfgPatches
- {
- class macro_patch_name(mynock)
- {
- addonRootClass=macro_patch_name(vehicles)
- requiredAddons[]=
- {
- macro_patch_name(vehicles)
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(Longbow,Republic),
- macro_new_vehicle(av7,republic),
- macro_new_vehicle(rocketartillery,Republic)
- };
- weapons[]=
- {
-
- };
- };
- };
- #include "../../common/sensor_templates.hpp"
- class DefaultEventhandlers;
- class CfgVehicles
- {
- class Land;
- class LandVehicle: Land
- {
- class NewTurret;
- };
- class Tank: LandVehicle
- {
- class NewTurret;
- class Sounds;
- class HitPoints;
- class CommanderOptics;
- };
- class Tank_F: Tank
- {
- class Turrets
- {
- class MainTurret: NewTurret
- {
- class Turrets
- {
- class CommanderOptics;
- };
- };
- };
- };
- class 442_rx200_base:Tank_F
- {
- class Turrets:Turrets
- {
- class MainTurret: MainTurret
- {
- class Turrets
- {
- class CommanderOptics;
- };
- };
- };
- };
- class 442_rx200_arty:442_rx200_base
- {
- class Turrets:Turrets
- {
- class MainTurret: MainTurret
- {
- class Turrets
- {
- class CommanderOptics;
- };
- };
- };
- };
- class macro_new_vehicle(rocketartillery,Republic):442_rx200_arty
- {
- scope=2;
- armor = 1000;
- displayName = "Republic RX200 Rocket Artillery"
- crew = "JLTS_Clone_P2_Rex_501";
- side = 1;
- faction = macro_republic_faction
- editorSubcategory = macro_editor_cat(arty)
- vehicleClass = macro_editor_vehicle_type(arty)
- scopeCurator = 2;
- forceInGarage = 1;
- artilleryScanner = 1;
- laserScanner = 1;
- availableforsuppoerttypes[]={"Artillery"};
- RD501_magclamp_small_forbidden = 1;
- RD501_magclamp_large_offset[]={0.0,-3.0,-7.0};
- class Turrets: Turrets
- {
- class MainTurret: MainTurret
- {
- weapons[]=
- {
- "rockets_230mm_GAT",
- "SmokeLauncher"
- };
- magazines[]=
- {
- "12Rnd_230mm_rockets",
- "12Rnd_230mm_rockets",
- "SmokeLauncherMag"
- };
- };
- };
- };
- class 442_rx200_aa:442_rx200_base
- {
- class Turrets:Turrets
- {
- class MainTurret: MainTurret
- {
- class Turrets
- {
- class CommanderOptics;
- };
- };
- };
- };
- class macro_new_vehicle(Longbow,Republic):442_rx200_aa
- {
- scope=2;
- side=1;
- scopeCurator=2;
- forceInGarage = 1;
- displayName="Republic Longbow AA"
- crew = "JLTS_Clone_P2_Rex_501";
- author="RD501"
- faction = macro_republic_faction
- editorSubcategory = macro_editor_cat(aa)
- vehicleClass = macro_editor_vehicle_type(aa)
- irScanGround = 0;
- irScanRangeMax = 10000;
- irScanRangeMin = 200;
- irScanToEyeFactor = 2;
- irTarget = 1;
- irTargetSize = 1.2;
- #include "../../common/smallvehiclekit.hpp"
- RD501_magclamp_small_forbidden = 1;
- RD501_magclamp_large_offset[]={0.0,-3.0,-7.0};
- class Turrets:Turrets
- {
- class MainTurret: MainTurret
- {
- weapons[]=
- {
- macro_new_weapon(turret,laat_ball_beam_l),
- "Laserdesignator_pilotCamera"
- };
- magazines[]=
- {
- "Laserbatteries",
- macro_new_mag(laat_ball_beam,300),macro_new_mag(laat_ball_beam,300),macro_new_mag(laat_ball_beam,300),macro_new_mag(laat_ball_beam,300),
- macro_new_mag(laat_ball_beam,300),macro_new_mag(laat_ball_beam,300),macro_new_mag(laat_ball_beam,300),macro_new_mag(laat_ball_beam,300),
- macro_new_mag(laat_ball_beam,300),macro_new_mag(laat_ball_beam,300),macro_new_mag(laat_ball_beam,300),macro_new_mag(laat_ball_beam,300)
- };
- }
- }
- };
- class 3as_01_arty_base_F;
- class macro_new_vehicle(av7,republic):3as_01_arty_base_F
- {
- scope=2;
- side=1;
- scopeCurator=2;
- forceInGarage = 1;
- displayName="Republic AV7"
- crew = "JLTS_Clone_P2_Rex_501";
- author="RD501"
- faction = macro_republic_faction
- editorSubcategory = macro_editor_cat(arty)
- vehicleClass = macro_editor_vehicle_type(arty)
- RD501_magclamp_small_forbidden = 1;
- RD501_magclamp_large_offset[] = {0.0,-10.0,-8.0};
- };
- };
|