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
Today Popular Mods
Latest Comments

ETS2 - Volkswagen Titan 18.310 Truck (1.40.x) - ChoraModz say; " Fix link download ! " - (2021-07-27 03:22:09)

FS19 - My Mod List V2.0 - Muhammad haikal say; " Fs19 best " - (2021-07-25 02:45:10)

ETS2 - Scania S Tuning (1.40.x) - Kingsman say; " Hallo hätten sie dieses Mod auch für Version 1.41 " - (2021-07-20 10:29:40)

ETS2 - Scania NG Chassis Addon (1.40-1.41) - Jonny Testo say; " geht leider nicht auf der 1.41... Spiel stürzt ab. " - (2021-07-19 22:43:09)

Omsi 2 – Mercedes-Benz OF-1318 Inrecar Bus - mrnexodust say; " Hola buenas me encantan estos mods asi que me hacen recordar el pasado con las mciros amarillas, consulta tienes de estos buses en modelo para ats o e... " - (2021-07-19 20:22:36)