***friendlyfire*** 1 Posted February 12, 2005 I cannot get a hold of config I have created a model in oxygen but thats it, no textures or anything, I want to test how it looks in game, Anyone who wants to help with the cpp is more than welcome to PM me and I will E-Mail them the P3D model Share this post Link to post Share on other sites
Scanger 0 Posted February 13, 2005 heres a totally basic cpp this will only show your addon up as a static building but at least you will see how it looks ingame. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">// type scope #define private 0 #define protected 1 #define public 2 class cfgPatches { class MyFirstAddon { units[] = {MyFirstAddon}; weapons[] = {}; requiredversion = 1.0; }; }; class cfgVehicles { class All {}; class Static: All {}; class Building: Static {}; class NonStrategic: Building {}; class TargetTraining: Nonstrategic {}; class TargetGrenade: TargetTraining {}; class MyFirstAddon: TargetGrenade { vehicleClass = "MyFirstAddon"; model="\MyFirstAddon\MyFirstAddon.p3d"; armor=20000; scope=2; displayname="MyFirstAddon" }; }; just change the "MyFirstAddon" bits with your own addons folder\modelnames Scanger :D Share this post Link to post Share on other sites
***friendlyfire*** 1 Posted February 17, 2005 thanx scanger, I have the P3D model and the config in the same folder It has no textures yet now do i just have to make it a PBO Share this post Link to post Share on other sites
nephilim 0 Posted February 21, 2005 dwl pbotool or umakepbo ull can fid for example on ofp.info under utilities put all ur stuff (p3d config.cpp) in ur addon folder and pbo it then place the pbo file in ur addons folder in the ofp resistance directory @scanger y didnt u post a chopper cfg Share this post Link to post Share on other sites