Transport Fever 2

Transport Fever 2

1,047 평점
Build with Collision
40
27
8
29
7
25
9
2
7
6
3
10
10
6
6
3
3
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Misc: Script Mod
파일 크기
게시일
업데이트일
205.384 KB
2021년 11월 21일 오후 12시 13분
2025년 1월 12일 오전 9시 27분
업데이트 노트 13개 (보기)

다운로드 위해 구독하기
Build with Collision

설명
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!
인기 토론 모두 보기(1)
0
2025년 5월 23일 오전 3시 24분
Auto asset removal issues
bigbigmushy
댓글 236
train plane fan 2025년 6월 27일 오후 4시 08분 
Amazing mod! TPF2 makes stuff not able to be placed for no reason sometimes, so this is a big help!
VacuumTube  [작성자] 2025년 6월 17일 오후 12시 45분 
@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 2025년 6월 17일 오전 10시 50분 
Richtig tolle Mod, Danke :)
alexis 2025년 6월 16일 오후 3시 25분 
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 &)
FiercePDW 2025년 3월 12일 오전 3시 48분 
If this mod did not exist i would not be playing transport fever 2
ShJames 2025년 3월 9일 오전 7시 26분 
The very best mod to have installed. It really allows for those most interesting designs.
Cervus 2025년 3월 7일 오후 12시 35분 
tysm
VacuumTube  [작성자] 2025년 3월 7일 오전 10시 54분 
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 2025년 3월 5일 오전 7시 14분 
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 2025년 2월 2일 오전 6시 32분 
Top Danke