Jump to content
COMBATSIM Forum
Krycztij

TFXplorer

Recommended Posts

That works. Thank you!

 

Don't worry about the stars problem. Running the TFX1 data in TFX3 mode is fun in that I can fly around in the F22, but there are multiple other issues.

I'll look at it again when we have an API.

 

 

Share this post


Link to post
Share on other sites

I have been following these threads and, as always, they prompt my curiosity about a number of things. First let me say thanks to Krycztij for the updates. I have been doing some work on the terrain recently and was curious about Mikes statement regarding GAMESPR, I would assume that to be a sprite, does the tfx1contain .tm textures in the spr directory?

Share this post


Link to post
Share on other sites

gamespr is the first .tm that I could identify, but there are 10 others of exactly the normal tm size. Some of them are obvious textures, and I've combined these with the TAW 10am palette to produce bmp files.

tfx_tm.png.27403f8022038436f1c21e836ebfb3b7.png

Since gamespr is in the spr directory, I assume any others would be as well.

Share this post


Link to post
Share on other sites

Minor update: Last week, I finally isolated the code for tile sidelength. This was a major problem in the way of new terrain, because TFX’s tile sidelength (16384 ft) was hard-coded everywhere. I can now use arbitrary sidelength with arbitrary geometry:

 

5aafc678b46dd_2018-03-05variabletilesidelength.png.2ec55b7817822858615ff89a132222b7.png

 

Forward, step by step :)

Share this post


Link to post
Share on other sites

Well done! Is the tile still 2048 units wide with arbitrary unit size? or can the tile now be an arbitrary number of 8' units?....or both?

Share this post


Link to post
Share on other sites

The unit is always meters. (TFXplorer is SI-based since ~2015; TFX’s units have since been converted with a tiny rounding error.)

 

Tiles can have an arbitrary size in meters, not necessarily integer :)

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

×