Jump to content
XCOMUFO & Xenocide

Name's Database


LordT

Recommended Posts

I was thinking about the name's database and how it's going to be done.

My thought is that maybe I could make a web-based app where everyone (read: every project member) can submit names for different countries/languages into a database when they feel like it. Then the xml-doc can be generated on a weekly or so basis by someone.

 

Should I go ahead with this? Do you have any suggestions as for what kind of features that should be availible? Did we have a final structure on the file?

Link to comment
Share on other sites

If so make sure to include a validator to prevent repeat names. Also would need a case checker, unless the names will be reformatted to prevent bOb SmItH type entries. That's probably a given I guess. Last I heard the names were divided by language, so there would need to be a list box for that.

 

Edit: I think Mikker mentioned that russian last names vary depending on gender too. Didn't know if this is a widespread issue, but I don't think that last names were split out by gender like the first names. It could be implemented though, just duplicating names for both where it's not an issue.

Edited by Breunor
Link to comment
Share on other sites

Guest Jim69
A suggestion? 4 each name collect first and last names, sex and location. Then u could just have a list box 4 each gender, and collect them that way. If 30 peeps know 30 names of peeps, their sex and country of birth then thats 900 names. And I'm sure there is more than 30 peeps out there, and they probably know more than 30 peeps.
Link to comment
Share on other sites

Edit: I think Mikker mentioned that russian last names vary depending on gender too.

I believe that was me. And it is not only with Russian, but with most Eastern Europe countries.

 

I think that it is better to collect first and last name separately. Each name would have an attribute, indicating gender (male/female/both), country or nationality, etc.

Then those 2 lists will be used together to generate a name. The uniqueness need to be ensured in the game itself.

 

As for the lower/upper case: some last name have them both. McDonald, LePeep, etc. So, the names should be casesensitive and someone will need to do an occasional proofread to fix any 'bOb' kind of spellings.

Link to comment
Share on other sites

Guest Jim69

Well, if u collect the whole names and gender's then u can split the lists pretty easily l8r. Or even program the form 2 create 2 lists, 1 with 1st name sex and nationality, the other with last name etc.

 

Edit: Not sure that post corresponds with what u just said, but I'm tired so I'm goin 2 sleep :(

Edited by Jim69
Link to comment
Share on other sites

So I could do it this way:

 

 

[choose]

* Male

* Female

[/choose]

 

[choose]

* Forename

* Lastname

[/choose]

 

Entry:

[textbox]

 

Country/language <- we need to assemble this list soon

[drop-down]

Link to comment
Share on other sites

Last names and First names should be added separatly, take a look at the DB I posted ages ago... the only thing I didnt include was Eastern Europe strange issues with last names :LOL: ... Seriously I didnt know that by then, so take a look at it and see how to improve it.

 

Greetings

Red Knight

Link to comment
Share on other sites

[choose]

* Male

* Female

[/choose]

 

[choose]

* Forename

* Lastname

[/choose]

Some names (and first and last) could be applied to both male and female, so i think we need a 'both' choice too.

 

Eastern Europe strange issues with last names

You should visit Eastern Europe. The name issue will be the least 'strange', I promise.

Link to comment
Share on other sites

rk: in Poland the lastname depends on gender (mostly). E.G Male is "Jan Kowalski" but famale is "Anna Kowalska". As you can see it's quite simple :). "-ski" from male lasname changes into "-ska" for famale lastname.

However I don't know how it is in other eastern europe countries but it's similar probably.

Link to comment
Share on other sites

I set up a little place-holder form here: http://xenocide.ru/temp/names/

k, good.. Now you only need to make it work and probably it would be a good idea to put the link to your sig too. Like RK is advertising his topic in his sig..

Link to comment
Share on other sites

Not yet... i want it working first :)

 

Anyway, you can now submit names and languages to it. However this is just a test and any info you post will likely have to be re-entered but DO try it out and search for bugs :)

 

If you don't want to scroll upwards 1-2 posts then here's the URL again: http://xenocide.ru/temp/names/

Link to comment
Share on other sites

Hmm, I tried it by adding the language 'French', and then tried to enter a first name. I try to pick the language, but there's only Swedish as an option :huh?: OK, back to submit language, and try again to add French, but it says 'language already in datafile'. So I try to enter a name again, but still no French there. Eventually it shows up and lets me enter a name, but when I tried a second one the only option was Swedish again :sly:

Is this some scheme you put up so 99% of the entered xcom soldier names will be Swedish?? :hammer:

 

edit: also, view database doesn't work... or is that normal?

 

edit2: What's wrong is: when adding a name you can only select 'Swedish', or 'select a language'. When you leave it at 'select a language' when submitting a name, it erases the form but suddenly you can pick the other languages... :huh:

Edited by j'ordos
Link to comment
Share on other sites

rk: in Poland the lastname depends on gender (mostly). E.G Male is "Jan Kowalski" but famale is "Anna Kowalska". As you can see it's quite simple :). "-ski" from male lasname changes into "-ska" for famale lastname.

