PDA

View Full Version : [SHARE] HDGFA 1.00 LE


humordwarf
15.04.2006, 22:52
Geodata Fall Analyser

http://img87.imageshack.us/img87/429/hdgfashot1ko.th.jpg (http://img87.imageshack.us/my.php?image=hdgfashot1ko.jpg)

logic:
app check each cell by algorithm 4 times (for N, S, W, and E):
1. if player can not move to target cell - no problems
2. else if number of layers in target cell = 1 - no problems
3. else if closest Z in target cell < MinDZ - no problems
4. else if (coord below closest Z) - (current Z) < FlyZ - no problems
5. else we have problem: we possible fall down not into closest Z

example:
Problem Cell: Layer 0 98+1 212+2 (45328 191008) DIR=S DZ=96 FZ=1064
you stay in 45328 191008
if you go to South, you may fall down by 1064, because closest cell is too high than you (DZ=96)

link below

MuNLoK
15.04.2006, 22:57
lol good work humordwarf

Sephiroth
15.04.2006, 22:57
OMG humordwarf cool man

m4rk
15.04.2006, 23:06
thanks a lot HD that saves a lot of asking to our players :)

Susliks
15.04.2006, 23:13
Thanks HD
now I know as to solve my problem =)

Megatronpt
15.04.2006, 23:17
HD...

Choose one:
L2 Man of the Year
L2 Nobel Prize

Maybe some ppl should thank HD in some other ways, if you know what I mean.

humordwarf
15.04.2006, 23:24
HD...

Choose one:
L2 Man of the Year
L2 Nobel Prize


:D

superkent
16.04.2006, 01:32
Thank's. Cool

deviant
16.04.2006, 01:52
Great stuff from humordwarf again. Thanks a bunch

tpuNIsher
16.04.2006, 02:00
wow :))
awesome ^^

Shraier
16.04.2006, 09:37
Great job!