From: Scott P. <sc...@re...> - 2011-03-03 01:15:33
|
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. |
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. |
From: brett l. <bre...@gm...> - 2011-03-03 22:04:25
|
I've added a new set of pages on the wiki, and have added this explanation to it. ---Brett. On Thu, Mar 3, 2011 at 1:39 PM, Erik Vos <eri...@xs...> wrote: > 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. > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Erik V. <eri...@xs...> - 2011-03-06 19:40:28
|
Scott, The issue I found with 18JR should be fixed in the current code base in Sourceforge (It's a generic bug). You should just update your code from that repository. 18VA is alike 18EU, so I don't see what could go wrong. On prototypes: the trouble is, that any game or prototype , to be runnable at all, must appear in GamesList.xml, and that file is part of any release. It is possible to run from a separate (local) version of GamesList.xml that specifies more games than the released version, but then it is a bit of a hassle to keep the two versions of this file in sync as regards the released games. That is what I did in the past, but I have abandoned that approach. However, I suppose it's unavoidable to return to using a separate local GamesList.xml if you want to involve me in testing/troubleshooting prototypes that should not yet appear in any release. Erik. Van: Scott Petersen [mailto:sc...@re...] Verzonden: zondag 6 maart 2011 17:23 Aan: Development list for Rails: an 18xx game Onderwerp: Re: [Rails-devel] Map.xml - Tile Orientation On Sun, Mar 6, 2011 at 7:13 AM, Erik Vos <eri...@xs...> wrote: As I suspected, the underlying bug was incorrect determination of adjacent hexes in this particular type of map. This should have been fixed now, but please try for yourself. Erik, I'll call this 18JR. It is a prototype. I plan to only use tiles and private company special powers that already exist in Rails. How would you like to handle prototypes?--obviously they should not be in the jar that is released, but I intend to complete the design within a few months. I can package up a jar file for playtesters to use in the meantime. What can be done to resolve the adjacent hex issue? I have been working on 18VA also and see the same issue. The tile orientation for that one is also tileOrientation="NS" letterOrientation="vertical" even="A". I will submit my 18VA XML files and a list of issues to resolve in a couple days. |
From: Scott P. <sc...@re...> - 2011-03-09 08:15:32
|
On Sun, Mar 6, 2011 at 1:40 PM, Erik Vos <eri...@xs...> wrote: > Scott, > > > > The issue I found with 18JR should be fixed in the current code base in > Sourceforge (It’s a generic bug). You should just update your code from > that repository. > Yes, after doing a fresh game (not a previously saved game) it works. What a great feeling to design a map and be able to run playtests/scenarios in Rails rather than taking detailed notes. Thanks for your help. I plan to contribute significantly over the next few months. |