|
|
|
@ -46,8 +46,14 @@ public class GetHeightCmd extends AbstractDevCmd {
@@ -46,8 +46,14 @@ public class GetHeightCmd extends AbstractDevCmd {
|
|
|
|
|
this.throwbackInfo(playerCharacter, "Zone Height: " + heightmapZone.worldAltitude); |
|
|
|
|
this.throwbackInfo(playerCharacter, "Sea Level: " + heightmapZone.getSeaLevel()); |
|
|
|
|
this.throwbackInfo(playerCharacter, "Grid : " + (int) gridSquare.x + "x" + (int) gridSquare.y); |
|
|
|
|
this.throwbackInfo(playerCharacter, "***Height returned: " + currentHeight); |
|
|
|
|
this.throwbackInfo(playerCharacter, "*** 256: " + currentHeight); |
|
|
|
|
this.throwbackInfo(playerCharacter, "***Adjusted Height: " + (currentHeight + playerCharacter.getCharacterHeight())); |
|
|
|
|
|
|
|
|
|
HeightMap.SCALEVALUE = 1f / 255f; |
|
|
|
|
currentHeight = HeightMap.getWorldHeight(currentZone, playerCharacter.getLoc()); |
|
|
|
|
HeightMap.SCALEVALUE = 1f / 256f; |
|
|
|
|
|
|
|
|
|
this.throwbackInfo(playerCharacter, "***255 Adjusted: " + (currentHeight + playerCharacter.getCharacterHeight())); |
|
|
|
|
this.throwbackInfo(playerCharacter, "Drowning Height: " + (heightmapZone.getSeaLevel() + playerCharacter.getCharacterHeight())); |
|
|
|
|
|
|
|
|
|
this.throwbackInfo(playerCharacter, "------------"); |
|
|
|
|