Page 1 of 1
New Unit Class?
Posted: Fri May 21, 2021 6:11 am
by StuccoFresco
Is it possible to add a new unit class? I wanted to separate the Building one in two (one for AA buildings, one for AT buildings, so to speak). I faintly remember the AI having problems with new classes, but since they are buildings it shouldn't be a problem, should it?
Re: New Unit Class?
Posted: Fri May 21, 2021 5:54 pm
by GabeKnight
StuccoFresco wrote: ↑Fri May 21, 2021 6:11 am
Is it possible to add a new unit class?
Sure. Should be the "classes.txt".
Regarding the AI orders, you can just adapt them. The problem would only matter if you try to use a mod on unchanged stock scens.
Re: New Unit Class?
Posted: Sat May 22, 2021 6:35 am
by StuccoFresco
GabeKnight wrote: ↑Fri May 21, 2021 5:54 pm
StuccoFresco wrote: ↑Fri May 21, 2021 6:11 am
Is it possible to add a new unit class?
Sure. Should be the "classes.txt".
Regarding the AI orders, you can just adapt them. The problem would only matter if you try to use a mod on unchanged stock scens.
Oh no, mine is a total conversion so no problem.
Another question: what are the "stats = 12, 13, 1, 3, 2, 16, 17, 5, 15, 14" I see in the txt?
Re: New Unit Class?
Posted: Sat May 22, 2021 9:02 am
by GabeKnight
StuccoFresco wrote: ↑Sat May 22, 2021 6:35 am
Another question: what are the "stats = 12, 13, 1, 3, 2, 16, 17, 5, 15, 14" I see in the txt?
Should be exactly that; stats for the unit as shown in the UI ("summarized" version maybe). You may have noticed that air, land and naval units have different sets of stats displayed. Although I still miss the torpedo damage stats on bombers and ships...
Personally I never bothered to mess with those settings and don't know if they really work in mods.
Re: New Unit Class?
Posted: Sun May 23, 2021 8:31 am
by terminator
A long time ago, I had created a new Unit Class (RECON AIR):

- Recon.JPG (82.08 KiB) Viewed 1487 times
Re: New Unit Class?
Posted: Sat Oct 16, 2021 12:39 pm
by svendler
terminator wrote: ↑Sun May 23, 2021 8:31 am
A long time ago, I had created a new Unit Class (RECON AIR):
Recon.JPG
Terminator, how did you remove the prefix UNITCLASS_ in front of the new unit class name?
Re: New Unit Class?
Posted: Sat Oct 16, 2021 12:56 pm
by terminator
svendler wrote: ↑Sat Oct 16, 2021 12:39 pm
terminator wrote: ↑Sun May 23, 2021 8:31 am
A long time ago, I had created a new Unit Class (RECON AIR):
Recon.JPG
Terminator, how did you remove the prefix UNITCLASS_ in front of the new unit class name?
It was a long time ago...fortunately I have a good memory
You have to add an entry here (for the English and Steam versions) :

- Capture d’écran 2021-10-16 145247.jpg (200.12 KiB) Viewed 1095 times
PS: it is preferable and recommended to do this in the
Mods folder

Re: New Unit Class?
Posted: Sat Oct 16, 2021 1:46 pm
by svendler
svendler wrote: ↑Sat Oct 16, 2021 12:39 pm
terminator wrote: ↑Sun May 23, 2021 8:31 am
A long time ago, I had created a new Unit Class (RECON AIR):
Recon.JPG
Terminator, how did you remove the prefix UNITCLASS_ in front of the new unit class name?
Ah! Found the naming scheme in english.txt. Added the new unit class names to english_mod.txt. Still, your posting inspired me to go and search, so thanks anyway

Re: New Unit Class?
Posted: Sat Oct 16, 2021 1:49 pm
by svendler
svendler wrote: ↑Sat Oct 16, 2021 1:46 pm
svendler wrote: ↑Sat Oct 16, 2021 12:39 pm
terminator wrote: ↑Sun May 23, 2021 8:31 am
A long time ago, I had created a new Unit Class (RECON AIR):
Recon.JPG
Terminator, how did you remove the prefix UNITCLASS_ in front of the new unit class name?
Ah! Found the naming scheme in english.txt. Added the new unit class names to english_mod.txt. Still, your posting inspired me to go and search, so thanks anyway
Our answers crossed

But thanks again mate!
Re: New Unit Class?
Posted: Sun Oct 17, 2021 9:56 am
by terminator
With my new system of classification of reconnaissance units (
Recon Land &
Recon Air), this would be better presented in the last DLC :

- US Recon.jpg (150.18 KiB) Viewed 1058 times