TheRedBaron 0 Posted June 11, 2004 I make a simple coke machine addon but Its not showing up in the game. It is giving me no error messages and my other custom addons work. I figure its a problem with my config but I cant find it. the folder of the addon before pboing was coke and the p3d is coke.p3d: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches { class Crate { units[] = {Crate}; weapons[] = {}; requiredVersion = 1.0; }; }; class CfgVehicles { class All {}; class Static: All {}; class Building: Static {}; class NonStrategic: Building {}; class TargetTraining: NonStrategic {}; class TargetGrenade: TargetTraining {}; class Crate: TargetGrenade { model="\coke\coke"; armor=20000; scope=2; displayName="cstm_coke"; } } Share this post Link to post Share on other sites
Scud 0 Posted June 11, 2004 Two questions Is the word "cstm_coke" coming up in the objects list in editor? And Have you set the land contact points? Share this post Link to post Share on other sites
Nathanz 0 Posted June 11, 2004 My static object addons work without "land contact points" So I'm guessing you put the addon below the center line ? if so move it so the bottom of the coke machine just above the center line  Also Quote[/b] ]class CfgPatches{ class Crate { units[] = {Crate}; weapons[] = {}; requiredVersion = 1.0; }; }; class CfgVehicles { class All {}; class Static: All {}; class Building: Static {}; class NonStrategic: Building {}; class TargetTraining: NonStrategic {}; class TargetGrenade: TargetTraining {}; class Crate: TargetGrenade { vehicleClass="TheRedBaron - Objects"; model="\coke\coke"; armor=20000; scope=2; displayName="cstm_coke"; }; } Notice the "vehicleClass="TheRedBaron - Objects" That will put you addon in your very own folder (like Cars, Air, Objects etc) Should make it easer to find.(It will be under Empty/TheRedBaron - Objects/cstm_coke Share this post Link to post Share on other sites
Scud 0 Posted June 11, 2004 Quote[/b] ]My static object addons work without "land contact points" Yes they might but I would still go with a landcontact lod. Share this post Link to post Share on other sites
MidShip 0 Posted June 11, 2004 Is there another 'crate' anywhere in your addons ? Share this post Link to post Share on other sites
TheRedBaron 0 Posted June 11, 2004 My addon is above the center line and I have made a crate from a tutorial and it does show up in my object list, but this one is not showing up at all for some reason. I tried searching through other classes but i couldnt find it. I checked the model in 02 and compared it to the crate that works but I can not find the problem. Share this post Link to post Share on other sites
TheRedBaron 0 Posted June 11, 2004 Yes! finally figured it out. I had just copy pasted the config from my crate addon and did not change all of the "crates" to "coke". Though now I have another problem, me being unexperienced with o2 overestimated the size. not a problem I cant fix though thanks a bunch for all of you help  Share this post Link to post Share on other sites
Nathanz 0 Posted June 11, 2004 You can use Shift+Ctrl to size quicker... unless you know that allready Share this post Link to post Share on other sites