![]() |
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. |
Quote:
|
Did it with the BR dev team maker.
Multiplier set to 75 and the geodata is useable...not perfect though :P |
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
|
Quote:
|
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/2...890392d.th.jpg and then open 24_17 and take the bottom left corner value http://images1.pictiger.com/thumbs/8...3a1118f.th.jpg then make Value from ( 24_17 ) - ( 24_18 ) this should give a number, thats the Z value :) |
Sweet thing.
|
Cool tool . Tnx for the Share !!!
|
updated, wrong calculation, isnt the same number 4 all maps :P
|
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. |
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 :? |
bump :P
anyone? |
0000 layers : ingamez=realz
40++ : ingamez=2*realz check also post about 4000 blocks. help sections |
Quote:
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 |
| All times are GMT. The time now is 16:35. |