Bkp 10 Posted January 19, 2011 Hello, I want to make a new crate with the radios from ACRE So far I made this: config.cpp: #define private 0 #define protected 1 #define public 2 #define true 1 #define false 0 enum { STABILIZEDINAXISX = 1, STABILIZEDINAXISY = 2, STABILIZEDINAXESBOTH = 3, STABILIZEDINAXESNONE = 0, }; class CfgPatches { class ACRE_radios { units[] = {}; weapons[] = {}; requiredVersion = 1.02; requiredAddons[] = {}; }; }; class CfgVehicles { class USSpecialWeaponsBox; // External class reference class ReammoBox; // External class reference class ReammoBox_EP1 : ReammoBox { expansion = 1; }; class Bag_Base_EP1; // External class reference class Acre_RadioBox : USSpecialWeaponsBox { displayName = "Acre Radio Box"; class TransportWeapons { class _xx_ACRE_PRC148 { weapon = "ACRE_PRC148"; count = 20; }; class _xx_ACRE_PRC148_UHF { weapon = "ACRE_PRC148_UHF"; count = 20; }; class _xx_ACRE_PRC119 { weapon = "ACRE_PRC119"; count = 20; }; class _xx_ACRE_PRC117F { weapon = "ACRE_PRC117F"; count = 20; }; }; }; }; + $PBOPREFIX$ file: acrebox and made from those two a .pbo file called "acrebox" But it won't appear in the editor Share this post Link to post Share on other sites
Bkp 10 Posted January 20, 2011 Nevermind I managed to do this myself: #define private 0 #define protected 1 #define public 2 #define true 1 #define false 0 enum { STABILIZEDINAXISX = 1, STABILIZEDINAXISY = 2, STABILIZEDINAXESBOTH = 3, STABILIZEDINAXESNONE = 0, }; class CfgPatches { class ACRE_radios { units[] = {}; weapons[] = {}; requiredVersion = 1.02; requiredAddons[] = {}; }; }; class CfgVehicles { class USBasicWeapons_EP1; // External class reference class Acre_Radiobox : USBasicWeapons_EP1 { displayName = "Radio Crate"; model = "\ca\weapons\AmmoBoxes\USBasicWeapons.p3d"; vehicleClass = "Ammo"; class TransportWeapons { class _xx_ACRE_PRC148 { weapon = "ACRE_PRC148"; count = 20; }; class _xx_ACRE_PRC148_UHF { weapon = "ACRE_PRC148_UHF"; count = 20; }; class _xx_ACRE_PRC119 { weapon = "ACRE_PRC119"; count = 20; }; class _xx_ACRE_PRC117F { weapon = "ACRE_PRC117F"; count = 20; }; }; }; }; Share this post Link to post Share on other sites
mia389 10 Posted January 21, 2011 Sweet. Great Idea! Will you share that PBO? Share this post Link to post Share on other sites
Bkp 10 Posted January 22, 2011 Well this is it: http://www.mediafire.com/?8du37mq73znyzn7 You just add it from the editor It's called "Radio Crate" and you can find it inside "Ammo" Share this post Link to post Share on other sites
mia389 10 Posted January 25, 2011 Thanks! This will be nice. Share this post Link to post Share on other sites