Transport Fever 2

Transport Fever 2

Build with Collision
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?
RadiKyle Sep 29, 2024 @ 6:26am 
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  [author] Sep 29, 2024 @ 1:57am 
@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  [author] Sep 29, 2024 @ 1:51am 
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 Sep 28, 2024 @ 11:47pm 
po aktualizaci není funkční
RadiKyle Sep 28, 2024 @ 6:52am 
@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 Sep 28, 2024 @ 4:57am 
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.
VacuumTube  [author] Sep 26, 2024 @ 12:34pm 
What do you mean? For me (and apparently others) it works fine.
Balance Sep 25, 2024 @ 7:42am 
It seems the new update has blocked this mod from installing. Would it be possible to update it?

It's the last major update, so it should only be once :)
SteelRodent Sep 24, 2024 @ 3:39am 
@VacuumTube yes and no it's reproducable. After some fiddling I found that the problem seems to be that the road bridge was in-between the joint nodes in the track underneath, and making it wider would've made it go past the nodes, and since it was a low bridge there may not have been enough gap left. I ended up demolishing and dragging the bridge across at a slightly different angle and then it wasn't an issue fitting the 6 lane road. I'm guessing the game just got into a domestic with the mod about what is and isn't allowed. This was before the new update, though, so it may behave different.
RadiKyle Sep 24, 2024 @ 3:24am 
Yes vanilla port. Nothing in stdout. Screenshot: https://ibb.co/KxXcJ3s
VacuumTube  [author] Sep 23, 2024 @ 11:59pm 
Are you talking about the vanilla port? For modular stations, this mod should not show up anything at all, as it doesn't cover modular constructions. You could also look into stdout if there is more info.
RadiKyle Sep 23, 2024 @ 9:27am 
Hi I'm configuring a seaport and want to bulldoze a dock piece. The red message says "Docks outside of navigable waters" and clicking Bulldoze Anyway does nothing. Should it work in this case?
VacuumTube  [author] Sep 22, 2024 @ 7:31am 
Is it reproducable?
SteelRodent Sep 22, 2024 @ 1:48am 
That was a road bridge btw. It apparently disapproved of the multiple switches in the rail track underneath the bridge
SteelRodent Sep 22, 2024 @ 1:40am 
My game didn't like "upgrade anyway" when trying to turn a (modded) 4 lane bridge into a 6 lane. Completely locked up the game and the screen when grey... and after a bit Windows lost patience with it

===== Build With Collision - Please submit this message to the mod author - https://www.transportfever.net/filebase/index.php?entry/6501-build-with-collision/
urban_games/train_fever/src/Lib/UI/Component.cpp:1847: void __cdecl UI::CComponent::RemoveChild(class UI::CComponent *): Assertion `it != m_children.end()' failed.
__CRASHDB_DUMP__ 66b3b727-75b2-4480-9f7c-9009b689d7b5
urban_games/train_fever/src/Lib/UI/Component.cpp:1847: void __cdecl UI::CComponent::RemoveChild(class UI::CComponent *): Assertion `it != m_children.end()' failed.
__CRASHDB_DUMP__ 45e750a8-3423-4ab8-90d2-b5da6afa1473
===== Build With Collision - Error Handler:
Thread did not respond to ping. Possible hang detected!
VacuumTube  [author] Sep 19, 2024 @ 7:30am 
It will appear when the game doesnt allow bulldozing streets, most commonly because of "bridge pillar collision". There are cases where something cannot be removed due to more critical reasons, in that case there is no workaround.
Lagcom Sep 18, 2024 @ 7:23am 
How does the "Bulldoze Anyway" work? I haven't been able to get it working because I don't know how I'm supposed to trigger it :/
VacuumTube  [author] Sep 15, 2024 @ 2:43am 
Should work as before with the new version
Hushey Sep 6, 2024 @ 7:14am 
this now works! you need to be on standard it wont work on beta
TheRandyPanda Sep 3, 2024 @ 11:31am 
Bulldoze anyway doesnt work. 1*
s4r4hb3th Aug 19, 2024 @ 3:14am 
Indispensable
45j54 Jul 10, 2024 @ 6:48am 
shut up and take my steam points
The Former Jun 19, 2024 @ 6:03pm 
I never knew I needed a "how about I do anyway" button, but goodness did I need it.
mzk7 Jun 17, 2024 @ 7:39am 
GOAT
redtails_nf May 20, 2024 @ 8:18am 
Love this mods.

