Re: Patch: RouteMarkers
Posted: 29 Jan 2011 00:34
The way it works is it sets bits to 1 for each color that is penalized for going thru that tile, right? Instead of offering just regular and inverse, how about showing the pallete as toggle buttons for each color, so the user can choose which ones to have active for the marker they will be creating. (with a button to invert all the toggles, and like with the signals a button for converting, which would change the bits on an already created marker)
Regarding the "bonus" markers, the issue is when the end sum comes out with the wrong signal, right? Then how about capping the value at zero if the sum goes bad, would that fix the issue?
Perhaps an approach with two signals might work, one telling trains to preffer the next fork with their color set for bonus and one to mark a fork with a bonus for a given set of colors? That would allow for bonus markers without messing up the pathing algorithim, wouldn't it?
Regarding the "bonus" markers, the issue is when the end sum comes out with the wrong signal, right? Then how about capping the value at zero if the sum goes bad, would that fix the issue?
Perhaps an approach with two signals might work, one telling trains to preffer the next fork with their color set for bonus and one to mark a fork with a bonus for a given set of colors? That would allow for bonus markers without messing up the pathing algorithim, wouldn't it?