[Mod Help] Issues getting modded faction leader to spawn

Started by brawdogger, November 10, 2019, 09:42:56 AM

Previous topic - Next topic

brawdogger

For the past few days I've been developing a faction mod however i've ran into an issue where the faction won't spawn in a leader no matter what I try. When creating a new save, the faction will spawn perfectly fine except for having no leader available to communicate with or anything. I've checked through all of my source files making sure I've got every command needed and verified that there were no error messages appearing in game. Any idea on how to possibly fix this?

Kirby23590

Hmmmm...

Did you try adding in...


<defaultFactionType>YourFactionDefHere</defaultFactionType>


In the leader's code? I think without a default faction or the Leader appearing in the Battlefield when raiding you or in Base Defenes i don't think he would appear until he does... Just make sure that <factionLeader> is inside the PawnKindDef as well.

One "happy family" in the rims...
Custom font made by Marnador.