Road & Rail Upgrade Brush
Beschreibung
Road & Rail Upgrade Brush
Paint over your roads. Press a button. Go make a coffee.
Ever upgraded 80 country roads one click at a time and, around road 41, started questioning your life choices? Same. So I built a brush.
What it does
- Paint to select. Hold the left mouse button and every road the circle touches gets selected (red). Roads you are about to catch show up light pink first, so no surprises. Roads that already match your settings turn blue.
- Upgrade up to 200 roads with one press. Pick a road type, or leave it on Keep and change only the add-ons. Hit Upgrade, watch the progress bar.
- Road types: small, medium and large town streets and country roads, plus Keep (the default): every road keeps the type it has.
- Rails mode: the same brush for rail tracks. Switch Roads | Rails in the toolbar, pick simple, standard or high-speed track, and keep, add or remove the catenary and the noise barrier. Tracks of other mods are left alone. A change of the noise barrier is charged as a full track replacement, Remove too.
- Add-ons, three ways each: bus lane, tram track, catenary, alley trees and noise barrier are each on Keep, Add or Remove. Keep is the default, so a press changes only what you chose. Noise barriers on a whole mixed network? Set Noise barrier to Add, leave the rest alone, done. If you used an older version: the old No is now Remove. The lock that keeps towns from "improving" your road has its own three ways (keep, lock or unlock).
- Your lanes stay yours. With Keep, a bus lane or a tram track stays on the lane where it is, also a tram on the inner lanes, also when the road gets wider.
- Copy a road: middle-click a road and its settings jump into the toolbar: its road type, and Add or Remove for each add-on. The next press makes the selection like that road, so it also removes what that road does not have.
- Underground button (or G): switches to the underground view and selects tunnels only.
- Not stupid: roads that already are the target are left alone (the status line counts them as "unchanged") and not charged. A fresh toolbar is all Keep: every road is blue and nothing changes until you pick something. It leaves other players' roads, industry roads and parts of constructions alone, and it ignores stand-alone tram tracks. A road that fails gets two more tries: first with the buildings on its plots demolished, or together with its neighbour road in one command.
- Crosswalks everywhere it touched. After the last road, every junction (3 or more street segments) that an upgraded road touched gets a crosswalk on each of its streets, also on the roads you did not upgrade. The status line reads "Placing crosswalks" while it works: wait for it. It also waits for Smart Lanes and checks that the crosswalks stay.
- Pauses the game for you, then puts your game speed back.
- Demolishes buildings in the way, also the buildings on the plots next to a town road (switch it off in the toolbar if you are the sentimental type).
- Translated into the 12 other languages of the game (see the limits below).
How to use it
- Build menu, then Roads, then the Tools tab: look for the green brush (Road Upgrade Brush). For rails, the rail tools have the Rail Upgrade Brush.
- Set the brush size with the Brush radius slider (5 to 200 m) or the keys M (bigger) and N (smaller).
- Paint over the roads. Shift + paint removes roads from the selection. Right click or Clear empties it.
- Choose the road type (or Keep) and set the add-ons to Keep, Add or Remove in the toolbar on the left.
- Press Upgrade (or Enter). Changed your mind mid-run? The Clear button turns into Cancel.
Credits (the real heroes)
I wrote the glue. The hard parts are theirs:
- square17 made Bulk Bulldozer. The brush, the selection, the highlight, the toolbar, and a big part of the translations are theirs. The whole "paint over stuff and it just works" feeling comes from their work. I only taught it to upgrade instead of destroy. Bulk Bulldozer on mod.io
- kurowasiichi made Road Upgrade All in One. The road types, the add-on rules (which add-ons fit together), and the option texts, including the Traditional Chinese translation, are theirs. Its tool (Combined Road Upgrade in the menu) is the other way to upgrade town roads with plots. Road Upgrade All in One on mod.io
- +1, not a hero: Claude AI (Anthropic) is the development assistant of this mod (with my own control and validation), and the translation and graphics "expert" in our little "team". :)
Both mods above are great. Go and subscribe to them. This mod works without them, and next to them.
Limitations and known bugs
- No undo. Paint carefully.
- 200 roads per press. Paint the next batch and press again. A run takes about half a second per road.
- You see the cost only after the upgrade, not before. Every changed road is replaced as a whole, so the game charges the full road price, also for one add-on. Demolished buildings can add a lot to the cost.
- Town roads with plots fail with "Unexpected parcel on a segment" when "Remove buildings in the way" is off. The status line then tells you to turn it on. The brush leaves such roads selected.
- Some "Collision" roads fail too. Roads blocked by placed assets are handled. Other collisions are not forced.
- Highways and one-way roads are not road types of the brush. With Keep, the brush changes only their lanes and lock, never trees or noise barriers. With a road type chosen, a highway fails with "Construction Not Possible", as in the base game tool.
- Country roads get no alley trees. The brush skips only the trees there and tells you.
- A tram on the middle lane of a large road cannot move to a road with fewer lanes. The brush skips that road and says "lanes cannot be kept".
- Crosswalks: if you switch the tool or press Esc while "Placing crosswalks" shows, the junctions not done yet get none.
- Esc may close the tool after you click Upgrade, because the game gives the key to its own menu. The run then stops. Use Cancel to keep the tool open.
- No one-way road types. Rails: only the simple, standard and high-speed tracks of the game.
- Translations: some come from Bulk Bulldozer and Road Upgrade All in One, the rest are machine-made and not checked by native speakers. If a text sounds odd, tell me and I fix it.
Found a bug? Tell me what you did, and attach stdout.txt if you can. Lines that start with [BrushUpgrade] help a lot. For more detail, switch Debug: upgrade log On in the settings of this mod and repeat the bug: the log then also holds the old road, the proposal and the new road of each upgrade.
The source code can be found here, PRs are welcome: kergekacsa/tf3_road_upgrade_by_brush on GitHub
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 ↗