PDA

View Full Version : about WaterLevel (geodatas)


elcapo
11.11.2005, 06:00
Someone knows how to set WaterLevel in a Geodata?
I mean, i want to do catacumbs/necropolis entrance, but when Player swim into water, the Breath bar not appers. Only see player swiming on client side, but not Server Side.
I read in many Geomakers threads, that exist something called "WaterLevel".
Can someone explain me how WaterLevel Works? where is it definded? can I define waterlevel for every pixel of the Geodata? or i have to define it for all the map? (how).
Is possible to define WaterLevel for 40 00+ type Pixel?

Thx in advance.

tontor
11.11.2005, 16:06
The water level is hardcoded into l2server.exe. It does not support sections of water, only a Z comparison.

elcapo
11.11.2005, 19:19
Thx tontor for ur answer.
Are u sure of that? I mean,.. i asked this question in order of that:

Torune Post:
https://postpacific.loc-online.com/forum/viewtopic.php?t=1890
4. If you enter the catacomb and find out your breath bar is actived, change the ground block count to 65536, it will solve the problem.

Vaskes Post:
https://postpacific.loc-online.com/forum/viewtopic.php?t=2135
gndarray[m] := -(-colormap[k,i] + 256)*form1.Spinedit1.value + 65536;
wtrarray[m] := -(-colormap[k,i] + 256)*form1.Spinedit1.value + 65536-32;

I got maps, where the Z is TOO LOW (like -10000) and no breath bar appears.

U say that waterlevel is hardcoded into l2server.exe for EACH geodata?

Thx in Advance.

andreagighi
11.11.2005, 19:22
The water level is hardcoded into l2server.exe. It does not support sections of water, only a Z comparison.

o_O