OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: icarus_uk on 20 Aug 2002, 13:22:40

Title: New glasses
Post by: icarus_uk on 20 Aug 2002, 13:22:40
Morning people.

Im looking for a way to add new (or alter) the sunglasses in the face selection screen.  I know it can be done, because I use to have an addon that put a load of new sunglasses in.  Now for this latest mission I need somthing particular in the glasses front, so I need to make them myself.  Does anyone know how to do this?
Title: Re:New glasses
Post by: CrunchyFrog on 20 Aug 2002, 16:32:15
Arent the glasses just textures?
Alpha channels...
Title: Re:New glasses
Post by: icarus_uk on 20 Aug 2002, 17:26:33
Im guessing yes.  But they arent part of the model, and Im hoping someone can tell me what they are part of.
Title: Re:New glasses
Post by: Tomb on 21 Aug 2002, 05:28:46
From the orig. config :


------------------------------------
class CfgGlasses
{
class None {name="$STR_CFG_GLASSES_NONE";texture=""; };

    class Spectacles
    {
    name="$STR_CFG_GLASSES_SPECTACLES";
    texture="civilista_bryle";
    };

class Sunglasses
{
name="$STR_CFG_GLASSES_SUNGLASSES";
texture="civilista_zrcadlovky";
};

};  //end of CfgGlasses

-------------------------------------------------

Söuh, grab the two textures :


"civilista_zrcadlovky"  AND  "civilista_bryle"  :)


They can be found in the (un-pbo'ed) DTA/"Data.pbo" Folder.  
Use the "pbo-Decrypter 15" tool ( not attached; zip-size=192KB ::) ) to decrypt+un-pbo the file  :-*


Should be ok :)



Title: Re:New glasses
Post by: icarus_uk on 21 Aug 2002, 15:07:07
Hmmm.  This is going to be harder than I first thought.  All I wanted to do was give my guy rayban's :)
Title: Re:New glasses
Post by: Tomb on 21 Aug 2002, 15:51:54
Mine wears Hugo Boss  8)