These two commands are really useful for custom databases, particularly when you want to use the 2014 ruleset (or the 2015 ruleset if/when introduced). They allow you to override the settings used when importing an EHM 2007 database into EHM:EA using the Import button. I.e. so you're no longer stuck with teams confined to certain leagues and can move things around (and using the new conferences/divisions).- Added support in import_config.cfg for forcing the use of database team divisions for playable leagues
- Added support in import_config.cfg for changing team division data (for example for custom databases where needed detailed divisions are not present in old 2007 data but are added by the importer)
The "FORCE_DATABASE_SET_TEAMS" command will make the Importer use whatever teams are set in the DB for that league, instead of using the teams pre-defined in the Importer.
The "CHANGE_TEAM_DIVISION_DATA" allows you to change the Division data for a particular team. E.g. this is useful when wanting to move a team to one of the "new" NHL divisions as these do not exist in the EHM 2007 database (and so they cannot be set in the 2007 Pre-Game Editor).
Code: Select all
# "FORCE_DATABASE_SET_TEAMS"
#
# This allows you to force the importer to use the teams set in the wanted league/division in the database, instead of using the list of teams coded into the importer ruleset. Note that this may result in errors if you have not set the correct number of teams to be in the wanted league in your database. Note that you also need to have the correct detailed divisions set for the teams if the league is setup with initial divisions or conferences
#
# The format is: "FORCE_DATABASE_SET_TEAMS" "league long name"
Code: Select all
# "CHANGE_TEAM_DIVISION_DATA"
#
# This allows you to change the division details of a team.
#
# The format is: "CHANGE_TEAM_DIVISION_DATA" "Club long name" "New league long name" "New detailed division long name"
#
# If any of the new name strings are left empty ("") the related data fields are cleared in the club data. Leaving the new league name empty will also mark the team as extinct in the database. Note that this only affects the basic database club fields and will not make any changes to possible fixed club assignments in league rules with some playable leagues. However, you can use this command in combination of the "FORCE_DATABASE_SET_TEAMS" import command to change the teams featured in a playable league as long as you move/remove as many teams from the league as you add to the league.