UUs seen on the unit upgrade tree.

DH was the one who gave them a means to not be seen on the upgrade tree. Ask him what the condition is these are failing. I think it has something to do with requiring a Bonus that has the right category... so the setup for the Bonus type for those cultures might not have been done quite right.
 
TB is correct. For some reason the bonus requirements are in a TrainCondition. The Cultural one must be in the BonusType tag for them to be not shown.

I am not sure why PESHMERGA is done
Code:
            <TrainCondition>
                <And>
                    <Has>
                        <GOMType>GOM_BONUS</GOMType>
                        <ID>BONUS_KURDISH</ID>
                    </Has>
                    <Has>
                        <GOMType>GOM_BONUS</GOMType>
                        <ID>BONUS_AMMO</ID>
                    </Has>
                    <Has>
                        <GOMType>GOM_BONUS</GOMType>
                        <ID>BONUS_FIREARMS</ID>
                    </Has>
                </And>
            </TrainCondition>

rather than
Code:
           <BonusType>BONUS_KURDISH</BonusType>
           <PrereqBonuses>
               <BonusType>BONUS_AMMO</BonusType>
               <BonusType>BONUS_FIREARMS</BonusType>
           </PrereqBonuses>
 
Not sure. If it is then the TrainCondition with those two in it will be needed. The main point is that the Culture must be in the BonusType if you don't want the unit displayed in the unit tree.
 
So what it should be is

Code:
           <BonusType>BONUS_KURDISH</BonusType>
            <TrainCondition>
                <And>
                    <Has>
                        <GOMType>GOM_BONUS</GOMType>
                        <ID>BONUS_AMMO</ID>
                    </Has>
                    <Has>
                        <GOMType>GOM_BONUS</GOMType>
                        <ID>BONUS_FIREARMS</ID>
                    </Has>
                </And>
            </TrainCondition>
 
So what it should be is

Code:
           <BonusType>BONUS_KURDISH</BonusType>
            <TrainCondition>
                <And>
                    <Has>
                        <GOMType>GOM_BONUS</GOMType>
                        <ID>BONUS_AMMO</ID>
                    </Has>
                    <Has>
                        <GOMType>GOM_BONUS</GOMType>
                        <ID>BONUS_FIREARMS</ID>
                    </Has>
                </And>
            </TrainCondition>
Agreed. And that's how I would recall it needing to be done as well.
 
Top Bottom