|
||||
|
07-07-2011, 12:22 PM | #41 |
Hall Of Famer
Join Date: Aug 2004
Location: North of England Gods Country
Posts: 7,175
|
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.
|
07-07-2011, 12:35 PM | #42 | |
Banned
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
|
Quote:
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. |
|
07-07-2011, 12:38 PM | #43 |
Hall Of Famer
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.
|
07-07-2011, 06:28 PM | #44 | |
Major Leagues
Join Date: Feb 2002
Location: Kentucky
Posts: 463
|
Quote:
__________________
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 |
|
07-07-2011, 06:37 PM | #45 | |
Major Leagues
Join Date: Feb 2002
Location: Kentucky
Posts: 463
|
Quote:
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 |
|
07-07-2011, 07:28 PM | #46 | |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
Quote:
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. |
|
07-07-2011, 08:19 PM | #47 |
Major Leagues
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. |
07-07-2011, 08:52 PM | #48 | ||
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
Quote:
Quote:
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? Yeah, I know that too. Geez, give me some credit. |
||
07-07-2011, 10:08 PM | #49 |
Major Leagues
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 |
07-08-2011, 03:06 AM | #50 | ||
Administrator
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:
Quote:
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. |
||
07-08-2011, 03:16 AM | #51 |
Administrator
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. |
07-08-2011, 04:34 AM | #52 |
Hall Of Famer
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.
|
07-08-2011, 06:23 AM | #53 |
Major Leagues
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 |
07-08-2011, 06:31 AM | #54 | |
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
|
Quote:
|
|
07-08-2011, 07:30 AM | #55 | |
Banned
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
|
Quote:
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 |
|
07-08-2011, 07:36 AM | #56 |
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
|
Yes, if you see them in OOTP 11 they should show up in OOTP 12 (after importing the game into OOTP 12).
|
07-08-2011, 07:36 AM | #57 | |
Hall Of Famer
|
Quote:
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 |
|
07-08-2011, 07:52 AM | #58 |
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
|
Yes, that's the plan.
|
07-08-2011, 08:06 AM | #59 |
Hall Of Famer
|
__________________
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 |
07-08-2011, 09:22 AM | #60 |
Hall Of Famer
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? |
Bookmarks |
|
|