DisplayOneLine
Beschreibung
DisplayOneLine — only one line at a time
Author: wuduandemomo
Every window in Transport Fever 3 that draws lines (station, airport, freight terminal, town, line manager, statistics) normally draws every related line at once, which causes a heavy hitch with many lines. This mod caps it: at most one line is drawn, and only the one you selected; filtered lines are not rendered at all.
What it does
- Any window that draws lines draws at most one: the one you selected. Select nothing, and nothing is drawn.
- Applies to every carrier: cars, buses, trucks, trams, trains, ships, planes and helicopters.
- Lines that get filtered out are not rendered at all — the engine's default is to keep drawing them semi-transparent, which still costs performance.
- The line window and the vehicle window keep their native behaviour, so the line you opened is always visible.
Where it applies
- Station group windows: passenger stations, freight terminals, airports, railway stations, interchanges
- Town window
- Line manager, including the 2D/3D line view
- Statistics: line tab (only the selected line) and vehicle-data tab (no map lines at all)
- Factory, warehouse and industry windows do not draw lines in the base game, so there is nothing to suppress there
Settings (mod parameters)
- Line drawing: "Only the selected line" (default) / "Vanilla (draw them all)"
- Aircraft lines: "Same as other carriers" (default) / "Hide them all"
- Debug log: Off / On
Mod parameters are stored per savegame — reload the save after changing them.
About aircraft lines
When an airport assigns several stands to one aircraft line, the engine draws that single line as several parallel strands around the airport. That geometry is produced by the engine from the line's stop assignment and is not exposed to mods (the UI data type only carries the line entity and a transparency value), so it cannot be collapsed into one strand. The only two reachable states are "draw it, multi-strand" or "hide aircraft lines completely" — that is what the separate switch is for.
DisplayOneLine — 线路只画一条
作者:wuduandemomo
《狂热运输3》里所有会画线路的界面(车站、机场、货运站、城市、线路管理器、线路统计)默认都会把相关线路一次性全画出来。线路一多,点开界面就会明显卡一下,甚至像卡死。这个模组把它压住:任何界面最多只画一条线路,而且只画你真正选中的那一条;被过滤掉的线路彻底不渲染,不再白吃性能。
作用
- 任何画线路的界面最多只画一条:你选中的那条。没选中就一条都不画。
- 对所有载体生效:汽车、公交、卡车、电车、火车、船舶、飞机、直升机。
- 被过滤掉的线路彻底不渲染(引擎默认还会把它们半透明画出来,一样吃性能)。
- 线路窗口和车辆窗口保持原生,打开展示的那条线路始终可见。
覆盖范围
- 车站组窗口:客运站、货运站、机场、火车站、综合枢纽
- 城市窗口
- 线路管理器,含 2D / 3D 线路视图
- 线路统计:线路页只画选中的那一条;载具数据页一条都不画(该页引擎会按载体范围把该载体所有线路全画出来)
- 工厂、仓库、产业窗口原生就不画线路,因此无需处理
模组设置
- 线路绘制:只画选中的那一条(默认)/原生(全部显示)
- 飞机与直升机线路:与其他载体一样(默认)/全部不显示
- 调试日志:关/开
参数跟着存档保存,改完要重新载入这一局才生效。
关于飞机线路
机场给一条飞机线路分配多个停机位时,引擎会把这一条线路画成好几股平行线。这股几何由引擎按停靠分配生成,插件拿不到,压不成一股;可选的只有“画出来(多股)”或“航空线路全部不显示”。
Bilder
Mod melden
Die Meldung gilt ausschließlich für Version 1.0. Bitte nur melden, wenn du diese Version selbst getestet hast.
Melde dich an, um eine Meldung abzugeben. Pro Konto, Mod-Version und Kategorie zählt eine Meldung.
Kommentare
Auf mod.io öffnen ↗