Topic: Separate name lists for ports and warehouses.

MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06
Posts: 361
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: 2025-03-06, 20:28

A suggestion that I've wanted to make for a while: It would be nice if you could create separate lists of names for ports, warehouses and headquarters.

The idea came to me, once again, for my European tribe. I have a pretty long list of names of European cities. However, there are inland cities like Munich or Prague and there are port cities like Rotterdam or Hamburg. The current random algorithm doesn't take this into account and also gives my ports the names of the inland cities, while warehouses somewhere in the middle of the map were named after port cities.

If we also could separate the headquarters, I would give them the names of the capitals like London, Paris or Berlin.

Technically, we can solve it for the other tribes in such a way that if no explicit name list for ports or headquarters is created in the units.lua, the normal warehouse list is simply used for the names.

Edited: 2025-03-06, 20:31

My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing

Top Quote
MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06
Posts: 361
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: Yesterday 14:59

I opened an issue in github about this -> https://github.com/widelands/widelands/issues/6653

Edited: Yesterday 14:59

My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing

Top Quote
Teayo
Avatar
Joined: 2015-03-09, 22:11
Posts: 256
OS: Windows 11 Home 64-bit
Version: 1.2.1~rc1
Ranking
Tribe Member
Location: Deutschland
Posted at: Yesterday 18:08

Add also for Multiplayer a function at initialization to naming the Headquarter (or initial Warehouse Type) to the Name of the Player .

I also support MarkMcWire's Suggestion to split the Warehousetype Name List into separate Name Lists .

Reference : Suggestion 032


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 2103
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: Yesterday 18:21

Add also for Multiplayer a function at initialization to naming the Headquarter (or initial Warehouse Type) to the Name of the Player .

-1 from me. This is a matter of individual preference, but naming your capital city for yourself seems a little megalomaniacal wouldn't you agree face-wink.png

And making this optional by having yet another dedicated checkbox for such an unimportant and niche feature that can be done easily with just a couple of clicks and keystrokes once per game gets an even bigger -1.

You could easily enough make a game script add-on that does this though.


Top Quote
Teayo
Avatar
Joined: 2015-03-09, 22:11
Posts: 256
OS: Windows 11 Home 64-bit
Version: 1.2.1~rc1
Ranking
Tribe Member
Location: Deutschland
Posted at: Yesterday 18:53

Nordfriese wrote:

-1 von mir. Das ist eine Frage der persönlichen Vorliebe, aber die Hauptstadt nach sich selbst zu benennen, scheint ein wenig größenwahnsinnig, finden Sie nicht auch? face-wink.png

A single building, the headquarters, is the player's capital city ? This is a very special way of interpreting the game .

Nordfriese wrote:

Sie könnten jedoch problemlos ein Spielskript-Add-on erstellen, das dies erledigt.

Oh fine ! I ask you later (in some months or a year) how to do . I made a note of it . Currently i have my focus on get Walls functioning . I agree that this Part is a niche feature .


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2636
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: Today 11:48

For the different naming lists, i think it adds no usefulness. Names will be applied randomly, so in case of the map Europe "Hamburg" will maybe be named "Rotterdam". I see no advantage and we should always remember that widelands is a fantasy game. Adding too much real world is not good, imho. And i see also some complaining like "Hey, the names are taken only from Europe, my continent isn't represented by the game!!!"

Teayo wrote:

Add also for Multiplayer a function at initialization to naming the Headquarter (or initial Warehouse Type) to the Name of the Player .

At first read i found this idea nice, but now i think this will add no advantage. Do you have any arguments why this might be useful?


Top Quote
tothxa
Avatar
Joined: 2021-03-24, 12:44
Posts: 508
OS: antix / Debian
Version: some new PR I'm testing
Ranking
One Elder of Players
Posted at: Today 14:00

The Empire has mixed seaside and inland historical town names too. IIRC Barbarian names are based on all kinds of Scandinavian town names as well. OTOH Atlanteans got Greek seaside towns and islands. And Amazons mostly got names of regions and tribes in addition to a few towns.

I agree we shouldn't make a big deal of this, and it's not worth the effort to separate them, or to come up with more names to have enough in each category.


Top Quote
MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06
Posts: 361
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: Today 14:00

I should add that I mostly play as an observer and only let the AI ​​actively build. Therefore, I cannot manually change the names of the buildings. That's why it would be nice if you could at least control the automatic generation of the names via Lua.


My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing

Top Quote
MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06
Posts: 361
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: Today 14:05

tothxa wrote:

The Empire has mixed seaside and inland historical town names too. IIRC Barbarian names are based on all kinds of Scandinavian town names as well. OTOH Atlanteans got Greek seaside towns and islands. And Amazons mostly got names of regions and tribes in addition to a few towns.

I agree we shouldn't make a big deal of this, and it's not worth the effort to separate them, or to come up with more names to have enough in each category.

I have now completely deleted the name list for the europeans entirely. I am trying to organize it using a Lua function for pure AI games.

Edited: Today 14:06

My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing

Top Quote