1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- //Get this addons macro
- //get the macro for the air RD501_patch_vehicles
- //get generlized macros
- #include "../../../RD501_main/config_macros.hpp"
- //General name of the vehicle
- #define vehicle_addon heavy_ordinance_tank
- #define patch_name MODNAME##vehicle_addon##_Patches
- #define vehicle_classname MODNAME##_##vehicle_addon
- #define new_hot_class(name) vehicle_classname##_##name
- class CfgPatches
- {
- class RD501_patch_heavy_ordinance_tank
- {
- addonRootClass=MACRO_QUOTE(RD501_patch_vehicles);
- requiredAddons[]=
- {
- RD501_patch_vehicles
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(heavy_ordinance_tank,CIS)
- };
- weapons[]=
- {
-
- };
- };
- };
- #include "../../common/sensor_templates.hpp"
- class DefaultEventhandlers ;
- class CfgVehicles
- {
- #include "inheritance.hpp"
- class 442_baw_arty;
- class macro_new_vehicle(heavy_ordinance_tank,CIS) : 442_baw_arty
- {
- displayName = "CIS Trebuchet";
- crew=MACRO_QUOTE(macro_new_unit_class(opfor,B1_crew));
- scope = 2;
- side=0;
- scopeCurator=2;
- faction = MACRO_QUOTE(macro_faction(CIS));
- editorSubcategory = MACRO_QUOTE(macro_editor_cat(arty));
- vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type(arty));
- author = "RD501";
- forceInGarage=1;
- };
- };
|