![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Silent Hunter
![]() Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
|
![]()
Yeah, this will probably go down as the most tedious, time consuming mod in the history of SH4.
![]() Hermas, Hollis, and General (yes, someone named their kid General ![]() and last names, including: Beutelspacher, Boo, and Argersinger This is going to take a long time to complete, but I vow to complete it. More news to come later. ![]() |
![]() |
![]() |
![]() |
#2 |
Torpedoman
![]() Join Date: Apr 2005
Location: Wales U.K.
Posts: 119
Downloads: 304
Uploads: 0
|
![]()
Great idea Luke.Who on earth thought up these names?I know you Americans come up with some pretty exotic ones sometimes but ' Alexander Wreford B Brighton' and 'Earle Teddy A Lander' ? COME ON! :rotfl:
|
![]() |
![]() |
![]() |
#3 |
Captain
![]() Join Date: Mar 2007
Posts: 508
Downloads: 104
Uploads: 0
|
![]()
I think the problem with the names might go a bit deeper than just the database.
A typical US/American name will either be... <firstname> <lastname> or...It's pretty obvious that first names and middle names come from the NormalUSNames list, while last names come from the Surnames list. Middle initials are apparently generated by the code (I don't see a list of middle initials anywhere). I'm guessing somewhere in the real code is a sort of name building algorithm which randomly selects an entry from each of the lists and chains them together, based on a probability for inclusion for each name element (firstname, middlename, middleinitial, lastname). Apparently, the probability for first and last names being included is 1, while middle name and middle initial are both less than 1 but greater than 0. As a result there is a possibility of generating a combination that looks like this: <firstname> <middlename> <middleinitial> <lastname>If this is so, it's probably because the process is missing a step. There should be a function to exclude middle name when middle initial is selected, and vice-versa. Or at least that's how it looks to me. And if I'm right, unless we can find whatever controls the format for building a name from those lists you're editing, we're still going to end up with silly names upwards of (apparently) 25% of the time. JD Last edited by jdkbph; 08-05-07 at 10:51 AM. |
![]() |
![]() |
![]() |
#4 |
Navy Seal
![]() Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
|
![]()
How is it the crew can have long names, but the player is limited to so few characters?
tater |
![]() |
![]() |
![]() |
#5 |
Eternal Patrol
![]() |
![]()
Well done, LukeFF! JScones put something similar into SH3 Commander, but he was allowed to use Uboat.net's database of all known u-boatmen (at least I think that's what he said).
This will be good to see; I'm just glad it's you doing it and not me.:rotfl: ![]()
__________________
“Never do anything you can't take back.” —Rocky Russo |
![]() |
![]() |
![]() |
#6 | |
Navy Seal
![]() Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
|
![]() Quote:
![]() Note, in my list duplicate names were included to reflect commonality. I assume that will also be the case here? Otherwise Hermis will appear just as much as John. ![]() One problem you may have to watch out for are created names being too long for the game display. In SH3Cmdr, I tested the resulting name to make sure that it wasn't longer than SH3's display width. Without such a test, long names may run the risk of appearing truncated. Not a biggy, just something to watch out for. Last edited by JScones; 08-05-07 at 07:17 PM. |
|
![]() |
![]() |
![]() |
#7 | |
Silent Hunter
![]() Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
|
|