Civilization unique units

dood100125

Chieftain
Joined
Sep 13, 2010
Messages
34
Location
Manitoba
I hate to ask so soon after my last post but I cant figure out this problem.

I have made my unit and the building for and want to make it unique for my civilization, I have made a few units unique to the civilization before and it worked but not with my new building and unit I added both in Civilizationinfos.xml

Code:
<Buildings>
                <Building><!-- Worm Temple -->
                <BuildingClassType>BUILDINGCLASS_Worm_Temple</BuildingClassType>
                    <BuildingType>BUILDING_Worm_Temple</BuildingType>
                </Building>
                <Building>
and

Code:
<Unit>
            <UnitClassType>UNITCLASS_Worm</UnitClassType>
                    <UnitType>UNIT_Sandworm</UnitType>
                </Unit>

they both work ingame except every civ can build them, I double check to make sure both the class and type where the same for both.
 
And that last check is the problem ;).

Just look at existing unique units, e.g. the aztec jaguar.
It has as unit type AZTEC_JAGUAR, but as unit class it has UNITCLASS_SWORDSMAN.
-> unique units and buildings don't get its own class, they have the same class like the unit/building they replace.
 
Top Bottom