123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- //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 light_infantry_transport
- #define patch_name MODNAME##vehicle_addon##_Patches
- #define vehicle_classname MODNAME##_##vehicle_addon
- #define new_lit_class(name) vehicle_classname##_##name
- class CfgPatches
- {
- class macro_patch_name(light_infantry_transport)
- {
- addonRootClass=macro_patch_name(vehicles)
- requiredAddons[]=
- {
- macro_patch_name(vehicles)
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(light_infantry_transport,CIS_MkII),
- macro_new_vehicle(light_infantry_transport,Rep_MkII)
- };
- weapons[]=
- {
-
- };
- };
- };
- #include "../../common/sensor_templates.hpp"
- class DefaultEventhandlers ;
- class CfgVehicles
- {
- #include "inheritance.hpp"
- class macro_new_vehicle(light_infantry_transport,CIS_MkII):O_Truck_03_covered_F
- {
-
- scope=2;
- scopeCurator=2;
- forceInGarage = 1;
- displayName="CIS Tempest"
- crew=macro_new_unit_class(opfor,B1_crew)
-
- hiddenSelections[] = {"Camo1", "Camo2", "Camo3", "Camo4"};
- textureList[] = {};
- hiddenSelectionsTextures[] =
- {
- macro_vehicle_textures\Tempest\CIS_Tempest_Ext.paa,
- "",
- "a3\static_f_jets\aaa_system_01\data\aaa_system_01_co.paa",
- macro_vehicle_textures\Tempest\CIS_Tempest_Cover.paa
- };
- faction = macro_cis_faction
- editorSubcategory = macro_editor_cat(Transport)
- vehicleClass = macro_editor_vehicle_type(Transport)
- class EventHandlers
- {
- init = "[_this select 0] execVM 'RD501_Vehicles\_init_functions\wheel_dmg.sqf';";
- };
- #include "sounds.hpp"
- };
- class macro_new_vehicle(light_infantry_transport,Rep_MkII):macro_new_vehicle(light_infantry_transport,CIS_MkII)
- {
- side=1;
- scope=2;
- forceInGarage = 1;
- displayName="Republic Tempest"
- crew = "SWOP_Clonetrooper_P1";
- faction = macro_republic_faction
- editorSubcategory = macro_editor_cat(Transport)
- vehicleClass = macro_editor_vehicle_type(Transport)
- class EventHandlers
- {
- init = "[_this select 0] execVM 'RD501_Vehicles\_init_functions\wheel_dmg.sqf';";
- };
- hiddenSelectionsTextures[] =
- {
- macro_vehicle_textures\Tempest\Rep_Temp_Ext.paa,
- "",
- "a3\static_f_jets\aaa_system_01\data\aaa_system_01_co.paa",
- macro_vehicle_textures\Tempest\REP_Temp_Cover.paa
- };
- };
-
- };
|