• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Help with Unit production

Ryoga

King
Joined
Oct 12, 2010
Messages
993
My idea was to create a mod that allowed to upgrade cavalry into tank and Lancer into antitank gun units.

That part was easy, the upgrade option work as it was intended, but even after obtaining the necessary tech to build tanks and antitank guns, the option to build Lancer and Cavalry still remain, unlike what happen normally with other unit upgrades (for example once you have the technology to build infantry you can no longer build a rifleman)

I tried to find among the xmls where these override variables about unit productions exist but to no avail. Anyone can help?
 
Did you set the "ObsoleteTech" for your changed units?
 
Ah that must be it! I totally missed that entry, I'm gonna try it right away, thanx!
 
Back
Top Bottom