TF3TF3 Mod PortalTransport Fever 3 · erweitert um Community-Checks
mod.io · Mod 6540657

Super Line Name and Color

von wuduandemomoVersion 1.0Aktualisiert 26.11.2026Rev. 4736,2 KiB
Bitte ModManager zuerst starten. Dadurch wird der Installations-Link unter Windows registriert.

Beschreibung

ENGLISH All lines are named and colored fully automatically, except lines whose name contains *, which keep their custom name and color. Every cargo type on a line is written into the name (joined by +); passenger-only lines leave the cargo segment empty (empty brackets and extra hyphens are removed). The default line color comes from the leftmost cargo's icon color on the line. The window has two tabs: Line naming and Line colors. A full pass over all lines is split into batches: the first pass after entering a save uses up to 100 lines per batch, and later passes use up to 50 lines. The next full pass starts about 30 seconds after the previous one finishes. CUSTOM NAME TEMPLATE Fields: {transportType} {lineType} {vehicle} {cargo} {origin} {destination} {scope} {index} {loop}. {transportType} is the detailed transport type (Bus / Road Freight / Tram Passenger / Tram Freight / Passenger Train / Freight Train / Ferry / Freighter / Flight / Air Freight / Heli Passenger / Heli Freight); mixed passenger-cargo lines use labels such as Mixed Train / Mixed Road. {lineType} is Local / Intercity / Regional. Default: {transportType}-({cargo})-({origin}→{destination})-{lineType}-{index}. If a sequence field is omitted, a two-digit sequence is appended. Empty or invalid templates fall back to the default rule; lines with * are unaffected. English aliases such as {transportType}, {lineType}, {vehicle}, {cargo}, {origin}, {destination}, {scope}, {index}, {kind}, {loop} are also accepted. LINE COLORS The default line color comes from the leftmost cargo's icon color on the line, so it matches the cargo icon. Passenger-only lines use the icon's orange-yellow. In the Line colors tab every cargo type used by a line is listed; you can customize one color per cargo type and Auto restores the cargo default. Custom colors are stored in the save. HOW TO USE 1. Enable the mod and load a save; existing and new lines are handled automatically. 2. To keep both a name and its color, rename that line to any text containing *, for example *my Line. 3. To return to automatic naming and coloring, remove the * from the name. 4. Click the top-bar icon to open the status window; its text and generated names follow the game language (English or Chinese). 5. On a Chinese map with the English UI, town names use the game's built-in English name set, so line names stay English instead of showing missing glyphs. 中文 所有线路默认全自动命名与配色,名称带 * 的线路除外,保留自定义名称和颜色。名称会写全线路上的所有货种(用 + 连接);纯客运线路的货种段留空(空括号和多余短横线会删除);默认线路颜色取线路左边第一个货物的图标颜色,和货物图标保持一致。窗口分为“线路命名”和“线路配色”两个页签。一次全覆盖扫描会拆成多个批次执行:刚进入存档的第一轮每批最多 100 条;之后每轮每批最多 50 条。上一轮完成后约等待 30 秒再开始下一轮。 自定义命名模板 占位符:{运输方式} {线路类型} {载具} {货种} {起点} {终点} {本城} {序号} {环线}。{运输方式} 为细分运输类型(公交 / 汽车货运 / 电车客运 / 电车货运 / 客运列车 / 货运列车 / 轮渡 / 货轮 / 航班 / 空运 / 直客 / 直货),客货混装自动写成“客货列车 / 客货汽车”等;{线路类型} 为本地 / 城际 / 区域,无法识别时使用区域。默认:{运输方式}-({货种})-({起点}→{终点})-{线路类型}-{序号}。没写序号会自动补两位序号;模板为空或无效时使用默认规则;名称带 * 的线路不受影响。也支持英文别名 {transportType}、{lineType}、{vehicle}、{cargo}、{origin}、{destination}、{scope}、{index}、{kind}、{loop}。 线路配色 默认颜色取线路左边第一个货物的图标颜色,和货物图标保持一致。纯客运线路使用乘客图标的橙黄色。在“线路配色”页签里会列出每条线涉及的所有货物,可按货物单独自定义颜色;点“自动”恢复该货物的默认图标色。自定义颜色会存进存档。 使用方法 1. 启用本模组并进入存档,已有线路和新建线路都会自动处理。 2. 想同时保留名称和颜色,把该线路名称改成任意包含 * 的文本,例如 *我的线路。 e. 想恢复自动命名和配色,删掉名称里的 * 即可。 4. 点击顶栏图标打开状态窗口;窗口文字和生成的线路名会按游戏语言自动显示英文或中文。 5. 中文地图切到英文界面时,城镇名使用游戏内置的英文名,线路名不会出现缺字方框。

Bilder