Home   Help Search Login Register  

Author Topic: Someone please help !! wound texture problems  (Read 1047 times)

0 Members and 1 Guest are viewing this topic.

Soul Catcher

  • Guest
Someone please help !! wound texture problems
« on: 05 Feb 2003, 01:43:00 »
no matter what i do i can't get wound textures to work, i know i'm putting the right stuff in the .cpp because i've even tried just copy & pasting other peoples wound stuff from .cpp's and placing their textures in the addon folder (my addon not the actual addon folder) and no matter what i can't get them to work. is there some special trick to getting wound textures to work in resistance?

If someone could post a .cpp that works with wound textures (which i could then alter to correspond with my textures) i would be VERY gratefull. and please don't say look at the commented config files which are available from many sites as i already have them all and they don't help.

Offline Matthijs

  • Members
  • *
  • Qua Patet Orbis
    • The Chain of Command / mods.kmarns.net
Re:Someone please help !! wound texture problems
« Reply #1 on: 08 Feb 2003, 15:02:07 »
I also have problems.


Wounds on the arms work, but not on the body.
I made sure texture names are not too long and correspond to the CPP names.


See my config below (face wounds excluded for testing):


Code: [Select]
#define KM_MARINE_WOUNDS wounds[] = {"\km_marn\DPMbody_frnt.pac","\km_marn\DPMbody_frnt_D.pac","\km_marn\DPMbody_back.pac","\km_marn\DPMbody_back_D.pac","\km_marn\DPMbody_top.pac","\km_marn\DPMbody_top_D.pac","\km_marn\DPMarm_left.pac","\km_marn\DPMarm_left_D.pac","\km_marn\DPMarm_rght.pac","\km_marn\DPMarm_rght_D.pac","\km_marn\arm_side_l.pac","\km_marn\arm_side_l_D.pac","\km_marn\arm_side_r.pac","\km_marn\arm_side_r_D.pac","\km_marn\body_back.pac","\km_marn\body_back_D.pac","\km_marn\body_front.pac","\km_marn\body_front_D.pac","\km_marn\body_top.pac","\km_marn\body_top_D.pac","\km_marn\helmet_front.pac","\km_marn\helmet_front_D.pac","\km_marn\helmet_inside.pac","\km_marn\helmet_inside_D.pac","\km_marn\DPMhlm_side.pac","\km_marn\DPMhlm_side_D.pac","\km_marn\DPMleg_back.pac","\km_marn\DPMleg_back_D.pac","\km_marn\DPMleg_frnt.pac","\km_marn\DPMleg_frnt_D.pac","\km_marn\DPMleg_left.pac","\km_marn\DPMleg_left_D.pac","\km_marn\DPMleg_rght.pac","\km_marn\DPMleg_rght_D.pac"};


class CfgPatches
{
   class km_marines
   {
      units[] = {km_marines};
      weapons[] = {};
      requiredVersion = 1.75;      
   };
};

class CfgModels
{
   class Default {};
   class Man: Default {};
   class km_marngvt: Man {};
   class km_marndt: Man {};
   class km_marndpm: Man {
      sections[] = {   "helmet_on_front",
            "helmet_on_back",
            "helmet_on_side",
            "helmet_on_inside",
            "helmet_on_straps",
            "helmet_off_front",
            "helmet_off_back",
            "helmet_off_side",
            "helmet_off_inside",
            "medic"
            };
   };
};


class CfgVehicles
{
   class All{};
   class AllVehicles:All{};
   class Land:AllVehicles{};
   class Man:Land{};
   class Soldier:Man{};
   class SoldierWB:Soldier{};

   class SoldierWMedic: SoldierWB{};
   class SoldierWG: SoldierWB{};
   class SoldierWMG: SoldierWB{};
   class SoldierWSniper: SoldierWB{};
   class SoldierWMiner: SoldierWB{};
   class SoldierWLAW: SoldierWB{};
   class SoldierWSaboteur: SoldierWB{};
   class OfficerW: SoldierWB{};
   class OfficerWNight:SoldierWB{};

   class SoldierWAT: SoldierWLAW{};
   class SoldierWAA: SoldierWLAW{};

   class SoldierWSaboteurPipe: SoldierWSaboteur{};
   class SoldierWSaboteurDay: SoldierWSaboteurPipe{};

   class km_marinedpm: SoldierWSaboteurDay
   {
      model="\km_marn\km_marndpm";
      displayName="Marine (DPM)";
      nameSound="blackop";
      moves="CfgMovesMC";
      vehicleClass ="Men (RNLMC)";
      scope=2;
      side=1;
      sensitivity=1.7;
      accuracy=2.500000;
      nightVision=1;
      camouflage=0.750000;
      hiddenSelections[] = {   "helmet_on_front",
               "helmet_on_back",
               "helmet_on_side",
               "helmet_on_inside",
               "helmet_on_straps",
               "medic"
               };
      weapons[]={"km_c7a1","Throw","Put"};
      magazines[] = {   "km_c7a1mag","km_c7a1mag","km_c7a1mag","km_c7a1mag","km_c7a1mag",
            "HandGrenade","HandGrenade","HandGrenade",
            "SmokeShell","SmokeShell"};
      KM_MARINE_WOUNDS
   };
   class km_marinedt: SoldierWSaboteurDay
   {
      model="\km_marn\km_marndt";
      displayName="Marine (DT)";
      nameSound="blackop";
      moves="CfgMovesMC";
      vehicleClass ="Men (RNLMC)";
      scope=2;
      side=1;
      sensitivity=1.7;
      accuracy=2.500000;
      nightVision=1;
      camouflage=0.750000;
      weapons[]={"km_c7a1","Throw","Put"};
      magazines[] = {   "km_c7a1mag","km_c7a1mag","km_c7a1mag","km_c7a1mag","km_c7a1mag",
            "HandGrenade","HandGrenade","HandGrenade",
            "SmokeShell","SmokeShell"};
      KM_MARINE_WOUNDS
   };
   class km_marinegvt: SoldierWSaboteurDay
   {
      model="\km_marn\km_marngvt";
      displayName="Marine (GVT)";
      nameSound="blackop";
      moves="CfgMovesMC";
      vehicleClass ="Men (RNLMC)";
      scope=2;
      side=1;
      sensitivity=1.7;
      accuracy=2.500000;
      nightVision=1;
      camouflage=0.750000;
      hiddenSelections[] = {"helmet_on_front","helmet_on_back","helmet_on_side","helmet_on_strap","medic"};
      weapons[]={"km_c7a1","Throw","Put"};
      magazines[] = {   "km_c7a1mag","km_c7a1mag","km_c7a1mag","km_c7a1mag","km_c7a1mag",
            "HandGrenade","HandGrenade","HandGrenade",
            "SmokeShell","SmokeShell"};
      KM_MARINE_WOUNDS
   };
};