Latest News: OOTP PATCH 9.2.2 released! - OOTP 9 RELEASED! - Title Bout Championship Boxing 2.5 released! - OOTP 2007 receives Editors Choice Award from PC Gamer - Inside the Park Baseball Patch 1.03 released, DEMO now available

Click here to download Out of the Park Baseball 9!

Go Back   OOTP Developments Forums > Out of the Park Baseball 8/2007 > OOTP 8/2007: General Discussions
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

OOTP 8/2007: General Discussions Talk about our upcoming version of the game...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 04-07-2007, 12:53 PM   #1 (permalink)
All Star Reserve
 
Kyros's Avatar
 
Join Date: May 2006
Posts: 981
Please help me understand this.

Guys, I know this has been covered before but please forgove for not catching on on how this is done.

I want to start a league in the 1940's and I want about 97% American (white and black) names with about 3% hispanic names. How do I get this to work? I knw I have to edit the database files (txt files) but I do not know what to edit and where.

Thanks!
Kyros is offline   Reply With Quote
Old 04-07-2007, 03:03 PM   #2 (permalink)
Administrator
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 14,255
There's an important distinction between nationality and names.

Are you saying you want everyone from the US, but with 97% american names, and 3% hispanic names?

Because that's very different from 97% from the US and 3% from only certain hispanic countries.
battists is offline   Reply With Quote
Old 04-07-2007, 05:36 PM   #3 (permalink)
All Star Reserve
 
Kyros's Avatar
 
Join Date: May 2006
Posts: 981
Quote:
Originally Posted by battists View Post
There's an important distinction between nationality and names.

Are you saying you want everyone from the US, but with 97% american names, and 3% hispanic names?

Because that's very different from 97% from the US and 3% from only certain hispanic countries.
Yes, this is what I am looking to have. Thanks.
Kyros is offline   Reply With Quote
Old 04-07-2007, 05:51 PM   #4 (permalink)
Minors (Double A)
 
Join Date: Nov 2002
Posts: 185
Yeah, this can get confusing. I've been wondering this also.
chippered is offline   Reply With Quote
Old 04-07-2007, 07:50 PM   #5 (permalink)
All Star Starter
 
SandMan's Avatar
 
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 1,869
Quote:
Originally Posted by Kyros View Post
Yes, this is what I am looking to have. Thanks.

In game set the foreigner pct to 0%.

Make backup copies of your Nations and Ethnicities txt files.

IN the nations.txt file change the file to read 0,97,1,3 where you have the 0,71,1,27 and zero out the 2,2. this will leave you with the results you want.

Now I would use the historical file instead of the US names list so I would have the 0,97 be 39,97.

If you are playing prior to Afro-Americans were in baseball then you would change the ethnicities.txt file 39 or 0 depending on the one you are using and simply put 1000 in the caucasion field and 0 in the rest.

After the game loads you can then put your original Nations.txt and ethnicities.txt files into the data folder.


I did this for my Wisconsin League and it worked well although I had Black players in the league, but very few hispanics. Based my league on US Census data (which I have for each state).
SandMan is offline   Reply With Quote
Old 04-08-2007, 06:07 PM   #6 (permalink)
Administrator
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 14,255
Quote:
Originally Posted by SandMan View Post
In game set the foreigner pct to 0%.

Make backup copies of your Nations and Ethnicities txt files.

IN the nations.txt file change the file to read 0,97,1,3 where you have the 0,71,1,27 and zero out the 2,2. this will leave you with the results you want.

Now I would use the historical file instead of the US names list so I would have the 0,97 be 39,97.

If you are playing prior to Afro-Americans were in baseball then you would change the ethnicities.txt file 39 or 0 depending on the one you are using and simply put 1000 in the caucasion field and 0 in the rest.

After the game loads you can then put your original Nations.txt and ethnicities.txt files into the data folder.


I did this for my Wisconsin League and it worked well although I had Black players in the league, but very few hispanics. Based my league on US Census data (which I have for each state).

SandMan speaks truth. Word.
battists is offline   Reply With Quote
Old 04-08-2007, 06:08 PM   #7 (permalink)
All Star Reserve
 
Kyros's Avatar
 
Join Date: May 2006
Posts: 981
Quote:
Originally Posted by SandMan View Post
In game set the foreigner pct to 0%.

Make backup copies of your Nations and Ethnicities txt files.

IN the nations.txt file change the file to read 0,97,1,3 where you have the 0,71,1,27 and zero out the 2,2. this will leave you with the results you want.

