Unit Type Name short vs long after editing

Post new scenarios and mods here to share with other gamers.

Moderator: Joel Billings

Post Reply
Action Camper
Posts: 19
Joined: Wed Nov 26, 2014 1:49 pm
Location: Germany

Unit Type Name short vs long after editing

Post 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
Attachments
Card rename 269ID.png
Card rename 269ID.png (45.28 KiB) Viewed 677 times
Denniss
Posts: 9261
Joined: Thu Jan 10, 2002 10:00 am
Location: Germany, Hannover (region)

RE: Unit Type Name short vs long after editing

Post 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
WitE dev team - (aircraft data)
WitE 1.08+ dev team (data/scenario maintainer)
WitW dev team (aircraft data, partial data/scenario maintainer)
WitE2 dev team (aircraft data)
Action Camper
Posts: 19
Joined: Wed Nov 26, 2014 1:49 pm
Location: Germany

RE: Unit Type Name short vs long after editing

Post by Action Camper »

thanks for the replay.
Did you know, if its possible, to edit it or is it hardcoded?
Denniss
Posts: 9261
Joined: Thu Jan 10, 2002 10:00 am
Location: Germany, Hannover (region)

RE: Unit Type Name short vs long after editing

Post by Denniss »

hardcoded, only the programmer may add/change the list.
WitE dev team - (aircraft data)
WitE 1.08+ dev team (data/scenario maintainer)
WitW dev team (aircraft data, partial data/scenario maintainer)
WitE2 dev team (aircraft data)
vilcum
Posts: 154
Joined: Mon Aug 24, 2009 9:00 am

RE: Unit Type Name short vs long after editing

Post 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.)
Action Camper
Posts: 19
Joined: Wed Nov 26, 2014 1:49 pm
Location: Germany

RE: Unit Type Name short vs long after editing

Post 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?
vilcum
Posts: 154
Joined: Mon Aug 24, 2009 9:00 am

RE: Unit Type Name short vs long after editing

Post 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
Attachments
divisionen.jpg
divisionen.jpg (37.78 KiB) Viewed 677 times
Action Camper
Posts: 19
Joined: Wed Nov 26, 2014 1:49 pm
Location: Germany

RE: Unit Type Name short vs long after editing

Post by Action Camper »

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

Return to “Scenario Design and Modding”