Page 1 of 1

Unit Type Name short vs long after editing

Posted: Tue Dec 21, 2021 8:49 am
by Action Camper
Hello together,

my goal is, translate the units to the origin language. For example: 269th Infantry Division --> 269. Infanterie-Division.
The problem is, the Unit Card in the right shows the short type of the unit: 269th Infantry Division = 269th ID.
This short version ist gone after rename it to 269. Infanterie-Division. Now the long name ist cut off: 269. Infanterie-Divi...
I think there must be a mechanic, where i can set the short type names, does anybody know, where that is?

Image

RE: Unit Type Name short vs long after editing

Posted: Tue Dec 21, 2021 9:13 am
by Denniss
In WitE 1 this was a name table embedded in the game .exe, I asume it's the same in WitW/WitE 2

RE: Unit Type Name short vs long after editing

Posted: Tue Dec 21, 2021 1:45 pm
by Action Camper
thanks for the replay.
Did you know, if its possible, to edit it or is it hardcoded?

RE: Unit Type Name short vs long after editing

Posted: Tue Dec 21, 2021 1:57 pm
by Denniss
hardcoded, only the programmer may add/change the list.

RE: Unit Type Name short vs long after editing

Posted: Wed Dec 22, 2021 9:27 am
by vilcum
it seems there is some code that looks into the TOE(OB) suffix CHARACTERS .... it changes "Infantry Division" to ID (and "Motorized Division" to MD) , btw if you do include the word "DIVISION" in the TOE(OB) suffix you SIZE is as the "default" would be a division, but if you do nmot include it (as in writing "divisionen" you have to set size option manually.)

RE: Unit Type Name short vs long after editing

Posted: Wed Dec 22, 2021 4:53 pm
by Action Camper
im not not sure, if i understand you right. I change the suffix of the

Code: Select all

41 4th Wave infantry division (Ger 6/41)
to

Code: Select all

41 4th Wave Infanterie Division (Ger 6/41)
but the name is cut off.
I understand it so: if suffix is exactly infantry division Then ID

Or i missing something?

RE: Unit Type Name short vs long after editing

Posted: Fri Dec 24, 2021 6:05 am
by vilcum


it is as you say (by test and error), for the "ID" suffix has to be exactly "Infantry Division".

The other thing I discovered is : if the suffix is not going to include the word "Division" then you should explicit mark the size option (or it will become a battalion)



Image

RE: Unit Type Name short vs long after editing

Posted: Sun Dec 26, 2021 10:07 pm
by Action Camper
Thanks for sharing this info, didn't realize this.