With the new design of how to do fences for track .. each side is a separate fence .. this has allowed me to add more graphics to the tracks.
In this case I added a road to run between the fence and the railway tracks. This road is a to allow access for Fettlers to carry out track repairs.
Attachment:
GravelTracks-2.png [ 177.74 KiB | Viewed 3708 times ]
This is the default template for the roads. Replace the grey with the road surface you want and can also add what fence design you like.
Attachment:
Fences_RAIL.png [ 5.61 KiB | Viewed 3708 times ]
The code for these fences and roads is.
Code:
//Fences
template template_widefences() {
//left_x, upper_y, width, height, offset_x, offset_y
[ 2, 5, 38, 26, -33, -7] //Back of Track
[ 50, 5, 38, 26, -3, -7] //Back of Track
[ 98, 5, 10, 38, -7, -22] //Right of Track
[114, 5, 65, 10, -31, -6] //Bottom of Track
[194, 5, 38, 19, -33, -8] //Back of Track (slope)
[242, 5, 38, 19, -4, -8] //Back of Track (slope)
[290, 5, 39, 35, -33, -16] //Back of Track (slope)
[332, 5, 39, 35, -4, -16] //Back of Track (slope)
[ 2, 50, 38, 26, -35, -10] //Front of Track
[ 50, 50, 38, 26, -1, -10] //Front of Track
[ 98, 50, 10, 38, 1, -22] //Left of Track
[114, 50, 65, 10, -31, -6] //Top of Track
[194, 50, 38, 19, -35, -11] //Front of Track (slope)
[242, 50, 38, 19, -1, -11] //Front of Track (slope)
[290, 50, 39, 35, -35, -19] //Front of Track (slope)
[332, 50, 39, 35, -1, -19] //Front of Track (slope)
}
Hope these be useful to you all.