Question regarding units error?

elorian

Chieftain
Joined
Dec 11, 2012
Messages
2
Hi everyone,

I've been modding a couple years and been encountering the following prob lately - while testing in-game, I noticed my units seem to duplicate throughout various menues, in particular, inside city screens (where you would select which units to build), as well as the tech tree, where, for reasons unknown to me, simply some generic units appear in large numbers, but with identical stats and imagery (such as tanks, paratroopers, infantry, bombers, fighters,...).

Have a look at my screenshots, please:


View attachment 338079

View attachment 338080




Does anyone know the cause of this?

My best guess would be the DEFAULT_UNIT tag in UnitClasses.xml, it's the only tag where all those generic units are used more than once, but I don't see why that would have such a dramatic effect..

Kind Regards,
Elorian
 
I guess the one mentioned point might be the cause.
Because assume there are the unitclass INFANTRY, INFANTRY_SPECIAL_1 and INFANTRY_SPECIAL_2. If the latter 2 are set to INFANTRY per default, the game will let you build an INFANTRY for all those 3.

Haven't tested that, but that's the only explanation I have.
 
Back
Top Bottom