![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
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 |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Apr 2005
Posts: 354
|
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. |
|
|
|
|
#3 | |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
Quote:
|
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2005
Posts: 354
|
Did it with the BR dev team maker.
Multiplier set to 75 and the geodata is useable...not perfect though :P |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Feb 2005
Posts: 165
|
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?? |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
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
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
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.
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
There is no formula for calculating the correct height multiplier?
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
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.
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Feb 2005
Posts: 200
|
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 |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
So how does that give you the height multiplier to use for the geomaker?
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
EDIT: NEVERMIND
Figured it out hehe ... fun stuff .. finally I can fix some probs |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Apr 2005
Posts: 354
|
Mind explaining that to the rest of us HongK? :P
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
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
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Apr 2005
Posts: 354
|
I meant...how did you figure out the correct height multiplier? o.O
|
|
|
|
|
#16 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 357
|
Quote:
|
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Feb 2005
Posts: 165
|
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) and then open 24_17 and take the bottom left corner value then make Value from ( 24_17 ) - ( 24_18 ) this should give a number, thats the Z value ![]() |
|
|
|
|
#18 |
|
Архивный участник
Join Date: Aug 2005
Posts: 434
|
Sweet thing.
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
Cool tool . Tnx for the Share !!!
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Feb 2005
Posts: 165
|
updated, wrong calculation, isnt the same number 4 all maps :P
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
Thanks for the tool knife_sj :thumbs up:
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
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 |
|
|
|
|
#23 |
|
Архивный участник
Join Date: Jan 2006
Posts: 22
|
Isn't this a little too complicated? Why don't you play with extracted picture brightness/contrast (height shift/multiplyer) instead?
|
|
|
|
|
#24 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
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. |
|
|
|
|
#25 |
|
Архивный участник
Join Date: Feb 2005
Posts: 165
|
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 :? |
|
|
|
|