[Modding][Question/Request] Race

Is there a way an ideology trait, an improvement, an evenement, whatever, can generate a new race in the game?



|-) :) ;) B) ***** If that is not possible, consider it as a request. ***** B) ;) :) |-)

3,592 views 2 replies
Reply #1 Top

Check the mega events dlc for how the dread lords are added to the game. You might be able to add a faction through an event thanks to the dlc. I haven't checked into it yet though so no promises. I'll try and remember to update if I find out :)

Reply #2 Top

That's how pirate planets are created:

 

<Trigger>
        <OnEvent>OnStartMegaEvent</OnEvent>
        <PerformAction>
          <Action>SpawnFaction</Action>
          <ValueParam>0</ValueParam>
          <ValueParam>6</ValueParam>
          <StringParam>FACTION_PIRATES</StringParam>
        </PerformAction>
        <PerformAction>
          <Action>DoScenarioConversation</Action>
          <StringParam>PirateColony_MegaEvent_Message_Conversation</StringParam>
        </PerformAction>
      </Trigger>

 

Has to be an event or at start, though. Triggers cannot be used in tech or improvements.