Now I would use the historical file instead of the US names list so I would have the 0,97 be 39,97.

If you are playing prior to Afro-Americans were in baseball then you would change the ethnicities.txt file 39 or 0 depending on the one you are using and simply put 1000 in the caucasion field and 0 in the rest.

After the game loads you can then put your original Nations.txt and ethnicities.txt files into the data folder.


I did this for my Wisconsin League and it worked well although I had Black players in the league, but very few hispanics. Based my league on US Census data (which I have for each state).

The line in the file looks like this;
206,The United States,U.S.A.,USA,American,4,5,0,73,1,27,0,0,0,0,1 23,30,716,6,125


So, which ones am I changing? I ask because it doesn't appear to match up with what you have. Then again I am probably not understanding.

But, like you said - I DO want black players in my league and I would like to use the "historical" name file.


Thanks.



EDIT: Basically, I want 3& Hispanic, 96% American (black AND white), 1% east indian.

Last edited by Kyros : 04-08-2007 at 06:11 PM.
Kyros is offline   Reply With Quote
Old 04-08-2007, 06:12 PM   #8 (permalink)
Administrator
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 14,255
Quote:
Originally Posted by Kyros View Post
The line in the file looks like this;
206,The United States,U.S.A.,USA,American,4,5,0,73,1,27,0,0,0,0,1 23,30,716,6,125


So, which ones am I changing? I ask because it doesn't appear to match up with what you have. Then again I am probably not understanding.

But, like you said - I DO want black players in my league and I would like to use the "historical" name file.


Thanks.
206,The United States,U.S.A.,USA,American,4,5,39,97,1,3,0,0,0,0,1 23,30,716,6,125

That's what the nations.txt line should look like, if you want to use the Historical set. 97% American, 3% Hispanic

Now, if you're using FaceGen, you would want to tweak the ethnicities.txt file.

Specifically, this line:

39,U.S. (Historical),25,0,0,875,100,

The last 5 numbers there are the chances of having african, asian, east indian, caucasian, and hispanic faces for players with American names.

By default, it's set to:

87.5% Caucasian
10% Hispanic
2.5% African

These are the facial types to be used for the 97% of players who will have Historical U.S. names.
battists is offline   Reply With Quote
Old 04-08-2007, 06:22 PM   #9 (permalink)
All Star Reserve
 
Kyros's Avatar
 
Join Date: May 2006
Posts: 981
Quote:
Originally Posted by battists View Post
206,The United States,U.S.A.,USA,American,4,5,39,97,1,3,0,0,0,0,1 23,30,716,6,125

That's what the nations.txt line should look like, if you want to use the Historical set. 97% American, 3% Hispanic

Now, if you're using FaceGen, you would want to tweak the ethnicities.txt file.

Specifically, this line:

39,U.S. (Historical),25,0,0,875,100,

The last 5 numbers there are the chances of having african, asian, east indian, caucasian, and hispanic faces for players with American names.




By default, it's set to:

87.5% Caucasian
10% Hispanic
2.5% African

These are the facial types to be used for the 97% of players who will have Historical U.S. names.
Thanks!

Now, how do I go about selecting the "historical" names in game. Does it just happen or do I ahve to check a box?

Also, I do want to use FaceGen so if I want about 35% black players in my league with about 3% Hispanic and the rest white - what should that line look like then? I am getting thrown off by the "African" section because I am thinking the names will be african.



EDIT:

Ahh - OK. I understand on how to do the ethnicities.txt file set-up now.
But I still need to know how I go about getting to use historical names and I am still not sure what the nations.txt file line should look like.


EDIT:

Man, I am getting the hang of this now. LOL. I was way off but now I beginning to understand this a bit lol. I think I'll be OK.

Last edited by Kyros : 04-08-2007 at 06:32 PM.
Kyros is offline   Reply With Quote
Old 04-08-2007, 06:30 PM   #10 (permalink)
All Star Starter
 
SandMan's Avatar
 
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 1,869
Quote:
Originally Posted by Kyros View Post
Thanks!

Now, how do I go about selecting the "historical" names in game. Does it just happen or do I ahve to check a box?

Also, I do want to use FaceGen so if I want about 35% black players in my league with about 3% Hispanic and the rest white - what should that line look like then? I am getting thrown off by the "African" section because I am thinking the names will be african.
39,U.S. (Historical),25,0,0,875,100,

becomes

39,U.S. (Historical),350,0,10,640,0,

