User talk:An Adventurer: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Immortalbob
No edit summary
imported>Widgeon
(→‎Map Heights: new section)
Line 2: Line 2:
----
----
Thanks! i'll try not to break too much... --[[User:Immortalbob|Immortalbob]] 07:30, 11 May 2012 (EST)
Thanks! i'll try not to break too much... --[[User:Immortalbob|Immortalbob]] 07:30, 11 May 2012 (EST)
== Map Heights ==
By the way, I just realized the meaning of some values from file 0x13000000 in the portal data.  This file contains a bunch of information about the world, and right near the beginning are 256 values that start off as multiples of two.  But these actually map from the Z-values in the cell data to the height in game.  So, for example, the lighthouse near Fort Teth has a z coordinate of 650, which it wouldn't have if the heights were just 2*z as I suggested previously.
:Your location is: 0x2384001C [93.978371 92.014671 650.005005] 0.618604 0.000000 0.000000 0.785703
* 0-400 (by 2 each step)
* 400-560 (by 4)
* 560-640 (by 8)
* 640-680 (by 10)
* 700 (jump of 20)
--[[User:Widgeon|Widgeon]] 07:14, 17 May 2012 (EST)

Revision as of 16:14, 16 May 2012

Leave a message below:


Thanks! i'll try not to break too much... --Immortalbob 07:30, 11 May 2012 (EST)

Map Heights

By the way, I just realized the meaning of some values from file 0x13000000 in the portal data. This file contains a bunch of information about the world, and right near the beginning are 256 values that start off as multiples of two. But these actually map from the Z-values in the cell data to the height in game. So, for example, the lighthouse near Fort Teth has a z coordinate of 650, which it wouldn't have if the heights were just 2*z as I suggested previously.

Your location is: 0x2384001C [93.978371 92.014671 650.005005] 0.618604 0.000000 0.000000 0.785703
  • 0-400 (by 2 each step)
  • 400-560 (by 4)
  • 560-640 (by 8)
  • 640-680 (by 10)
  • 700 (jump of 20)

--Widgeon 07:14, 17 May 2012 (EST)