Transport Fever 2 - Collision Tile

Transport Fever 2 Mods

Here you can find a tile as an asset with collision. It serves to protect a certain area from development by being embedded in the ground there.

Features:
Collision tile with several options for scaling, rotation and effective range in height
Collision tile can be used in two modes, in the second mode it is more visible due to the different display
Asset category "misc"

Modes and other options (change in the "mod.lua" file)

Path to the mod.lua file
[…]/Steam/steamapps/workshop/content/1066780/2014570720

Change mode:
Standard:
collisionfns.changeColliderMode(false, 40)
"false" must be replaced by "true"
The numerical value stands for the height of the block in meters and can be adjusted almost arbitrarily (limitation: -1 < n < 4001)

Change the distance until a collision tile is hidden by the game (visibleTo):
The default value for a tile is 400
A change can be overwritten (example)
waterfns.useCustomVisibleTo(true, 800)
An example of a small value: 100; an example for a large value: 2000 (limit: 9 < n < 8001)

Tips and hints for use:
The height of collision tiles can be changed by default with the comma and the dot key
when using the second mode, the original tile is the bright yellow area under the block, it should be completely hidden
The second mode puts a block on the collision tile, which shows the horizontal dimensions
The height at which the tile acts is not visible in the second mode, but this can be e.g. almost reach with the bulldozer by hovering over a tile/block
Placed collision tiles can be removed using the asset eraser
(partially manually edited computer translation)

Credits:Relozu


Similar Mods

Leave a comment


comment color Green comment color Silver comment color Blue comment color Black comment color Red comment color Yellow
Latest Comments

ETS2 - Marcopolo Paradiso G6 1800 DD 6X2 MegakingRoad (1.36.x) - KONDE BOY say; " good " - (2024-10-29 10:35:07)

ETS2 - Kia Granbird Silkroad S Premium 2022 - Anononsesz say; " Upload mod for 1.50 version please...!! " - (2024-10-22 07:28:03)

ETS2 - Ford Fiesta ST 2012 V1.3 - Zaza129313 say; " hi " - (2024-10-13 21:57:11)

ATS - Real Trailer Brand Logos V3.0 (1.39.x) - Pau De Villa say; " Is it still possible to get this mod to be updated to the latest? " - (2024-10-12 10:24:11)

ETS2 - Scania L6 Straight Pipe Sound - v8 turbo say; " hi it does not work " - (2024-10-09 01:09:50)