Did you know: multi-colored (series) markers

Discussion about RailWorks route design.

Did you know: multi-colored (series) markers

Unread postby GreatNortherner » Fri May 15, 2009 4:48 pm

Colleagues,

Something new I learned today while hacking the bin files of my routes. It has been staring into my eyes all the time, but sometimes, well: **!!bang!!**

If you are working with the series markers derived from, for example, toporoute.com, you can easily color various of your marker lines in their corresponding blueprints. This way you can for example have markers for roads, tracks, and other stuff all over the place without getting confused. I attached a screenshot below, it shows road and track markers created from GPX files drawn in toporoute.

To change the color, simply open the marker file's BIN in your assets\...\RouteMarkers\ directory, sroll all the way to the end, and edit the color values below (values range between 0 and 1, the example below results in a dark blue line).
Code: Select all
<SeriesColour>
   <cHcColour>
      <Red d:type="sFloat32" d:alt_encoding="00000080029AC83F" d:precision="string">0.1922</Red>
      <Green d:type="sFloat32" d:alt_encoding="000000802497C73F" d:precision="string">0.1843</Green>
      <Blue d:type="sFloat32" d:alt_encoding="000000C00512E23F" d:precision="string">0.5647</Blue>
      <Alpha d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</Alpha>
   </cHcColour>
</SeriesColour>


Cheers!
Michael

Image
User avatar
GreatNortherner
 
Posts: 1586
Joined: Sun Feb 15, 2009 11:19 am
Location: Czech Republic

Re: Did you know: multi-colored (series) markers

Unread postby rgarber » Fri May 15, 2009 7:24 pm

That's cool!
rgarber
 

Re: Did you know: multi-colored (series) markers

Unread postby kin3 » Sat May 16, 2009 10:36 am

I remember in Trainz that dem maps were made with lines in various colors to show where tracks, roads, rivers, etc. were located. I don't know how they were produced are anything. I assume this is something similar. *!greengrin!*
Kinnie,
User avatar
kin3
 
Posts: 274
Joined: Fri Feb 13, 2009 12:07 pm


Return to Route Design

Who is online

Users browsing this forum: No registered users and 1 guest