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

Plopable Town Buildings

Von Agunter999 · Erstellt · Bearbeitet

Beschreibung

v7 updated, bugfix


by Agunter, wicked, mediziner and MissVanniX


Allows all town buildings to be ploped freely allowing for the creation of custom villages to add to your network. All buildings are still 100% functional though can be turned off to prevent population spam. All buildings are located under the Industries button. (if it does not show up use Industry tycoon or GX industy mods) Mod now includes thanks to Wicked from steam all the building icons making the mod fare more user friendly and allows for faster creation.


Are you fed up with having your regional lines only stop at cities. Well now you can build those small villages and those feeder lines. Want to transport workers to that large industy in the rural countryside. Now you can, just add a few town buildings and then run your workers bus with profit.


DO NOT leave this mod active when creating a new map as you will end up with randomly generated skyscrapers that cannot be deleted.


All buildings still need a road connection to function so place them close.


If anyone has any suggestions (as in actual code, like try adding 'x' here) then your are welcome but redistributing this mod is forbiddon. No responsibility accepted for any damage to anything as a result of downloading and by clicking subscribe/download you agree that I the creator accpt no liability. Your risk, though the mod is pretty stable(ish)



INCOMPATIBILITIES

  • New Industries - This mod edits industry files and connot handle that my building do not produce stuff

Installation

Manuelle Installation
Do not leave mod active while creating map, this can cause oddities than cannot be erased.

