Announcement

Collapse
No announcement yet.

Barbarian Units

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Barbarian Units

    Is there a way to make it so that barbarians can't get anymore advanced then Archer units?

  • #2
    Look in Assets\XML\Civilzations\Civ4CivilizationInfos.xml For CIVILIZATION_BARBARIAN there's a whole lot of code like

    Code:
    < Unit >
    					< UnitClassType >UNITCLASS_SETTLER
    					< UnitType >NONE
    				< /Unit >
    				< Unit >
    					< UnitClassType >UNITCLASS_SCOUT< / UnitClassType>
    					< UnitType >NONE< / UnitType>
    				
    
    
    					< UnitClassType >UNITCLASS_INFANTRY< / UnitClassType > 
    					< UnitType >NONE< / UnitType>
    				< /Unit>
    				
    					< UnitClassType >UNITCLASS_SAM_INFANTRY < / UnitClassType >
    					< UnitType >NONE
    				
    And so on. It's the units the Barbs can't have. If you add similar entries for the current better-than-archer units, you'll have what you want.

    Those units are, IIRC, Longbowman and Rifleman for defense, and if you want to count offensive units, Axemen, Macemen, Horse Archers and Swordsmen.
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

    Comment


    • #3
      Thanks

      Comment

      Working...
      X