Changes made to the baseball card system:
When you create a baseball card in the baseball cards dialog you'll find a new dialog where you can optionally enter a name for the card and also optionally select a template file!
Template system:
OOTP will first look for [trigger]_[year].xml, then for [trigger]_[decade].xml, then [trigger].xml, then default_[year].xml, then default_[decade].xml, then default.xml
Example:
If a player plays in an All-Star team and OOTP generates a baseball card in the league year 1989, OOTP will look for the following XML files in this order:
all_star_1989.xml, all_star_198.xml, all_star.xml, default_1989.xml, default_198.xml, default.xml
Added the following tokens:
[%TEAM_JERSEY_MAIN_COLOR]
[%TEAM_JERSEY_SECONDARY_COLOR]
[%TEAM_JERSEY_PIN_STRIPES_COLOR]
[%TEAM_BALLCAPS_MAIN_COLOR]
[%TEAM_BALLCAPS_VISOR_COLOR]
[%SUB_LEAGUE_NAME]
[%SUB_LEAGUE_ABBR]
Added random number generator:
[%RANDOM_NUMBER] returns 0 to 9
[%RANDOM_NUMBER][%RANDOM_NUMBER] returns 00 to 99
Image elements can contain attributes to temporarily change certain Facegen settings:
facegen_zoom: in, normal, out, random
facegen_angle: from_left, from_right, straight, random
Example:
<ELEMENT type="image" x="-5" y="9" zorder="1" width="206" height="278" content="PICTURE" facegen_zoom="in" facegen_angle="from_left" />