What the title says. I'm trying to mod in a race trait that gives you other race traits. I'm doing this because I want to make a super-overpowered villain faction so I can have several species unite and fight against it, but I also don't want to clutter the UI. I basically want to give them all of the player faction traits like Adaptable, Slavers, etc. but instead of having a very long list of traits I just want to give them the abilities for it, mostly for the tech unlocks. That way they can build extremely tall from their small amount of planets.
Here's what I have so far. The game won't start up, something about scope. I'm open of other wants to doing this, such as through a invisible event the players can't see or trigger.
Code: xml
- <RaceTrait>
- <InternalName>TimelordsAbility</InternalName>
- <DisplayName>TimelordsAbility_Name</DisplayName>
- <DisplayNameShort>TimelordsAbility_ShortName</DisplayNameShort>
- <Description>TimelordsAbility_Dec</Description>
- <span style="white-space: normal;"> <IsAbility>1</IsAbility></span>
- <span style="white-space: normal;"> <Available>false</Available></span>
- <span style="white-space: normal;"> <Triggers></span>
- <OnEvent>OnStartTurn</OnEvent>
- <CriteriaTurnNum>1</CriteriaTurnNum>
- <Scope>Global</Scope>
- <Target>
- <TargetType>Faction</TargetType>
- </Target>
- <Lifetime>Instant</Lifetime>
- <span style="white-space: normal;"> <Modifier></span>
- <span style="white-space: normal;"> <RaceTraits>LoyalAbility</RaceTraits></span>
- <span style="white-space: normal;"> </Modifier></span>
- <span style="white-space: normal;"> <DisplayOnTooltip>false</DisplayOnTooltip></span>
- </Triggers>