107 coaches online • Server time: 14:55
Index Search Usergroups Profile
Log in
Recent Forum Topics goto Post June FUMBBL Fundrais...goto Post Quality of Life chan...goto Post Sport Bets in Blood ...
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
Christer



Joined: Aug 02, 2003

Post   Posted: Apr 04, 2020 - 11:43
FUMBBL Staff
Reply with quote Back to top

Coach roante recently posted about a name generator extension he had put together, which to me was pretty cool and got me thinking. I approached him about it and after a quick chat he was happy for me to integrate the name generator natively to the site.

Now, I didn't want to implement it directly as-is since I wanted to allow support for different gender players (which is a feature that has been available on the site for quite a while), so I took roante's work and did an adaptation for it.

Now, for various reasons, I have chosen to not take *all* of the generators he had in his project and I also chose to implement it server-side rather than in a client-side javascript.

So how does this work? Well, it's pretty simple. When you open up the dialog to buy a player, the player name will have a "placeholder" name already in place. Not typing anything in this box will use the placeholder name instead. You choose the position, gender and number and buy the player. The process should be pretty obvious.

Now, for the more technically minded, I added the name generator as a public API endpoint:

https://fumbbl.com/api/name/generate

This will generate a random name, using the "default" generator. As you may imagine, there are other non-default generators as well, for example:

https://fumbbl.com/api/name/generate/orc

In addition to this, you can specify a gender, which some generators take into account (Valid genders are "male", "female" and "neutral"):

https://fumbbl.com/api/name/generate/amazon/male

And finally, a list of available generators is available through:

https://fumbbl.com/api/name/list

As you can probably see, there are a limited amount of name generators and I'm looking for ideas for adding more of them. An idea here wouldn't be "add one for race X", but more details about how to generate suitable names for that race, separated by gender if that applies and links to suitable name lists (the current generators has somewhere around 7-8000 name parts total).

Also, please let me know if you run into unsuitable names (offensive or names of extremely prominent characters from fantasy literature; we're talking Legolas prominency here, not just some random side-character in a random fantasy novel).
Purplegoo



Joined: Mar 23, 2006

Post   Posted: Apr 04, 2020 - 12:06 Reply with quote Back to top

This is pretty cool stuff, as I was loosely aware that having to go to the trouble of naming players was a slight barrier for one or two.

Great work!

_________________
NAF TD.
MattDakka



Joined: Oct 09, 2007

Post   Posted: Apr 04, 2020 - 12:08 Reply with quote Back to top

Thanks for the implementation of the name generator!
Just an observation: Amazons' names should be female-only names by default, and so Witch Elves' names.
Christer



Joined: Aug 02, 2003

Post   Posted: Apr 04, 2020 - 12:53
FUMBBL Staff
Reply with quote Back to top

For amazons and witch elves, I assumed they were set to female by default. I'll double-check the ruleset though to make sure.

If they're not, it's a bug.
Timetis



Joined: Mar 31, 2014

Post   Posted: Apr 04, 2020 - 13:07 Reply with quote Back to top

Lovely new feature. Cheers Chister and roante.

Do the new name lists apply to newly generated loners too? Or is George Darkhammer here to stay?
roante



Joined: Jan 12, 2013

Post   Posted: Apr 04, 2020 - 14:44 Reply with quote Back to top

YAAAAY! Spotlight! Thanks for the highlight, Christer! Smile


Last edited by roante on Apr 05, 2020 - 09:40; edited 1 time in total
Christer



Joined: Aug 02, 2003

Post   Posted: Apr 04, 2020 - 15:23
FUMBBL Staff
Reply with quote Back to top

Timetis wrote:
Do the new name lists apply to newly generated loners too? Or is George Darkhammer here to stay?


Not yet.
PurpleChest



Joined: Oct 25, 2003

Post   Posted: Apr 04, 2020 - 16:16 Reply with quote Back to top

Trevor Fistcock is doomed.

Awesome work boss.

_________________
Barbarus hic ego sum quia non intelligor ulli
I am a barbarian here because i am not understood by anyone
Tripleskull



Joined: Oct 12, 2003

Post   Posted: Apr 04, 2020 - 18:15 Reply with quote Back to top

I love this feature. Thanks a lot.
Badoek



Joined: May 17, 2009

Post   Posted: Apr 04, 2020 - 19:24 Reply with quote Back to top

Great stuff!
Joost



Joined: Mar 17, 2014

Post   Posted: Apr 04, 2020 - 20:18 Reply with quote Back to top

This is a really great feature. naming Elves is a lot easier now. Thanks Roante / Christer!
grant85



Joined: Dec 19, 2005

Post   Posted: Apr 04, 2020 - 20:18 Reply with quote Back to top

so happy to see this added. cheers and thanks!
MercutioT



Joined: Mar 19, 2015

Post   Posted: Apr 05, 2020 - 15:38 Reply with quote Back to top

Wonderful little feature. One thing I'd point out (since 'neutral' is an option) is that the current Lizardmen settings default to male, but Lizardmen are not supposed to have gender.
(The Lizardman codex states this explicitly, and the lizardmen stars have always had distinctly androgynous-sounding names)
One more mosaic tile in the quest for perfection....
sann0638



Joined: Aug 09, 2010

Post   Posted: Apr 05, 2020 - 16:23 Reply with quote Back to top

love it. Time for a "silliest autoname" competition. Or "first autonamed legend".

_________________
Image
NAF Ex-President
Founder of SAWBBL, Wiltshire's BB League @ sawbbl.uk
awambawamb



Joined: Feb 17, 2008

Post   Posted: Apr 05, 2020 - 17:35 Reply with quote Back to top

"92 minutes of applause"

Smile

_________________
"la virtú sta nel cielo e nella terra, ma anche nelle nuvole e nelle stelle"

Image
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic