Teams Customization
If you haven't already, first read the customization overview.
This is the simplest format to define teams in a League File:
{ "version": 43, "teams": [ { "tid": 0, "cid": 0, "did": 0, "region": "Atlanta", "name": "Gold Club", "abbrev": "ATL", "pop": 5.3, "stadiumCapacity": 50000 }, ... ] }
The contents of each team object is as follows.
- "tid": team ID number (from 0 to N-1 so there are N teams in total, usually N is 30)
- "cid": conference ID number, either 0 (Eastern) or 1 (Western)
- "did": division ID number, from 0 to 5 for the Atlantic, Central, Southeast, Southwest, Northwest, and Pacific divisions, respectively
- "region": team region/city
- "name": team name
- "abbrev": team abbreviation, typically 3 upper case letters like ATL for Atlanta
- "pop": population of the region, in millions of people
- "stadiumCapacity": number of people who fit in the team's stadium (default 50000) - weird things might happen financially if you start tweaking this
- "imgURL": URL for a 256x256 team logo. If your logo is not square or is a different size, that's okay, it will be scaled. (Optional)
- "imgURLSmall": URL for a 160x160 small team logo, which you can specify in addition to imgURL if you want a different versions of the logo when it is displayed large and small. (Optional, and imgURL will be used if you don't specify imgURLSmall.)
It is also possible to specify much more information, including results from past seasons and team statistics. To see how those are defined, look at an exported League File from one of your leagues. Also note that for values that can change over time (basically everything except "tid"), values are also stored in the "seasons" array for each team, one for each season.
ZenGM Baseball works best with 30 teams, 15 in each conference, and 5 in each division. If you have more or less teams, it will still work, but generated schedules (and maybe some other aspects of the game) will be less balanced.
If you also want to change the number of conferences or divisions, read this.