From: Erik V. <eri...@hc...> - 2006-07-29 10:02:20
|
Your proposal looks like a change to Tiles.xml, but that is definitely not the right place, as this file should only contain game-independent tile features. The off-board revenue values should be defined in Map.xml. In fact I have this item high on my list of next-to-do things. I would do it like this: 1. Put the values per step in Map.xml, e.g. like (for 1830) <Hex name="A9" tile="-901" orientation="0" values="30,50"/> 2. Put the change conditions in Game.xml per Phase. The default would be step 1. Only the change point needs be defined, e.g. like <Phase name="5"> <Tiles colour="yellow,green,brown"/> <Privates close="yes"/> <OperatingRounds number="3"/> <OffBoardRevenue step="2"/> </Phase> If it's OK with you, I can do this after I have fixed token laying. Erik. > -----Original Message----- > From: rai...@li... > [mailto:rai...@li...] On Behalf > Of brett lentz > Sent: 26 July 2006 23:08 > To: Development list for Rails: an 18xx game > Subject: [Rails-devel] Getting Red Tiles to display correct values. > > I've been looking at how to address this problem. > > It seems that there's a limitation to our current XML definitions for > Tiles.xml . > > Having "value" as a property of the station means that we can't > specifiy any deviations when there are two copies of the same tile > with differing values on the map. > > I propose a change to our XML: > > This is our current version: > > <Tile id="-901" colour="red"> > <Station id="city1" type="OffMapCity" value="-1" position="0"/> > <Track gauge="normal" from="city1" to="side2"/> > </Tile> > > This is what I suggest to allow us to solve our red tile > display issues: > > <Tile id="-901" colour="red"> > <Station id="city1" type="OffMapCity" value="-1" position="0"> > <Hex location=A9 values="30,50" upgradeTrigger="Trains > Available" upgradeWhen="5"> > </Station> > <Track gauge="normal" from="city1" to="side2"/> > </Tile> > > > I think we should keep the value parameter as deprecated just to allow > for a way to globally set the value of all tiles of that type. > However, we should add the Hex tag with parameters that can override > the global value for a specific hex on a specific map. > > How does this sound? > > ---Brett. > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys -- and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |