Find in this manual | ||
Replace with |
XML Color and Uniform System
The XML color system allows users to use a single or multiple XML files to manage the colors and uniforms of individual teams or all teams in a league. This system also has an implemented auto-update system in OOTP that will check each year for new values in regards to the colors and uniforms.
Team Colors, Logos, and Uniforms Page
The colors and uniform values can be imported from or exported to a colors XML file individually for each team through the uniform dialog using the "Export to colors XML file" and "Import colors XML file" buttons. When exporting the values to a new file a ".xml" will be added to the filename, if not done so by the user.
Game Settings | Player and Team
It is also possible to load all colors XML files for all teams of all leagues in a game (Game Settings -> Players & Team -> Import From Colors XML Files For All Teams And Leagues) or export the current colors and uniform values to the colors XML files (Game Settings -> Players & Team -> Export All Uniforms For All Teams And Leagues Into Colors XML Files). The colors XML files will be exported/imported to/from the colors folder defined in Game Settings -> Database (default: /data/colors) and the filenames are TEAMNAME_TEAMNICKNAME.xml .
When you import a game from a previous version (e.g. import OOTP23 game in OOTP24) OOTP can search for all colors XML files for all teams in the imported game along with logos and textures. A dialog will pop up that offers you the option to allow OOTP to search for logos, colors XML files, and uniform textures. If you would like the game to do this, then hit 'yes'. If you prefer not to do this, hit 'no'.
OOTP also searches at the start of a new game and then every in-game year for the colors XML files for all teams from the colors folder defined in the Games Settings -> Database and updates the colors and uniform values in the current game. This option is enabled by default and can be deactivated in Game Settings -> Players & Teams -> Automatically check for uniform updates every season. Only the file named TEAMNAME_TEAMNICKNAME.xml for the teams of the current game is taken into account.