Home   Help Search Login Register  

Author Topic: Soldiers have the same face  (Read 2192 times)

0 Members and 1 Guest are viewing this topic.

US-Marine

  • Guest
Soldiers have the same face
« on: 12 Feb 2005, 21:16:39 »
I have made some new Soldiers but there are some problems

first: All have the same face
and the otherone: All have these Medicsign but noone is a medic
and the last: My medic dosn't appear in the Game

hope you know more :P

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Soldiers have the same face
« Reply #1 on: 13 Feb 2005, 00:51:32 »
1. as the base for your models you probably took a ofp demo model in mlod format, downloaded from swissmod or Ktotte's homepage, am i right???
for some reasons, they don'T have a named selection that ofp needs to manage the application of different face textures. this selection is named 'osobnost' (don't ask me what it means in english/german - but i know there's that list around....)
so what you have to do is to select the parts of the head and the hands which have a face texture and name it  osobnost.  
the easier way might be copy/paste the head of BIS mlod sample soldier model, but you have to insert it for every LOD and eventually adjust the position of the head.
link to the sample model pack on ofp.info (engl. cookies.)

2. why don't you simply delete the medic patch in o2 ?  if you use that demo soldier models inserting 'hiddenselections[] = {"medic"'}; into the config should help cos afaik that was the name of the patch selection.

3. no idea. any error messages? sounds like a config prob. -> post it here!
« Last Edit: 13 Feb 2005, 00:52:21 by remcen »
we're looking for members: IM:UC MOD

US-Marine

  • Guest
Re:Soldiers have the same face
« Reply #2 on: 13 Feb 2005, 11:35:00 »
Thanks now it works :)

but the medic didn't appear in game , there are no errormessages but i have a medic configurated in the config

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Soldiers have the same face
« Reply #3 on: 14 Feb 2005, 18:53:24 »
post your config here. that would simplify the situation a lot.
we're looking for members: IM:UC MOD

US-Marine

  • Guest
Re:Soldiers have the same face
« Reply #4 on: 14 Feb 2005, 19:02:32 »
class CfgPatches
{
   class BW_Riflemen
   {
      units[]={
            Rifleman_G36,
            Rifleman_MP5A2,
            Rifleman_MP5,
            Rifleman_P90,
         Â Â Â   Â Â Â };
      Vehicles[] = {};
      Weapons[] = {};
      RequiredVersion = 1.91;
   };
};

class CfgVehicles
{
   class All {};
   class AllVehicles: All {};
   class Land: AllVehicles {};
   class Man: Land {};
   class Soldier: Man {};
   class SoldierWB: Soldier {};
   class Rifleman_G36: SoldierWB
   {
      displayName="Rifleman";
      vehicleClass="BW Riflemen";
      model="\BW_Rifleman\Rifleman.p3d";
      armor=8;
      armorStructural=2;
      armorHead=1;
      armorBody=3.9;
      armorHands=0.9;
      armorLegs=0.30;
      hiddenSelections[]= {medic};
                weapons[]={"morita_carb","Throw","Put","NVGoggles","H2KNIFE"};
      magazines[]={"morita","morita","morita","morita","morita","HandGrenade","HandGrenade","DS_KNIFEMag"};
   };

   class Rifleman_MP5A2: Rifleman_G36
   {
      displayName="Rifleman2";
      model="\BW_Rifleman\RiflemanMP5.p3d";
      hiddenSelections[]= {medic};
      weapons[]={"morita_carb","Throw","Put","NVGoggles","H2KNIFE"};
      magazines[]={"morita","morita","morita","morita","morita","HandGrenade","HandGrenade","DS_KNIFEMag"};
   };

   class Rifleman_MP5: Rifleman_G36
   {
      displayName="Rifleman3";
      model="\BW_Rifleman\RiflemanMP5.p3d";
      hiddenSelections[]= {medic};
      weapons[]={"morita_carb","Throw","Put","NVGoggles","H2KNIFE"};
      magazines[]={"morita","morita","morita","morita","morita","HandGrenade","HandGrenade","DS_KNIFEMag"};
   };

   class Rifleman_P90: Rifleman_G36
   {
      displayName="Rifleman P90 Medic";
                model="\BW_Rifleman\RiflemanMedic.p3d";
      scope=public;
      hiddenSelections[]= {medic};
      weapons[]={"morita_carb","Throw","Put","NVGoggles"};
      magazines[]={"morita","morita","morita","morita","morita","HandGrenade","HandGrenade"};
   };
};

class CfgModels
{
   class Default {};
   class Man: Default {};
   class Rifleman_M4M203: Man {};
   class Rifleman_MP5A2: Man {};
   class Rifleman_MP5: Man {};
   class Rifleman_P90: Man {};
};
};





Hmm but the faces dosn't work  :-\ i try to select an other face but all soldiers have the guy with the glases and beard :-\ i found these "osobnost" but if i use the BIS "osobnost" the head and hans are white (untextured) :'( ???
« Last Edit: 14 Feb 2005, 22:24:58 by US-Marine »

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Soldiers have the same face
« Reply #5 on: 15 Feb 2005, 14:44:34 »
OK, there are some minor bugs in the config:
1. 'class patches BW_Riflemen'  should be '... BW_Rifleman' cos the classname must be the same as the pbo-file which seems to be BW_Rifleman
2. all classnames in the cfgModels section must be the same as the actual names of the p3d-files. e.g. it must be 'class RiflemanMedic : Man {};'' instead of rifleman_p90 cos that's the classname, not the name of the p3d. see what i mean? so you should change the whole cfgmodels section.

appart from that i don'T see why the medic shouldn't appear ingame, cos the cfgmodels-section is wrong for all models. have you double checked if the model really is riflemanMedic.p3d and if it's in the same folder as the rest, etc.

the face texture of the sample pack soldier has an invalid path, that's why it's white. select the head and the hands, click on face properties, select 4 or 5 faces textured with a face texture (xicht_x.paa), click on 'filter by' and it should return you all faces with the same texture selected. now simply change the path from 'BISman' to 'Data' and voilà. if it doesn't work in o2 you prolly don't have a 'data'-directory in your o2-folder but nevertheless it should work ingame.
that way you can also make your own osobnost - selection: when all face-textured faces are selected, hit 'create selection' and name it osobnost - quite simple eeh?  ;)

we're looking for members: IM:UC MOD

US-Marine

  • Guest
Re:Soldiers have the same face
« Reply #6 on: 15 Feb 2005, 17:59:43 »
sounds easy , but i am not very good in o2  :-\

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Soldiers have the same face
« Reply #7 on: 15 Feb 2005, 20:22:51 »
send the stuff to me, i'll have a look over it for you. ;)
we're looking for members: IM:UC MOD

US-Marine

  • Guest
Re:Soldiers have the same face
« Reply #8 on: 15 Feb 2005, 20:40:09 »
what you need for? p3d file only? or textures too?

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Soldiers have the same face
« Reply #9 on: 15 Feb 2005, 22:53:38 »
the models are enough-
we're looking for members: IM:UC MOD

US-Marine

  • Guest
Re:Soldiers have the same face
« Reply #10 on: 16 Feb 2005, 05:33:11 »
well i need your email

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Soldiers have the same face
« Reply #11 on: 16 Feb 2005, 15:47:20 »
ohhh, sh**t i tohught it was in my profile, sorry mate.
will send you a pm in a min.
we're looking for members: IM:UC MOD