Home | Webstore
Latest News: OOTP 26 Available - FHM 11 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 26 > OOTP Mods > OOTP Mods - Names and Nations

Reply
 
Thread Tools
Old 02-14-2022, 03:57 PM   #1
lionden_56
Minors (Double A)
 
Join Date: Mar 2015
Posts: 101
How does Ethnicity percent work/does it do anything

I'm working on creating some nations that I want to have a nice mix of diversity in the names coming out of them. However, it appears that when OOTP creates players from these nations, it ONLY looks at the ETID in the nation header, and not at the ethnicity percent below it.

As a test, I created a nation like this:

<NATION id="263" name="Sagittaron" pop="1700000000" etid="2" capid="95470" gender="0" bbqual="2" abbr="SAG" dem="Sagittaronese" time_zone="0" observes_dst="0">
<ETHN_PCTS>
<ETHN_PCTS etid="2" pct="50" />
<ETHN_PCTS etid="0" pct="50" />
</ETHN_PCTS>

So the header ethnicity is Japanese, but the percents are 50/50 Japanese and American. In theory, shouldn't this create 50% Japanese named/ethnic players and 50% American named/ethnic players, or am I completely misunderstanding what those lines are supposed to do? Because when I generated the players (after-reloading all the databases and everything), it only generated players with Japanese names from that country. And when I go into the Nation Editor, it only shows Japaneese as 100%, with no way that I can figure out to add another ethnicity.
lionden_56 is offline   Reply With Quote
Old 02-15-2022, 09:59 PM   #2
lionden_56
Minors (Double A)
 
Join Date: Mar 2015
Posts: 101
So for anyone wondering, I figured it out. It turns out the tags changed sometime between 2020 and 2022 for the ethnicity percentages.

In previous versions, this would have been correct, as it is how my transferred save's world xml file looks:
<ETHN_PCTS>
<ETHN_PCTS etid="2" pct="50" />
<ETHN_PCTS etid="0" pct="50" />
</ETHN_PCTS>

However, in this year's world xml file, it looks like the inline tags, dropped the S:
<ETHN_PCTS>
<ETHN_PCT etid="2" pct="50" />
<ETHN_PCT etid="0" pct="50" />
</ETHN_PCTS>

I did that, and it worked perfectly. I now see both ethnicities listed on the editor screen as 50/50, and by eyeballing it, it looks like generated players follow that ratio as well.

This was probably a problem that is unique to me as I had done all the worldbuilding work on a previous version and wanted to save myself some time by copying and pasting, but hey, just in case anyone else runs into that problem, there you go.
lionden_56 is offline   Reply With Quote
Reply

Bookmarks


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:05 AM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments