Author Topic: Grid size  (Read 2571 times)

Offline ebfd11

  • Platinum Member
  • ******
  • Posts: 4151
      • [b]POTW[/b]
Grid size
« on: July 29, 2011, 07:19:55 PM »
Just a quick question on the grid squares. If I am correct the grid squares are 1 mile by 1 mile correct???

Lawndart
PIGS ON THE WING 3RD WING

InGame id: LawnDart
RIP Skullman Potzie and BentNail

Offline oneway

  • Silver Member
  • ****
  • Posts: 1385
Re: Grid size
« Reply #1 on: July 29, 2011, 08:01:09 PM »
Just a quick question on the grid squares. If I am correct the grid squares are 1 mile by 1 mile correct???

Lawndart

Yes

They are a 2 dimensional zero based compound array indexing from 0,0 and running to 24,24 ~ from the lower left to the upper right ~ and incremented in steps of 4 in their designations, for each "Grid Square" in the ultimate clip map

IOW: they are 1 mile (statute) 5280 feet

There is nothing in the TE that dovetails with the keypads on the clip map, as each key is 8.33 miles (or squares)...44000 feet per key

The AH virtual world x,y(z) system is always based on the center of the map ~ the center of the map is always at the center of 10.24, 10.24 in the TE, or 6.5 miles West  and North of the 10.10 cross (lower left corner of the 10.10 Grid square)

Why is Z what would other wise be Y in the Cartesian Plane:

http://ranger.uta.edu/~kamangar/Courses/CSE_4303_5365_SP11/3DRight-handedorLeft-handedcoordinatesys.html

Look at that and then rotate the view in your mind to be looking top down...a little head work and you will see why Z in the TE is what we as normal humans would otherwise call Y

Its a legacy standard that began years and years ago...imagine yourself standing at the X Z intersection and walking forward...then rotating your perspective to be looking straight down on top of your head

Oneway

« Last Edit: July 29, 2011, 08:31:04 PM by oneway »

Offline ink

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 11274
Re: Grid size
« Reply #2 on: July 29, 2011, 08:32:04 PM »
one of the things I wish they would change about the TE,make it so as you zoom out, the squares themselves become "larger" IE more land, more then just a mile, that would go a long way to making the TE more user friendly, allowing us to see more of the map, making it much easier to create a 3 way MA map, that needs to be all even.....

