Jump to content
Sign in to follow this  
ShrikeHawk

Destroyed Textures

Recommended Posts

I have noticed that while flying the Pup (love this airplane!) that whenever I lose

a portion of a wing, it looks way too neat. Like it was sawed off with a laser.

While with some other planes, like the Sopwith Triplane, when losing a wing part you

can see shredded canvas and broken spars. Love it!

 

So how is this done? I thought I had figured it out but my testing has resulted

in a surprising...nothing. Here's what I did:

 

In the Pup.ini file there is a section like this...

 

[DamageTexture]

DamagedPostFix=_holes.tga

DestroyedPostFix=_holes.tga

 

Well, in the primary directory there are two files: Pup-s_holes and Pup-t_holes.

These are obviously the gunhole images to use when an aircraft is damaged.

But in the Triplane folder there is also a Sopwith_Shredded.tga file. And in the

triplane.ini file there is a section like this...

 

[DamageTexture]

DamagedPostFix=_holes.tga

DestroyedPostFix=_Shredded.tga

 

So "destroyed" parts can use a different texture than merely damaged ones.

The light dawns. The shredded texture for the Sopwith triplane is like the holes

texture, only it ends with "_Shredded.tga".

 

So I thought I had it all figured out. I made a copy of the shredded triplane

file and placed it into the Pup directory. I renamed it Pup-s_Shredded.tga so

that it would match the naming convention of the Pup's textures. Just the way

the "_holes.tga" files work. Well, that didn't work.

 

What I would like to know is, how "should" this work? What parameters do the

damage textures need to operate correctly. Any suggestions welcome.

 

ShrikeHawk

Share this post


Link to post
Share on other sites

Guest capun

The Triplane has a Destroyed Mesh and an associated texture, the mesh is part of the 3D Model. During the game, when a certain mesh is destroyed, the "good" mesh and texture is replaced by the Destroyed Mesh and texture. They are unique to each 3D Model, the Pup does not have them in the 3D Model

 

A Damaged texture is just an overlay on top of the "good" texture, usually with bullet holes.

 

If you look further into the Triplane Data ini, you should see some of the Destroyed meshes (nodes) being declared.

Share this post


Link to post
Share on other sites
They are unique to each 3D Model, the Pup does not have them in the 3D Model

 

Okay - Thanks for the info. I'll stop charging that particular windmill.

 

I assume then that the 3D model is embedded in the .LOD files.

Just out of curiosity, what program are most folks using to create

the 3D models?

Share this post


Link to post
Share on other sites
Guest capun

The LOD is generated by 3DS Max (with the ThirdWire Exporter Plugin) 3D Model.

 

You can use several 3D Programs but eventually you need to have 3DS Max generate the LOD.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..