Name List Help?

<< < (2/2)

Absimiliard:
Oh, I'm sure I'm doing it wrong. But I can't really find any info on how to do it right. I just tried a test file because I figured I'd bugger it up. I used your stblc tool to convert a text doc formatted thusly (not correct XML but Iwas trying to follow orders)

Code:

<KEY>AbsNames/MaleName:Name0</KEY>
<STR>John</STR>
<KEY>AbsNames/FealeName:Name0</KEY>
<STR>Jane</STR>
<KEY>AbsNames/FamilyName:Name0</KEY>
<STR>Doe</STR>
<KEY>AbsNames/FamilyName:Name0_Female</KEY>
<STR>Doe</STR>

I then imported the STBL file into a new package with s3pe (didn't know what other program to use). Indicated the file was an stbl and didn't change the group or instance id (because I didn't think it would matter with the unique id "AbsNames")

I then set my config for all names to use AbsNames and that didn't work. I know I did it wrong, but god help me if I know how to be right.

ETA: Immediately after posting I realize that I misspelled FemaleName in the XML but that only solves part of the problem.

chann:
What's the instance you *are* using? I don't think all zeroes would work.

Try using the FNV Hash converter in S3pe (under Tools) and hash "AbsNames", then copypaste that value into Instance in the Resource Details box. Change the first two digits after the X to 00 for the language code (I presume your game is English). Then see if it works.

Absimiliard:
Still a no go. Getting sims with names like

**** AbsNames/FemaleName:Name/FemaleName:Name0 **** **** AbsNames/FamilyName:Name/FamilyName:Name2 ****

I'm wondering if I should be using s3pe at all to package this thing. I assume when I import the stbl file from Pescado's tool I should set the type to "STBL 0x220557DA" and I followed your suggestion of changing the instance from all zeros to "0x0038ED910DF37BA9" but that still leaves the Group at all zeros with a myriad of other checkboxes I can tick or leave blank.

It seems to me it's trying to find something along the wrong path (the FemaleName:Name and FamilyName:Name are incorrect) but I can't say whether this is a result of Pescados stblc.exe or an incorrect import.

J. M. Pescado:
The name list thing has a bug in it, that will be fixed in the next version that I will up later today once I finish this build test.

Absimiliard:
Okay, things are partially working now.

I created 3 different STBLs one for male names, one for female names and one for family names.

In the male and female names I've grouped names by decade so I can specify in my config which group to grab from (for example AbsNames1940s or AbsNames1950s)

The text I imported from looks something like this...
Code:

<KEY>AbsNames1900s/MaleName:Name0</KEY>
<STR>Aaron</STR>
<KEY>AbsNames1900s/MaleName:Name1</KEY>
<STR>Abe</STR>
...
<KEY>AbsNames1900s/MaleName:Name1287</KEY>
<STR>Zack</STR>
<KEY>AbsNames1900s/MaleName:Name1288</KEY>
<STR>Zeb</STR>
<KEY>AbsNames1910s/MaleName:Name0</KEY>
<STR>Aaron</STR>
<KEY>AbsNames1910s/MaleName:Name1</KEY>
<STR>Abe</STR>
...


The FamilyName STBL only has one set of names but it has been keyed with a string to localize and date it so I could make more in future. (The string I used is AbsNamesENC1990 to indicate names from the East North Central Part of the US from the 1990 census)

Code:

<KEY>AbsNamesENC1990/FamilyName:Name0</KEY>
<STR>Aaron</STR>
<KEY>AbsNamesENC1990/FamilyName:Name0_Female</KEY>
<STR>Aaron</STR>
<KEY>AbsNamesENC1990/FamilyName:Name1</KEY>
<STR>Abbott</STR>
<KEY>AbsNamesENC1990/FamilyName:Name1_Female</KEY>
<STR>Abbott</STR>
...



I started a new games killedallhumans. And plopped in a single sim. As NPCs were generated, I was disappointed to see a papergirl named "Christie Lively". I do not have "Lively" in my last name list...

But as sims were generated for coworkers, etc. Things started to look up as the names were plucked from my STBLs. But then another dissapointment occured.

I had specified AbsNames1940s in my config, and a sim named "Jammie Lockhart" appeared. "Jammie" only appears under AbsNames1970s and shouldn't have been selected.

I still wonder If I'm packaging the STBLs correctly, and if NPCs use these packages at all.

Navigation

[0] Message Index

[*] Previous page