Hello,
I'm working on a mod that adds in new characters into the game as colonists, visitors, pirates etc, with new backstories. However, I'm not sure on how to do this. I created a .xml file like this:
<?xml version="1.0" encoding="utf-8" ?>
<PlayerCreatedBios>
<PawnBio>
<Name>
<First>John</First>
<Last>Smith</Last>
<Nick>Smith</Nick>
</Name>
<Gender>Male</Gender>
<Childhood>
<Title>PlaceholderChildhood</Title>
<BaseDesc>NAME lived a PlaceholderChildhood.</BaseDesc>
<SkillGains>
<li>
<key>Research</key>
<value>1</value>
</li>
<li>
<key>Cooking</key>
<value>1</value>
</li>
</SkillGains>
</Childhood>
<Adulthood>
<Title>Placeholder Adulthood</Title>
<TitleShort>Placeholder</TitleShort>
<BaseDesc>As an adult, NAME lived as a placholder.</BaseDesc>
<SkillGains>
<li>
<key>Research</key>
<value>2</value>
</li>
</SkillGains>
<SpawnCategories>
<li>Slave</li>
</SpawnCategories>
<BodyNameGlobal>Male</BodyNameGlobal>
</Adulthood>
</PawnBio>
</PlayerCreatedBios>
No .xml errors are encountered, yet I am unable to spawn in my new colonist using Dev tools. Am I missing something here or am I just really unlucky in getting my colonist to spawn?
Thanks
I'm working on a mod that adds in new characters into the game as colonists, visitors, pirates etc, with new backstories. However, I'm not sure on how to do this. I created a .xml file like this:
<?xml version="1.0" encoding="utf-8" ?>
<PlayerCreatedBios>
<PawnBio>
<Name>
<First>John</First>
<Last>Smith</Last>
<Nick>Smith</Nick>
</Name>
<Gender>Male</Gender>
<Childhood>
<Title>PlaceholderChildhood</Title>
<BaseDesc>NAME lived a PlaceholderChildhood.</BaseDesc>
<SkillGains>
<li>
<key>Research</key>
<value>1</value>
</li>
<li>
<key>Cooking</key>
<value>1</value>
</li>
</SkillGains>
</Childhood>
<Adulthood>
<Title>Placeholder Adulthood</Title>
<TitleShort>Placeholder</TitleShort>
<BaseDesc>As an adult, NAME lived as a placholder.</BaseDesc>
<SkillGains>
<li>
<key>Research</key>
<value>2</value>
</li>
</SkillGains>
<SpawnCategories>
<li>Slave</li>
</SpawnCategories>
<BodyNameGlobal>Male</BodyNameGlobal>
</Adulthood>
</PawnBio>
</PlayerCreatedBios>
No .xml errors are encountered, yet I am unable to spawn in my new colonist using Dev tools. Am I missing something here or am I just really unlucky in getting my colonist to spawn?
Thanks