From: Erik V. <eri...@xs...> - 2011-03-03 21:39:35
|
It's about how the hexes are named. "letterOrientation" defines whether the letters (A-Z) alongside the map run horizontally or vertically. "even" defines which letters have even numbers: A (i.e. A2, A4, B3, C4) or B (i.e. A1, A3, B2, C3 etc.) - in fact any letter can be used here. Yes, there are 2x2x2=8 possibilities to set up map orientation and map hexes naming! Erik. Van: Scott Petersen [mailto:sc...@re...] Verzonden: donderdag 3 maart 2011 2:15 Aan: Development list for Rails: an 18xx game Onderwerp: [Rails-devel] Map.xml - Tile Orientation I am modifying the 1830 xml files to put my prototype game into rails (and having a great time of it!), but have hit a snag. The map looks right, but I am running into problems when I try to lay tiles--lots of "no valid orientation" errors. My game has the NS tile orientation unlike the EW orientation in 1830. Things seem to play okay if I leave the orientation as EW in Map.xml although the map is rotated and the orientations of the special tiles are wrong. Instead of the first line of the 1830 Map.xml, I am using the one from 18AL which has the NS tile orientation. <Map mapClass="rails.ui.swing.hexmap.NSHexMap" tileOrientation="NS" letterOrientation="vertical" even="A"> What do the last two items in that line mean ("letterOrientation" and "even"). Or maybe more helpful for me--what is the short list of things to change when moving from the 1830 EW tile orientation to the NS orientation? Thanks. |