OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: hederino on October 15, 2024, 02:39:04 pm

Title: [Answered] Base name length behaviour
Post by: hederino 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.
Title: Re: [Answered] Base name length behaviour
Post by: Meridian 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.
Title: Re: [Answered] Base name length behaviour
Post by: Solarius Scorch on October 16, 2024, 04:53:19 pm
Please report overly long names as bugs.