aliens

Author Topic: [Answered] Base name length behaviour  (Read 351 times)

Offline hederino

  • Sergeant
  • **
  • Posts: 14
    • View Profile
[Answered] Base name length behaviour
« on: October 15, 2024, 02:39:04 pm »
Base names longer than normally possible (so they're displayed in the smaller UI font) due to automatic name generation in some mods can't be edited back to the same length once enough characters are deleted such that it switches to the larger font.

Apparently, user defined base names aren't allowed to be longer than what would fit in the space in which they appear on the base management UI. This check seems to be done based on the dimensions of the larger UI font's characters. Making it so that it's based on the smaller font would solve this issue.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9080
    • View Profile
Re: [Answered] Base name length behaviour
« Reply #1 on: October 16, 2024, 02:40:43 pm »
That is correct behavior.

You are not supposed to be able to enter a name longer than what can be displayed.
(base name is not displayed only there, but also on many other places and those places, mostly tables, expect a certain maximum length)

Before automated name generation was added, I have explicitly warned about this and the modders wanted (and accepted) the feature anyway, even with this side effect.

PS: if you want to change the name anyway, you can edit the save file manually.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [Answered] Base name length behaviour
« Reply #2 on: October 16, 2024, 04:53:19 pm »
Please report overly long names as bugs.