|
||||
|
|
OOTP Mods - Schedules Create your very own game schedules, or share historical schedules |
|
Thread Tools |
05-31-2006, 04:22 AM | #1 |
Hall Of Famer
Join Date: May 2002
Location: Longmont, CO
Posts: 3,150
|
Schedules for use in OOTPBB 2006
Files for OOTP6 as in this thread...
http://www.ootpdevelopments.com/boar...ad.php?t=63714 ...will not work in their format with the new version OOTP2006. However those schedules (and eventually more of course) will be made available here in this forum in the new file format used by OOTP2006. It will take some time to bring the schedules over here and into the new format, so please be patient - there will be files and information up here soon! |
06-01-2006, 03:04 AM | #2 |
Hall Of Famer
Join Date: May 2002
Location: Longmont, CO
Posts: 3,150
|
There are a lot of details here (and it is not even complete right now!), but the key to having a schedule file work with a league is having the schedule format match the league settings for:
Those settings for the file can be found within the filename and must be at the top of the file. Dig in below to see all the details. But for the user just wanting a schedule or schedules it can be as simple as downloading the file(s) and making sure the options are set correctly in the game. ================================================== Key features
================================================== File naming convention Schedule files can be saved in the "schedules" folder within the "data" folder within the "OOTP Baseball 2006" (or whatever you called the folder where the game is). There are certain naming conventions to be explained below that must followed for the game to be able to take advantage of the new features involving automatic loading of schedules. However schedule files not following the naming conventions and saved elsewhere on your computer still may be manually loaded. Filenames should end with the suffix ".lsdl" One way to name files is like this: ILN_BGY_G162_SL1_D1_T4_D2_T4_SL2_D1_T4_D2_T4_C_empty.lsdl With this file in your schedules folder it would load automatically when creating a league created with options set for no interleague play and a balanced schedule of 162 games per teams with a league structure of 2 subleagues, each with 2 divisions, each with 4 teams, because:
Another way to name files is like this: my_fantasy_league_ml_c_2006.lsdl With this file in your schedules folder it would load automatically when creating a league with the name "My Fantasy League" (capitalization does not matter in league name or schedule filename), if the format of the schedule file (see below) matches the configuration and options of that league.
Again files with different types names not following these patterns can still be loaded manually by the user, but the game will not load them automatically. ================================================= Basic file format Overall it is somewhat similar to HTML files. Here is an example of a file with most of the body removed: Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <SCHEDULE type="ILN_BGY_G162_SL1_D1_T4_D2_T4_SL2_D1_T4_D2_T4_C_" inter_league="0" balanced_games="1" games_per_team="162" start_month="4" start_day="1" start_day_of_week="2" allstar_game_day="100"> <GAMES> <GAME day="1" time="1905" away="5" home="1" /> ... <GAME day="182" time="1905" away="11" home="16" /> </GAMES> </SCHEDULE> Constant heading line at top, like: Code:
<?xml version="1.0" encoding="ISO-8859-1"?> Next line the SCHEDULE opening line, like: Code:
<SCHEDULE type="ILN_BGY_G162_SL1_D1_T4_D2_T4_SL2_D1_T4_D2_T4_C_" inter_league="0" balanced_games="1" games_per_team="162"> type contains and also shows the league structure just line one of the naming conventions above
The inter_league, balanced_games, and games_per_team setting in the file must match the "Interleague Play", "Schedule Balance", and "Number of Games per Team" settings under Game Setup > League Setup > Options. All of those settings may be defined at the creation of a league or set at a later offseason or preseason. They do not automatically apply as soon as switched - they are only taken into account at the next attempt to generate or load a schedule. Some other information that is otherwise set in Game Setup > League Setup > Options may also be included in the SCHEDULE line like the following: Code:
<SCHEDULE type="ILN_BGY_G162_SL1_D1_T4_D2_T4_SL2_D1_T4_D2_T4_C_" inter_league="0" balanced_games="1" games_per_team="162" start_month="4" start_day="1" start_day_of_week="2" allstar_game_day="100">
If no All-Star Game is defined by the schedule file, then if the options to "Hold All-Star Game" and "Automatically Schedule All-Star Game" are checked on then the game will pick a point around the middle of the schedule and insert a 3-day break with the All-Star Game in the middle of it. Take care with the "Automatically Schedule All-Star Game" option becasue doing this moves the post-All-Star Game schedule 3 days forward and thus may throw off the schedule from how was originally designed to be. Code:
<GAMES> This is how a typical GAME line looks: Code:
<GAME day="1" time="1905" away="5" home="1" />
After all the game lines there are closing tags at the bottom: Code:
</GAMES> </SCHEDULE> |
Bookmarks |
Thread Tools | |
|
|