|
||||
|
|
OOTP Mods - Schedules Create your very own game schedules, or share historical schedules |
![]() |
|
Thread Tools |
![]() |
#1 |
Minors (Double A)
Join Date: Sep 2014
Posts: 152
|
Neutral Ballparks in schedule
Apologies if this has been covered, but I'm sure somewhere I saw that for custom imported schedules the Schedule File Elements can also include playing at a neutral ballpark, but I can't find that syntax anymore.
Is that element called "Ballpark", or "Stadium", or "Field"? And is it the name of the park, or the park ID#? i.e. <GAME day="10" time="1305" away="8" home="9" type="0" Ballpark= "Minute Maid Park" /> <GAME day="10" time="1305" away="8" home="9" type="0" Ballpark= "27" /> <GAME day="10" time="1305" away="8" home="9" type="0" Stadium= "Minute Maid Park" /> <GAME day="10" time="1305" away="8" home="9" type="0" Stadium= "27" /> |
![]() |
![]() |
![]() |
#2 |
Hall Of Famer
Join Date: Jun 2006
Posts: 5,325
|
I believe this is the syntax:
<GAME day="1" time="1905" away="6" home="8" park="1" /> I got that from post #268 in this thread: https://forums.ootpdevelopments.com/...248744&page=14 You have to know what the park ID is for the neutral park... If you are able to test this out and make it work, please report back on your steps to get there ![]() |
![]() |
![]() |
![]() |
#3 |
Minors (Double A)
Join Date: Sep 2014
Posts: 152
|
Thank you! Looks like that works as Park Id shows 1937, not 0 when I open the imported schedule in the schedule editor.
<GAME day="6" time="1335" away="43" home="1" site="neutral" Park="1937" /> I also tried the name of the park because CoPilot suggested that works, too, and it worked. <GAME day="6" time="1335" away="43" home="1" site="neutral" Park="Globe Life Field" /> I don't know if site="neutral" does any good, but it didn't cause an error. I was hoping site neutral would mean the game doesn't count in home and away records. Haven't had a chance to check that. |
![]() |
![]() |
![]() |
#4 |
Hall Of Famer
Join Date: Jun 2006
Posts: 5,325
|
I'm curious - it's not clear to me above - were you editing a schedule to include neutral sites, or did you find a schedule that already had newts in it and used that?
|
![]() |
![]() |
![]() |
#5 |
Minors (Double A)
Join Date: Sep 2014
Posts: 152
|
I wrote a program that builds NCAA schedules for my specific league structure. Division 1 baseball has lots of early season Challenges and Tournaments at neutral parks. Now that my program can include the neutral parks in the ISDL file, it saves me from having to add the Park IDs manually at the start of each season.
|
![]() |
![]() |
![]() |
#6 | |
Hall Of Famer
Join Date: Jun 2006
Posts: 5,325
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Minors (Double A)
Join Date: Sep 2014
Posts: 152
|
If I understand your question: I have pulled the park IDs from the 'Parks.csv' file in the OOTP database tab in 'Game Settings', which my program then references to know that Globe Life Field = 1937, Tony Gwynn Stadium = 147, Dodger Stadium = 709. My scheduling program has specific subroutines to create the Shriner's Baseball Classic at Globe Life Field and uses 1937 for the Park ID. The Dodger Stadium College Baseball Classic uses 709 as the Park ID and The Tony Gwynn Legacy uses both 147 for Tony Gwynn Stadium and 143 for Triton BallPark at UCSD.
If you are wondering why Globe Life Field has such a high Park ID# it's because my NCAA Game doesn't include MLB, so to get Globe Life and Dodger Stadium into my game I had to import those parks into one of the High School teams in my universe so that the park was available for me to use for NCAA Tournament games Is that what you were asking? |
![]() |
![]() |
![]() |
#8 |
Hall Of Famer
Join Date: Jun 2006
Posts: 5,325
|
Hmm. I'm not familiar with the parks.csv file. I don't see it my OOTP folders, nor can I find in the game where it can be generated... Please LMK how you found it or created it
![]() |
![]() |
![]() |
![]() |
#9 |
Minors (Double A)
Join Date: Sep 2014
Posts: 152
|
In database tools, 'configure data export to CSV files' Make sure parks checkbox is checked, then 'export data to CSV files'
To find individual park IDs you can also look at 'Team Home Screen', 'Settings', 'Edit Ballpark' and you will see the 'ballpark ID' |
![]() |
![]() |
![]() |
#10 | |
Hall Of Famer
Join Date: Jun 2006
Posts: 5,325
|
That worked. Thanks!
I wanted to follow up on this: Quote:
a) using ... site="neutral" Park="1937" /> works b) using ...site="neutral" Park="Globe Life Field" /> also works c) you're not sure if site="neutral" has any effect on the home/away W/L record Correct? |
|
![]() |
![]() |
![]() |
#11 |
Minors (Double A)
Join Date: Sep 2014
Posts: 152
|
That is correct
|
![]() |
![]() |
![]() |
Bookmarks |
|
|