Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

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

Reply
 
LinkBack Thread Tools Display Modes
Old 11-06-2011, 11:54 PM   #141 (permalink)
All Star Starter
 
Charlie Hough's Avatar
 
Join Date: May 2006
Posts: 1,880
Thanks: 58
Thanked 427x in 227 posts
Quote:
Originally Posted by RSA1066 View Post
I have been searching and I came across some stuff that suggested that player out put for American leagues is just hard coded. Is that true?
Try changing the ethnicities settings for your American leagues in the XML file. The U.S. is set by default for almost all of its players to be of U.S. (modern) and Hispanic ethnicity. My guess is that this means that almost all players will originate from America and from countries where the Hispanic ethnicity can be found.

You might need to change the ethnicities settings under the U.S. nation ID so that higher percentages come from your desired locations. The base total for the U.S. is 3000, and the U.S. modern ethnicity has a value of 2500 in the file, while Hispanic has a value of 420. All the rest have a value of just 2, meaning that there will be very few players of those ethnicities. So try dramatically lowering the proportion for Hispanic and increasing the Asian and Indian representation considerably.

I can't guarantee that this will fix your problem, but it's my best suggestion.
Charlie Hough is offline   Reply With Quote
Old 11-07-2011, 10:08 AM   #142 (permalink)
Bat Boy
 
Join Date: Jun 2011
Posts: 9
Thanks: 0
Thanked 0x in 0 posts
Charlie, thanks for the suggestion. But even after I set Hispanic to zero, and gave all the Latin countries non-existent programs this is how my quickly made one league test league produced players.

US 526
Dominican 60
Venezuela 49
Puerto Rico 31
Mexico 23
Cuba 15
Canada 9
Panama 8
Italy 4
South Korea 3
RSA1066 is offline   Reply With Quote
Old 11-07-2011, 04:57 PM   #143 (permalink)
All Star Starter
 
Charlie Hough's Avatar
 
Join Date: May 2006
Posts: 1,880
Thanks: 58
Thanked 427x in 227 posts
Are you doing a historical fictional league or a contemporary one? And did you increase the representation from other countries whose baseball qualities you increased?

Based on your data, you may be right: nations of origin for players in American leagues may be hard coded. But this really goes against OOTP's tendencies over the years, which have been to allow total customization and not to hard code things like this.

Sorry I can't be more helpful. Maybe I'll try to do some testing and see what I can figure out. Or maybe post your question in the general forum so it will get a lot more attention.

Last edited by Charlie Hough; 11-07-2011 at 05:27 PM.
Charlie Hough is offline   Reply With Quote
Old 11-08-2011, 01:26 PM   #144 (permalink)
All Star Starter
 
Charlie Hough's Avatar
 
Join Date: May 2006
Posts: 1,880
Thanks: 58
Thanked 427x in 227 posts
I was able to get some info from Markus. Here is what he said about nations of origin for players in U.S. leagues.

Quote:
Yes, it is in fact hard-coded to provide best possible accuracy. Just going by baseball-quality would not allow this.

Going around this would require you to initially set the league up elsewhere and edit league & team nations after player creation.
According to Andreas at OOTP Developments:

Quote:
If you want to change the proportion of players in the USA with a modded world_default.xml file, there's an easy workaround: Edit the XML file and change both the ID and the name of the USA to something else.
Markus and Andreas also said that they plan to address this in OOTP13. Hopefully there will be an option in the XML file to bypass the hard coding.

Last edited by Charlie Hough; 11-08-2011 at 04:39 PM.
Charlie Hough is offline   Reply With Quote
Old 12-11-2011, 01:06 PM   #145 (permalink)
All Star Reserve
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 623
Thanks: 57
Thanked 130x in 94 posts
New problem: Is there any way to make changes in the world_default.xml file that will be reflected in an established game?

I have a league where I want to make some changes to reflect geopolitical changes, so I edited the world_default.xml file. Those changes, however, were not reflected in the in-game list of nations or nation editor. I can, however, still make changes in the nation editor.

To test whether my edits to the world_default file were to blame, I started a new league. The changes that I made in the world_default file all showed up in the nation list. So it seems that changes to the world_default file will be incorporated into a new game, but they won't be incorporated into an existing game.

