readme.graphics terrain documentation help

Can you help improve your favourite game? Hardcore C mages, talented artists, and players with any level of experience are welcome!
User avatar
GriffonSpade
Elite
Posts: 578
Joined: Mon Apr 29, 2013 4:41 pm

Re: readme.graphics terrain documentation help

Post by GriffonSpade »

What exactly does hex_side even DO? In A6B I use hexside 16, but the description sounds like I should be using 32(Or maybe 34). Yet, either way I can't see any actual difference. Knocking it down to 0 seems to make the tileset want to be 'square'.(Load failed due to not having 4-direction forests). Values of 1 and above, I haven't noticed any difference. Am I missing something, or is this really just a mostly unused stat? If it DOES do something, what exactly is it? (Possibly requiring a code search to check?)

Code: Select all

  hex_side             : When is_hex is specified (see is_hex, below), this
                         value gives the length of the "extra" side of the
                         hexagon. This extra side will be on the top/bottom
                         of the tile if is_isometric (below) is given, or
                         on the left/right of the tile otherwise. The actual
                         dimensions of the hex tile are determined from the
                         normal_tile_width/normal_tile_height of the tileset
                         as well as the hex side. The "normal" dimensions
                         give the X and Y offsets between adjacent tiles in
                         the tileset - this is not the same as the dimensions
                         of the tile itself. The dimension of the bounding
                         box of the hexagonal tile will be equal to the
                         "normal" dimension minus the hex_side. For instance
                         "normal" dimensions of 64x32 with a hex_side of 16
                         for an iso-hex tileset will give hexagons of size
                         48x32.
Post Reply