endless-sky / endless-sky

Space exploration, trading, and combat game.
https://endless-sky.github.io/
GNU General Public License v3.0
5.53k stars 997 forks source link

Random ship names appropriate to where ship is bought #3938

Open VonZorch opened 5 years ago

VonZorch commented 5 years ago

I think it would be nice if when you bought a ship outside human space with a random name it have a name appropriate to the seller. If you buy a Hai ship it gets a Hai ship name, Wanderer ships get Wanderer names, etc.

ReimeiSky commented 5 years ago

Do you specifically intend for this to be a property of the shipyard's location, or of the ship?

I think in the latter case we could have this sort of format:

ship "Korath Raider"
    sprite "ship/raider"
    thumbnail "thumbnail/raider"
    names "korath"

where the names [sic] attribute is used in an identical fashion as in natural fleets:

fleet "Korath Raid"
    names "korath"
VonZorch commented 5 years ago

Either would work. I was thinking attach to shipyard so ships bought in the Coalition would have names from the race that primarily inhabits that planet. I'm not really concerned with the under the hood details just the result. Not being a C++ programmer I have no idea how it would be done. If I went into the appropriate ships.txt files and added the names [race] attribute would that work now?

endless-sky commented 5 years ago

I could see at least four ways of doing this:

Having the government specify it would be the simplest, e.g. a Hai planet would always use Hai names for ships you buy there. But doing it per-ship would allow you to have fighters or drones use different naming schemes than larger ships, which would be cool and potentially useful. (Even if the player used auto-generated names, they'd be able to tell their carried ships apart from their carriers by name.)

gunqqer commented 5 years ago

By shipyard seems way to intensive work wise. I think first per goverment, and then if it's worth it, break those down into ship types or even specific ships.

jafdy commented 5 years ago

It seems to me that changing it later on would be a tough thing to do. I'm voting for a per ship basis as that has the most flexibility and nice uses.

Wrzlprnft commented 5 years ago

tbh. i'd like a government default overriden by shipyard overriden by ship. because the human and alien shipyard government structure relations differ quite a bit.

TheGiraffe3 commented 3 weeks ago

Is this likely to be implemented any time soon?