Hi, all.
After making 2 mods with tracks I found out that stations require hard coded edits to be able to use modded track types, so I made a mod that can be used by track makers to add their custom track types, and station builders to actually use them without further updates.
Additionaly there's a script that contains functions to build tracks in any direction in your station not just curved stations or straight.
TrackLib mod must be loaded before the track and stations that use it.
Track mods modified to register with TrackLib will work even if the library is not present but stations that use it will crash on load.
Modded stations will work without any additional modded tracks because TrackLib registers the default standard and high-speed tracks.
In the attached file there are 3 folders:
yo_tracklib_1 - mod folder of current tracklib (complete)
yo_model_tracks_1 - modified scripts of Yo ModelTracks to use TrackLib
yo_tracks_1 - modified scripts of Yo Tracks to add them to TrackLib
Documentation about using TrackLib with your mods is in yo_tracklib_1/documents/ folder.
If you have some spare time please test it and give me some feedback to see if it's ok for me to continue polishing it and release it or just make something else.
Thanks