Transport Fever 2

Transport Fever 2

983 ratings
Build with Collision
40
27
8
29
24
6
9
2
7
6
3
10
10
6
6
3
3
   
Award
Favorite
Favorited
Unfavorite
Misc: Script Mod
File Size
Posted
Updated
205.384 KB
Nov 21, 2021 @ 12:13pm
Jan 12 @ 9:27am
13 Change Notes ( view )

Subscribe to download
Build with Collision

Description
As you have probably experienced very often, building streets, tracks, stations and other objects can be very annoying if there are many collision warnings in a densely built-up area. For assets/constructions, this can be bypassed using "skipCollision=true", so you can build despite the collision, but don't get any feedback anymore. For streets/tracks this was not possible until now.

Now it is! With Build with collision almost all problems that occur when building streets, tracks and constructions (collision, too much slope, too much curvature), can be ignored. When building a proposal which would normally not be applicable (but is not "critical"), a button Build Anyway is displayed.
  • For streets and tracks, the button appears next to the cursor as with "Track/Street Builder Info". Eventually with collisions and unwanted snapping, you have to work with the "new shift key" (default: C).
  • For constructions/assets, just click right mouse!
  • Upgrades can now also be done with a simple right click.
  • Bulldoze with collision. Sometimes the game doesn't allow bulldozing (e.g. bridge pillar collision), which can be bypassed now. DON'T use it when vehicles are isolated or in a depot!

This opens up completely new possibilities for Schönbau. In addition, you don't have to turn off collision or change track parameters, you can still detect issues, but allow them specifically. On the other hand, you are then responsible for the collisions on overlapping traffic lanes.
With this, tracks on streets, streets on airports and many other ideas are possible.
Therefore, it would be great if other modders would develop special streets/tracks for this! (e.g. invisible streets, streets with placeholder areas for streetcar tracks, tracks lowered to street level, ...)

Thanks for all the positive feedback! I did not expect that the mod gets so popular. Here a few mods that have been building up on this:

More Info: https://www.transportfever.net/index.php?thread/17979-build-with-collision/

Source Code on GitHub[github.com]

If you like to support my mod development, you can donate here:
[paypal.me] Thank you!
232 Comments
FiercePDW Mar 12 @ 3:48am 
If this mod did not exist i would not be playing transport fever 2
ShJames Mar 9 @ 7:26am 
The very best mod to have installed. It really allows for those most interesting designs.
Cervus Mar 7 @ 12:35pm 
tysm
VacuumTube  [author] Mar 7 @ 10:54am 
I think that was possible in an earlier version, but with the redesign of the gui I had to change something. You can TRY reverting that, but it's experimental and could lead to crashes.
Go to this line https://github.com/Vacuum-Tube/Build_with_collision_1/blob/24fd470cc5439b49ec27f8dfe9392ec974d77b4e/res/config/game_script/build_with_collision.lua#L171
and change to "proposalparam = param" as above. Using the variable directly instead of a copy could make such upgrades that include constructions possible. On the other hand, when you click on the button after the proposal is no longer highlighted, the variable pointer might be lost, resulting in a crash.
Cervus Mar 5 @ 7:14am 
is it possible to add catenaries to stations please!
its so annoying that i have to remove the tracks and then the lines fuck up cuz of the dumb game
that doesnt let me work the lines
seux294 Feb 2 @ 6:32am 
Top Danke
VacuumTube  [author] Jan 12 @ 9:33am 
Small update: >Bulldoze< with Collision can now be used more easily - directly by right-clicking! As before, isolated vehicles and depots with vehicles cause a crash, so be careful. In bridge pillar situations, it always worked for me without complications.
VacuumTube  [author] Nov 19, 2024 @ 1:40pm 
I tried several things to enfore the upgrade with the new bridge replacement window in the case of collision, unfortunately it is not possible
Conan Oct 13, 2024 @ 8:14am 
Vielen Dank für die MOD :)
☠ Xenith Xenaku ☠ Oct 6, 2024 @ 12:49am 
Could you add a "Replace Anyway" box when it comes to railroad crossings and bridges as of the latest patch, that gets annoying fast?