No hispanic faces with American names because you are using ethnic set 1 also for the hispanic names.

You could change this to read

1,Hispanic,0,0,0,0,1000, if you want only hispanic (not black-hispanic nations) pics with the names.

Last edited by SandMan : 04-08-2007 at 06:39 PM.
SandMan is offline   Reply With Quote
Old 04-08-2007, 06:31 PM   #11 (permalink)
Administrator
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 14,255
Quote:
Originally Posted by Kyros View Post
Thanks!

Now, how do I go about selecting the "historical" names in game. Does it just happen or do I ahve to check a box?

Also, I do want to use FaceGen so if I want about 35% black players in my league with about 3% Hispanic and the rest white - what should that line look like then? I am getting thrown off by the "African" section because I am thinking the names will be african.
All of the name set stuff is defined in the text files, not "in-game".

By putting "39,97" in the nations.txt file, you're saying "I want 97% of my U.S. players to be named using name set # 39" - which just happens to be the Historical U.S. set. (0 is the "modern" U.S. set).

The ethnicities file controls only the facial types for the players. Facial types are tied to the name sets.

This is described pretty well in Section 29.2 of the manual:

So, let’s take a quick look at how OOTP selects a facial type.
  • You create a new game. For this example, let’s say our league is based in the <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-comffice:smarttags" /><st1lace w:st="on"><st1:country-region w:st="on">U.S.</st1:country-region></st1lace>, with no foreign players allowed.
  • OOTP starts to create players for the league. It looks in nations.txt for the <st1lace w:st="on"><st1:country-region w:st="on">U.S.</st1:country-region></st1lace> information, and finds this:
<o></o>
206,The <st1:country-region w:st="on">United States</st1:country-region>,<st1:country-region w:st="on">U.S.A.</st1:country-region>,<st1lace w:st="on"><st1:country-region w:st="on">USA</st1:country-region></st1lace>,American,4,5,0,73,1,27,0,0,0,0,123,30,716,6,125<o></o>
<o></o>
The relevant data are those in blue, which tell us that 73% of <st1:country-region w:st="on">U.S.</st1:country-region> players will use the <st1lace w:st="on"><st1:country-region w:st="on">U.S.</st1:country-region></st1lace> modern name set (0), and 27% will use the Hispanic name set (1).
<o></o>
  • OOTP begins generating 73% of the players using the <st1lace w:st="on"><st1:country-region w:st="on">U.S.</st1:country-region></st1lace> name set (0). It generates the first player, Harry Smith.
  • Next, it checks ethnicities.txt for the row for name set 0, and finds this:
<o></o>
0,<st1lace w:st="on"><st1:country-region w:st="on">U.S.</st1:country-region></st1lace> (Modern),400,10,10,500,80,<o></o>
<o></o>
The last five values tell us the likelihood in 1000 that each facial type will be used. OOTP “rolls the dice” and comes up with <st1lace w:st="on">Caucasia</st1lace>n. Harry Smith gets a <st1lace w:st="on">Caucasia</st1lace>n face.
<o></o>
  • This process repeats for the entire player generation process. When OOTP determines that the Hispanic name set should be used, it will use the Hispanic ethnicity data as well. <st1lace w:st="on">Ob</st1lace>viously, Hispanic names result in a much higher likelihood of Hispanic facial type being generated.
<o></o>
Of course, this model isn’t perfect. For homogenous name sets like <st1:country-region w:st="on"><st1lace w:st="on">Japan</st1lace></st1:country-region>ese, accuracy is high. However, the <st1lace w:st="on"><st1:country-region w:st="on">U.S.</st1:country-region></st1lace> name set is comprised of many different types of names, and there is no way for the game to distinguish between them. For example, the game could generate the name “<st1:City w:st="on">Harvey</st1:City> Klein,” and assign this name to an <st1lace w:st="on">Africa</st1lace>n face. Of course, you can always generate a new picture if you find one of these jarring results.

So, in your case, you probably want to change one line of your ethnicities.txt, as follows:

39,U.S. (Historical),350,0,0,650,0,

This means that out of the players who have U.S. Historical names, 35% will be African American, and 65% will be Caucasian.

The Hispanic-named players will use a different set of values:

1,Hispanic,300,0,0,50,650, (65% hispanic, 30% African, 5% Caucasian)

Last edited by battists : 04-08-2007 at 06:34 PM.
battists is offline   Reply With Quote
Old 04-08-2007, 06:36 PM   #12 (permalink)
Administrator
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 14,255
dola, stupid Word pasting into this forum

