Jump to content

Photo
- - - - -

New soldier models


  • Please log in to reply
5 replies to this topic
Thread Starter
der bastler
der bastler

    Master Gunnery Sergeant

  • Members
  • 1295 posts

  • Joined: 02-August 2002

Posted 30 October 2002 - 12:49 #1

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

Is a tutorial for soldier creating available?
FPDR Tempus Fugit.

soul_assassin
soul_assassin

    Chief Warrant Officer

  • Members
  • 3516 posts

  • Joined: 04-May 2002

Posted 30 October 2002 - 17:14 #2

Im 99% sure its your config, is this supposed to be a back pack?

Thread Starter
der bastler
der bastler

    Master Gunnery Sergeant

  • Members
  • 1295 posts

  • Joined: 02-August 2002

Posted 30 October 2002 - 19:58 #3

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




FPDR Tempus Fugit.

Thread Starter
der bastler
der bastler

    Master Gunnery Sergeant

  • Members
  • 1295 posts

  • Joined: 02-August 2002

Posted 01 November 2002 - 10:37 #4

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?
FPDR Tempus Fugit.

soul_assassin
soul_assassin

    Chief Warrant Officer

  • Members
  • 3516 posts

  • Joined: 04-May 2002

Posted 01 November 2002 - 15:30 #5

Tyr taking the cfg models part away and see if that works

Thread Starter
der bastler
der bastler

    Master Gunnery Sergeant

  • Members
  • 1295 posts

  • Joined: 02-August 2002

Posted 01 November 2002 - 18:42 #6

That's funny, I implemented the CfgModels part because OFP crashed...

Guess I must build my soldiers from scratch.
Jesus! Posted Image
FPDR Tempus Fugit.