Transport Fever 2

Transport Fever 2

254 个评价
Street fine tuning
2
2
   
奖励
收藏
已收藏
取消收藏
Track/Street: Street, Street Construction
文件大小
发表于
更新日期
80.038 MB
2020 年 3 月 13 日 上午 7:00
1 月 10 日 上午 6:46
72 项改动说明 ( 查看 )

订阅以下载
Street fine tuning

在 lollus 的 1 个合集中
game changers
21 件物品
描述
This is a collection of tools to fine-tune the road vehicle routing and the streets.

Problem A: inflexible roads
This mod adds a selection of streets with multiple lanes, to allow overtaking, but with the same width, so you can try different road types without destroying your buildings. Some road types reserve the right lane for passenger or cargo vehicles; they carry extra signs on the pavement.
Use the categories to select the right street type, for ease of use.
Problem B: little control destroying pieces of road
This mod adds two slicers to the street construction menu. They split a piece of road in two segments.
- The automatic slicer preserves all buildings, just plop it where you want.
- The manual slicer is a backup. Place it on the roadside and rotate it with <m>, <shift> + <m>, <n> or <shift> + <n>, carefully adjusting its location.
Both slicers destroy themselves after placement, leaving your road split in two segments. Debug mode and AltGr + L will reveal their effect.
After splitting a piece of road, you can alter or delete a small segment only, preserving the rest.
Problem C: trams only run in the rightmost lane
This mod adds a street construction to toggle extra tram tracks. Plop it on a road and it will add or remove extra tram tracks, if there are enough lanes.
Previous iterations exposed roads with many tram tracks in the street menu, but that was ugly.
Problem D: vehicles queue up unnecessarily
The game newly offers lane waypoints: use them.
Solution: use dedicated roads (or switch them off with the new mod setting if you are in a new game and don't want them)
If lane waypoints are not enough, replace the offending road with one of the same width, that reserves the right lane for certain vehicles. Use the standard replace tool (the magic wand), helping yourself with <shift> to select a shorter segment of road. Use the slicer to cut your own segments if you must. Select the new road with the category icon to avoid confusion. Toggle bus lanes on or off as required, using the standard tool. Toggle tram tracks in the middle as required, using the dedicated street construction tool.
Fine-grained solution: split your road into segments
When you build a long enough piece of road, the game splits it into seamless segments. The joints between them allow vehicles to change lanes. The trouble is, these segments are fairly long, and crossings do not allow switching lanes. If you have a shortish stretch of road, then a crossing, then another shortish stretch, then another crossing, chances are, vehicles cannot change lanes for a long while.
You can split a piece of road by adding an intersecting street and deleting it, but this often involves destroying several buildings. To keep the carnage down, use the slicer. Once you have multiple segments, you can change the road in some or all of them, selectively. Try adding an extra lane to the segment with the streetside stop only.
Problem E: little control building roads
This mod adds a "street construction" to build chunks of road with useful parameters. These chunks can be single or multiple, arranged in parallel. Lock them to keep their shape pretty and prevent other roads merging in. Unlock them to treat them like ordinary roads. You cannot relock an unlocked chunk.
Problem F: ugly or impossible merges
This mod adds a "street construction" to build merges. For example, you can merge up to four one-lane streets into a large one, perhaps for a fancy station square arrangement.
Merges can be reconfigured after being placed, if the street layout allows it. If a merge misbehaves after a mod update, change its direction twice (ie reverse and restore) to update it to the latest version.
Problem G: ugly curves
This mod adds a "street construction" to build prettier curves. Lock a curve to keep its shape pretty and prevent other roads merging in. Unlock it to treat it like ordinary roads. You cannot relock an unlocked curve. You can combine two of these to make custom roundabouts.
Problem H: no footpaths
This mod adds some thin footpaths, nearly invisible. You can use them to perform various tricks, eg connecting stations to roads or having people walk across a park. Give them a bus lane to pedestrianise them.
There is also a 1-metre footpath.
Problem I: vehicles make funny turns
Sometimes, vehicles overshoot a crossing, then reverse, then turn where they are meant to.
Use the splitter to make them change lanes where you want - ie at the split.
Tips:
- To better visualise the lanes, start the game in debug mode and press <AltGr> + <L>.
- Press and hold <shift> to replace a short road segment between two joints.
- Select street - upgrade and right-click a one-way road to reverse its direction.
- Use the categories in the street menu to avoid headaches.
- The construction mover helps adjust constructions after plopping them.

This mod may break your game if you use it and then remove it.
Thanks to Enzojz for luadump!
I would love lorry-only or tram-only lanes, but the game does not allow this for now.
Breaking Change A
The game won't allow changing or removing a piece of road, whose sizes have changed in a mod update.
This affects the "Medium 1-way street with 1 lane and extra narrow pavement" and the "Medium 1-way street with 1 lane", which I shipped before Summer 2020.
To fix this:
- locate the mod in your folder "C:\Program Files (x86)\Steam\steamapps\workshop\content\1066780"
- locate the file "lollo_medium_1_way_1_lane_street.lua"
- set
streetWidth = 3.0, sidewalkWidth = 2.5,
- locate the file "lollo_medium_1_way_1_lane_street_narrow_sidewalk.lua"
- set
streetWidth = 3.0, sidewalkWidth = 0.5,
- start the game
- remove all the instances of these roads
- save the game
- restore the files to their previous state (ie from the latest update)
- reload the game and rebuild the roads you destroyed
Chances are, the new street merger will help you make them nicer anyway.
Breaking Change B
The street merges can be on bridges as of February 2022. This involved an incompatible change. If you want to update an older merge, bulldoze it and rebuild it.
Known problems
A) When you split a road near a modded street station, whose mod was removed, and then apply a modifier, such as add / remove bus lane or change the street type, the game crashes.
This happens with single as well as double-sided stations. You can tell those stations because the game shows a placeholder at their location.
This is a UG problem. To solve it, replace those stations with some others available in your game.
B) The game always draws the tram track on the outer lane(s), even if trams are barred there. Take this as a graphical glitch.
C) The game always expects buses to be allowed in the outer lane(s).
D) Do not use any mods that alter the game default roads.
热门讨论 查看全部(6)
4
2022 年 9 月 24 日 下午 11:24
GUI problems for merge connectors
RadiKyle
4
2022 年 9 月 4 日 下午 12:55
Missing mergers
GordonDry
2
2023 年 4 月 1 日 下午 5:11
Date for "Toggle tram track in every lane"?
RadiKyle
159 条留言
MiB 9 月 10 日 下午 3:28 
Upd.: after 1925 all tools magically appeared where they should be. Apparently, date somehow affects their availability
lollus  [作者] 9 月 10 日 下午 3:08 
No nothing else, you may have another mod that tampers with this - or you may be before 1925.
MiB 9 月 10 日 下午 1:02 
Despite that dedicated roads are enabled in save settings I cannot see them in the road menu. Is there smth else that need to be enabled/tuned?
scarecrowwill23 6 月 9 日 下午 2:28 
I have a problem i dont have the Items to build or fine tuning
takashi 5 月 5 日 上午 9:38 
I am able to understand it much better than when I first read it.
I'll write down the points that I didn't quite understand at first, so that others can take it as reference.

