From: brett l. <wak...@gm...> - 2006-07-28 21:32:21
|
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. |