der bastler 0 Posted October 30, 2002 I've analyzed the soldier demo models (mc_vojak etc.) and found a lot of named selections (body parts)... Then I added a small box to the soldier's shoulder, wrote a simple config and stuffed both model and config into a pbo file. But when using the soldier in editor and previewing it, OFP crashes? Is a tutorial for soldier creating available? Share this post Link to post Share on other sites
soul_assassin 1750 Posted October 30, 2002 Im 99% sure its your config, is this supposed to be a back pack? Share this post Link to post Share on other sites
der bastler 0 Posted October 30, 2002 No, USCMarines! I just changed the model a little bit for testing purposes ->added some polys. Then I simply removed some faces -> crash? Zwadar, where's your tutorial? Share this post Link to post Share on other sites
der bastler 0 Posted November 1, 2002 Ok, now I've tried an unchanged soldier model from the demo -> OFP crashes when previewing unit in editor! config.cpp: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgPatches {   class USCMSoldiers   {      units[] = {SoldierUSCM};      weapons[] = {};      requiredVersion = 1.30;   }; }; class CfgModels {   class Default {};   class Man: Default {};   class colmarine: Man {}; }; class CfgVehicles {   class All {};   class AllVehicles : All {};   class Land : AllVehicles {};   class Man : Land {};   class Soldier : Man {};   class SoldierWB : Soldier {};   class SoldierUSCM: SoldierWB   {      access = 1;      picture = "igrenadier";      model = "/USCM/colmarine.p3d"      vehicleClass = "Men";      scope = 2;      cost = 60000;      displayName = "USCM Prototyp";      accuracy = 1000;   }; }; <span id='postcolor'> WHY? Are there other soldier mlod-models on the internet? Share this post Link to post Share on other sites
soul_assassin 1750 Posted November 1, 2002 Tyr taking the cfg models part away and see if that works Share this post Link to post Share on other sites
der bastler 0 Posted November 1, 2002 That's funny, I implemented the CfgModels part because OFP crashed... Guess I must build my soldiers from scratch. Jesus! Share this post Link to post Share on other sites
stoppelhopser 0 Posted November 14, 2002 i´ve looked at the config and if that is an exact copy-and-paste of the one you use, i guess the error is located at: model = "/USCM/colmarine.p3d" since it rather has to be backslash instead of slash, that is: model = "\USCM\colmarine.p3d" ofp seems to crash to the desktop without a message if it doesn´t find a model. Share this post Link to post Share on other sites
der bastler 0 Posted November 14, 2002 Oh, I did not notice that (damn html-linux-dos-"/"-"\"-chaos)! Thanks! (silly mistake, never wrote that in other configs. I should drink more coffee and sleep less...huh, or the other way round...) Share this post Link to post Share on other sites
der bastler 0 Posted November 14, 2002 There's still one question remaining: Which named selections can be deleted and which must exist? Because editing an existing model can be much more difficult than creating new stuff from scratch... Share this post Link to post Share on other sites