FS#6656 - Longer town names

Attached to Project: OpenTTD
Opened by PaulC (PaulC) - Saturday, 06 January 2018, 22:19 GMT
Last edited by andythenorth (andythenorth) - Thursday, 11 January 2018, 07:16 GMT
Type Feature Request
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Town names have an upper limit of 31 characters. Is there any practical reason why this can't be extended?
This task depends upon

Closed by  andythenorth (andythenorth)
Thursday, 11 January 2018, 07:16 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Thanks both, am closing as there are reasons this one won't be changed. Cheers, Andy
Comment by frosch (frosch) - Sunday, 07 January 2018, 14:14 GMT
There are two length limits:
* Maximum length for random generated town names.
* Maximum length for custom names when renaming towns.
Both limits are currently 31 characters.

The former limit is quite arbitrary, but should not be bigger than the latter, or renaming towns will be weird, since you cannot just replace single characters in a previously random name.

The latter limit is implied by the multiplayer network protocol, which is quite inflexible when it comes to strings.