also when your zoomed right in, I wish the squares broke down even more, so we could grab a bit and drag it up, to make pylons of a sort.....I have an insanely cool idea for a map, but cant make it because of the limitations of it.  :(  :cry :( :cry :(

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: Grid size
« Reply #3 on: July 29, 2011, 08:32:38 PM »
In the main editor window yes the red qrid squares are 1 mile by 1 mile.

The first numbers in the red numbering in them will tell you what grid section in the clip board map grid they are in also.

10.13
10.15
 for example would tell you that that 1 square mile grid location is in the 10,10 sector on the clip board map.

If that doesn't make any sense to you let me know I'll try to explain it a little better

 :salute
midi
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: Grid size
« Reply #4 on: July 29, 2011, 08:36:32 PM »
Ink every thing you are asking for can be changed, manipulated or altered in the three files, 1. the waterd.bmp  2. the gndtype.bmp  3. the elevation bitmap file.

 :salute
midi
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!

Offline oneway

  • Silver Member
  • ****
  • Posts: 1385
Re: Grid size
« Reply #5 on: July 29, 2011, 08:39:30 PM »
In the main editor window yes the red qrid squares are 1 mile by 1 mile.

The first numbers in the red numbering in them will tell you what grid section in the clip board map grid they are in also.

10.13
10.15

 for example would tell you that that 1 square mile grid location is in the 10,10 sector on the clip board map.

If that doesn't make any sense to you let me know I'll try to explain it a little better

 :salute
midi

The bold grid designation above doesn't make any sense to me

I have never seen (maybe because I am lame) the TE set out a grid that is not incremented by less than or anything other than .04 (4 x 1320 feet)

How would one go about displaying a grid in the TE where a set of 'coordinates' would result in 10.13,10.15

True the snap incrament can be changed...but I can't find a way nor have seen it happen where the actual grid will granulate itself in any other form other than 4x1320=5280=1mile

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: Grid size
« Reply #6 on: July 29, 2011, 08:47:29 PM »
The bold grid designation above doesn't make any sense to me

I have never seen (maybe because I am lame) the TE set out a grid that is not incremented by less than or anything other than .04 (4 x 1320 feet)

How would one go about displaying a grid in the TE where a set of 'coordinates' would result in 10.13,10.15

True the snap incrament can be changed...but I can't find a way nor have seen it happen where the actual grid will granulate itself in any other form other than 4x1320=5280=1mile

Quote from the Terrain Editor Manual.

"The cells marked by the grid lines are one square mile and they flow to reflect the curve of the terrain.  The cell numbers are displayed in red inside the grid cells.  The first number corresponds to the major sector number in the Map window and the second number is a decimal showing the position within the sector from West to East and South to North. "

 :salute
midi
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!

Offline ink

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 11274
Re: Grid size
« Reply #7 on: July 29, 2011, 08:49:14 PM »
Ink every thing you are asking for can be changed, manipulated or altered in the three files, 1. the waterd.bmp  2. the gndtype.bmp  3. the elevation bitmap file.

 :salute
midi

seriously?  I didn't know that, that's actually why I stopped messing with the TE...was driving my nuts.

if someone was to be so AWESOME and try to explain how one would go about doing that, a certain one would be extremely appreciative.



I will do a quick drawing to show you my thoughts.

be back in a bit.  

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Re: Grid size
« Reply #8 on: July 29, 2011, 09:16:12 PM »
The bold grid designation above doesn't make any sense to me

I have never seen (maybe because I am lame) the TE set out a grid that is not incremented by less than or anything other than .04 (4 x 1320 feet)

How would one go about displaying a grid in the TE where a set of 'coordinates' would result in 10.13,10.15

True the snap incrament can be changed...but I can't find a way nor have seen it happen where the actual grid will granulate itself in any other form other than 4x1320=5280=1mile

Hopefully I won't add to the confusion and maybe help just a little.

A sector has 25 miles within it. Moving from sector 10.00 to sector 11.00, will pass through 25 TE grid cells. Clearly, you can't increment 10.00 to 10.24 and then suddenly jump to 11.00 in the next cell, so instead each cell is labeled in hundredths, counting by .04, (1 sector/25 miles = .04) so the numbers move from 10.00 to 10.96. Then it starts the next sector with grid cell 11.00.

Edited for formula
« Last Edit: July 29, 2011, 09:20:26 PM by Easyscor »
Easy in-game again.
Since Tour 19 - 2001

Offline oneway

  • Silver Member
  • ****
  • Posts: 1385
Re: Grid size
« Reply #9 on: July 29, 2011, 09:31:52 PM »
Hopefully I won't add to the confusion and maybe help just a little.

A sector has 25 miles within it. Moving from sector 10.00 to sector 11.00, will pass through 25 TE grid cells. Clearly, you can't increment 10.00 to 10.24 and then suddenly jump to 11.00 in the next cell, so instead each cell is labeled in hundredths, counting by .04, (1 sector/25 miles = .04) so the numbers move from 10.00 to 10.96. Then it starts the next sector with grid cell 11.00.

Edited for formula

I am not in the least bit confused...

What is not obvious is how as in Midi's example that grid 10.13 , 10.15 is even possible given the fact that the TE seems only to be able to display demarcations (grid lines) in 5280 foot increments (4 x 1320)

So I will restate the question again:

How is it possible to display, create or be in a Grid Square known as 10.13, 10.15, when that level of granularity is otherwise not possible other than in inspecting the location of an individual object on a terrain...and even then that object will not report itself in terms of grid...but rather in an imperial foot coordinate based on the center of 10.24,10.24

« Last Edit: July 29, 2011, 09:35:03 PM by oneway »

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: Grid size
« Reply #10 on: July 29, 2011, 09:36:35 PM »
OK the .13 and .15 numbers I pulled out of the air... the actual important ones for my point was the 10 and 10   so forget 10.13 and 10.15 and call it just 10 and 10

 :salute
midi
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Re: Grid size
« Reply #11 on: July 29, 2011, 09:39:33 PM »
one of the things I wish they would change about the TE,make it so as you zoom out, the squares themselves become "larger" IE more land, more then just a mile, that would go a long way to making the TE more user friendly, allowing us to see more of the map, making it much easier to create a 3 way MA map, that needs to be all even.....

also when your zoomed right in, I wish the squares broke down even more, so we could grab a bit and drag it up, to make pylons of a sort.....I have an insanely cool idea for a map, but cant make it because of the limitations of it.  :(  :cry :( :cry :(

The point is that you don't need to do all your work in the TE. You can paint the elevations into a 1024 x 1024 grayscale bitmap. Each pixels represents an elevation point, 2640 feet apart. The same is true for setting the ground types, but that is done with a 4096 x 4096 grayscale bitmap because each pixel represents a square that is 660 feet on a side. It starts getting complicated at this point because there are only 12 land types and their combinations available. There is a readme file in your TE folder that explains this, and there are more explanations on the AH wiki. Setting each cells' elevation, changing it to land, and then painting the ground type takes far too long and doesn't give the overall view available in a painted bitmap.
Easy in-game again.
Since Tour 19 - 2001

Offline oneway

  • Silver Member
  • ****
  • Posts: 1385
Re: Grid size
« Reply #12 on: July 29, 2011, 09:42:40 PM »
OK the .13 and .15 numbers I pulled out of the air... the actual important ones for my point was the 10 and 10   so forget 10.13 and 10.15 and call it just 10 and 10

 :salute
midi

Thanks

I was beginning to pull my hair out thinking the TE would granulate its grid

Why?

Because I use the TE for entirely different purposes than creating terrains...and that sort of granularity would be a godsend to the stuff I work on

Thanks Midi

 :salute

Offline ink

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 11274
Re: Grid size
« Reply #13 on: July 29, 2011, 09:53:28 PM »
this is what I am thinking, excuse the poor drawing, the Black in the green would be the end of a runway :rofl

and the stones coming out of the water are not quite drawn to size,  but it gives ya a good idea of what I am thinking




The point is that you don't need to do all your work in the TE. You can paint the elevations into a 1024 x 1024 grayscale bitmap. Each pixels represents an elevation point, 2640 feet apart. The same is true for setting the ground types, but that is done with a 4096 x 4096 grayscale bitmap because each pixel represents a square that is 660 feet on a side. It starts getting complicated at this point because there are only 12 land types and their combinations available. There is a readme file in your TE folder that explains this, and there are more explanations on the AH wiki. Setting each cells' elevation, changing it to land, and then painting the ground type takes far too long and doesn't give the overall view available in a painted bitmap.

I did change the default all water to all land by the grayscale bitmap, so I do know which file you are referring to.....its been a bit since I read the "readme" I will have to go back over it..... after looking at the drawing...do you think it is possible?   I would like all around the coast of all the land to have these  "stone pillions" plus sparaticly through out the water, I couldn't figure out how to do this  :headscratch:

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Re: Grid size
« Reply #14 on: July 29, 2011, 10:38:59 PM »
 :headscratch: :D

Okay, you can't do that for an MA terrain, and you can't do it with the TE alone, but you could if you really really want to... and have a lot of time. But maybe start with something like this intstead.



or


Easy in-game again.
Since Tour 19 - 2001