Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Name Generating  (Read 1864 times)

Thunderforge

  • Bay Watcher
    • View Profile
Name Generating
« on: August 04, 2016, 02:15:42 pm »

Greetings, brothers of the Mine!

I'm pretty new to this Dwarf Fortress business, still cutting my teeth on my first few forts. Luckily there hasn't been too much 💀FUN💀 yet!

But I wonder how DF generates the dwarves names, presumably there is a .csv list in the programming somewhere?
Is it possible to edit the list or is it embedded in the .exe?

Basically I want to automatically generate names of my own rather than names like Nindo PolishedHornets.

So, my esteemed and long enduring longbeards, what do you say?
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Name Generating
« Reply #1 on: August 04, 2016, 04:44:23 pm »

It's pieced together from the language file attached to their society. If you write a new language, you can change the name generation.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Thunderforge

  • Bay Watcher
    • View Profile
Re: Name Generating
« Reply #2 on: August 04, 2016, 04:59:27 pm »

Thank you

On closer inspection are the dwarf 'first names' just random picks from the Language_Dwarf.txt ?
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Name Generating
« Reply #3 on: August 04, 2016, 06:31:11 pm »

Yes, they are.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

milo christiansen

  • Bay Watcher
  • Something generic here
    • View Profile
Re: Name Generating
« Reply #4 on: August 05, 2016, 11:40:18 am »

AFAIK they actually pick from certain symbols listed in the entity. Not all words are used for names.

By adding new symbol entries and changing the entity you can have a good bit of control over what words are used to generate names.
Logged
Rubble 8 - The most powerful modding suite in existence!
After all, coke is for furnaces, not for snorting.
You're not true dwarven royalty unless you own the complete 'Signature Collection' baby-bone bedroom set from NOKEAS

Thunderforge

  • Bay Watcher
    • View Profile
Re: Name Generating
« Reply #5 on: August 06, 2016, 04:37:35 pm »

Thank Milo!

I've looked through the Entity_default but there doesn't seem to be anything obvious that relates to naming the dwarfs. A search has yielded the naming of bridges, battles, walls, but not individuals. Hmm, I wish I knew more about code!
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else

Thunderforge

  • Bay Watcher
    • View Profile
Re: Name Generating
« Reply #6 on: August 06, 2016, 04:44:18 pm »

Under the Dwarf section of the Entity_default.txt I have found this section; (see below)

Am I right in thinking Select_Symbol are for create names and the Cull_symbol forbids? (ie allow siege names and forbid flowery names?)

   [SELECT_SYMBOL:WAR:NAME_WAR]
   [SUBSELECT_SYMBOL:WAR:VIOLENT]
   [SELECT_SYMBOL:BATTLE:NAME_BATTLE]
   [SUBSELECT_SYMBOL:BATTLE:VIOLENT]
   [SELECT_SYMBOL:SIEGE:NAME_SIEGE]
   [SUBSELECT_SYMBOL:SIEGE:VIOLENT]
   [SELECT_SYMBOL:ROAD:NAME_ROAD]
   [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]
   [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]
   [SELECT_SYMBOL:WALL:NAME_WALL]
   [SELECT_SYMBOL:TEMPLE:NAME_BUILDING_TEMPLE]
   [SELECT_SYMBOL:LIBRARY:NAME_BUILDING_LIBRARY]
   [SELECT_SYMBOL:REMAINING:ARTIFICE]
   [SELECT_SYMBOL:REMAINING:EARTH]
   [CULL_SYMBOL:ALL:DOMESTIC]
   [CULL_SYMBOL:ALL:SUBORDINATE]
   [CULL_SYMBOL:ALL:EVIL]
   [CULL_SYMBOL:ALL:FLOWERY]
   [CULL_SYMBOL:ALL:NEGATIVE]
   [CULL_SYMBOL:ALL:UGLY]
   [CULL_SYMBOL:ALL:NEGATOR]
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else

milo christiansen

  • Bay Watcher
  • Something generic here
    • View Profile
Re: Name Generating
« Reply #7 on: August 08, 2016, 11:50:58 am »

AFAIK, yes.

Keep in mind I haven't really tested it, so I am not 100% sure...
Logged
Rubble 8 - The most powerful modding suite in existence!
After all, coke is for furnaces, not for snorting.
You're not true dwarven royalty unless you own the complete 'Signature Collection' baby-bone bedroom set from NOKEAS