Last active
May 22, 2021 11:13
-
-
Save ronyx69/6732167cabd319e2f4731fa39a056515 to your computer and use it in GitHub Desktop.
Tag station tracks for usage in Railway track replacer UI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var stationTrackType = "r69rwst-double"; // The type of station track: | |
// r69rwst-double (normal double station track) | |
// r69rwst-edouble (elevated double station track) | |
// r69rwst-single2 (single station track - two sided boarding) | |
// r69rwst-single1 (single station track - left sided boarding) | |
// r69rwst-singler (single station track - right sided boarding) | |
// r69rwst-esingle2 (elevated single station track - two sided boarding (shinkansen only afaik)) | |
// r69rwst-esinglel (elevated single station track - left sided boarding) | |
// r69rwst-esingler (elevated single station track - right sided boarding) | |
// r69rwst-wide (bad peanut wide station track and train station ccp) | |
// r69rwst-ewide (train stations ccp) | |
// r69rwst-quadbypass (4 tracks together - train stations ccp) | |
// r69rwst-quadisland (4 tracks with islands - train stations ccp) | |
// r69rwst-equadbypass (ditto elevated - train stations ccp) | |
// r69rwst-equadisland (ditto elevated - train stations ccp) | |
var asset = ToolsModifierControl.toolController.m_editPrefabInfo as NetInfo; | |
asset.m_segments[0].m_lodMaterial.name = stationTrackType; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment