Transport Fever 2

Transport Fever 2

1,122 ratings
Build with Collision
42
28
8
29
7
25
9
2
7
6
3
10
10
6
6
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Misc: Script Mod
File Size
Posted
Updated
205.384 KB
21 Nov, 2021 @ 12:13pm
12 Jan @ 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!
Popular Discussions View All (1)
0
23 May @ 3:24am
Auto asset removal issues
bigbigmushy
241 Comments
Bogyrect 16 Sep @ 2:51pm 
Can you make a mod that overrides bridge upgrades "too much slope":steammocking:
Nexus-6 13 Sep @ 4:13pm 
Hi I have subscribed to this mod on the game UI..so when I chose build a track there is no collision overide button..mod doesn't seem to work ..any ideas
bittersoul1172 29 Aug @ 5:52am 
I tried to upgrade some track I had built that would've had a "collision" if I'd upgraded it and the mod barely helped. Most of the track remains unupgraded.
leftbehind 27 Aug @ 9:30pm 
Super useful mod!
Eugene 22 Aug @ 1:20pm 
It's very cool mod
Eddi 11 Aug @ 12:35am 
i'm loving this mod, unfortunately it doesn't kick in when modifying modular stationss, so you can end up with stations that you plopped down but can't modify properly
train plane fan 27 Jun @ 4:08pm 
Amazing mod! TPF2 makes stuff not able to be placed for no reason sometimes, so this is a big help!
VacuumTube  [author] 17 Jun @ 12:45pm 
@alexis You shall not bulldoze depots with vehicles inside. If I understand you right, it happens also after reloading without doing anything? This sounds like a untypical depot. Maybe only a part is deleted? Try removing everything.
Jo Jakob 17 Jun @ 10:50am 
Richtig tolle Mod, Danke :)
alexis 16 Jun @ 3:25pm 
I ignored the warning of right-click bulldoze and now my save game crashes every 5-10 minutes (only happens when there is something in depot)

Assertion Failure: Assertion `depotUpgradesCompatible || street_util::IsDepotEmpty(stk.m_engine, stk.m_transportVehicleSystem, depotEntity)' failed.

In file: urban_games/train_fever/src/Game/construction/apply_proposal.cpp:512

In function: class std::vector<class ecs::Entity,class std::allocator<class ecs::Entity> > __cdecl construction_builder_util::Apply(class ecs::Engine &,const struct street_util::StreetToolkit &,struct construction_builder_util::ProposalData &)


__CRASHDB_CRASH__ struct AssertException: urban_games/train_fever/src/Game/construction/apply_proposal.cpp:512: class std::vector<class ecs::Entity,class std::allocator<class ecs::Entity> > __cdecl construction_builder_util::Apply(class ecs::Engine &,const struct street_util::StreetToolkit &,struct construction_builder_util::ProposalData &)