

Here's an example of code I used for lighting effects for sun shining into a tunnel exit. The fog appears very gradually and starts to disappear before the tunnel exit just enough for the sky to appear only slightly affected by the fog. Before the train enters the next tunnel, the fog is almost completely gone.;Gradual onset of fog visible in the distance in tunnel before station04625, .fog 400;3000;255;255;255,
04650, .fog 300;2000;255;255;255,
04675, .fog 200;1500;255;255;255,
04700, .fog 175;1000;255;255;255,
04725, .fog 150;1000;255;255;255,;Station04750, .fog 125;1000;255;255;255, .sta Station;;;0;1;0;0;;2;50;
04775, .fog 100;1000;255;255;255,
04800, .fog 75;1000;255;255;255,
04825, .fog 50;1000;255;255;255,
04850, .fog 25;1000;255;255;255,
04875, .fog 0;1000;255;255;255,
04892, .stop 0;Station exit / tunnel entrance04900, .fog 0;800;255;255;255,
04925, .fog 0;600;255;255;255,
04950, .fog 0;400;255;255;255,
04975, .fog 0;300;255;255;255,
05000, .fog 0;400;255;255;255, ;fog starts to disappear in order for the sky to appear normal when exiting the tunnel.
05025, .fog 0;500;255;255;255,
05050, .fog 0;650;255;255;255,
05075, .fog 0;1000;255;255;255,
05100, .fog 0;1500;255;255;255, ;Tunnel exit, fog gradually disappears from front of cab while sky is unaffected.05125, .fog 0;2000;255;255;255,
05175, .fog 50;1900;255;255;255
05200, .fog 100;1800;255;255;255
05225, .fog 150;1700;255;255;255
05250, .fog 200;1600;255;255;255;Tunnel entrance, no fog05275, .fog 0;0;0;0;0,
Jon
http://trainsim.railscanada.com
Alert | IP
Printer-friendly page | Edit | Reply | Reply With Quote | Top