Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: How to make face addon´s config file with blood texture´s?  (Read 1303 times)

0 Members and 1 Guest are viewing this topic.

Iso_Marvel

  • Guest
Hi, quick noobie(?) question for all you guruÂ's. I havenÂ't find clear answer from any topicÂ's of this forum, or anywhere else, for this one. Im making small faceaddon (to get more atmosphere and individualized persons for my mission) and I havenÂ't figure out how I add wounded face texture to config file... So if someone can help me, I would be most grateful.


Code: [Select]
class CfgPatches
   {
class Faces
   {
      units[] = {};
      weapons[] = {};
      requiredVersion = 1.00;
   };
};

class CfgFaces
   {
class doodface
   {
      name="doodface";
      texture="\faceaddon\doodface.paa";
      east=1;
      west=1;
   };
};

This is how far I am. But what are the secret lines for bloody faces, so I can get this thing work smoothly ???
« Last Edit: 28 May 2003, 13:00:02 by Iso Marvel »

TakanoFukada

  • Guest
hi, i looked into this same topic some time back... here's what u should do...

prepare 2 versions of your textures... one normal and one 'bloodied'. then in your class CfgVehicles section, place the following lines under the class of your unit...

wounds[]={"\mysoldier\back.pac","\mysoldier\backwounded.pac",
                   "\mysoldier\front.pac","\mysoldier\frontwounded.pac",
                   "\mysoldier\facefront.pac","\mysoldier\facefrontwounded.pac"};

continue adding in the lines for every texture that u want 'bloodied'...        

enjoy !!!