Transport Fever 2

Transport Fever 2

284 ratings
Enhanced Line Designators
4
13
   
Award
Favorite
Favorited
Unfavorite
Misc: Script Mod
File Size
Posted
Updated
3.082 MB
26 Jun, 2021 @ 6:18am
13 Aug, 2023 @ 3:49am
17 Change Notes ( view )

Subscribe to download
Enhanced Line Designators

Description
With this mod you can decide for each line individually which line designator shall be displayed at the destination signs of the vehicles. Additionally the destination signs will always show the first stop of the line (or - if you also use CommonAPI2 from transportfever.net - the configurable line destination).
Simply write your desired designator in brackets in the line name. For example: The line name 'Metrobus (M16) Central Station - Airport' gets visible as 'M16' on the vehicles. If you don't have brackets in your line name, no designator will show up, only the first stop.
This way you can keep a well structured line menu and also show your passengers a wider variety of line designators (alphanumeric instead of numbers only).
The mod affects both vanilla and mod vehicles of any type and can be activated or removed from your savegame at any time. Anyway it should appear *in the loading order after vehicle mods*! Information displays inside the vehicle, which show the next stop, will not be modified (as long as the script recognizes this properly).

If you never thought about more realistic line designators you probably don't need this mod - but if you did, have fun :)

In case you don't want the modifications on a certain vehicle, add the name of it's .mdl to the 'blacklist' in the mod.lua of this mod.

Update 1.9: Now any character exept '(' and ')' should be supported in the line designators and designators are now shown more reliable on almost all vehicles, including the Bombardier Talent2 / Talent3 by MaikC and BVG F92 by ERXC.
For vehicle modders: By default all labels with NEXT_STOP and LINE_NAME will be modified if they are located outside of the vehicle (calculated by using the boundingInfo with a small margin). If you don't want a certain label to be modified, simply add 'dontModify = true' to this label.
Popular Discussions View All (1)
0
15 Feb, 2022 @ 7:21am
One or more pairs of brackets
lollus
144 Comments
lennardo_97  [author] 16 Nov, 2024 @ 1:59am 
You're welcome.
The two line feature is currently only available for the Mercedes Citaro C2 and another Mercedes Bus that came with a two line display on the basic model.
The top row shows the first whole word in front of the brackets in the line name in the top line.
The bottom line shows the line destination (first stop or what you put into the destination field when CommonAPI2 is active).
If your line name has no whole word in front of the brackets, the first line will be empty.
harry kane 15 Nov, 2024 @ 1:34pm 
Thank you so much, just one last thing.
Theres absolutely no problem with this, but I noticed that in some buses, shows 2 lines instead of 1, Any way to change that?
Look at the fourth picture on this mod display, you can see that the top says Metrobus, while in the bottom it says something different.
How do I do that?
lennardo_97  [author] 15 Nov, 2024 @ 5:16am 
@harry kane
Yes, now I understand. It is possible if you use the CommonAPI2 mod additionally, as this adds a free text field for each stop in the line manager that is shown on the vehicle. Note that you have to keep it up to date manually anytime the game gets an update. Information and download link can be found here: https://www.transportfever.net/thread/13025-commonapi2-neue-versionen-und-wichtige-informationen/?postID=426266#post426266
harry kane 13 Nov, 2024 @ 1:13pm 
Lets say my bus is going from station A to station B, the bus panel, which is the destination display, will show the number of the line and the first station of the line (Station A)
And what im trying to do, is for it to show Station A - Station B.
More specific, lets say my bus first station is Gava terminal, and the last one is Arizona Terminal, the bus display will show the line number and the first station on the line (Gava Terminal), but in my case I want it to display Gava - Arizona.
Hope this time its clear.
lennardo_97  [author] 9 Nov, 2024 @ 10:54am 
@harry kane
I think I still don't really get what you mean.
So let's say you have the bus line number 1 going to Marely Terminal, so what I would expect to see on the bus display is "1 Marely Terminal". For that case you would select Marely Terminal as the first stop and name your line "bus line (1)".
What do you like to have different from this example?
harry kane 9 Nov, 2024 @ 7:52am 
what i meant, is that the bus panel will only show the first station, example if my first station is like Marely terminal, it will show the line number (for example 1) and the first station.
So, is there a way i can change that? (I do not want to change the name of the terminal otherwise its pretty unrealistic)
Sorry if this wasent clear, but I do not know how to explain it.
lennardo_97  [author] 3 Nov, 2024 @ 4:14am 
@drcsont060923
This mod has no special new settings for the lines. It works by simply renaming your lines as explained in the mod description above.
However, if you use the CommonAPI2 mod additionally, you get a new option in the line manager to select what shall be displayed for each destination. All information for the CommonAPI2 can be found in the forum: https://www.transportfever.net/thread/13025-commonapi2-neue-versionen-und-wichtige-informationen/?postID=424822#post424822
Note that you need to keep it up to date anytime the game gets an update.
drcsont060923 2 Nov, 2024 @ 4:05am 
Dear @lennardo_97 !
I subscried and active this mod when I create a new free game. But maybe something is missing from me because I cant do anything, nothing settings on lines nothing. Please can you help me?
beldrnl 12 Oct, 2024 @ 2:11am 
this is exactly what I was looking for. thanks!
lennardo_97  [author] 16 Aug, 2024 @ 8:51am 
@kaskader2000 It is currently not intended and not easily possible to switch that off directly.

The only option at this time would be to combine this mod with the Line Destination feature of the CommonAPI2 from transportfever.net
With this feature you can decide individually for each stop what shall be displayed. Note that you have to keep CommonAPI2 up to date everytime the game receives an update.