Better switches

sniper297

Coconut God
Currently working on "Otto-izing" a route to make the switches more realistic looking using Justin's frog track objects;

24960087.jpg


To my eye that looks fine even without animated points, got a switch target indicator to show the direction the switch is thrown the points aren't all that important. To speed up the switch creation I hacked the United States region config file;

defaultjunction <kuid2:87145:24016:3>

That adds a red/green switchstand instead of the default lever each time a switch is created.

So the question - would it be possible through a script or something to add the frog objects at the same time as the switchstand is added? Gets rather tedious placing and aligning these things at every switch (and it works better if you create a new layer for that and lock the base route layer so it doesn't grab and move the switchstand when you're trying to move the frog/checkrail object) so I got to thinking, why not something that automatically adds a Turnout Frog Left and Turnout Frog Right at the point where the inner rails cross? Anyone know how to program something like that or if there are tags that could be added to the region? Biggest stumbling block I see is that you couldn't program it to autogenerate a fixed distance from the vertex, there would need to be something that was capable of detecting the point where the inner rails cross and position the objects in relation to that.
 
which is why it isnt done. the track itself is merely a representation of the actual track graph that the train follows. sure you can calculate where the rails should cross, but then again not all track assets are created equal. for example those tracks you are using appear to have thin rails and using a calculated setting of the frog assets would still require adjustment. the only way to guarantee it would be using a fixed turnout, and that carries with it another set of problems.
 
Yeah, that's why I decided to go with these beauties (NICE WORK by the way!) since they're simple, elegant, and a bit less than 300 polys each. 600 polys per switch means only 24,000 additional polys in a double ended 20 track yard, so better appearance with no performance hit. Only problem is the tedium of placing and aligning them all. Maybe I should get Otto to do it! :cool:
 
Back
Top