Explanation of NamePatternFiller

Started by AAR_Dev, January 21, 2015, 03:06:18 PM

Previous topic - Next topic

AAR_Dev

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

Shinzy

#1
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

AAR_Dev

*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  :)