Page 1 of 1

Per-pixel land types

PostPosted: Sat Jan 28, 2006 11:58 pm
by Hinklemister
I started tried to make a resolution 4 texture with per-pixel land types and I got a really strange error message which is as follows;

calc_:TX_GenMap_Super warning

- Hi-res texture for land type 'snow' not found at ''

L3DTio_LoadImage error:

- Unsupported file format

I'm not positive what this means but it kind of froze repeating this error about 3 thousand times before I clicked cancel. It looks as if it's saying that it can't find or load the right texture but that doesn't make sense to me. :roll:

-Hinklemister

Re: Per-pixel land types

PostPosted: Sun Jan 29, 2006 6:57 am
by Aaron
Oops.

That's another broken thing with the per-pixel land types. It probably requires each land type to have a high-res texture defined, which the snow land type does not. I'll fix this code for the next release, but in the mean-time the workaround is to add the following lines to the 'snow' land type in the 'temperate32.cli' climate file (it's right at the bottom):

Code: Select all
#HiTexName:   "snow\snow.jpg"
#HiTexBlend:   0


Cheers,
Aaron.

PostPosted: Sun Jan 29, 2006 7:07 am
by Aaron
Hello again,

Yup, I missed one 'if' statement. The bug is fixed for the next release. Also, if a texture isn't found in the future, it will give the error message once and then continue quietly (unless you hit cancel).

Cheers,
Aaron.

PostPosted: Mon Jan 30, 2006 12:29 pm
by Hinklemister
Thanks Aaron! It's always kind of annoying when it repeats the error so many times. I have to constantly clear it so that it won't crash.