View Single Post
Old 06-19-2024, 11:53 PM   #268
No Pepper
All Star Starter
 
No Pepper's Avatar
 
Join Date: Jan 2003
Location: Milwaukee, WI
Posts: 1,570
Quote:
Originally Posted by Le Grande Orange View Post
If we're asking for schedule file changes for the split season format, then let's ask for a 'park' field to be added so that alternative sites for home games can finally be recreated.
Actually, it already exists! I decided to see if it was possible in the league setting/schedule editor and I noticed a Park ID in the game's line. I believe the schedule defaults to "0" which will default to the home team's park. However, that value can be changed to any park ID that is in your league (universe?). Park ID numbers can be found in the park editor in league settings. I believe you can have parks in your league/universe that are not assigned to a team, i.e., neutral parks.

A change in park for that game is noted in the league schedule's page under "Notes" on the right side.

When I exported the schedule in the schedule editor, this is what I saw in the resulting .lsdl file:

<GAME day="1" time="1905" away="6" home="8" park="1" />



For this to work though, someone playing this schedule would need the full set of league parks with the matching ID. That might be the tricky part as I think park IDs are not user-defined. I only just fleshed this feature out, so I don't know for sure, but the park ID "1" in the schedule file's line of code above may be linked to the team ID "1" so that if the schedule is used again for the following year, OOTP will randomize the team ID number which may also affect the park assignment. So instead of playing in Oakland on Tuesday, you may be playing in Timbuktu.

Last edited by No Pepper; 06-20-2024 at 12:06 AM.
No Pepper is offline   Reply With Quote