123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- //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 resuppy_box
- #define patch_name MODNAME##vehicle_addon##_Patches
- #define vehicle_classname MODNAME##_##vehicle_addon
- #define macro_new_rs_box_class(name) vehicle_classname##_##name
- class CfgPatches
- {
- class macro_patch_name(resuppy_box)
- {
- addonRootClass=macro_patch_name(vehicles)
- requiredAddons[]=
- {
- macro_patch_name(vehicles)
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(resuppy_box,platoon_medical),
- macro_new_vehicle(resuppy_box,platoon_ammo),
- macro_new_vehicle(resuppy_box,platoon_joint),
- macro_new_vehicle(resuppy_box,small_medical),
- macro_new_vehicle(resuppy_box,small_ammo),
- macro_new_vehicle(resuppy_box,small_uav),
- macro_new_vehicle(resuppy_box,platoon_medical_tent)
- };
- weapons[]=
- {
-
- };
- };
- };
- #include "../../common/sensor_templates.hpp"
- class DefaultEventhandlers;
- class CfgVehicles
- {
- class plp_ct_HighSecContBlack;
- class 442_box5_1;
- class 442_box10;
- class 442_box4;
- class SWOP_BOX_BASE;
- class plp_ct_HighSecBigBlack;
- class macro_new_vehicle(resuppy_box,platoon_medical): plp_ct_HighSecContBlack
- {
- scope = 2;
- scopeCurator = 2;
- displayName = "Republic Platoon Resupply (Medical)";
- hiddenSelections[] = {"camo", "camoB", "camo1", "camo2"};
- hiddenSelectionsTextures[] = {"\plp_containers\StcHighSec\plp_ct_HighSecContRed.paa", "", "\plp_containers\StcHighSec\plp_ct_HighSec_LightOrange_co.paa", ""};
- hiddenSelectionsMaterials[] = {"\plp_containers\StcHighSec\plp_ct_HighSecCont_Metal.rvmat", "\plp_containers\StcHighSec\plp_ct_HighSecCont_MetalB.rvmat", "\plp_containers\StcHighSec\plp_ct_HighSec_Light.rvmat", ""};
- editorCategory = macro_editor_cat(suppplies)
- editorSubcategory = macro_editor_cat(resupply)
- RD501_magclamp_small_offset[]={0.0,0.0,-0.4};
- class TransportItems
- {
- #include "medical_platoon_items.hpp"
- };
- class EventHandlers :DefaultEventhandlers{};
- };
- class macro_new_vehicle(resuppy_box,platoon_medical_tent): plp_ct_HighSecContBlack
- {
- scope = 2;
- scopeCurator = 2;
- displayName = "Republic M*A*S*H";
- hiddenSelections[] = {"camo", "camoB", "camo1", "camo2"};
- hiddenSelectionsTextures[] = {"\plp_containers\StcHighSec\plp_ct_HighSecContRed.paa", "", "\plp_containers\StcHighSec\plp_ct_HighSec_LightOrange_co.paa", ""};
- hiddenSelectionsMaterials[] = {"\plp_containers\StcHighSec\plp_ct_HighSecCont_Metal.rvmat", "\plp_containers\StcHighSec\plp_ct_HighSecCont_MetalB.rvmat", "\plp_containers\StcHighSec\plp_ct_HighSec_Light.rvmat", ""};
- editorCategory = macro_editor_cat(suppplies)
- editorSubcategory = macro_editor_cat(resupply)
- RD501_magclamp_small_offset[]={0.0,0.0,-0.4};
- class TransportItems{};
- class EventHandlers :DefaultEventhandlers{};
- class ACE_Actions {
- class ACE_MainActions {
- displayName = "Deployable CCP";
- condition = "true";
- distance = 4;
- class rd501_deploy_medical_ccp {
- displayName = "Deploy";
- statement = "_this call rd501_fnc_deployCCP";
- icon = "rd501_main\ui_icons\medical_emblem.paa";
- exceptions[] = {};
- };
- };
- };
- };
- class macro_new_vehicle(resuppy_box,platoon_ammo): plp_ct_HighSecContBlack
- {
- scope = 2;
- scopeCurator = 2;
- displayName = "Republic Platoon Resupply (Ammo)";
- hiddenSelections[] = {"camo", "camoB", "camo1", "camo2"};
- hiddenSelectionsTextures[] = {"\plp_containers\StcHighSec\plp_ct_HighSecContWhite.paa", "", "\plp_containers\StcHighSec\plp_ct_HighSec_LightBlue_co.paa", ""};
- hiddenSelectionsMaterials[] = {"\plp_containers\StcHighSec\plp_ct_HighSecCont_Metal.rvmat", "\plp_containers\StcHighSec\plp_ct_HighSecCont_MetalB.rvmat", "\plp_containers\StcHighSec\plp_ct_HighSec_Light.rvmat", ""};
- editorCategory = macro_editor_cat(suppplies)
- editorSubcategory = macro_editor_cat(resupply)
- RD501_magclamp_small_offset[]={0.0,0.0,-0.4};
- class TransportItems
- {
- //#include "ammo_platoon_items.hpp"
- };
- class TransportMagazines
- {
- //#include"ammo_platoon_mag.hpp"
- };
- class TransportWeapons
- {
- //#include "ammo_platoon_weap.hpp"
- };
- class EventHandlers :DefaultEventhandlers{};
- };
- class macro_new_vehicle(resuppy_box,platoon_joint): plp_ct_HighSecContBlack
- {
- scope = 2;
- scopeCurator = 2;
- displayName = "Republic Platoon Resupply (Joint)";
- model = "plp_containers\StcHighSec\plp_cts_HighSecContBlack.p3d";
- editorCategory = macro_editor_cat(suppplies)
- editorSubcategory = macro_editor_cat(resupply)
- RD501_magclamp_small_offset[]={0.0,0.0,-0.4};
- class TransportItems
- {
- //#include "ammo_platoon_items.hpp"
- //#include "medical_platoon_items.hpp"
- };
- class TransportMagazines
- {
- //#include"ammo_platoon_mag.hpp"
- };
- class TransportWeapons
- {
- //#include "ammo_platoon_weap.hpp"
- };
- class EventHandlers :DefaultEventhandlers{};
- };
- class macro_new_vehicle(resuppy_box,small_medical): 442_box5_1
- {
- author = "RD501";
- class SimpleObject
- {
- eden = 1;
- animate[] = {};
- hide[] = {};
- verticalOffset = 0.1;
- verticalOffsetWorld = 0;
- init = "''";
- };
- scope = 2;
- scopeCurator = 2;
- displayName = "Republic Squad Resupply (Medical)";
- icon = "iconObject_4x5";
- vehicleClass = "Ammo";
- editorCategory = macro_editor_cat(suppplies)
- editorSubcategory = macro_editor_cat(resupply)
- ACE_maxWeightCarry = 20000;
- ACE_maxWeightDrag = 20000;
- ace_cargo_size = 1;
- class TransportItems
- {
- #include "medical_small_items.hpp"
- };
- class TransportMagazines{};
- class TransportBackpacks{};
- class EventHandlers :DefaultEventhandlers{
- init ="ACE_maxWeightCarry = 20000;ACE_maxWeightDrag = 20000;";
- };
-
- };
- class macro_new_vehicle(resuppy_box,small_ammo): 442_box10
- {
- author = "RD501";
- class SimpleObject
- {
- eden = 1;
- animate[] = {};
- hide[] = {};
- verticalOffset = 0.1;
- verticalOffsetWorld = 0;
- init = "''";
- };
- scope = 2;
-
- scopeCurator = 2;
- displayName = "Republic Squad Resupply (Ammo)";
- editorSubcategory = macro_editor_cat(resupply)
- icon = "iconObject_4x5";
- vehicleClass = "Ammo";
- editorCategory = macro_editor_cat(suppplies)
- ace_cargo_size = 1;
- class TransportItems
- {
- };
-
- class TransportMagazines
- {
- #include "ammo_small_mag.hpp"
- };
-
- class TransportWeapons
- {
- #include "ammo_small_weap.hpp"
- };
- class TransportBackpacks{};
- };
- class macro_new_vehicle(resuppy_box,small_uav): 442_box4
- {
- author = "RD501";
- class SimpleObject
- {
- eden = 1;
- animate[] = {};
- hide[] = {};
- verticalOffset = 0.1;
- verticalOffsetWorld = 0;
- init = "''";
- };
- scope = 2;
-
- scopeCurator = 2;
- displayName = "Republic UAV Resupply";
- editorSubcategory = macro_editor_cat(resupply)
- vehicleClass = "Ammo";
- editorCategory = macro_editor_cat(suppplies)
- maxload=1000000000;
- ace_cargo_size = 2;
- ace_cargo_canLoad = 1;
- class TransportBackpacks
- {
- class _transport_r2
- {
- backpack=macro_new_vehicle(drone,Clone_Recon_bag)
- count=1;
- };
- class _transport_eddie
- {
- backpack="B_UGV_02_Demining_backpack_F";
- count=1;
- };
- class TransportMagazines{};
- };
- class TransportItems{};
- class TransportMagazines{};
- class TransportWeapons{};
- class EventHandlers :DefaultEventhandlers{
- init ="ACE_maxWeightCarry = 20000;ACE_maxWeightDrag = 20000;";
- };
- };
- };
|