Jump to content
Sign in to follow this  
Indy

How to add....

Recommended Posts

Hi, I have a little question: How I can add blood textures and glass damage textures on a new model?

Our mod have created a shield add on used by police (www.ofp.info\G8) Is possible to add damage on it? I mean can it be destroied by a riffle?

Share this post


Link to post
Share on other sites

Hm, I'm not sure about that. But Maybe you simply have to store all the textures (the destroyed and non-destroyed for that shield) in your texture directory and add something like this to your config.cpp:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">dammageHalf[]=

{

shield_cracky.paa;

};

dammageFull[]=

{

shield_broken.paa;

};<span id='postcolor'>

But I dunno how to define the selections on which the damage textures should be applied.

Till later, PSC

Share this post


Link to post
Share on other sites

Ok ill try, and for blood textures on units?

Share this post


Link to post
Share on other sites

Sorry, I dunno about wounds. But just to let you know, the vehicle-damage-textures-stuff you can find in the vehicles.hpp file.

PSC

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  

×