Don't know if this one causes exception and crash, but after I place the airport using 'build anyway' button near water, the plane behaviour is weird and makes the game crash every time the plane landing, but when I put an airport normally the plane behaviour is normal and no crash.
other than the airport I've no issue with build anyway for other building, tracks, or roads.
mmcomes2u Apr 4, 2024 @ 7:09am 
Dankeschön :steamthumbsup:
LAIDAN22 Feb 19, 2024 @ 1:55pm 
I absolutely love this mod, i want to report one bug i'm coming across while using this mod

I currently use japanese elevated stations mod "[je_4]Modular Station & Elevated Modular Station 3"

every time you want to edit the station after it's been fully connected to tracks not built inside the edit config tab for stations, you can't add or remove anything. Tracks can't be deleted (inside the station) and changing the structure also doesn't work either.

The only way to by-pass this is deleting all incoming rails connecting to any rail connections into the station by a certain distance. This is pretty much the only time the mod doesn't allow deletion or forced building regardless if theres a collision or not.

If any you can't replicate it or need further detail i'll be subscribed to the thread. Regardless of this awesome mod, this is one of the must need things to play modded :steamthis:
Franimus Jan 3, 2024 @ 3:51pm 
Thanks!
VacuumTube  [author] Jan 3, 2024 @ 12:14pm 
@Balik ke Kips no
@Franimus Did you try the experimentalTunnelAndBridgeMinHeight option?
You could also try this: https://steamcommunity.com/sharedfiles/filedetails/?id=2855421164
Franimus Jan 2, 2024 @ 4:16pm 
Is there anything that will toggle forcing tracks/roads to conform to terrain instead of digging/bridging? Preferably up to a good max slope limit?
Balik ke Kips Dec 20, 2023 @ 4:45am 
is there also a way to force building tracks/streets if its status is "construction not possible"?
VacuumTube  [author] Dec 3, 2023 @ 2:57am 
@Elje0ett I could reproduce the situation with bus stops in narrow angles. It is now possible to apply BwC in these situations, too!
With the modular station builder, there seems no solution.
VacuumTube  [author] Nov 23, 2023 @ 10:21am 
Well it seem to work for 46,293 others. So at least you could specify what exactly is not working.
makushimu Nov 22, 2023 @ 2:10pm 
it doesnt work for me
gamerboy_nl Nov 18, 2023 @ 1:24am 
Hello, can you make this work on stations as wel, i got a big station and i build the switches on them before the main buildings locking the switches and making the whole station a collision when i try to build buildings on them
Elje0ett Nov 11, 2023 @ 2:03pm 
When I am trying to put down a tram/bus stop on a one way road that was illegally bult (with collision) because of too narrow angle it doesn't give me the option. The cursur is just the forbidden symbol isntead of the checkmark and there is also no build with collision button. I have screenshots of it but how would I make you see them?
VacuumTube  [author] Nov 11, 2023 @ 12:30am 
could you provide me this case where a bus station causes a collision? I never had this case and thought there is no collision check
Elje0ett Nov 10, 2023 @ 1:03pm 
Is it possible to make this work with bus stations also? Right now it's not possible
Sarvan19 Oct 8, 2023 @ 2:32am 
will this work on the save game?
Certified V set Oct 7, 2023 @ 5:37am 
I don't see it in my mods settings even though I'm subscribed to it