Melee Units

This has samurai, the Japanese UU:

<PrereqTech>TECH_FEUDALISM</PrereqTech>
<TechTypes>
<PrereqTech>TECH_METAL_CASTING</PrereqTech>
<PrereqTech>NONE</PrereqTech>
<PrereqTech>NONE</PrereqTech>
</TechTypes>
<BonusType>BONUS_IRON</BonusType>

This is what German Axeman has: (new UU)

<Type>UNIT_WILD_AXEMAN_NO_HORN</Type>
<PrereqTech>TECH_BRONZE_WORKING</PrereqTech>
<TechTypes/>
<BonusType>NONE</BonusType>
<PrereqBonuses>
<BonusType>BONUS_COPPER</BonusType>
<BonusType>BONUS_IRON</BonusType>
<BonusType>NONE</BonusType>
<BonusType>NONE</BonusType>
</PrereqBonuses>

So any more questrions ?
 
kensei available with iron working, without altering crossbowman?

Ummm... Well... in xml all unit types have same tech requiremants. They differ in resource (didnt do a deep search). Like samurai is a maceman type unit, so it replaces maceman. But according only to xml, why does samurai has its own
<PrereqTech>TECH_FEUDALISM</PrereqTech>
<TechTypes>
<PrereqTech>TECH_METAL_CASTING</PrereqTech>
<PrereqTech>NONE</PrereqTech>
<PrereqTech>NONE</PrereqTech>

When it could use macemans one witch is the same ? So logicly it can be changed whithout altering regular unit.

We need to ask Houman about this to be sure.
 
Back
Top Bottom