Author Topic: Player Names Database  (Read 136 times)

Grenville

  • Administrator
  • Jr. Member
  • *****
  • Posts: 91
    • View Profile
Re: Player Names Database
« on: September 11, 2018, 07:15:42 pm »
Thanks mate, good thread and appreciate you jumping on it. Can confirm the game has 2x text files, one for first names, and one for last names. It picks from them completely at random for any generated person (staff/player etc)

I could support a weighting and make firstnames.txt a .csv so that you can easily boost names without having to copy/paste many lines. EG:

Andrew,5
Boris,1
Chris,3
David,5
Edmund,1
etc etc

No spaces, one name/weighting pair on each line. When i read the file in It'll build out an in memory collection with 5x Andrews and randomly pick from that. Lets be a little conservative with it so we dont end up with millions of records in there.