Jump to content
Sign in to follow this  
Cycho

Replace USMC engineer portrait with US Army Engineer

Recommended Posts

Hi all, I just got done enabling my USMC engineers to repair vehicles like the Army engineers of OA. The problem is that I can't pinpoint the engineers in my squad because they lack the pliers icon that the OA ones do.

My question is. Does anyone know specifically where the portraits are so that I can either replace the USMC with the US Army one, or if there is a file that I can link the USMC portrait with?

Thanks

---------- Post added at 12:08 AM ---------- Previous post was Yesterday at 11:55 PM ----------

Ok, figured it out. compared the characters2.pbo from base A2 with the characters2.pbo of A2OA and I inserted the Picture = "\Ca\characters_E\data\Ico\i_eng_ca.paa" from A2OA into base A2. Engineer has pliers now. Now i can play.

Share this post


Link to post
Share on other sites

Rather than enabling the engineer capability by a line of engineer = 1; you should derive your unit from the original engineer class, see below. That way your unit will inherit all the original attributes (including pics, special abilities, names, weapons, ...) from the given base class, and only the lines you change (e.g. displayName, faction, class wounds, etc.) will be taken into account.


class cfgVehicles {

/*extern*/ class US_Soldier_Engineer_EP1; // here you fetch the base class

class Your_Engineer_Unit: US_Soldier_Engineer_EP1
{
	displayName = "My Engineer";
	model = "\some\bla\model.p3d";
};
};

If you choose to go the hard way though, i recommend getting an allInOneCO.cpp from devheaven. Everything you seek is stored in there, thousands of lines of beautiful config, no more unpack this and debin that ... it´s the best thing since internet spam! :bounce3:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×