Transport Fever 2

Transport Fever 2

234 人が評価
Collision tile
   
アワード
お気に入り
お気に入り
お気に入りから削除
Asset: Brush Asset
ファイルサイズ
投稿日
1.956 MB
2020年3月5日 11時12分
1 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
Collision tile

Relozu 作成の 1 件のコレクション
Create waters
2 アイテム
解説
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: 0 <= n <= 4000)

collisionfns.changeColliderMode(false, 40)
collisionfns.changeColliderMode(true, 40)

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)
    collisionfns.useCustomVisibleTo(true, 800)
  • an example of a small value: 100; an example for a large value: 2000 (limit: 10 <= n <= 8000)

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
  • in rare cases very narrow collision tiles are ignored by the game and roads are built over them

More download sites
Collision tile on transportfever.net:
https://www.transportfever.net/filebase/index.php?entry/5248/

(partially manually edited computer translation)
34 件のコメント
mmcomes2u 2024年11月28日 0時14分 
vielen Dank
Relozu  [作成者] 2024年11月6日 9時57分 
@General Kreutaa
Meine Mod unterstützt das nicht, aber es könnte eine Mod erstellt werden, die die Datei relozu_collision_tile.con mit einem Modifier editiert und bulldozeCost hinzufügt. Meines Wissens nach würde das dann funktionieren. Eventuell kann ich zu einem späteren Zeitpunkt darauf genauer eingehen.
General Kreutaa 2024年10月30日 8時10分 
Gibt es eine Möglichkeit die Kollisionsplatte bei einem Bau von z.B. Schienen/Straßen im Spiel zu entfernen gegen eine Gebühr? Ich hätte vor die Kollisionsplatte im Karten-Editor über Weizen Felder zu legen und wenn der Spieler im Spiel dann darauf bauen möchte muss er für den "Abriss" etwas bezahlen (er kauft das Feld um es bebauen zu können z.B.). Gibt es so eine Mod?
PhazezGova 2024年4月13日 12時04分 
Relozu  [作成者] 2023年2月4日 5時07分 
@23m5 Danke.
Von mir gibt es bis jetzt nur die Quader-Platte. Mehr Assets sind von mir im Moment nicht in Planung.
23m5 2023年1月20日 5時20分 
Eine sehr hilfreiche Mod! Vielen Dank dafür! Gibt es eigentlich auch andere Assets, z.B. Bäume, die nicht durch die KI überbaut werden können?
StopNLean 2022年8月10日 23時13分 
thanks man
Relozu  [作成者] 2022年3月8日 11時29分 
@Hadrianna Isolina Sorry for the late reply. The collision tiles are supposed to be hidden in the ground or in other objects. Otherwise you can enter a smaller value in the file "[…]/Steam/steamapps/workshop/content/1066780/2014570720/res/scripts/relozu_collision_tilefns.lua" in line 51, instead of 10, to allow smaller values.
Hadrianna Isolina 2022年2月18日 5時03分 
even collisionfns.useCustomVisibleTo(true, 10) could be visible from street view. could it be even lower?
Relozu  [作成者] 2021年12月23日 6時02分 
@Hadrianna Isolina Exactly, you can switch whether you see the large cuboid, it does not change the impact of the collision tile.