SKULLS_Viper 0 Posted September 18, 2002 Ok, i was wondering, how can i make the model M16A2 playable in OFP?I made a compact M16A2 and alittle strangish, but its my first time ever with Modeling.So what all do i need to do to make it playable?Also, at the end it says its a P3D file, so should it be pbo?Thanks guys. Share this post Link to post Share on other sites
deadsoldier 0 Posted September 19, 2002 Ok, the pbo is the format which OFP requires. The reason its a pbo, is because the pbo file is basicly a compressed file that includes: -p3d file -texture files ( .paa .pac) -config file ( file that tells OFP how to treat the object) U need a pbo compresser/extractor. I recommend PboTool. i dont have a link, but uwill find it. www.ofpec.com Once you have the PBO tool, bring all the files and place them in one folder. and make the pbo file, copy to OFP/addons..ect..then play. For the simplest config file, just so u can see how it looks like in OFP , copy this, but replace the "NAME" with your model name..or whatever name u give the p3d. has to be the same as p3d file name: -------------- class CfgPatches { class NAME { units[] = {NAME}; weapons[] = {}; requiredVersion = 1.01; }; }; class CfgVehicles { class All {}; class Static: All {}; class Building: Static {}; class NonStrategic: Building {}; class TargetTraining: NonStrategic {}; class TargetGrenade: TargetTraining {}; class NAME: TargetGrenade { model="\NAME\NAME"; armor=20000; scope=2; displayName="NAME"; } } -------------------------- cheers.. Share this post Link to post Share on other sites
deadsoldier 0 Posted September 19, 2002 Name the config file, config.cpp Or in textpad...save as, change file type to "All" then write - config.cpp thats all. The reason OFP uses pbo files is because each model, or object requires its own config file and textures..to make things organised..they created the pbo..it acts as a folder.. OFP goes to the pbo file, opens it and looks inside. cheers Share this post Link to post Share on other sites
SKULLS_Viper 0 Posted September 19, 2002 Ok thanks man.I'll give it a try. Share this post Link to post Share on other sites
SKULLS_Viper 0 Posted September 19, 2002 Ok i got it to work, under empty etc.But how can i make it actually shootable?Thanks so far for your help. Every one had to start from some where. Share this post Link to post Share on other sites
deadsoldier 0 Posted September 21, 2002 well..thats as far as i am in ccp scripting..i dont know crap about it..so i will need some smart ccp scripter to config my models..like make them fire..or recieve hits and damage settings...if anyone interested, let me know. im making all these buildings for my island "555" i have -aircraft hangars -bomb shelters -5 story car park with ramps -10 story walk through all floors. -7/11 gas station -mini-market- -highschool... some more if someone can script them for me. cheers Share this post Link to post Share on other sites
nithuigim 0 Posted September 23, 2002 could anyone post a cofig file for an m2 east ?i want to create a static mg but dont know how to do config files .or just point me in the right direction .thanks in advance Share this post Link to post Share on other sites
zwadar 0 Posted September 23, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (nithuigim @ Sep. 23 2002,13:38)</td></tr><tr><td id="QUOTE">could anyone post a cofig file for an m2 east ?i want to create a static mg but dont know how to do config files .or just point me in the right direction .thanks in advance <span id='postcolor'> See comented config, which is available on breathe page! And se "cfgVehicels.hpp" i think. There is everything what you want. I think class os m2 is "class M2StaticMg" but I'm not sure. Share this post Link to post Share on other sites
nithuigim 0 Posted September 23, 2002 ok so i checked out the commented folder and it made very little sense to me so i depboed one of gfx707s mgs and changed one of his config cpps(hope he dosent mind) i changed the mg static he named to the name of my model so now im thinking its a proxy problem as the gunner climbs inside the gun.ive checked the forums both here and at ofpec but there is little info on this type of proxy most deal with co drivers or cargo places any one got any ideas? Share this post Link to post Share on other sites