|
||||
|
04-16-2012, 07:29 PM | #61 | |
Hall Of Famer
Join Date: May 2007
Location: Hucknall, Notts, UK
Posts: 4,902
|
Quote:
|
|
04-16-2012, 09:29 PM | #62 |
Hall Of Famer
Join Date: Dec 2001
Location: My Computer
Posts: 8,182
|
While the .csv file may have been easier to manipulate (and it was), the problem with .csv
is that its flat and not hierarchical. The XML file is hierarchical (is that a word?) and this has allowed OOTP to see some of the benefits, for example the use of regions. As OOTP continues to develop, there will be further benefits that simply would not be possible with the old .csv format. Now don't get me wrong, dealing with the XML is not any easier, but in this case the benefits ultimately outweigh the inconvenience (and I'm someone who creates fully fictional worlds (still use davwms fictional world creator)). I would also guess that you are correct, if someone were motivated an application could be created to import XML structures into a spreadsheet and facilitate editing in that manner. |
04-19-2012, 06:28 AM | #63 | |
Global Moderator
|
Quote:
You can also download the OS OpenData Gazetteer and pull out the data for feature types C, T and O (City, Town and Other Settlement)
__________________
This signature is intentionally blank |
|
04-20-2012, 06:05 AM | #64 | |
Hall Of Famer
Join Date: May 2007
Location: Hucknall, Notts, UK
Posts: 4,902
|
Quote:
|
|
04-21-2012, 02:39 PM | #65 |
Bat Boy
Join Date: Aug 2010
Location: Young Harris, GA
Posts: 10
|
I've tried adding cities to the world_default.xml file using NotePad++. The cities get added just fine, and the document saves fine. But when I start a new league and try using the data I've added (for instance, by creating a fictional player and changing his hometown to one of those I've added), it doesn't work. Perhaps this is because I'm trying to start a new Major League game with the 2012 MLB rosters? Does this mean that if I start with the 2012 rosters, I can never, ever have a player from Hayesville, North Carolina? Because that would be very upsetting to me and the other 611 residents of Hayesville, North Carolina.
|
04-21-2012, 02:54 PM | #66 | |
Hall Of Famer
Join Date: May 2007
Location: Hucknall, Notts, UK
Posts: 4,902
|
Quote:
|
|
04-21-2012, 10:15 PM | #67 |
Bat Boy
Join Date: Aug 2010
Location: Young Harris, GA
Posts: 10
|
|
04-25-2012, 11:31 PM | #68 |
Bat Boy
Join Date: Jan 2012
Location: Nashville, TN
Posts: 17
|
Is there a way to use the in-game city editor to edit the entire game so that every new game you start has the new cities, or do you just have to edit the world_default file?
|
04-26-2012, 03:10 AM | #69 | |
All Star Reserve
Join Date: Mar 2003
Posts: 907
|
Quote:
You would have to edit the world_default.xml for that.
__________________
Peace, albatross |
|
04-28-2012, 12:21 AM | #70 |
All Star Starter
Join Date: Jul 2003
Location: Topsail Island, NC, USA
Posts: 1,049
|
Has anyone explained the hardcoded player origins thing yet? I'm not sure I'm getting it.
__________________
And ain't that a shame, shame, shame Shame, shame, the way you do Oh, it's a shame, shame, shame Shame, shame on you |
04-28-2012, 02:00 AM | #71 |
All Star Starter
Join Date: Jul 2003
Location: Topsail Island, NC, USA
Posts: 1,049
|
I was right. A year's time, and I didn't get even 10% done.
__________________
And ain't that a shame, shame, shame Shame, shame, the way you do Oh, it's a shame, shame, shame Shame, shame on you |
05-04-2012, 07:59 PM | #72 |
Minors (Triple A)
Join Date: Jul 2011
Posts: 229
|
Hmm, well this is kind of a bummer! I wasn't around for OOTP12 so I skipped that version but I did buy 13. When I went to look for Cities and Nations .txt I found that the dev team went with this world_default approach.
Is there an easy way to translate the old file formats to the new one? I only created a few fictional nations and cities! I've attached the files in the event someone can possibly point me in the right direction. Thanks! Last edited by Murcer; 05-05-2012 at 04:25 PM. |
05-05-2012, 10:53 AM | #73 | |
Hall Of Famer
Join Date: Apr 2002
Location: St. Louis, MO
Posts: 2,325
|
Quote:
If you want to start a new league with edited locations, make your changes in the world_default.xml database file. If you want to edit locations in a pre-existing league, make your changes using the in-game editor. (However, know that these changes won't be applied to future leagues you create. You must use the aforementioned world db file for that.)
__________________
"It may be nothing. But it usually is always something and more than something." - Cardinals GM John Mozeliak |
|
05-05-2012, 05:49 PM | #74 |
Minors (Triple A)
Join Date: Jul 2011
Posts: 229
|
After much reading about these changes I must admit that I still don't get it!
Has anyone created a custom file that I might steal a look at? Thanks! |
05-05-2012, 07:35 PM | #75 | |
All Star Reserve
Join Date: Mar 2003
Posts: 907
|
Quote:
__________________
Peace, albatross |
|
05-05-2012, 07:56 PM | #76 |
Hall Of Famer
Join Date: Dec 2008
Location: "Deep in the Heart Of"
Posts: 8,203
|
Here is a copy of one that someone posted for OOTP12...
Last edited by txranger; 05-02-2013 at 11:17 AM. |
05-05-2012, 09:11 PM | #77 | |
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
Quote:
1) input some data like nations' populations and timezones (see each sheet's yellow columns) 2) copy and paste the resulting columns (blue "A" columns) into a sample world_default.xml (like the one I previously attached to the thread) 3) place each ethnicity line under its associated nation's line (that is, as you have them they are not to be left all in a row like the languages rows, but they would be if you wanted nations to have multiple ethnicities) 4) place the states lines under their associated nation's ethnicities section 5) place the cities under their associated state's line 6) place the appropriate region_states (or region_nations) lines under their associated region's line (looking at your files I'm thinking you at least want to have the same regions as you have nations which means you'll want at least 7 region IDs) There might be other stuff that comes up, but the above should get you almost all the way there. Good luck! Others can make use of this workbook too. Just copy and paste the contents of your appropriate *.txt files into their correspondingly named sheets at the green cell (cities.txt doesn't have headers so I created them) and when the dialog box opens up select it to separate by commas. From there you'll still have some manual work to do (e.g. probably creating more ethnicities lines and possibly adding rows to the different sheets) so while this is certainly no automatic converter, it should help. |
|
05-06-2012, 06:45 AM | #78 |
Minors (Triple A)
Join Date: Jul 2011
Posts: 229
|
Wow thanks guys (and especially kq for the workbook). I'll give this a shot and see what happens!
|
05-06-2012, 09:30 PM | #79 |
Minors (Triple A)
Join Date: Jul 2011
Posts: 229
|
Ok I think I've almost got it! However, a question...
Are the ethnicities in the world_default file for facegen photos or for name sets? I'm THINKING it's for the namesets and the ethnicities.txt file will control facegen but I wanted to verify before putting in TOO MUCH more work! Thanks. |
05-06-2012, 11:07 PM | #80 |
Global Moderator
Join Date: Nov 2002
Location: Vancouver, Canada
Posts: 10,703
|
I don't know for sure, but considering that the xml file's ethnicity lines only have a language ID and a % while the txt file has asian, indian, etc %s, that's my impression too.
|
Bookmarks |
|
|