Ludeon Forums

RimWorld => Mods => Help => Topic started by: AAR_Dev on January 21, 2015, 03:06:18 PM

Title: Explanation of NamePatternFiller
Post by: AAR_Dev on January 21, 2015, 03:06:18 PM
Hello,

Could someone give me a quick explanation of "NamePatternFiller_File"

For example the error is thrown even when I have BlahNames.txt in the NameBanks, Am I missing something?

XML error: <fillInFiles><li>NameBanks/BlahNames</li></fillInFiles> doesn't correspond to any field in type NamePatternFiller_File
Title: Re: Explanation of NamePatternFiller
Post by: Shinzy on January 22, 2015, 08:00:24 AM
Quote from: AAR_Dev on January 21, 2015, 03:06:18 PM
Hello,

Could someone give me a quick explanation of "NamePatternFiller_File"

For example the error is thrown even when I have BlahNames.txt in the NameBanks, Am I missing something?

XML error: <fillInFiles><li>NameBanks/BlahNames</li></fillInFiles> doesn't correspond to any field in type NamePatternFiller_File

The 'FillInFiles' are thing from older alphas so that's likely where you're going wrong
the pattern filler things should look like
     <li Class="NamePatternFiller_File">
<keyString>TRIBALWORDA</keyString>
<path>NameBanks/TribalWords</path>
</li>


not like

<patternFillers>
<li>
<keyString>TRIBALWORDA</keyString>
<fillInFiles>
<li>NameBanks/TribalWords</li>
</fillInFiles>
</li>


Edit: you could look for them examples in the NameMakerDefs in core
or check out my norbals mod! I use the name makers in that ;D
Title: Re: Explanation of NamePatternFiller
Post by: AAR_Dev on January 22, 2015, 11:21:09 AM
*Facepalm*
I knew I was missing something "simple". This is most likely the case, I will check out your mod and report back if it is resolved. Thanks  :)