-
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?

Tempus Fugit.
-
Chief Warrant Officer
Im 99% sure its your config, is this supposed to be a back pack?
-
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? 
-
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;
*** *** };
};
[/QUOTE]<span id='postcolor'>
WHY? Are there other soldier mlod-models on the internet?
-
Chief Warrant Officer
Tyr taking the cfg models part away and see if that works
-
That's funny, I implemented the CfgModels part because OFP crashed...
Guess I must build my soldiers from scratch.
Jesus!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules