Home | Webstore
Latest News: OOTP 25 Available - FHM 10 Available - OOTP Go! Available

Out of the Park Baseball 25 Buy Now!

  

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

Reply
 
Thread Tools
Old 07-07-2011, 12:22 PM   #41
ukhotstove
Hall Of Famer
 
ukhotstove's Avatar
 
Join Date: Aug 2004
Location: North of England Gods Country
Posts: 7,175
Quote:
Originally Posted by Muzamba View Post
So if you want to see all the issues that have been discussed in this thread addressed soon, please take every opportunity you can to mention how important this is to you.
I don't think I'm speaking alone in saying that your posts have been invaluable as have reds1 recent posts, I'd also like to add in all honesty if it weren't for your replies I'd have actually given up on OOTP and stuck with 11 rather than carried on (maybe somebody needs to give you a pat on the back). Hopefully the questions we have come up with on these threads can be answered, specially in a manual.
ukhotstove is offline   Reply With Quote
Old 07-07-2011, 12:35 PM   #42
Chicagofan76
Banned
 
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
Quote:
Originally Posted by tylertoo View Post
C-fan, if you import your Endor league from 11, do you even need to tamper with the world_default.xml stuff? I thought that was only for newly created leagues? Unless you're starting from scratch?

Second of all, isn't there a demo of 12 that you could try all this in, before making the decision?
I could be wrong on this but i had thought that Muzumba or MarkMeister said that the cities & nations would not show up in a converted game.
Let's say that the initial game as i have it setup now will transfer, what happens for each draft and when i add expansion teams ( I do expansion almost every 3 sns from 2009 - 2020) Will the cities show up? Will the nations?

I deleted my beta version of 12 that I had 2 days before the game was released so I have no way to test this for now....unless someone with 12 wants to download 1 of my files from Padresfan to test this.
Chicagofan76 is offline   Reply With Quote
Old 07-07-2011, 12:38 PM   #43
ukhotstove
Hall Of Famer
 
ukhotstove's Avatar
 
Join Date: Aug 2004
Location: North of England Gods Country
Posts: 7,175
I've just sent a pm to both Markus and Andreas to ask them to clear up the questions that have arisen in this thread, no idea if a response will be on the horizon but hopefully it will and can put some of our minds at ease.
ukhotstove is offline   Reply With Quote
Old 07-07-2011, 06:28 PM   #44
Markmeister
Major Leagues
 
Markmeister's Avatar
 
Join Date: Feb 2002
Location: Kentucky
Posts: 463
Quote:
Originally Posted by Chicagofan76 View Post
I could be wrong on this but i had thought that Muzumba or MarkMeister said that the cities & nations would not show up in a converted game.
Let's say that the initial game as i have it setup now will transfer, what happens for each draft and when i add expansion teams ( I do expansion almost every 3 sns from 2009 - 2020) Will the cities show up? Will the nations?
It wasn't me - I haven't imported any 2011 legues yet as I was holding off until 2012 has been patched a few more times.
__________________
It's not that baseball has ever had a shortage of ways to embarrass yourself -- dropping an easy flyball, being the one guy Heathcliff Slocumb actually struck out, realizing you're Bud Selig...

Jersey style logos
Vintage letter logos
Vintage uniforms
Markmeister is offline   Reply With Quote
Old 07-07-2011, 06:37 PM   #45
Markmeister
Major Leagues
 
Markmeister's Avatar
 
Join Date: Feb 2002
Location: Kentucky
Posts: 463
Quote:
Originally Posted by cephasjames View Post
Check out TextPad (TextPad - the text editor for Windows). I have used it over Notepad, etc for awhile now. It's so much better and the find and replace feature is great.
I will have to try that out.

Notepad++ has its advantages, but the slowness is aggravating.

Hopefully I can find an xml editor that works better than what I have found so far.
__________________
It's not that baseball has ever had a shortage of ways to embarrass yourself -- dropping an easy flyball, being the one guy Heathcliff Slocumb actually struck out, realizing you're Bud Selig...

Jersey style logos
Vintage letter logos
Vintage uniforms
Markmeister is offline   Reply With Quote
Old 07-07-2011, 07:28 PM   #46
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 3,630
Quote:
Originally Posted by joefromchicago View Post
The problem, then, may be that the .xml file doesn't like WordPad. This bears closer scrutiny.
Well, the .xml file definitely doesn't like WordPad, but it apparently doesn't much care for Notepad either.

I made changes in the World_Default.xml file using Notepad. In general, I only changed bbqual ratings: I gave every nation in Asia and Africa a "0" rating, and the only Latin American nation to get above a "0" was Cuba with a "2." I then boosted a number of European nations' ratings: England and Germany went up to a "4," Ireland up to a "3," etc. I changed the US to having only one language id and ethnicity -- US Historical 39.

The game didn't crash or give me an error message, and, upon opening the program, it showed that all of the changes that I made in the .xml file "stuck."

Success, right? That's what I thought. Then I looked at the player pool. The result: the same old mix of US and Latin American players, as if I had never made any changes. The DR and Venezuela, which showed as having non-existent baseball programs (reflecting the changes I made in the .xml file), provided 540 and 446 players, respectively. In contrast, England and Germany, with good programs, provided 9 players each.

On the other hand, the US players no longer had any Hispanic names, but the names look like they were all drawn from the US Modern - 0 database rather than from the US Historical - 39 database that I had chosen. Oddly enough, it also appears that the game actually applied the changes I made in the ethnicities.txt file, but only for the US. Hispanic players continued to show a mix of Hispanic and African face types, even though I zeroed out the African rating.

I'm sure additional testing is warranted, but it's becoming more and more evident that these ethnicity and language id values are hardcoded in the game. There's no way that I can figure out how to change the national mix, which is a big disappointment to say the least.
joefromchicago is offline   Reply With Quote
Old 07-07-2011, 08:19 PM   #47
Markmeister
Major Leagues
 
Markmeister's Avatar
 
Join Date: Feb 2002
Location: Kentucky
Posts: 463
Joe,

See my post in the other default world.xml topic on how to change the United States to get early 20th century correct.

Basically you have to trick OOTP - renumber the country from 206 to something else (I used 300) and change the name to "United States". The only issue is a minor one. When you add a league with the wizard, there isn't a default nation since 'The United States' doesn't exist in your world. The cities are strange until you assign a nation (I don't remeber exactly what it is, but it was something like Team 1, Team 2, etc.)

I'm not sure why you were getting modern names instead of historical names. But Muzumba mentioned somewhere that the total of the US ethnicity percentages has to be 3000. If you had something else, that may be the issue.

Note: All of the other nations have to total up to 100.

This is what I am using for my world.

Code:
		<NATION id="300" name="United States" short="United States" pop="218840792" lid="39" gender="0" bbqual="5" abbr="USA" dem="American">
			<ETHNICITIES>
			<ETHNICITY lid="39" pct="2920" />
			<ETHNICITY lid="1" pct="40" />
			<ETHNICITY lid="7" pct="40" />
			</ETHNICITIES>

Also, did you just zero out African in ethnicities.txt? That doesn't work since the totals of the 5 ethnicities has to be 1000.
__________________
It's not that baseball has ever had a shortage of ways to embarrass yourself -- dropping an easy flyball, being the one guy Heathcliff Slocumb actually struck out, realizing you're Bud Selig...

Jersey style logos
Vintage letter logos
Vintage uniforms

Last edited by Markmeister; 07-07-2011 at 08:27 PM.
Markmeister is offline   Reply With Quote
Old 07-07-2011, 08:52 PM   #48
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 3,630
Quote:
Originally Posted by Markmeister View Post
Basically you have to trick OOTP - renumber the country from 206 to something else (I used 300) and change the name to "United States". The only issue is a minor one. When you add a league with the wizard, there isn't a default nation since 'The United States' doesn't exist in your world. The cities are strange until you assign a nation (I don't remeber exactly what it is, but it was something like Team 1, Team 2, etc.)
At the point that I have to invent an alternate USA is about the point that I give up on this whole thing. It just shouldn't be this difficult.

Quote:
Originally Posted by Markmeister View Post
I'm not sure why you were getting modern names instead of historical names. But Muzumba mentioned somewhere that the total of the US ethnicity percentages has to be 3000. If you had something else, that may be the issue.
I know that. I set the value at 3000.

But you're not telling me anything I don't already know. It's clear that you can make changes in Notepad that will change the values in the nation editor. I've done that. But, as I pointed out, those changes aren't reflected in the players that the game actually creates. When you create a game, what is the national breakdown of the player pool?

Quote:
Originally Posted by Markmeister View Post
Note: All of the other nations have to total up to 100.
Yeah, I know that too.

Quote:
Originally Posted by Markmeister View Post
Also, did you just zero out African in ethnicities.txt? That doesn't work since the totals of the 5 ethnicities has to be 1000.
Geez, give me some credit.
joefromchicago is offline   Reply With Quote
Old 07-07-2011, 10:08 PM   #49
Markmeister
Major Leagues
 
Markmeister's Avatar
 
Join Date: Feb 2002
Location: Kentucky
Posts: 463
Joe,

Changing the nation name to "United States" gave me 0 players from the nations that had no baseball talent which is exactly what I wanted. I'm not sure if changing the id# to 300 did anything, but since it worked I didn't change it back to 206.

Sorry about all of the questions I poasted. I had no idea what numbers you had used for the ratios.

So far, I think the biggest issue right now with the new xml file is it's size. Because it is so big, we can't attach it to a post so others can see what we are doing.
__________________
It's not that baseball has ever had a shortage of ways to embarrass yourself -- dropping an easy flyball, being the one guy Heathcliff Slocumb actually struck out, realizing you're Bud Selig...

Jersey style logos
Vintage letter logos
Vintage uniforms
Markmeister is offline   Reply With Quote
Old 07-08-2011, 03:06 AM   #50
Andreas Raht
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
Hey guys,

The idea why we switched from txt files to XML files is indeed the higher flexibility of XML especially when it comes to structured data. I know that XML has one disadvantage and that is you cannot just open and edit it as a table in Excel. We will do our best to add functionality to OOTP to make sure that the XML files are an improvement for all of you instead of a step back.

What we really needed for OOTP was an online world database where we can edit the world data and export it to a world file that we can ship with OOTP. That has been done now. We made a lot of code changes and improvements and added states and regions. The number of languages per nation is no longer hard-coded. The number of languages in the game is still hard-coded (40), but my goal is to get rid of all hard-coded data eventually.

I'll add the following features in patches ASAP:
- add, edit, delete and search/filter cities
- add, edit, delete and search/filter states
- export world data to XML

This way you will not need to edit data in the XML.
If you edit data in XML, please use text editors that can edit plain text. Wordpad or MS Word will add all kind of unwanted formatting code to the files. Notepad++ is AFAIK the perfect tool to edit the XML files. You can easily test XML files by opening them in a web browser. Most browsers will show error messages if the XML file has syntax errors.

Of course OOTP 12 should import OOTP 11 leagues with customized world data properly. The world data is saved in the world.dat and that file will be imported into OOTP 12. OOTP 12 will not merge the world_default.xml file into the imported OOTP 11 game or something like that.

If you edit the world_default.xml file, your changes will not have any effect on games that you already created. You will only see them in new games.



Quote:
Originally Posted by albatross11 View Post
True...there is the "potential" for more flexibility. However, if I already have a very heavily modified cities.txt file (that I have spent years modifying to my liking), and the only way of using that data in OOTP12 is inputting over 140 thousand lines of data into the XML file (and not, from reading these forums, being sure even that would work) then the change to the XML format is not a good thing (for me).
You can import the OOTP 11 league into OOTP 12 and export the world data to XML, when the export tool is available.


Quote:
Originally Posted by cephasjames View Post
Yeah, and I don't think changes we've made for 11 will even tansfer over into 12 if we import an 11 world into 12.
If that's the case, it's a bug.

Quote:
Originally Posted by Markmeister View Post
Joe,

I'm guessing that when languages were originally added they were hard coded.

Markus may have added them to the world default.xml, but hasn't changed the hard coding in the game yet.
That's true, we still have a hard-coded languages array in the game. But the goal is definitely to get rid of all hard-coded stuff.
Andreas Raht is offline   Reply With Quote
Old 07-08-2011, 03:16 AM   #51
Andreas Raht
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
You can edit the languages in the nation editor, I'm sure you saw that already. Please do not enter a value "0" with OOTP versions before 12.1.12, it has a bug that basically destroyed the league when you entered "0" for the language The upcoming patch will fix this.

The numbers for the languages are only ratios, not percentages. For any nation, you can enter any numbers and the total does not matter at all.
If a nation has two languages, for example spanish and english, and there are 25% speaking english, than you could enter 25 and 75, or 250 and 750, or 4 and 12 or whatever.

The USA has to have the ID #206 and the name must be "The United States" at the moment. OOTP needs to find the USA record and that's what OOTP uses to find it.

Any other questions, please ask. I subscribed to this thread.
Andreas Raht is offline   Reply With Quote
Old 07-08-2011, 04:34 AM   #52
ukhotstove
Hall Of Famer
 
ukhotstove's Avatar
 
Join Date: Aug 2004
Location: North of England Gods Country
Posts: 7,175
Just want to say thank you to Andreas for answering my pm, also want to thank him for his input in this thread.
ukhotstove is offline   Reply With Quote
Old 07-08-2011, 06:23 AM   #53
Markmeister
Major Leagues
 
Markmeister's Avatar
 
Join Date: Feb 2002
Location: Kentucky
Posts: 463
Andreas,

Thanks for your post. I'm looking forward to hear your input.

Quick questions regarding regions.
1) Will we be able to limit the number of players from other regions, similar to how we can limit players from foreign nations?
2) Will we be able to change a league's and/or team's region? For example, if I have in my xml the U.S. desiginated regions, as my workld evolves will I be able to change a leage's region from a sub-region to a larger region?
__________________
It's not that baseball has ever had a shortage of ways to embarrass yourself -- dropping an easy flyball, being the one guy Heathcliff Slocumb actually struck out, realizing you're Bud Selig...