Kommentare 77

  • I would really hope that this mod can be available for TPF2, thanks a lot

  • Nagyon jó. Egy kérdésem van a városkának, hogy adhatok külön város Nevet?

  • Ich hätte auch die Bitte diese Mod für TPF2 zur Verfügung zu stellen.

  • Please convert this mod for Transport Fever 2. This mod is brilliant and very important for the "Schönbau".

  • diese version ist leider NICHT SAVEGAME tauglich ... zumindest will er bei mir offenbar die alte version haben und erkennt nicht die neue als update der alten an ... kurz, ich habe jetzt manuell nochmal die alte version installieren müssen und die neue dann in "ploptownbuildings_2" umbenannt, damit es geht :/


    vielleicht kannst da ja nochmal rein schauen woran es liegt, da ja der ordnername sich nach dem update nicht verändert, aber wohl der inhalt bzw. die identifikation wodurch tpf dann eben mein, der benötigte (alte) mod wäre nicht installiert ;)

  • Danke fürs update !

  • Danke für die Überarbeitung. Das erleichtert den Städtebau ungemein.


    Schön wäre jetzt noch, wenn Ihr die Mod noch TPFMM-kompatibel macht. Der erkennt leider die Version nicht als aktuelle Version. ;-)

    • I'm afraid I do not know anything about TPFMM and how it works. I'm a pretty basic modder

    • First, sorry for my bad English (it's from Google Translator). :-)
      The TPFMM is a tool from the modder Xanos and makes it easy to keep track of the mods. Above all one can examine there the actuality of the mods very fast, provided that each modder maintains the version numbers. This is unfortunately not the case with your mod. It works fine anyway.

    • Do not apologise for your English - I do not speak any language other than English - I am the one who should apologise. Anyway I will look into it but my time is short

  • Isset wahr???
    Ja, geil! Danke an alle Beteiligten, ihr seid Spitze!

  • pls fix gravel crash

  • Hi there, is it possible to plop big buildings like Skyscrapers or huge Business buildings ? I have a savegame and I would like to plant some of them. But i cannot find any big buildings, only small ones. Could anyone help me please ?

    • The skyscrapers are in the mod, you have to scroll to the end as it its orded in era than size, thus the modern big buildings are at the end. The mod desperately needs UI which urban games have not made moddable

    • No, because when I scroll the residential just Switch to Commercial, no Skyscrapers, I am sorry. Where do I have to search ?

    • That is actually really strange, have you tried just looking in the residential category?

    • Yes, I did, nothing came up.

  • Hallo, ich habe die Mod nun ausgiebig getestet. Grundsätzlich finde ich sie klasse und werde sie auch weiter nutzen.
    Ich schreibe hier nun, weil ich nicht meckern möchte, sondern zur Verbesserung der Mod beitragen möchte.
    Leider bekomme ich bei einigen Gebäuden einen CTD. Ich habe leider kein Bild der Meldung gemacht - da es bei einigen Gebäuden ist, solltest Du also nochmal alles durchchecken.
    Schön finde ich, dass Du Vorschaubilder hast - leider aber überlädst Du damit die Menüleiste übermäßig. Die Gebäude gibt es meist in allen Kategorien. Vielleicht wäre eine Unterteilung in Commercial, Residetial und Industial sinnvoll. So wird das Menü nach der Wahl einer der Kategorien schon deutlich dezimiert.
    Leider hast Du auch viele der Vorschaubilder falsch zugeordnet, so das es sehr nervig sein kann wenn man ein bestimmtes Gebäude sucht, es aber nicht finden kann.
    Eine bessere Reihenfolge wäre auch gut, so dass ähnliche Gebäude auch in der Menüleiste nebeneinander sind.
    Ich setze nur ohne Assets, weil diese leider an ganz verrückten Stellen erscheinen - z.B. ein Stuhl in einer Wand ...
    Ich baue derzeit gerade ein Wohnviertel also Residential - leider habe ich bei den Gebäuden aber Optionen für Industrie - ich kann die Kapazitäten nicht einstellen.
    Das Platzieren ist schwer, wenn man Gebäude direkt an die Straße setzten möchte und zudem noch mit einem anderen Gebäude zusammenfügen möchte. Es liegt an der Mauszeigerposition, die bei vielen Gebäuden weit außerhalb des Objektes liegt. Man landet ständig am Bildschirmrand oder in der Menüleiste oder im Ui Fenster, was zu ungewünschten Reaktionen auf dem Bildschirm führt.
    Ich habe leider keine Ahnung vom Moding, gerade deshalb weiß ich Deine Arbeit zu schätzen. Ich hoffe Du wirst die Mod besser machen können.

  • Ja, ganz toller Mod, aber ich weiss nicht, wie die Personen-Kapazität bei Wohnhäusern eingestellt werden kann. Ich finde nur die Optionen "Accept goods? Yes/No" und "Industry Production Level".
    Ich habe schon viele Gebäude platziert und jetzt wird die Stadt von Leuten und Autos überflutet...! :-(


    Kennt jemand die Lösung? Vielen Dank!

  • Toller Mod.


    Würde mich noch über die Wahl von Personenkapazitäten bei Wohngebäuden freuen.

  • I think you forgot to include the folder: res/textures/ui/construction/industry/
    Can´t find it in the zip file.


    Error messages in stdout:
    texture load error: file not found: res/textures/ui/construction/industry/era_a/plopind_1_2x2_03_01.tga
    texture load error: file not found: res/textures/ui/construction/industry/era_a/plopind_1_2x1_03_01.tga
    texture load error: file not found: res/textures/ui/construction/industry/era_a/plopind_1_2x2_01_01.tga
    etc.

    • Those are just the icons which don't exist an never have done and probably will never as it would involve too much work to screenshot and edit and convert 200 odd icons

    • ok
      understandable :)

    • How would it be to link all buildings with an icon, would that go? Then the problem would be solved! Only such an idea ... (Google translate)

    • It wouldn't be possible, HOWEVER some kind steam user created all the icons NOW!!!!!

    • hehe, "some kind steam user" - your welcome :D

  • Leider funktioniert diese Mod bei mir nicht.


    error: error: ...ploptownbuildings_1/res/scripts/ploptownbuildingutil.lua:151: attempt to index global 'groundFace' (a nil value)
    stack traceback:
    [C](-1): __index
    ...ploptownbuildings_1/res/scripts/ploptownbuildingutil.lua(151): ?

    • debugmode on?

    • any other mods, as I have tried many configurations, no crash like this

    • I have debug mode on and since V3 not such bug

  • txs great !!!

  • Ladies and Gents, massive update, I've fixed many of the bugs and it now function well :)

  • New knowledge (from https://www.transportfever.net…?postID=146340#post146340 )
    translated via google (I am lazy):
    With debug mode = true: Game crashes when I click on the selection list and all the buildings in the res folders are present - no matter whether with or without no cost mod. No other mods enabled. If I delete the industrial and commercial buildings from the mentioned folders and leave only the dwellings, it works without problems - even streets can be demolished around the buildings.


    With debug mode = false: Game does not crash, even if all buildings in the folders are present - also street descripts have not caused a crash.
    However, it is to be noted that residents specify part of industrial buildings as their place of residence (can not be correct) and business buildings in the selection list do not exist at all. Ergo: In the constellation is what is lazy, which may be detected by the debug mode, if it is true, and then leads to the crash.

  • Genialer Mod. Funktioniert einwandfrei und so konnte ich meine Stadtbahn erweitern! Bin begeistert.

  • Exactly the same problems with v2 - now we can find 4 categories: All, industrial, residential an town. No commercial buildings available, town contains industrial and residential... ;(

    • I think something is conflicting with my mod, do you have debug mode on?

    • No - with the debug mode on game crashes directly, if i choose industrial. Ok - doesn't matter - it works with residential - no one other could tell me, if commercial buildings are shown, no one other could tell me if industrial buildings are used as a residential. if no one will test this i use this mod as it is...

    • Your error just makes no sense is all. there should be absolutely no issue with the categories. its like your buildings didn't load or something strange like that.

  • Der Mod geht schon mal genau in die richtige Richtung...Gute Arbeit! Allerdings ist es sehr schwierig hieraus eine authentische Siedlung mit realistischer Bebauung zu kreieren. Schließlich fehlen hier die ganzen Zäune und "Zusatz-Assets". Wenn es jetzt noch möglich wäre dem Spiel das Ganze als "neue Stadt" zu verkaufen, die sich dann auch selbstständig weiterentwickelt dann wär ich glücklich. :)

  • Hi,
    erstmal: großartige Idee.
    Aber ich bekomme auch den Fehler


    error: error: ...ploptownbuildings_1/res/scripts/ploptownbuildingutil.lua:92: attempt to perform arithmetic on field 'capacity' (a nil value)
    stack traceback:
    [C](-1): __div
    ...ploptownbuildings_1/res/scripts/ploptownbuildingutil.lua(92): ?


    Habe debugmode = True und no cost mod nicht aktiv.

    • Den hatte ich auch. Der Mod scheint aktuell nur zu funktionieren wenn der Debug-Mode auf "false" steht.

    • Ooops, sorry. Now in English:


      first point: great idea!


      But I also get this error
      _______________________________________________________________________________________________________________________
      error: error: ...ploptownbuildings_1/res/scripts/ploptownbuildingutil.lua:92: attempt to perform arithmetic on field 'capacity' (a nil value)
      stack traceback:
      [C](-1): __div
      ...ploptownbuildings_1/res/scripts/ploptownbuildingutil.lua(92): ?


      This error is usually caused by modding. The syntax of some game resources is not correct.
      __________________________________________________________________________________________________________


      I play with debugmode = true and not activated no cost mod.


      Meanwhile I tested the mod with a new game and no other mods active. But for some building still this error occurs.

    • I tested and adapted the ploptownbuildingutil.lua code, but for some reason some variables / params are not defined / initialized when debug mode = true - really weird :-(


      Using the mod to set the buildings wanted and setting the debug mode afterwards to true again also doesnt help - in this case TFP crashed btd :-(


      And another point, its very anoying to scroll down the whole list of buildings to find the building I'm looking for without any pics in the list and just guessing from the mdl file names.
      I know, modding is not that easy - so pls keep up improving this mod :-)

  • Seems as if i have found a solution: Debug-mode must not be set on true but false - then it should work... :) But there are no com-buildings listed...

  • Am Anfang einer Map spiele ich auch ohne Kosten, da ich die Map erst grob ausbaue. Später schalte ich das ab.
    Habe die Mod so installiert wie sie ist und habe keine Probleme, wie man auf dem Screenshot Weisskirchhof Transfer sehen kann.
    EDIT: Screenshot kleine Eisenbahner Siedlung

  • btw to all who use "no cost mod" - an alternative is to play with debug mode enabled, you can always add money by AltGR+M and you have the possibility to see the lanes and nodes with AltGR+L
    I play like that, I have costs to see how the economy works but I can build like I want.


    But this is actually no solution for those who use New Industry Mod and I guess that ATT has the same problem.
    Or not?

    • "ATT" is using Vanilla-Code and has not added "cost" and or "maintenanceCost", so there should be no conflicts with the "townbuildingutil".

    • I started a new test game without this mod, without no cost but with ATT instead of New Industry.
      Saved, back to main menu.
      Added this mod at the end.
      Loaded.


      After trying to place a building it crashed with the same error as before:


      error: error: ...ploptownbuildings_1/res/scripts/ploptownbuildingutil.lua:92: attempt to perform arithmetic on field 'capacity' (a nil value)
      stack traceback:
      [C](-1): __div
      ...ploptownbuildings_1/res/scripts/ploptownbuildingutil.lua(92): ?


      Perhaps it's one of
      Klorid_realcapacity/1 -> https://www.transportfever.net…ties-vanilla-system-cost/
      price_formula/1 -> https://www.transportfever.net…517-New-pricing-formulas/
      or both of them ...


      Edit:
      nope, I removed these two mods but still the same error...

  • great man!But it doesnt work with the no cost mod :( I always play without costs so at the moment that Mod is no option for me :(

    • What error does it throw up as I'm pretty sure it does work with no costs as like you I use it all the time too

    • It works - as i have mentioned in the thread "https://www.transportfever.net/index.php/Thread/7510-KI-H%C3%A4user-selber-platzieren/"...

  • Die Funktion in New Industry, die sich beißt:
    mods/New_Industry_ver2_1/mod.lua(79)


    data.updateFn = function(params)
    local result = fn(params) --< Zeile 79
    if data.type == "INDUSTRY" then
    if params.productionLevel then
    result.cost = cfg.giveCost(data.description.name) * (params.productionLevel + 1)
    result.maintenanceCost = cfg.giveRunning(data.description.name) * (params.productionLevel + 1)
    else
    result.cost = cfg.giveCost(data.description.name)
    result.maintenanceCost = cfg.giveRunning(data.description.name)
    end
    end
    return result
    end


    ploptownbuildings_1/res/scripts/ploptownbuildingutil.lua:92: attempt to perform arithmetic on field 'capacity' (a nil value):
    local ruleCapacity = math.floor(params.capacity / 4 + 0.5) --< Zeile 92

    • Bis zum "nil value" bekomme ich die gleiche Fehlermeldung - ohne New Industry Mod...

  • Would it be possible to make an update, that we can have houses with function and the same without? Because more people, worser performance :/

    • Freu dich mal das es die überhaupt gibt...hattest du dir ja so gewünscht...

    • Beides gleichzeitig wäre das Beste - aber erst mal sollte eins stabil laufen... ;)

    • Verstehe ich das richtig? Die Häuser sind auch bewohnt? Nicht bloß Assets wie die Gebäude von @Schwarzfahrer?
      Dann kann man mitten in der Pampa selbst Städte anlegen und der Bahnhof wir dann auch benutzt weil die Häuser bewohnt sind?
      Wäre ja cool!
      Kann man denn vorhandene Asset-Gebäude auch entsprechend nachrüsten?

    • Die Häuser sind bewohnt - habs getestet. Sie müssen nur nahe an einer Strasse stehen. :) Ob andere nachrüstbar sind weiss ich nicht...

    • wenn ich ein selbstgebautes haus anklike wird nichts angezeigt wie kann ich bitte sehen ob sie bewohnt sind ?

  • It could be a fantastic mod for me - but the mentioned mods industry tycoon or gx industry are only available on steam workshop - not for me as a gog user. :( Otherwise the industry button shows a lot of blue squares - as i use one of these, it builds a house, where the path is shown above. If i try to build a second house the game crashes...

    • Blue squares are correct, there should be no reason that you can't run the mod. It sounds like there may be an incompatibility. What other mods are you running?

    • No other mods - first i created a new map, after this i added your mod. I' will send you a screenshot - maybe you can find out better what the problem is...

    • ..\Transport Fever\res\config\base_config.lua:
      game.config.industryButton = true;

    • industry button is on... ;)

    • Blue squares because there are no textures for the UI symbols:
      ...
      texture load error: file not found: res/textures/ui/construction/industry/era_c/plopres_1_1x1_03_02.tga
      ...


      One line for each building. Not a problem, just not very user friendly...


      With the model viewer software it should be possible to get proper UI symbol textures.

  • Awesome to create some villages or houses in the woods. Hope you can make it more stable and compatible with no cost mod

Plopable Town Buildings
1 / 1