Tau Hammerhead 0 Posted January 21, 2005 i was trying to use the search function but it wouldnt work so this will need to be quick, just a straight answer and the topic can be closed i think. Ok the problem is that ofp wont play the mission, it says no entry ".model" error , how can i fix this, the models are all in the .pbo file and they are correctly linked but it just wont work, any solution? Share this post Link to post Share on other sites
Cpt. FrostBite 0 Posted January 21, 2005 i was trying to use the search function but it wouldnt work so this will need to be quick, just a straight answer and the topic can be closed i think. Ok the problem is that ofp wont play the mission, it says no entry ".model" error , Â how can i fix this, the models are all in the .pbo file and they are correctly linked but it just wont work, any solution? Models in the PBO for the mission? I hope you mean something else, since models (addon pbo's) should be in the addon folder and not in be included in the mission-pbo. When you get a '.model' error, you are missing an addon in your addon folder that is required for the mission (or for one of the addons included in your mission). Share this post Link to post Share on other sites
Tau Hammerhead 0 Posted January 21, 2005 no, the addons are in the addon folder, i meant on editor, but i have tried changing weapons for the units, it works for one but not the other two oddly. Share this post Link to post Share on other sites
Cpt. FrostBite 0 Posted January 21, 2005 no, the addons are in the addon folder, i meant on editor, but i have tried changing weapons for the units, it works for one but not the other two oddly. hehe, try checking your spelling. Wouldn't be the first guy to make mistake there edit; hmm. Nope I just checked it, but that would give some other error. Could you give me all the details about it and post what you wrote in the init field of the soldiers? Share this post Link to post Share on other sites
Cpt. FrostBite 0 Posted January 21, 2005 In a little search I came up with this; Quote[/b] ]B) you pointed a line in the config to a model <addon or bis>that was not in the pbo or your addons folder. If you made the addon yourself, you might want to check the cpp for errors. Share this post Link to post Share on other sites
Tau Hammerhead 0 Posted January 22, 2005 ok,here is the config of the unit that works: Quote[/b] ] class combine_cop:SoldiereB { displayName="Combine Cop"; weapons[]={"Llama_M82","Binocular","NVGoggles","Throw"," ;Put"}; magazines[]={Llama_M82Mag, Llama_M82Mag,Llama_M82Mag,HandGrenade,HandGrenade,SmokeShell,Strokefist}; armor=10; armorStructural=2.000000; armorHead=0.500000; armorBody=0.800000; armorHands=0.400000; armorLegs=0.600000; model="\PC_SAS\combinecop.p3d"; }; and the one that says "no entry ".model". Quote[/b] ] class combine_soldier:SoldiereB { displayName="Combine Soldier"; weapons[]={"AK47CS",,"Llama_M82","Binocular","NVGoggles",&qu ot;Throw","Put"}; magazines[]={AK47CSmag,AK47CSmag,AK47CSmag,AK47CSmag,Llama_M82Mag,Llama_M82Mag,Llama_M82Mag,HandGrenad e,HandGrenade,SmokeShell,Strokefist}; armor=15; armorStructural=4.000000; armorHead=0.800000; armorBody=1.100000; armorHands=0.700000; armorLegs=1.000000; model="\PC_SAS\combinesoldier.p3d"; }; I have tried all of the weapons on their own and they work, so i have no idea what it is Share this post Link to post Share on other sites
Locke@Germany 0 Posted January 22, 2005 Seems you've made some little errors in the config, try this instead: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class combine_cop:SoldiereB { displayName="Combine Cop"; weapons[]={Llama_M82,Binocular,NVGoggles,Throw,Put}; magazines[]={Llama_M82Mag,Llama_M82Mag,Llama_M82Mag,HandGrenade,HandGrenade,SmokeShell,Strokefist}; armor=10; armorStructural=2.000000; armorHead=0.500000; armorBody=0.800000; armorHands=0.400000; armorLegs=0.600000; model="\PC_SAS\combinecop.p3d"; }; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class combine_soldier:SoldiereB { displayName="Combine Soldier"; weapons[]={AK47CS,Llama_M82,Binocular,NVGoggles,Throw,Put}; magazines[]={AK47CSmag,AK47CSmag,AK47CSmag,AK47CSmag,Llama_M82Mag,Llama_M82Mag,Llama_M82Mag,HandGrenad e,HandGrenade,SmokeShell,Strokefist}; armor=15; armorStructural=4.000000; armorHead=0.800000; armorBody=1.100000; armorHands=0.700000; armorLegs=1.000000; model="\PC_SAS\combinesoldier.p3d"; }; Share this post Link to post Share on other sites
Cpt. FrostBite 0 Posted January 22, 2005 Indeed, Locke is right. One question; I don't know the weapon "Llama_M82", but if this is an M82 sniperrifle, than you made an other mistake; Two primary weapons on one soldier is not possible (AK47CS, Llama_M82) Share this post Link to post Share on other sites
Tau Hammerhead 0 Posted January 22, 2005 no, the m82 is a pistol and wat exactly did u change in the config so i can use it for future reference? Share this post Link to post Share on other sites
Locke@Germany 0 Posted January 22, 2005 Llama_M82 is a secondary weapon : Llama M82 by SAMU_OFP Share this post Link to post Share on other sites
Tau Hammerhead 0 Posted January 22, 2005 works now, thanks a bunch locke@Germany and Cpt Frostbite. So what waas wrong wiht the old config to make it not work ? Share this post Link to post Share on other sites
Cpt. FrostBite 0 Posted January 22, 2005 works now, thanks a bunch locke@Germany and Cpt Frostbite. So what waas wrong wiht the old config to make it not work ? compare these lines  ; old and new from cop; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weapons[]={"Llama_M82","Binocular","NVGoggles","Throw"," ;Put"}; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weapons[]={Llama_M82,Binocular,NVGoggles,Throw,Put}; old and new from soldier; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weapons[]={"AK47CS",,"Llama_M82","Binocular","NVGoggles",&qu ot;Throw","Put"}; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weapons[]={AK47CS,Llama_M82,Binocular,NVGoggles,Throw,Put}; Share this post Link to post Share on other sites
Tau Hammerhead 0 Posted January 22, 2005 ok, i understand now, i think we have finished with this topic now then, thanks everyone Share this post Link to post Share on other sites