Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 06.10.2005, 18:30   #1
MoSs
Архивный участник
 
Join Date: Jul 2005
Posts: 108
Default Need some pointers, making a lv 1 geodata tool

Ok since nobody shares a geodata tool which actually makes correct geodata
I decided to make one my self.

Been trying two whole days to figure out a relation between the grayscale
extracted image and the corresponding height.

From torunes code i figured that grayscale colors from 56 to 165 are only used (dont understand why though) a total of 110 colors and each one corresponding to a certain geodata height.

I use as a case study an already produced geodata (23_25) which works correctly ingame.

By trying a LOT of start heights and incrementers between heights i came to the closest i can get starting height 60096 corresponds to color 56, 60096+86 to color 57 and so on...

I also made a smoothing technique because the geodata produced directly from the bitmap have slopes like stairs.

After testing the produced geodata (23_25) i found out to be ok if not correct.
That is, adena and items do not fall through the ground and players dont fall from the sky when they walk.

But I decided to add a plane with kenfalco's geoedit and my geodata came out messed up!
After adding a plane to the geodata, my original heights where messed up!
without the plane in one location i had height -1780 and after adding the plane i had -800 on the same location (and not where the plane was)...

Well I need some help... I'm almost sure that kenfalco's tool is not the problem here, but my generated geodata...

I beg you for some pointers, specially from the people who made a successful generator...
What is the relation between bitmap colors and height?
Or maybe what am I missing here?

Maybe someone can direct me to a geodata breakdown post or something..

Anything would be much apreciated...

Thanks in advance
MoSs is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:36.