I am trying to learn the @fog command. I know the format ( in rw) is fog(start,stop,r,g,g), but what do start and stop mean? Does mean the fog begins here at 0 and goes until stop, or is it a measure of how thick the fog is? How do you turn fog off?
BVE: fog
Collapse
This topic is closed.
X
X
-
Meeshu
RE: fog
@Fog (Start, End, Red, Green and Blue)
First, I have not actually used this command (yet), but my interpretation is:
Start is the distance in meters from the beginning of the route where the fog actually takes effect.
End is the distance in meters from the beginning of the route where the fog no longer has an effect.
Outside the limits of Start and Stop is where the fog is "off".
Does that help?
-
RE: fog
Start: How many metres from the cab the fog starts
End: How many metres from the cab the fog ends
@fog (20,100,140,140,140)
This will give a greyish fog, The fog starts 20 metres ahead, and you can see 100 metres ahead.
The fog will continue until you stop it with a code like this:
@fog (0,0,0,0,0)
or
@fog (0,0)
Not totally shure about that; test it youre self ;-)
Sorry for my bad english
Jan-Tore
Comment
-
RE: fog
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 station
04625, .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,
;Station
04750, .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 entrance
04900, .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 fog
05275, .fog 0;0;0;0;0,
Comment
-
RE: fog
If you put the numbers, the end number is smaller than the start, it will create a kind of wall.
Comment



Comment