How to make old units still stay in the game?

nightstorms

Chieftain
Joined
Aug 23, 2009
Messages
9
I know this isn't about graphics, but it is about units. For example, when I research Robotics my Anti-Tank units are pulled out of the game and replaced by Mechanized Infantry.

Is there a way for me to edit some files to still keep my Anti-Tank infantry in the game? So it doesn't expire as a recruitable unit.
 
If you locate the unit in the Civ4UnitInfos.xml file, there is a tag <UnitClassUpgrades> that lists the unit that the aforementioned unit can upgrade to for a price. It also means the aforementioned unit can not be built. If you eliminate the upgrade, both the original unit and the previously upgrade unit can be built.
 
If you locate the unit in the Civ4UnitInfos.xml file, there is a tag <UnitClassUpgrades> that lists the unit that the aforementioned unit can upgrade to for a price. It also means the aforementioned unit can not be built. If you eliminate the upgrade, both the original unit and the previously upgrade unit can be built.


Hmm, so I can't have it both ways then? As in build the Anti-Tank, and upgrade it later if I so wish.
 
If you locate the unit in the Civ4UnitInfos.xml file, there is a tag <UnitClassUpgrades> that lists the unit that the aforementioned unit can upgrade to for a price. It also means the aforementioned unit can not be built. If you eliminate the upgrade, both the original unit and the previously upgrade unit can be built.

That is not true.

There is a tag where it obseletes it. Notice the Crossbowman/Longbowman/Archer situation.
 
Questions belong to the main forum.

That is not true.

There is a tag where it obseletes it. Notice the Crossbowman/Longbowman/Archer situation.

I can't see an obsolete tag, and where's the problem with the situation?
You can build archers, until you're able to build both crossbowman and longbowman.
 
That is not true.

There is a tag where it obseletes it. Notice the Crossbowman/Longbowman/Archer situation.

No obsolete tag, The_J is right. For example, if you get rifling without Military Science, you can build Macemen and Rifleman side by side (allowing you to build CR3 maces and upgrade :eek:), until you get Assembly Line, then since both Grenadiers and Riflemen become Infantry, macemen are completely gone.
 
A unit stops appearing in the buildiable units list when all units it upgrades to are available. If warrior only upgrades to Axeman, then Warrior disappears when you research Bronze Working and get Copper. If Warrior upgrades to both Acxeman and Swordsman, then it remains until you have Iron working and iron, even if you get axemen.

So, one way to make a unit stay around forever is to make it upgrade to something you can never build--Great General for example.
 
yeah we really need an obselete tag.
Along those lines, I want to eliminate a few units from the game altogether. I was hoping to make them obsolete with the availability of the Warrior, effectively eliminating them from the game (this method worked with previous versions of Civ IIRC).

Is there another way of eliminating units from the game? The 3 units I currently want to eliminate are the Spy, ICBM, and Tactical Nuke.
 
How to you want to make them obsolete?

The easiest way to "eliminate" units from the game is setting the cost to -1. Nobody will be able to build them anymore.

Do you want to make Spy, ICBM and Tactical Nuke obsolete or eliminated? :P
 
A unit stops appearing in the buildiable units list when all units it upgrades to are available. If warrior only upgrades to Axeman, then Warrior disappears when you research Bronze Working and get Copper. If Warrior upgrades to both Acxeman and Swordsman, then it remains until you have Iron working and iron, even if you get axemen.

So, one way to make a unit stay around forever is to make it upgrade to something you can never build--Great General for example.

I tried that, but I actually can upgrade my unit to a Great General with that so it didn't work quite as intended though.
 
How to you want to make them obsolete?

The easiest way to "eliminate" units from the game is setting the cost to -1. Nobody will be able to build them anymore.

Do you want to make Spy, ICBM and Tactical Nuke obsolete or eliminated? :P
I wanted to eliminate and I thought the only way to do that was to obsolete them...but I tried your method and it worked...thanks!
 
I tried that, but I actually can upgrade my unit to a Great General with that so it didn't work quite as intended though.

Make a new unit that is available with Future Tech or something, and upgrade to that.

Or make a new, unresearchable tech.
 
Back
Top Bottom