View Single Post
Old 02.04.2005, 08:15   #2
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

further info.

The above only seems to be valid for external areas

the first 6 bits of info

17 0c 80 00 10 00 always is the same

Working out HOW they store the data,

Now my thinking is they have stored the data in the format they read in, eg ENGLISH read left to right downwards.

What do the people that coded this read, right to left downwards, upwards ??????

Yellowperil

NOTE, I noted that the values for hieght seem to be always the same for a hieght eg ΐνΐν always seems to be a value with zero, eg black on the hieght image.

more to follow

more I look at it the data is being read in from right to left

----------------------------
Height DATA is not in UNR

IT IS IN .UTX files

open it with UTPT
you will find there G16 Heghtmap texture and some alpha-layers textures.

All you need - get first G16 texture - take mipmap section with UE or any other HEX editor -and you have 131072 bytes of row height data directed line per line from left to right and from up to down
-----------------------------------------
ok we need the data for each layer.
from more digging it looks as if each layer is put into the conv, depending on its point in the package.

for example t21_17 even though no conv exists look at 21_25conv
anyway it looks like each layer is needed in the way its in the package, so we know layers for certain areas, not so important for outside, but for inside very important, each utx has at least 3 layers
21_17_G (ground)
21_17_g16 (overall hieght)
21_17_C (I am thinking this is a block, you can get past it)

each package can have UPTO 9 layers, with the hieght anywhere in it.

more to come
yellowperil is offline