However I don't know how it is in other eastern europe countries but it's similar probably.

It is not just 'ski' and 'ska', there are much more variations to that.

 

I was able to add a language and the name, so far without any problems.

Link to comment
Share on other sites

Actually, it should be changed from 'language' to 'country'. For, now I suggest to use only those countries which were listed in original game (so, add country/delete country feature must be removed).

on the other hand, same names could be used in several different countries, for example, US, UK, AU. We need a mechanizm to deal with that too.

Link to comment
Share on other sites

Hmm, make a list of all the relevant countries and then all the relevant languakes, then link those together and them into the names and you're set.

 

What I mean is, that you connect to the country all the languakes that are present there. Then you check from those languakes what names are appropriate...

Link to comment
Share on other sites

Hmm, make a list of all the relevant countries and then all the relevant languakes, then link those together and them into the names and you're set.

 

What I mean is, that you connect to the country all the languakes that are present there. Then you check from those languakes what names are appropriate...

Yep, that's how it was structured in the xml-file so that's how I made it.

 

Look again, big update, everything works (should anyway) except for file generation.

 

edit: btw I need more suggestions for the list of continents, my geography isn't what it should be...

Edited by LordT
Link to comment
Share on other sites

I think that list of continents is OK, there won't be many recruits from Antarctica :D

One question though: Why is 'Europe' listed twice as a continent?

Because.. uh... my bad?

 

Edit: so, there, *fixed*

Edited by LordT
Link to comment
Share on other sites

Ive just been having a mess with it.

 

Can I make a suggestion? The ability to add more than one name at a time would be nice. Perhaps youve already done this and Ive not noticed, but can you use a delimiter to make a list, or have a multi line entry box? If I have more than one name it would speed things up.

 

Oh, and the 'delete a name' bit should probably be check boxes not radio buttons, so that you can delete more than one at a time.

Link to comment
Share on other sites

Ive just been having a mess with it.

 

Can I make a suggestion? The ability to add more than one name at a time would be nice. Perhaps youve already done this and Ive not noticed, but can you use a delimiter to make a list, or have a multi line entry box? If I have more than one name it would speed things up.

 

Oh, and the 'delete a name' bit should probably be check boxes not radio buttons, so that you can delete more than one at a time.

I dont know... I could try but I can't promise anything :)

Link to comment
Share on other sites

For stats in England:

 

50% African

45% Middle Eastern

5% Causican.....

 

About right isn't it?

 

Seriously though, it seems exceedingly good...

Edited by dipstick
Link to comment
Share on other sites

Much better!

 

Input the name(s): (Newlines seperat)

Spelling mistake? Wordings a tad strange too.

Bah, I just added (s):es for most words :)

I'll look into language later.

Link to comment
Share on other sites

Mamutas: With the new names.xml format, the mechanism for multi-ethnic (UK, US, Australai) is to make a fake country called something like "english-sounding" and add the names to that. Names groups are no longer tied to continents for exactly this reason.
Link to comment
Share on other sites

Mamutas: With the new names.xml format, the mechanism for multi-ethnic (UK, US, Australai) is to make a fake country called something like "english-sounding" and add the names to that. Names groups are no longer tied to continents for exactly this reason.

Well, I guess you can call it 'language', not 'english-sounding'

For example,

 

country = US

languages = english, spanish, french, chinese, japanese

 

umm, i guess i need to check that structure first...

nevermind

Link to comment
Share on other sites

  • 1 month later...

Everything is done and the Names Database Interface is up for use at http://www.projectxenocide.com/namesdatabase/

 

Enjoy :)

 

I made one miniscule change though, I scrapped the either attribute in the xml-file, instead, names that's marked as "either" will be placed in both male and female groups.

 

It's easy to change it back if you don't like it.

Link to comment
Share on other sites

I've added password protection for deletions now.

Good. I started wondering about who would wonder onto the page after you added the announcement to the calender. I think I'll add the great country of Micona, which speaks American :P

Link to comment
Share on other sites

I'm calling out to the person who posted polish names: Do they look correct (have the right chars) when you view them in the XML-file?

I'm a little concerned about character encoding and how it will import into the game....

Link to comment
Share on other sites

And just as important: Do they view correctly using Xenocides font? I can't remember if it is a custom font or not. If it is, there may not even be the characters that are being referred to in it. And even if there are it may not be the same character when the font is changed.

 

A solution is to not include special characters, but to replace them with the standard characters.

Link to comment
Share on other sites

I just checked, the Xenocide font doesn't support any special characters save from :;?()'.

 

So we could have a problem

 

Edit: Ignore, it was just the way I was looking at them. Here's a pic of all the special characters supported.

post-27-1063569601_thumb.jpg

Edited by Jim69
Link to comment
Share on other sites

Well thats good, but I'm still at a loss on how the mysql database stores/recieves the characters.

We'll have to see, until then, don't post any names with any characters outside of the Western ISO-8859-1 standard.

Link to comment
Share on other sites

×
×
  • Create New...