tophe 69 Posted April 15, 2007 I'm making my first addon, a huuuuuge beer-box. However... When I put it on the map in the editor in ArmA and start I get No entry bin\config.bin/CfgModels.default But if I click preview again, it works... How do I get this error-message NOT to show? I have made my addon in O2, and it works ingame. This is the config: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches { class OOPSbox { units[] = {OOPSbox}; weapons[] = {}; requiredVersion = 1.0; }; }; class CfgVehicles { /*extern*/ class Thing; class OOPSbox: Thing { model="\OOPSbox\oopsbox"; armor=20000; scope=2; displayName="OOPS box"; }; } Also.. how do I make it possible to put gear in it? I tried adding this: supplyRadius = 2.500000; transportMaxWeapons = 500; transportMaxMagazines = 2000; But it didn't work. Thx in advance! Share this post Link to post Share on other sites
DarkGiver 0 Posted April 15, 2007 I'm making my first addon, a huuuuuge beer-box.However... When I put it on the map in the editor in ArmA and start I get No entry bin\config.bin/CfgModels.default But if I click preview again, it works... How do I get this error-message NOT to show? I have made my addon in O2, and it works ingame. This is the config: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches {  class OOPSbox   {    units[] = {OOPSbox};    weapons[] = {};    requiredVersion = 1.0;   }; }; class CfgVehicles {     /*extern*/ class Thing;    class OOPSbox: Thing    {      model="\OOPSbox\oopsbox";      armor=20000;      scope=2;      displayName="OOPS box";     }; } Also.. how do I make it possible to put gear in it? I tried adding this: supplyRadius = 2.500000; transportMaxWeapons = 500; transportMaxMagazines = 2000; But it didn't work. Thx in advance! I had the same problems with my weapons with a few testers and i've found this solution : Try to add a CfgModels section like that : <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> Class CfgModels { class Default { sections[] = {}; sectionsInherit=""; }; and after.. if needed... Class Thing: default(); class OOPSbox:Thing { sectionsInherit="Thing"; sections[] = {}; }; }; And for the gear on.. your must configurate you box using a Transportmagazine class and Transportweapon class.. check the original files for example...  it's easy I hope i helped  Share this post Link to post Share on other sites
tophe 69 Posted April 16, 2007 Thank you it did! Quote[/b] ]And for the gear on.. your must configurate you box using a Transportmagazine class and Transportweapon class.. check the original files for example... it's easy Isn't that just for adding stuff to the box? I want an empty box that you will be able to put you gear inside, ingame. Looking through the original files i see that they use these commands to add stuff to boxes. Not to define the available space inside. Share this post Link to post Share on other sites