Jump to content
Sign in to follow this  
Guest

Local damage texture

Recommended Posts

Guest

I was wondering if anybody has figured out how to make a damage texture for a part of the mesh?

Making a global one is simple, you just define in 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[]=

{

original_texture, new_texture,

};

dammageFull[]=

{

original_texture, new_texture2,

};

<span id='postcolor'>

Now, this is triggered by the overall damage to the object. I would like the same thing for a part of the object. Specifically, I am trying to make a breakable windshield on my car.

I have found some selection names that should do the trick:

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

sklo glass

sklo L glass Left {abbr}

sklo P glass Right {abbr}

sklo predni L windscreen Left {abbr}

sklo predni P windscreen Right {abbr}

sklo zadni glass rear

<span id='postcolor'>

But I have failed to find any config.cpp that uses them.

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  

×