I also re-imported the name and ethnicity databases after making changes to the world_default file, but that didn't help. Is there any way to do something similar with the world_default file and "re-import" it?
joefromchicago is offline   Reply With Quote
Old 12-12-2011, 01:17 PM   #146 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 6,720
Thanks: 200
Thanked 1,393x in 513 posts
Quote:
Originally Posted by joefromchicago View Post
New problem: Is there any way to make changes in the world_default.xml file that will be reflected in an established game?

I have a league where I want to make some changes to reflect geopolitical changes, so I edited the world_default.xml file. Those changes, however, were not reflected in the in-game list of nations or nation editor. I can, however, still make changes in the nation editor.

To test whether my edits to the world_default file were to blame, I started a new league. The changes that I made in the world_default file all showed up in the nation list. So it seems that changes to the world_default file will be incorporated into a new game, but they won't be incorporated into an existing game.

I also re-imported the name and ethnicity databases after making changes to the world_default file, but that didn't help. Is there any way to do something similar with the world_default file and "re-import" it?
Unfortunately, there is no way to re-import a world XML file at the moment.
Andreas Raht is offline   Reply With Quote
Old 12-12-2011, 03:41 PM   #147 (permalink)
All Star Reserve
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 623
Thanks: 57
Thanked 130x in 94 posts
Thanks, Andreas, for the response, but I just have to say: wow! The world_default.xml file is really screwed up. It certainly limits the usefulness of the file if no changes can be made to it once a game has been started.

I'll just reiterate that I think having all of this information in an xml file is a good idea. I'm disappointed, though, that it has been so fatally flawed in practice, and I can only hope that version 13 will fix all of these problems.
joefromchicago is offline   Reply With Quote
2 thanks for this post:
albatross11 (12-12-2011), Chicagofan76 (12-12-2011)
Old 01-05-2012, 08:55 PM   #148 (permalink)
Stu
All Star Starter
 
Stu's Avatar
 
Join Date: Dec 2005
Posts: 1,249
Thanks: 17
Thanked 16x in 8 posts
Quote:
Originally Posted by Muzamba View Post
Again, if you're patient, you might save yourself a lot of work by waiting for the next big update/patch that should be coming out in a few weeks. It will implement the option to set up leagues in specific regions. This means all you'll have to do is create a region that includes only the state of Pennsylvania. (In other words, you'll only need to add about 3 lines of code to the database instead of altering most of the rest of the database. )
Was this functionality added in one of the patches? If so can somebody explain how to use it? I'd like to create a New England league. I see the region is defined in the world_default.xml already but not sure how to create a league using just that region. Any help would be appreciated.
__________________
Brewers League Baseball
Stu is offline   Reply With Quote
Old 01-06-2012, 03:13 AM   #149 (permalink)
Syt
Minors (Double A)
 
Syt's Avatar
 
Join Date: Apr 2009
Location: Vienna, Austria
Posts: 121
Thanks: 25
Thanked 41x in 27 posts
Quote:
Originally Posted by Stu View Post
Was this functionality added in one of the patches? If so can somebody explain how to use it? I'd like to create a New England league. I see the region is defined in the world_default.xml already but not sure how to create a league using just that region. Any help would be appreciated.

I don't think it was. I've shelved my pan-Euro league for now, because having to set one single league nation creates all kinds of wonkiness (e.g. owners/coaches/managers being generated almost exclusively with league's nationality instead of teams' nationality).
__________________
One strikeout is a tragedy, a million strikeouts are statistic.
- "Stallin' Joe" Dshugashvili, Manager of the Moscow Red Stars 1922-53
Syt is offline   Reply With Quote
Old 01-26-2012, 03:53 PM   #150 (permalink)
Hall Of Famer
 
Join Date: Jun 2004
Posts: 4,219
Thanks: 1,496
Thanked 1,318x in 521 posts
nm
__________________

Last edited by cephasjames; 01-26-2012 at 07:07 PM.
cephasjames is offline   Reply With Quote
Old 03-09-2012, 02:36 PM   #151 (permalink)
Minors (Rookie Ball)
 
sabby787's Avatar
 
Join Date: Jan 2012
Location: Arizona
Posts: 31
Blog Entries: 3
Thanks: 3
Thanked 11x in 4 posts
EDIT: Nevermind, after reading over the topic I think all my questions were previously answered.

Last edited by sabby787; 03-09-2012 at 02:52 PM.
sabby787 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
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

BB 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 01:18 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments