Jump to content

How to edit match fixture rules


jacek99

Recommended Posts

Hey Everyone. I want change English Premiership match fixture rules to maximum 3 of foreign players in match squad. In editor it is blocked but I go to

C:\Program Files\Steam\SteamApps\common\football manager 2012 editor\data\format\rule group\basic league settings.xml

and in line 352 I change <list id="hidden_dependencies"> to <list id="dependencies">

Now I can edit this. I generate xml file and for Premiership it's looks like

<string id="competition" value="11"/>

<string id="use_game_rules" value="active_comp"/>

<string id="minimum_number_teams" value="20"/>

<string id="maximum_number_teams" value="20"/>

<string id="type" value="league"/>

<string id="number_rounds" value="2"/>

<string id="subs_rules" value="three_from_seven"/>

<date id="start_date" day="13" month="8" year="2011" hours="0" minutes="0"/>

<date id="end_date" day="13" month="5" year="2012" hours="0" minutes="0"/>

<record id="match_days">

<unsigned id="id" value="1836344441"/>

<string id="day_of_week" value="sat"/>

<string id="time" value="1500"/>

</record>

<list id="sort_teams">

<string value="goal_difference"/>

<string value="goals_for"/>

</list>

<string id="relegation_places" value="3"/>

<string id="number_extra_lower_teams_to_be_promoted" value="0"/>

<integer id="promotion_places" value="0"/>

<boolean id="use_specified_fixtures" value="false"/>

<list id="match_fixture_rules">

<record>

<string id="type" value="less_than_all_foreign_players_in_match_squad"/>

<integer id="value" value="3"/>

</record>

</list>

<boolean id="has_sub_divisions" value="false"/>

<string id="priority" value="league_low"/>

<boolean id="b_teams_cannot_be_promoted" value="false"/>

<real id="initial_tv_money" value="0.000000"/>

<real id="parachute_money" value="0.000000"/>

<list id="tv_dates"/>

<list id="league_fixtures"/>

<list id="opening_league_fixtures"/>

<list id="closing_league_fixtures"/>

<list id="prize_money"/>

<list id="squad_fixture_rules"/>

</record>

<record>

Responsible for match fixture rules is

<list id="match_fixture_rules">

<record>

<string id="type" value="less_than_all_foreign_players_in_match_squad"/>

<integer id="value" value="3"/>

</record>

</list>

But game still takes match fixture rules from other sources. Only if I change

<string id="use_game_rules" value="active_comp"/> to <string id="use_game_rules" value="not_in_game"/> I have my maximum 3 of foreign players in match squad but I lose other rules like" general, dates, prize money, television money etc.

Is it possible to change only match fixture rules and keep other Premiership rules? I want to make Custom database with maximum 3 of foreign players in match squad for all playable leagues in Football Manager 2012. Any ideas? If someone unlock Huge database maybe also know how to edit only match fixture rules and keep the other league rules.

Link to post
Share on other sites

I think I know why I can not edit this. Because editor doesn't load league rules from game database. He load league rules from C:\Program Files\Steam\SteamApps\common\football manager 2012 editor\data\basic comps\ and in all this files there's only info about start end date, min max numbers of teams, sort teams etc. Nothing about match fixture rules, prize money, money from tv...

Link to post
Share on other sites

I think I know why I can not edit this. Because editor doesn't load league rules from game database. He load league rules from C:\Program Files\Steam\SteamApps\common\football manager 2012 editor\data\basic comps\ and in all this files there's only info about start end date, min max numbers of teams, sort teams etc. Nothing about match fixture rules, prize money, money from tv...

I really don't know myself, but maybe add the match fixture rules to that?

Link to post
Share on other sites

Yep, I did this, that's why I know that editor read this from C:\Program Files\Steam\SteamApps\common\football manager 2012 editor\data\basic comps\eng.xml file not from game database. And if I don't change <string id="use_game_rules" value="active_comp"/> to <string id="use_game_rules" value="not_in_game"/> (not_in_game is default value) game will take league rules from database (I think from file C:\Program Files\Steam\SteamApps\common\football manager 2012\data\comps.fmf) I tried to get xml files from comps.fmf by FM12 - FMF Extractor but I don't have rules from each playable league in FM2012

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...