Jersey style logos
Vintage letter logos
Vintage uniforms
Markmeister is offline   Reply With Quote
Old 07-08-2011, 06:31 AM   #54
Andreas Raht
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
Quote:
Originally Posted by Markmeister View Post
Andreas,

Thanks for your post. I'm looking forward to hear your input.

Quick questions regarding regions.
1) Will we be able to limit the number of players from other regions, similar to how we can limit players from foreign nations?
2) Will we be able to change a league's and/or team's region? For example, if I have in my xml the U.S. desiginated regions, as my workld evolves will I be able to change a leage's region from a sub-region to a larger region?
The plan is, to add a field "region" to each league and each team. There you could optionally select a region. New players would then come from that region (except foreigners). That will be added in a patch.
Andreas Raht is offline   Reply With Quote
Old 07-08-2011, 07:30 AM   #55
Chicagofan76
Banned
 
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
Quote:
Originally Posted by Andreas Raht View Post
Of course OOTP 12 should import OOTP 11 leagues with customized world data properly. The world data is saved in the world.dat and that file will be imported into OOTP 12. OOTP 12 will not merge the world_default.xml file into the imported OOTP 11 game or something like that.

If you edit the world_default.xml file, your changes will not have any effect on games that you already created. You will only see them in new games.

So if I add say an additional 20 nations and 100 cities per to my existing txts in 11 would they show up in a converted game when i transfer it over to 12?


thanx
Chicagofan76 is offline   Reply With Quote
Old 07-08-2011, 07:36 AM   #56
Andreas Raht
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
Quote:
Originally Posted by Chicagofan76 View Post
So if I add say an additional 20 nations and 100 cities per to my existing txts in 11 would they show up in a converted game when i transfer it over to 12?


thanx
Yes, if you see them in OOTP 11 they should show up in OOTP 12 (after importing the game into OOTP 12).
Andreas Raht is offline   Reply With Quote
Old 07-08-2011, 07:36 AM   #57
cephasjames
Hall Of Famer
 
Join Date: Jun 2004
Posts: 8,748
Blog Entries: 1
Quote:
Originally Posted by Andreas Raht View Post
The plan is, to add a field "region" to each league and each team. There you could optionally select a region. New players would then come from that region (except foreigners). That will be added in a patch.
Thanks for speaking up on this!

So we could have a league in the region of Northeast (as an example) and choose to only have teams created from there and players only come from there?
__________________
5000+ Generic Logos Free for the Taking
FREE: Uniforms and logos for 500+ teams spanning 1871-present
Great Lakes League: 10 Conferences, 100 Teams
Pre-OOTP 23 Custom Cap & Jersey Template v3.0 by Deft and NoPepper (with layers from other various artists) that I use: Caps, Jerseys
cephasjames is offline   Reply With Quote
Old 07-08-2011, 07:52 AM   #58
Andreas Raht
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
Quote:
Originally Posted by cephasjames View Post
Thanks for speaking up on this!

So we could have a league in the region of Northeast (as an example) and choose to only have teams created from there and players only come from there?
Yes, that's the plan.
Andreas Raht is offline   Reply With Quote
Old 07-08-2011, 08:06 AM   #59
cephasjames
Hall Of Famer
 
Join Date: Jun 2004
Posts: 8,748
Blog Entries: 1
Quote:
Originally Posted by Andreas Raht View Post
Yes, that's the plan.
Thanks!
__________________
5000+ Generic Logos Free for the Taking
FREE: Uniforms and logos for 500+ teams spanning 1871-present
Great Lakes League: 10 Conferences, 100 Teams
Pre-OOTP 23 Custom Cap & Jersey Template v3.0 by Deft and NoPepper (with layers from other various artists) that I use: Caps, Jerseys
cephasjames is offline   Reply With Quote
Old 07-08-2011, 09:22 AM   #60
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 3,630
Andreas:

Thanks so much for your posts. That clears up a lot of things. Just a few specific questions:

1. How does the game now handle ethnicities? Are those hard-coded too, or can I change the percentages in the ethnicities.txt file and have those changes reflected in the game?

2. Similarly, are player creation values hard-coded in the game? In other words, will I still get a bunch of Latin American players in my player pool, even if I set every Latin American nation's bbqual value to "0"?

3. What happened to the French Canadian-33 names database? Can that be added to the array of available language id's in the .xml file so that the game will recognize that as a valid db, or has it become an orphan database?
joefromchicago is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

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 02:38 PM.

 

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 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments