Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der Transport-Fever Community


Zur Download-Übersicht

Invisible Collision Tool

Von Spanky McGilligan · Erstellt · Bearbeitet

Beschreibung

July 2021: Seeing as a game update is coming I thought I'd come along and mention that I've basically dropped this project. When I'm playing, I often find myself using the invisible assets in my Collision Assets mod instead due to the adapting to terrain height, more reliable blocking, faster implementation, ease of use, and higher versatility. I have opened this mod up to cc-by-nc license, so anyone can make a fork and add their own to the development as long as you attribute and don't commercialize it!


My attempt at a simple, wieldy collision tool after other iterations didn't tickle my fancy.


A quick rundown video can be viewed here.


Externer Inhalt www.youtube.com
Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.


I forgot to mention in the video, but it can be rotated using the (default) N and M keys along with holding shift to more finely rotate. Or holding sift and holding left click to use the mouse to rotate.


Something to note: The sliders have the option for being 1 long/wide. I gave the option for fullness of utility, but as I've come to see some AI buildings can still spawn if you have a collider right up against a road with 1 thickness. I'm assuming because those some buildings have a collision setting that's slightly in from the road and a thickness of 1 is thin enough to be avoided.

I'm noting this because it's not a bug in the tool, but part of the game. It can be easily circumvented by using 2 thickness or having the 1 thickness asset in a bit from the edge of the road.


While is seems to function just fine there could be something I overlooked or didn't catch. Feedback is welcome, but there is no guarantee I'll add/fix everything. Keep in mind that the main purpose is for blocking AI.

Installation

Manuelle Installation
Unzip internal folder into your user mods folder.

Weitere Mods von Spanky McGilligan

Kommentare 16

  • Hello!

    After building the tool in "Karteneditor" I can not configure it. Can anybody help please. If it is able write in german...

  • I've had a bit of time to dabble in a rework of the way this mod works. You can check the conversation below with VacuumTube to get the details as to why a rework may be necessary.


    It's proving difficult because of some of the problems I brought up. I'm in a spot where I can get 90% working as wanted but that will cause bigger problems for the remaining 10%. An endless loop where making some part better will make another part worse, and that all seems to be tied to how the Construction pieces in the game work.


    Basically, if you're trying to use the tool on a slant there are situations where the AI will still be able to build.

    What I may end up doing is releasing 2 versions simultaneously. The original which works for more flat sections and one that's for slants.

    • Hi

      I was wondering if it was possible to create a circular shape also with sliders.

      Thank you

    • Yes, and I was looking into it. I'll have to see how well it works with the current way this mod is build. I'm still trying to find a better way around the above mentioned problem but I'll add the circle to the list. There's a lot of trial and error going on when I have time to work on it (and not playing for my own enjoyment) so it likely won't be a quick release.


      In the meantime I do have a Collision Assets mod which has an invisible asset that can be placed around the outside of circular areas and can simply be removed with the asset eraser. Unlike this tool which would deny an entire area if you made a large circle, you can still place things inside the area while denying AI building.

  • Tipp: Sometimes towns build houses even on this tool. Seems to depend on the height.

    Using the option "Align to Ground" helps!

    • It's been a while since I worked on this tool but there was a specific reason I did it the way I did it. I recall the ground aligning option creating other problems.

      I'll have to review and see what the June game update brought in terms of improvements since I made this mod before that update.

    • Ground align makes the whole area flat, which can look strange. But it's the only way to stop the insane town expansion... I can't built thousands of collision trees and rocks...

      Well, flattening will help a bit or splitting it into shorter segments.

    • I made this with a predetermined height for an invisible collision box so if you're building on too high or low of angles buildings can slip through.

      The collision box grows up so if you're placing it on a hill buildings can still spawn below it. When placing it you want to place it at the lowest point and use more than 1 if going over a long angled distance.


      I'll look over the modding additions in the latest update and see if anything makes the task easier to achieve. I may end up adding a height controller for the collision box.

      I'll need to simulate some scenarios because I didn't have any issues when I originally tested.

      Gefällt mir 1
    • Collision height parameter would help maybe. But one could also try with moving up/down with . ,

      I don't think the modding update added something for this problem.

    • Was I right in that the problem you're having is with roads on angles and not flat land?

      If so, I'll try to come up with something in terms of scaling the height on the collision box.


      I was doing something like that originally but there were a few problems:


      1. There was no good way to visually indicate where the collision area was. Inserting a model would add to the area the collision box was taking and would also distort the land. That's why I ended up using the dirt ground texture.
      2. The higher you make the collision box the higher you have to click in order to select it. So zooming out far and random clicking wasn't uncommon in hopes to select it.

      I could solve for Problem 1 by adding the scaling and just putting a warning in the description to use at own risk since you can't see the exact height of the collision box. I could solve for Problem 2 by having the scaling go downwards. In theory, it shouldn't affect the ability to select the tool. With this method you'd have to place it (as in where you click with the mouse) at the highest point along the stretch of land so the high point is covered and then use the scaling to try to fill in the low points.


      I'm going to have to try some things out, but at least the idea is there.

  • Nice Mod! Just a hint, I am getting this in stdout:

    Legacy warning: ground texture keys should end with '.lua': shared/asphalt_02.gtex

    • Thanks. It's likely just a format thing that became more strict post-update. i.e. it wants us to fully complete the reference instead of making the script assume it's .lua.

      I'll update it regardless because it will become annoying having that pop up in the console when trying to see other things.

  • cool merci pour le mod ;)

  • Thanks for the tool, is very good

  • Cool this Tool👍👍👍

  • I have been waiting for this =)

Invisible Collision Tool
1 / 1