Read Section 29.2.

SandMan's is almost right. The only thing he did differently is that his values will give you 3% Hispanic faces out of the players with U.S. Historic names. You'll also get 3% Hispanic faces (or so) from the 3% of players who will use the Hispanic name set...

So, if you use SandMan's values, you'll end up with more than 3% overall Hispanic faces in your game, but not by too much.
battists is offline   Reply With Quote
Old 04-08-2007, 06:46 PM   #13 (permalink)
All Star Starter
 
SandMan's Avatar
 
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 1,869
Damn, cross-posts. I edited my message and then yours comes up with what I did wrong in the first one. DOH!!!!


Kyros. You got it. It is not hard once you get past that the nations and ethnicities control two different things. Pics and Names.
SandMan is offline   Reply With Quote
Old 04-08-2007, 06:52 PM   #14 (permalink)
All Star Reserve
 
Kyros's Avatar
 
Join Date: May 2006
Posts: 981
Ahh, OK. I completely understand this now.

Whew! I thought I would never get the grip of this but I got it now. I didn't mean for you fellas to hold my hand through this but thanks guys. It is very much appreciated!
Kyros is offline   Reply With Quote
Old 04-08-2007, 07:07 PM   #15 (permalink)
All Star Starter
 
SandMan's Avatar
 
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 1,869
Quote:
Originally Posted by Kyros View Post
Ahh, OK. I completely understand this now.

Whew! I thought I would never get the grip of this but I got it now. I didn't mean for you fellas to hold my hand through this but thanks guys. It is very much appreciated!

I had fun toying with this with my US States as Nations Leagues as well.... This is what makes this game great.... fiddling around with the data to create your own world.

Cheers!

Sandman
SandMan is offline   Reply With Quote
Old 04-09-2007, 06:03 PM   #16 (permalink)
All Star Reserve
 
Join Date: Mar 2004
Location: Tejas
Posts: 620
Ok, so I understand this...

If I wanted a copy of baseball in the early 1900s..

ethnicities.txt, I would add a line that says..

39,U.S. (Historical),0,0,0,1000,0, (since this line does not exist in my ethnicities.txt, many are missing, actually) This would list give all players in name set 39, caucasian faces then?
Bishop is offline   Reply With Quote
Old 04-09-2007, 06:48 PM   #17 (permalink)
All Star Starter
 
SandMan's Avatar
 
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 1,869
Yep...

I thought the ethnicities.txt file MUST have the 39 ID's to work. Learn something new everyday.
SandMan is offline   Reply With Quote
Old 04-09-2007, 06:50 PM   #18 (permalink)
All Star Reserve
 
Join Date: Mar 2004
Location: Tejas
Posts: 620
It may, but this is what was listed in mine.

Code:
//language id (do NOT change), language, african (1/1000),asian,east-indian,caucasian,hispanic,
0,English,400,10,10,500,80,
1,Spanish,300,0,0,100,600,
2,Japanese,0,1000,0,0,0,
3,Korean,0,1000,0,0,0,
4,Chinese,0,1000,0,0,0,
5,Portugese,100,0,0,200,700,
6,Dutch,40,20,10,900,30,
7,German,40,20,10,900,30,
8,French,240,20,10,700,30,
9,Italian,40,20,10,900,30,
10,Scandinavian,20,10,10,950,10,
13,Russian,0,50,50,900,0,
16,Scottish,20,10,10,950,10,
17,Arabic,300,10,100,500,90,
18,Irish,20,10,10,950,10,
32,Canadian,100,10,10,870,10,
33,French Canadian,100,10,10,870,10,
Bishop is offline   Reply With Quote
Old 04-09-2007, 09:39 PM   #19 (permalink)
Administrator
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 14,255
That's odd. The "production" version should have all 40 name sets included in the ethnicities.txt. file.

Anyway, your line is correct.
battists is offline   Reply With Quote
Old 04-09-2007, 11:09 PM   #20 (permalink)
All Star Reserve
 
Join Date: Mar 2004
Location: Tejas
Posts: 620
Quote:
Originally Posted by battists View Post
That's odd. The "production" version should have all 40 name sets included in the ethnicities.txt. file.

Anyway, your line is correct.
Is there anyway you can post that file here?

I think it -did- have all of those before the patch, to be honest, but I can't say for certain until my wife gets off the laptop.
Bishop is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:11 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 Out of the Park Developments