Transport Fever 2

Transport Fever 2

919 vurderinger
Build with Collision
38
25
8
29
6
23
8
2
7
6
3
10
9
6
6
3
3
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Misc: Script Mod
Filstørrelse
Lagt ut
Oppdatert
205.384 KB
21. nov. 2021 kl. 12.13
12. jan. kl. 9.27
13 endringslogger ( vis )

Abonner for å laste ned
Build with Collision

Beskrivelse
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!
226 kommentarer
VacuumTube  [skaper] 12. jan. kl. 9.33 
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  [skaper] 19. nov. 2024 kl. 13.40 
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 13. okt. 2024 kl. 8.14 
Vielen Dank für die MOD :)
☠ Xenith Xenaku ☠ 6. okt. 2024 kl. 0.49 
Could you add a "Replace Anyway" box when it comes to railroad crossings and bridges as of the latest patch, that gets annoying fast?
RadiKyle 29. sep. 2024 kl. 6.26 
No the station already has a collision somewhere and no modules can be removed (vanilla behaviour). The "bulldoze anyway" button appears but it doesn't do anything. If it's not possible to make it do anything, then maybe the button should not appear in stations?
VacuumTube  [skaper] 29. sep. 2024 kl. 1.57 
@RadiKyle I have found out that modular stations indeed send proposal events when the bulldozer tool is used (but not for normal additions), explaining that the button shows up. However, I could not reproduce a situation where the removal of a module would cause a collision. If I understand correctly that there is no critical behavior, I guess no change is required from my side.
VacuumTube  [skaper] 29. sep. 2024 kl. 1.51 
I know Bulldoze with Collision can be tricky. Try to zoom in and isolate the piece such that no other elements are in the way. The button will stay at its position as long as the mouse does not hover on another element. So try to chase it over grass. (Technically I think it could be handeled like constructions and upgrades with a simple right/left click, but I was afraid of accidental activation. Also, there are cases where bulldoze anyway leads to a crash)
Vencaok 28. sep. 2024 kl. 23.47 
po aktualizaci není funkční
RadiKyle 28. sep. 2024 kl. 6.52 
@Numenor yes I have the same. Sometime right-click drag will get the mouse over the button but then it might not do anything, like the situation I mentioned below with seaport modules.

@VacuumTube any ideas about that seaport situation? You mention it shouldn't appear within modular stations, but I've seen it often in them, it doesn't do anything.
Numenor 28. sep. 2024 kl. 4.57 
I may be dumb 😅 but when the button "Bulldoze Anyway" appears on screen, I can't click it because it moves along with the mouse, and always stays out of reach 😂. Basically I "chase" the button, trying to click it, but it moves away.
The problem does NOT affect the "Build Anyway" button, only the "Bulldoze Anyway" one.