So an idea I had was to try and take a look at expanding the namegen-file. (Assets/Resources/Namegen.txt)
As I have been assured on the Discord server by BadLuckBurt, however, a loose file modification of this would not presently be possible - only a "hardcoded" forked build could do it currently. The best suggestion given was to post about it on the forums (which I am doing now) and see what comes of it. So… there ya go.
[feature request] Modifying Namegen.txt through StreamingAssets
- herman2000
- Posts: 18
- Joined: Sun May 10, 2020 2:08 pm
- Location: Dresden, Saxony, Germany
- Contact:
[feature request] Modifying Namegen.txt through StreamingAssets
Last edited by TheLacus on Sat May 23, 2020 9:29 pm, edited 1 time in total.
Reason: sticky
Reason: sticky
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: [feature request] Modifying Namegen.txt through StreamingAssets
I'll look into it.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: [feature request] Modifying Namegen.txt through StreamingAssets
We are already doing something similar for ItemTemplates. Mods can provide a file named ItemTemplates.json and its content is merged with load order. Specifically, there is a list of items identified by index property; mods can override existing items or add new one (documentation).
NameGen has a more complicated structure:
To better understand your request, you would like the ability to replace a list of parts at a specific index for a specific race?
NameGen has a more complicated structure:
Code: Select all
{
"Breton": {
"setCount": 6,
"sets": [
{
"setIndex": 0,
"parts": [
"Theod",
"And",
"Bed",
"Per"
]
}
]
}
}
- herman2000
- Posts: 18
- Joined: Sun May 10, 2020 2:08 pm
- Location: Dresden, Saxony, Germany
- Contact:
Re: [feature request] Modifying Namegen.txt through StreamingAssets
Well, essentially. What I want to do is to replace, or rather, expand on the list of names for a given race. In your example, the the first halves of male Breton names, I'd like to, say, add "Cren", "Asti", "Gast", "Ade" (as examples) to the existing list of "Theod", "And", "Bed", and Per".TheLacus wrote: ↑Sun May 10, 2020 8:34 pm We are already doing something similar for ItemTemplates. Mods can provide a file named ItemTemplates.json and its content is merged with load order. Specifically, there is a list of items identified by index property; mods can override existing items or add new one (documentation).
NameGen has a more complicated structure:To better understand your request, you would like the ability to replace a list of parts at a specific index for a specific race?Code: Select all
{ "Breton": { "setCount": 6, "sets": [ { "setIndex": 0, "parts": [ "Theod", "And", "Bed", "Per" ] } ] } }
- NikitaTheTanner
- Posts: 366
- Joined: Sun Oct 18, 2015 7:57 pm
Re: [feature request] Modifying Namegen.txt through StreamingAssets
Yeah, I've been thinking about the same thing. Want to expand from the small pool of Breton names that seem to repeat very often. Maybe instead of modifying Namegen.txt it would be possible to modify how the names are assigned and use a different source for the names?