I'm curious if anyone tried to add some unit traits to the commander.txt file. Complex traits like, i don't know, artillery_mode, will surely not work; but maybe simple trait like quickentrechment could.
Commander traits
Moderators: Order of Battle Moderators, The Artistocrats
Commander traits
I was wondering if we know anything about commander traits. To my knowledge there is no commander among the DLCs who has any trait, but the existance of a Commander Trait window must mean that at some point at the development of OoB this feature was considered and (almost) implemented in the came. Just in case I was not explaining myself, I'm talking about the "This commander does not have any special traits"

I'm curious if anyone tried to add some unit traits to the commander.txt file. Complex traits like, i don't know, artillery_mode, will surely not work; but maybe simple trait like quickentrechment could.
I'm curious if anyone tried to add some unit traits to the commander.txt file. Complex traits like, i don't know, artillery_mode, will surely not work; but maybe simple trait like quickentrechment could.
-
Zekedia222
- Staff Sergeant - StuG IIIF

- Posts: 298
- Joined: Mon Dec 17, 2018 9:30 pm
- Location: Somewhere between Chattanooga and Anchorage
Re: Commander traits
Orde Wingate has the “supply stash” trait, giving whatever unit he is assigned to +1 extra supply.
Klinger, you're dumber than you look, and THAT boggles the MIND.
- Charles Emerson Winchester III
- Charles Emerson Winchester III
Re: Commander traits
Interesting. The only unusual in Wingate's data is "fuel = 1", which i guess is somehow related with the trait. Reviewing the comanders.txt i see there is a couple of commanders with traits (i guess) but in a different from Wingate's format.
[FRANZ_WEGMANN]
id = 97
category = air
faction = germany, waffenss
fuel = 2
weapon = infantry_attack, 1
weapon = vehicle_attack, 1
defense = air_defense, 2
precisionStrike
[KACIARYNA_KASYANOVA]
id = 94
category = air
faction = ussr
weapon = infantry_attack, 1
defense = air_defense, 2
shock = 10
range = 0
camouflaged
undetachable
[COMMISSAR]
id = 93
category = land
faction = ussr
weapon = infantry_attack, 2
weapon = vehicle_attack, 1
defense = infantry_defense, -2
defense = vehicle_defense, -2
range = 0
generic
noRetreat
[KAREL_DOORMAN]
id = 62
category = naval
faction = netherlands
range = 4
defense = naval_defense, 1
noAvatar
[LIEUTENANT_LENA]
id = 61
category = land
faction = usa
range = 0
shock = 100
noAvatar
noEditor
[DRILL_INSTRUCTOR]
id = 60
category = land
faction = usa, usarmy, marine_corps
range = 1
weapon = infantry_attack, 1
noAvatar
So, "noAvatar", "undetechable" and "generic" seem commander traits, but "noEditor", "noretreat", "camouflaged" and "precisionstrike" are also unit traits, which maybe could mean we could indeed use other unit traits for new commanders. I'll try to test this. Eventually
[FRANZ_WEGMANN]
id = 97
category = air
faction = germany, waffenss
fuel = 2
weapon = infantry_attack, 1
weapon = vehicle_attack, 1
defense = air_defense, 2
precisionStrike
[KACIARYNA_KASYANOVA]
id = 94
category = air
faction = ussr
weapon = infantry_attack, 1
defense = air_defense, 2
shock = 10
range = 0
camouflaged
undetachable
[COMMISSAR]
id = 93
category = land
faction = ussr
weapon = infantry_attack, 2
weapon = vehicle_attack, 1
defense = infantry_defense, -2
defense = vehicle_defense, -2
range = 0
generic
noRetreat
[KAREL_DOORMAN]
id = 62
category = naval
faction = netherlands
range = 4
defense = naval_defense, 1
noAvatar
[LIEUTENANT_LENA]
id = 61
category = land
faction = usa
range = 0
shock = 100
noAvatar
noEditor
[DRILL_INSTRUCTOR]
id = 60
category = land
faction = usa, usarmy, marine_corps
range = 1
weapon = infantry_attack, 1
noAvatar
So, "noAvatar", "undetechable" and "generic" seem commander traits, but "noEditor", "noretreat", "camouflaged" and "precisionstrike" are also unit traits, which maybe could mean we could indeed use other unit traits for new commanders. I'll try to test this. Eventually
-
Zekedia222
- Staff Sergeant - StuG IIIF

- Posts: 298
- Joined: Mon Dec 17, 2018 9:30 pm
- Location: Somewhere between Chattanooga and Anchorage
Re: Commander traits
fuel is what gives units extra supply. Chindits have 3, I believe, as do paratroopers. Marines have 1. I guess that isn’t listed as a trait.
I’ve been promoted! No longer am I a lowly half-track!
I’ve been promoted! No longer am I a lowly half-track!
Klinger, you're dumber than you look, and THAT boggles the MIND.
- Charles Emerson Winchester III
- Charles Emerson Winchester III
-
timberwolf15
- Master Sergeant - Bf 109E

- Posts: 453
- Joined: Wed Nov 25, 2009 9:17 pm
Re: Commander traits
Congradulations on the promotion personally I'm kind of dense had to ask a lot of questions in the forums and in doing so I got promoted too !!!! woo hoooZekedia222 wrote: ↑Fri Feb 07, 2020 2:26 am fuel is what gives units extra supply. Chindits have 3, I believe, as do paratroopers. Marines have 1. I guess that isn’t listed as a trait.
I’ve been promoted! No longer am I a lowly half-track!![]()
Re: Commander traits
I tried a couple of unit traits in a commander without success... so it doesnt seem too straighforward... well, the usual bussiness editing OoB, i guess 

What's wrong with the half-track? The half-tracks are perfectly fine, gentlemanZekedia222 wrote: ↑Fri Feb 07, 2020 2:26 am fuel is what gives units extra supply. Chindits have 3, I believe, as do paratroopers. Marines have 1. I guess that isn’t listed as a trait.
I’ve been promoted! No longer am I a lowly half-track!![]()
-
GabeKnight
- Lieutenant-General - Karl-Gerat 040

- Posts: 3710
- Joined: Mon Nov 27, 2017 10:24 pm
Re: Commander traits
Re: Commander traits
I will make more tests in the future, yes. I still have to finish my research regarding the map overlays first, beside my usual work in the TSP scens, but then i will take a look to this commander trait business when i have a little time, could be usefulGabeKnight wrote: ↑Sat Feb 08, 2020 6:15 amDid you try any traits out of the classes.txt file? Might be worth a try (e.g. support-AT or something like that)...