・Bus lane: If there is an alternative road, AI vehicles will not use it. In other words, it will be exclusive to your trucks and buses.

・ There are two places where locking is mentioned: Locking prevents the AI ​​from automatically creating roads that connect to the locked road.

・On roads with multiple lanes in each direction: trams only run on the outermost lane.

・This mod exists to connect one road to many other roads.

・I tried to write it simply. It might be wrong.

Finally, I'd like to thank the creator for the MOD.
Ragno 1 月 27 日 上午 3:13 
Proverò grazie :D
lollus  [作者] 1 月 27 日 上午 2:59 
Aprilo con un editor di testo tipo VS Code, aggiungi quelle due righe lì e salva.
La stazione dei camion la copi dal gioco (è un file *.mdl), la apri con VS Code, togli il contenuto di "lods", salvala come parte di un nuovo mod. Per far prima copia da qualche altro mod perché devi rispettare certe regole, tipo avere una directory "res" e un file "mod.lua". Poi salva il tutto dentro la directory "staging_area".
Ragno 1 月 27 日 上午 2:51 
Thanks, I will try to modify this mod, but I have never modded this game before and don't know the code. :)

Anyway, here is another question not related to your mod (i hope you can respond): Is there a way to make a truck station cargo completely invisible for customization? I want to create an industry with an invisible cargo station inside.
lollus  [作者] 1 月 26 日 上午 5:20 
That mod is buggy but you can fix it yourself:

setPriorityModifier = function (fileName, data)
if data and data.name then -- THIS IS WHAT I ADDED
for prefix, priority in pairs(streetPriorityLookupTable) do
if string.find(data.name , prefix) == 1 then
data.priority = priority
end
end
end -- AND THIS OF COURSE

return data
end

Try fixing it (instead of deactivating) and see if your game starts.
lollus  [作者] 1 月 26 日 上午 3:06 
What minor version are you playing?
Are you using https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2563512381 ?
Can you reproduce your error in a test game with only this mod installed?