Transport Fever 2

Transport Fever 2

World Monuments Collection N.18: Thomaskirche (Leipzig)
21 条留言
Lmgordocano  [作者] 2021 年 9 月 10 日 下午 5:18 
Hallo wolfel666. Es ist ziemlich schwierig, weil es viel Skulptur hat, was nicht meine Stärke ist, aber ich werde es der Liste hinzufügen und sehen, was ich tun kann. Gruß
wolfel666 2021 年 9 月 10 日 下午 3:06 
Ich weiß das ist kein Wunschkonzert, aber wie wäre der Vorschlag Niederwald Denkmal? :steamhappy:
lollus 2021 年 9 月 10 日 上午 3:56 
Yes that was rushed, try:
if params.capacity then
result.personCapacity = {
type = ({"RESIDENTIAL", "COMMERCIAL", "INDUSTRIAL"})[(params.resComInd or 0) + 1],
capacity = params.capacity * 5
}
else
result.personCapacity = nil
end

You can do better than that with an array of capacities, like {0, 5, 10, 20, 50, 100}. More freedom and no more ugly factor 5.

You can also use BUTTON instead of SLIDER, it's nicer to use.
Lmgordocano  [作者] 2021 年 9 月 10 日 上午 3:35 
Hi lollus.I have tested your code and the game crashed when you choose capacity = 0. Any idea ?. Cheers
Hitman 2021 年 9 月 8 日 上午 9:17 
Good style chruch
lollus 2021 年 9 月 7 日 下午 2:37 
Piece of cake. 1) Add these parameters:
{
key = "resComInd",
name = _("Type"),
uiType = "BUTTON",
values = { _("Residential"), _("Commercial"), _("Industrial") }
},
{
key = "capacity",
name = _("Capacity"),
uiType = "SLIDER",
values = { _("0"), _("5"), _("10"), _("15"), _("20"), _("25"), _("30"), _("35"), _("40"), _("45"), _("50"), }
}

2) At the end of updateFn, add:
if params.capacity and params.capacity > 0 then
result.personCapacity = {
type = ({"RESIDENTIAL", "COMMERCIAL", "INDUSTRIAL"})[(params.resComInd or 0) + 1],
capacity = params.capacity * 5
}
else
result.personCapacity = {}
end
Lmgordocano  [作者] 2021 年 9 月 5 日 上午 7:15 
Hallo lechner.1994. Denkmäler des fantastischen Wiens muss es natürlich geben. Alles Gute
lechner.1994 2021 年 9 月 5 日 上午 5:24 
wiedermal ein Meisterwerk Dankeschön ist der Wiener Stephansdom in Planung oder die Oper aus Wien oder so etwas?
GrayFox 2021 年 9 月 4 日 上午 10:17 
Wieder mal große Klasse!
Lmgordocano  [作者] 2021 年 9 月 4 日 上午 9:04 
Hi 9CF8. in resources in the monuments category. Regards
9CF8 2021 年 9 月 4 日 上午 7:59 
Where do you find these ingame?
user 2021 年 9 月 2 日 下午 4:21 
Unglaublich wie schnell die World Monuments Collection wächst!
Vielen Dank für diese tolle Mod!
Wieder eine wundervolle Arbeit!!!:steamthumbsup:
Lmgordocano  [作者] 2021 年 9 月 2 日 下午 12:08 
Hi lollus these buildings are simple assets that do not have any script that can damage the game. it is like setting up a bank. then it is up to the players to choose whether they want them to have the capacity of residents, commerce or industry. They are basically created to decorate your own map designs, although they can also be used in any form of game. Integrate them so that they appear when cities are created, at the moment I don't have the knowledge to do it. Greetings
Lmgordocano  [作者] 2021 年 9 月 2 日 上午 11:57 
Hi RemiGio, I don't think there are any (I have restrained myself), but there are some that I would like to do, it is not a competition, there are simply buildings that I would not like to be missing from the collection of monuments. And I would like to have my own version. But for now there are none. Greetings.
lollus 2021 年 9 月 2 日 上午 11:53 
What a pity. The easiest way to choose is a dedicated construction parameter, not an additional mod that might break the game.
Remi Gio 2021 年 9 月 2 日 上午 11:17 
I hope you're not covering any of my buildings in the NY pack! ;)
Lmgordocano  [作者] 2021 年 9 月 2 日 上午 10:47 
Hi mongolteiko. I'm just doing a New York pack, but the twin towers were not planned. I do not know if it would hurt sensitivities. Greetings.
Lmgordocano  [作者] 2021 年 9 月 2 日 上午 10:37 
Hi lollus. Lately I don't put magnets on buildings, so everyone can choose. What Thomaskirche has is not a magnet, it is a line for them to climb the ladder in case of using magnet. Cheers
mongolteiko 2021 年 9 月 2 日 上午 9:47 
Very nice! Thanks.

Will you be doing the "Twin Towers" complex for the 20th anniversary on the 11th? Just curious.
lollus 2021 年 9 月 2 日 上午 8:06 
I really like your mods, thanks. Could you make them work without the person magnet tho?
Bayzn Steel 2021 年 9 月 1 日 下午 10:13 
sehr sehr gut, die thomaskirche kommt mir sehr gelegen und wird ihren platz auf meiner leipzig nachbau karte finden ... vielen dank für dieses gebäude