View Full Version : GeoMaker Question
Hey guys,
I started messing with vaskes geomaker prog yesterday and I read somewhere in another thread that enishi posted that he was having some probs with it too ...
My question basically is, when I open the heightmap bmp extracted from the client with UTPT in vaskes prog, I set the first byte and second byte to the map name, since thats obviously the beginning of the header, and in enishis post vaskes said waterlevel was not functioning in the prog, so I leave that at its default ... The last thing I set is the height which has to be anywhere between 10 and 30 according to vaskes .. After that I save the conv file to c:\ ...
When I finally open the conv file in a geoviewer, it shows up VERY light and the file size is generally only around 345kb compared to several megs that the normal geodata file is ... Anyone know more about this prog and why I would be getting such small file sizes? Thanks :P
According to the readme in L2 tools, the height for geomaker HAS to be 75.
And since its only ground layers the program does...the 384kb file size is expected.
*EDIT* Nevermind the 75...I was thinking of the BR dev team generator.
According to the readme in L2 tools, the height for geomaker HAS to be 75.
And since its only ground layers the program does...the 384kb file size is expected.
*EDIT* Nevermind the 75...I was thinking of the BR dev team generator.
I have seen some pretty good looking geodatas that you posted of blazing swamps ... Did you get those by using this program?
Did it with the BR dev team maker.
Multiplier set to 75 and the geodata is useable...not perfect though :P
knife_sj
14.01.2006, 01:17
i've generated field of silence with that and a /loc the coord in Z are -15xxx
With multiplier in 75
With 3D viewer the color of the plane is DeepGreen
And the previous Map is Deepblue what means that??
I actually just did the same map .. The only thing I'm having problems with is getting the right height multiplier ... They were talking about it relating to the Z coords in game ... Can someone perhaps explain that a bit :O
yes flakka said in a txt inside the l2tools, 75 for multp, but is incorrect, if you see with a viewer the geodata terrain is like perfect but ingame the height is like more than 10k, i think the only way to get a normal geodata (terrain) with those tools is testing in every multp, starting between 20 and 26 or something like that.
There is no formula for calculating the correct height multiplier?
i dont think so, the default of the br team is 23 and the default of stazis program is 18, try moving this value and test if the terrain if correct or not, is the only way.
Thought i already posted somewhere
ingame.z := (grayscale_color) * 76 - 95xx.xx;
because
TerrainScale=Vector=[ X:1xx.xx0000 Y:1xx.xx0000 Z:xx.xx0000]
KRestitution=-95xx.xx0000
that's from TerrainInfo class
So how does that give you the height multiplier to use for the geomaker?
EDIT: NEVERMIND
Figured it out hehe ... fun stuff .. finally I can fix some probs
Mind explaining that to the rest of us HongK? :P
Well I was browsing some stuff by torune last night and I ran across his old post where he shared all those geodatas he made and they are all the same thing I was doing so there doesn't really seem to be any point to generating anymore geodata except for c4, although they are included in his pack ... The only thing I saw that needed to be changed in his files were the addition of planes for the catacombs/necros and then some wall generation
I meant...how did you figure out the correct height multiplier? o.O
There is no formula for calculating the correct height multiplier?
if the formula is not correct then there is no multiplier that will work in all the cases. The best way to deal with geodatas (terrain at least) is doing it urself, that way you could try new formulas instead of using a program with the wrong formula.
knife_sj
16.01.2006, 03:20
Ok, after the problem of heights with geos created by Geogenerator i've maded this tool to correct it...
i've have to do 2 things:
1st: U Must rotate 90º to left the bmp, then generate with geogenerator
2nd:
Up the terrain (its just to correct the high of the plane, doesnt work with multi layered geos)...
id use this formula:
Newheight:=OldHeight+Z;
Edit: New Version must specify the Z to add.
U can take this value with the next formula
Ill take for example Blazing Swamp (24_17)
Take "Lineage ][ Geo data viewer" and take a value (From Status Bar) from the top left corner of the map next to the map to modify (in example 24_18 Aden Town)
http://images1.pictiger.com/thumbs/2d/a67e998d28d7fa231a912206c890392d.th.jpg (http://server1.pictiger.com/img/42536/picture-hosting/24-18.php)
and then open 24_17 and take the bottom left corner value
http://images1.pictiger.com/thumbs/8f/08bfe91bf83bdc550df14f8f63a1118f.th.jpg (http://server1.pictiger.com/img/42526/picture-hosting/24-17.php)
then make Value from ( 24_17 ) - ( 24_18 ) this should give a number, thats the Z value :)
Flamestrike
16.01.2006, 05:39
Sweet thing.
TheOrder
16.01.2006, 08:14
Cool tool . Tnx for the Share !!!
knife_sj
16.01.2006, 08:27
updated, wrong calculation, isnt the same number 4 all maps :P
Metalmurphy
16.01.2006, 12:30
Thanks for the tool knife_sj :thumbs up:
knife_sj : thanks for tool but doesn't correct things. explanation : difference in heights from correct ones is not constant. some points differ more, others less. just adding the layer up or down doesn't correct things.
this is not flame. just constructive notes
Isn't this a little too complicated? Why don't you play with extracted picture brightness/contrast (height shift/multiplyer) instead?
i think the problem is this :
the extracted picture is greyscale. greyscale has only 256 flavors of grey. but the heights in l2 world are much more. so a lot of inromatin is lost. so the differences are not constant..it depends on average map height or on min and max map height. so the multiplier which is i believe the factor for stretching up the map..has to be changed on each map differently according to that particular map min max or average height. i wonder if the heightmaps in .utx are saved only in 256 colors or is just UTPT which discards color information.
knife_sj
21.01.2006, 00:45
some1 knows how each height is linked to ingame Z?
i cant find the relation :P
i was wondering that the int value is short (pos and neg) numbers, but seems to dont be it :?
knife_sj
27.01.2006, 13:37
bump :P
anyone?
0000 layers : ingamez=realz
40++ : ingamez=2*realz
check also post about 4000 blocks. help sections
knife_sj
29.01.2006, 03:11
0000 layers : ingamez=realz
40++ : ingamez=2*realz
check also post about 4000 blocks. help sections
tkz for the tip
i've deleted the avobe attachments kuz the program not works at all
(is a sh*t :P)
Anyway ill try to get a better alg