Unit Type Name short vs long after editing (Full Version)

All Forums >> [New Releases from Matrix Games] >> Gary Grigsby's War in the East 2 >> Scenario Design and Modding



Message


Action Camper -> Unit Type Name short vs long after editing (12/21/2021 10:49:28 AM)

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]local://upfiles/50520/5C4F585EF9FA4DEC8C01648A1825E86D.png[/image]




Denniss -> RE: Unit Type Name short vs long after editing (12/21/2021 11:13:22 AM)

In WitE 1 this was a name table embedded in the game .exe, I asume it's the same in WitW/WitE 2




Action Camper -> RE: Unit Type Name short vs long after editing (12/21/2021 3:45:15 PM)

thanks for the replay.
Did you know, if its possible, to edit it or is it hardcoded?




Denniss -> RE: Unit Type Name short vs long after editing (12/21/2021 3:57:40 PM)

hardcoded, only the programmer may add/change the list.




vilcum -> RE: Unit Type Name short vs long after editing (12/22/2021 11:27:26 AM)

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.)




Action Camper -> RE: Unit Type Name short vs long after editing (12/22/2021 6:53:17 PM)

im not not sure, if i understand you right. I change the suffix of the
41 4th Wave infantry division (Ger 6/41)
to
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?




vilcum -> RE: Unit Type Name short vs long after editing (12/24/2021 8:05:46 AM)



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]local://upfiles/32662/F439137B323947AF9EF3BE997073B9DA.jpg[/image]




Action Camper -> RE: Unit Type Name short vs long after editing (12/27/2021 12:07:32 AM)

Thanks for sharing this info, didn't realize this.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.125