Home   Help Search Login Register  

Author Topic: Help ! The blood doesn't stain the custom solider when been shot!  (Read 896 times)

0 Members and 1 Guest are viewing this topic.

iD_999

  • Guest
Hi everyone

I really need help regard with my solider,
currently i have make a solider and i have successfully import it into the game .
The problem with the solider is that when i shot him the bloods appear, but the blood doesn't stain the clothes.

I really dont know why?

Is because of my config.cpp or what???

Can someone please tell me why?? ???

thanks in advance

Offline KTottE

  • Former Staff
  • ****
You need to make special textures for the damaged areas.
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

iD_999

  • Guest
I have the blood textures for the clothes

but still does show the blood stain when i shot him

i think it is due to the config.cpp

can some one please post his/her config.cpp for the soldier.

By the way what does wounds[], selections[], hiddenSelections[] and selectionsInherit = Head       do?

Is wounds[] relate to other classes??


Does there any available tutorial or API for the config classes???

i dont know what some of the code does>?? ???

thanks in advance..

iD_999

  • Guest
Hello...

Can anyone help me???


I need the know how to solve it to continue
thanks

swift88

  • Guest
i suggest de-pboing a old old old model and just LOOKing at the model and seeing how it is done.......... then you will figure out hopefully what it is about with the config as well

iD_999

  • Guest
I manage to get my solider helmet to have the blood texture when i shot him , but the body and the leg still have no blood texture

Is there a specific order to follow for the wounds[]?
 ???

Is the wounds[] have any relationship with the sections[]?

How to write a sections code?
What order does it follow?
« Last Edit: 20 Sep 2003, 05:16:27 by iD_999 »

iD_999

  • Guest
This my Config
« Reply #6 on: 22 Sep 2003, 04:12:21 »
This is my Config.cpp

Can someone please tell me what the problem???????????


class CfgPatches
{
   class SAF_Soldier
   {
      units[]= {"SAF_Soldier"};
      weapons[]= {};
      requiredVersion=1.200000;
   };
};

class CfgModels
{   
   class All{};
   class AllVehicles:All{};
        class Man: AllVehicles{};
        class SAF_Soldier: Man
   {
      sections[] =
         {
            "head injury","body injury",
            "l arm injury","r arm injury","p arm injury",
            "l leg injury","r leg injury","p leg injury",
            "hlava",
            "krk",   
            "hrudnik",
            "medic",
            "lzadek",
            "mireni",
            "pzadek"
         };
   sectionsInherit=Head;
   };

};

class CfgVehicles
{
   class All
   {
   };
   class AllVehicles: All
   {
   };
   class Land: AllVehicles
   {
   };
   class Man: Land
   {
   };
   class Soldier: Man
   {
   };
   class SoldierEB : Soldier
   {
   };
   class SAF_Soldier : SoldierEB
   {
      displayName=$STR_DN_SAF_SOLDIER;
      model="\SAF_soldier\singapore";
      vehicleClass="Men";
      weapons[]={"M16", "Put","Throw"};
      
      wounds[] ={"\SAF_soldier\w_helma_front.pac","\SAF_soldier\w_helma_front_D.pac","\SAF_soldier\w_helma_side2.pac","\SAF_soldier\w_helma_side2_D.pac","\SAF_soldier\w_helma_vnitrek.pac","\SAF_soldier\w_helma_vnitrek_D.pac",
      "\SAF_soldier\w_hrud_p.pac","\SAF_soldier\w_hrud_p_D.pac","\SAF_soldier\w_zadaruce_z.pac","\SAF_soldier\w_zadaruce_z_D.pac",
      "\SAF_soldier\w_ruka_bok_l.pac","\SAF_soldier\w_ruka_bok_l_D.pac","\SAF_soldier\w_ruka_bok_p.pac","\SAF_soldier\w_ruka_bok_p_D.pac",
      "\SAF_soldier\w_ramena.pac","\SAF_soldier\w_ramena_D.pac","\SAF_soldier\w_tank_ramena.pac","\SAF_soldier\w_tank_ramena_d.pac",
      "\SAF_soldier\w_nohy_bok_l.pac","\SAF_soldier\w_nohy_bok_l_D.pac","\SAF_soldier\w_nohy_bok_p.pac","\SAF_soldier\w_nohy_p_D.pac","\SAF_soldier\w_nohy_z.pac","\SAF_soldier\w_nohy_z_D.pac"};   
      
      hiddenSelections[]={"medic","pzadek","mireni"};

      magazines[]=
      {
         M16, M16, M16, M16,
         HandGrenade, HandGrenade, HandGrenade, HandGrenade, HandGrenade, HandGrenade
      };
   };
};