| » Stats |
Members: 103,301
Threads: 84,992
Posts: 1,031,292
Top Poster: Karky (9,540) | | Welcome to our newest member, stuv347 | |
If you register for free, you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please contact the administrator.
 |
11-07-2006, 01:22 PM
|
Changing the match screen to show more information Post #1 | | Newb
Join Date: Nov 2007
Posts: 0
Rep Power: 0 | Changing the match screen to show more information
The match screen:
Ideally I'd like to use split screen, with the overview in the left panel and my team's ratings in the right. Highlights should show up in the left panel.
It's currently impossible to select "My team ratings" or "Opponent ratings" from the dropdown menus ratings. Instead I have to select "Home team ratings" and "Away team ratings" (with "Home team" and "Away team" substituted for the name of the team in each particular match).
If I play away in one match and select my "Away team ratings" for the right panel, then this will show my ratings for that match. But, when I play at home in the next match, the screen will show my opponent's ratings and I'll have to change it manually to show my team.
As long as there's no option to select "My team" or "Opponent's team", I thought maybe I could change the panels manually to achieve something similar, and I've come up with two possible solutions:
1. Change the right panel to show both home and away team ratings (there seems to be enough space on my 1680 pixel wide screen).
2. Change the full screen version of the overview to include the full version of the player ratings on the bottom (again, there should be enough space on a screen with height > 1024) -- and then show the highlights in full screen mode.
Does anybody know how I could go about to change these panels?
|
| |
11-08-2006, 09:34 PM
|
Changing the match screen to show more information Post #2 | | Registered User
Join Date: May 2007
Posts: 0
Rep Power: 0 |
The contents of these panels are controled by the match.xml file located in \Football Manager 2007\data\screens
First backup the file before editing. To edit the xml file(s) you can use notepad or a webpage editor. (A webpage editor is generaly better, as they colour code the different bits of code - makes it clearer to see what you are editing)
It may be possible for you to get the game to use 3 panels in split view mode. (I haven't tried this but it looks possible).
In the match.xml file scroll down to this bit of code:
<pre class="ip-ubbcode-code-pre"><container title="Dual Panel" id="mpdl" late_loading="true"><layout class="arrange_horizontal_attachment" layout="-1,-1" offset="0"/><layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0"/></pre>
If you change the layout="-1,-1" bit to layout="-1,-1,-1" that should display 3 panels of equal size.
After that line there should be lots of lines of code, then it should be duplicated, you'll want to create a third set of this code - this code tells the game what to display in the panel.
Copy From:
<pre class="ip-ubbcode-code-pre"><container class="multi_box" id="mpll" contents_kind="bordered_box" top_kind="subtle_popup" default_item="bmin" save_current_state="true" save_default_state="true"></pre>
To
<pre class="ip-ubbcode-code-pre"></container></pre>
Should be about ~45 lines, it'll be the </container> just before the above line is displayed again.
Or it may be possible to display both Home and Away stats in the same panel, by locating this code, in the same file:
<pre class="ip-ubbcode-code-pre"><container class="scrolling_box" title="Home Team Ratings" id="hfms"><layout class="stick_to_sides_attachment" alignment="all" inset="0"/><widget class="hmst"/></container></pre>
and replace the title="Home Team Ratings" id="hfms" bit with title="Player Ratings" id="bmts" - Should display both ratings rather than just the home ratings.
You'll want to replace it in both the multi-panel containers, I assume the first instance would be for the left panel and the second for the right panel.
|
| |
11-09-2006, 11:10 AM
|
Changing the match screen to show more information Post #3 | | Newb
Join Date: Nov 2007
Posts: 0
Rep Power: 0 |
Thanks. Looks like you know your stuff. I'll have a look at this later today.
|
| |
11-09-2006, 03:16 PM
|
Changing the match screen to show more information Post #4 | | Newb
Join Date: Nov 2007
Posts: 0
Rep Power: 0 |
I've now had a go at changing the match screen.
It turns out that it is indeed possible to split the screen in three panels, except that doesn't seem to be properly supported: The extra panel's menu doesn't work properly and shows extra selections such as debug, and it shows "Home Team Ratings" instead of "Werder Bremen Ratings". I've therefore focused on fitting in both teams' ratings in one panel.
In the process, I've managed to add two menu items to the drop-down menu.
The first was added as follows (straight copy from the full-screen options);
<pre class="ip-ubbcode-code-pre"><widget class="bmts" title="Player Ratings (1)" id="bmts"/></pre>
and shows up almost as I want it, except the title bar is shown twice. Screenshot: Player Ratings (1)
My second menu item was added with the following code (inspired by the panels\match both team stats.xml file);
<pre class="ip-ubbcode-code-pre"> <container class="scrolling_box" title="Player Ratings (2)" id="mmmm"> <layout class="arrange_horizontal_attachment" layout="-1,-1" offset="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true"/> <container class="home_match_team_stats_panel" flbg="false"/> <container class="away_match_team_stats_panel" flbg="false"/> </container></pre>
This causes both teams' ratings to be shown, without the extra title bar, but for some reason the player names are shown on top of each other (screenshot): Player Ratings (2)
This is something I really would like to sort out, so do you (or somebody else) have any ideas of what could be done?
(BTW: I've resized the panels to a 40/60 split instead of the default 50/50 -- looks better this way).
|
| |
11-09-2006, 09:37 PM
|
Changing the match screen to show more information Post #5 | | Registered User
Join Date: May 2007
Posts: 0
Rep Power: 0 |
I'd leave it as the first screenshot, it works better than I would have expected it to. (You wont be able to get rid of the second title without losing it on the none split ratings screen).
For the second one, there may be a line of code that tells the game where in the panel to display the away ratings, you may need to fill in various numbers until you get it in the right position.
|
| |
11-10-2006, 12:45 AM
|
Changing the match screen to show more information Post #6 | | Newb
Join Date: Jan 2007
Posts: 0
Rep Power: 0 |
Would it be possible tohave player ratings, action zone and match stats all on one screen?
|
| |
11-10-2006, 12:48 PM
|
Changing the match screen to show more information Post #7 | | Newb
Join Date: Nov 2007
Posts: 0
Rep Power: 0 | |
| |
11-11-2006, 11:04 PM
|
Changing the match screen to show more information Post #9 | | Joe Blow
Join Date: Jan 2008
Posts: 0
Rep Power: 0 |
hognef,
Any chance of putting up for download the modified xml used to get the screenies in your last two posts?
fb work btw :thup:
|
| |
11-12-2006, 01:07 PM
|
Changing the match screen to show more information Post #10 | | Newb
Join Date: Nov 2007
Posts: 0
Rep Power: 0 |
Here's the code for the modified "match.xml":
<pre class="ip-ubbcode-code-pre"><screen name="match" title="Match Screen" version="1.0"><boolean id="save_current_state" value="true"/><!-- items arranged from top to bottom - last item fills remaining space --><layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="0"/><!-- items stretched to fit width of screen --><layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/><flags id="asub" value="mpnl"/><flags id="dsub" value="bmin"/><!-- remaining content --> <container><!-- items arranged from top to bottom, item at top fills remaining space --><layout class="arrange_vertical_attachment" alignment="bottom, extend" offset="0"/><!-- items stretched to fit width of container --><layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/><container id="mpnl"><!-- all children fit to all sides --><layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"/><widget class="mpmp" title="Pre Match" id="mpmp"/><container class="titled_box" title="Overview" id="bmin"><layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"/><widget class="bmin" title="Overview" id="bmin"/></container><container class="titled_box" title="Match Stats" id="mtst"><layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"/><widget class="mtst" id="mtst"/></container><widget class="mazp" title="Action Zones" id="mazp"><colour id="ptlc" name="white"/></widget><container class="titled_box" title="Pitch" id="hilg"><layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"/><widget class="hilg" title="Pitch" id="hilg"/></container><container class="titled_box" title="Report" id="mtrp"><layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"/><widget class="mtrp" title="Report" id="mtrp"/></container><widget class="hfms" title="Home Stats" id="hfms"/><widget class="afms" title="Away Stats" id="afms"/><widget class="bmts" title="Player Ratings" id="bmts"/><widget class="both_match_formation_panels" title="Formations[COMMENT - match screen; formations panel title]" id="bmfs"/><widget class="mlsp" title="Latest Scores" id="mlsp"/><widget class="mgup" title="Goal Updates" id="mgup"/><container class="titled_box" title="League Table" id="mltp"><layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0"/><widget class="mltp" title="League Table" id="mltp"/></container><widget class="mpst" title="Post Match" id="mpst"/><container title="Dual Panel" id="mpdl" late_loading="true"><layout class="arrange_horizontal_attachment" layout="-3,-2,-4" offset="0"/><layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0"/><container class="multi_box" id="mpll" contents_kind="bordered_box" top_kind="subtle_popup" default_item="bmin" save_current_state="true" save_default_state="true"><integer id="right_embed_inset" value="5"/><integer id="top_embed_inset" value="3"/><record id="top_properties" auto_size="horizontal"><boolean id="fixed" value="false"/><flags id="spec" value="title,small"/><colour name="selection"/></record><flags id="view_kind" value="embedded_view_popup_button"/><widget class="bmin" title="Overview" id="bmin" file="match overview small" small_version="true"/><widget class="mtst" title="Match Stats" id="mtst"/><widget class="mazp" title="Action Zones" id="mazp" file="match action zones small"><colour id="ptlc" name="white"/></widget><widget class="hilg" title="Pitch" id="hilg" file="match highlights small"/><widget class="mtrp" title="Report" id="mtrp" file="match report small"/><container class="scrolling_box" title="Home Team Ratings" id="hfms"><layout class="stick_to_sides_attachment" alignment="all" inset="0"/><widget class="hmst"/></container><container class="scrolling_box" title="Away Team Ratings" id="afms"><layout class="stick_to_sides_attachment" alignment="all" inset="0"/><widget class="amst"/></container><widget class="mlsp" title="Latest Scores" id="mlsp" MLSs="true" file="match latest scores small"/><widget class="mgup" title="Goal Updates" id="mgup" MGUs="true" file="match goal update small"/><widget class="mltp" title="League Table" id="mltp" MLTs="true"/><widget class="match_formation_panel" id="hmtt" team_index="0" read_only="true" title="Tactics"/><!-- read only match tactics --><widget class="match_formation_panel" id="amtt" team_index="1" read_only="true" title="Tactics"/><!-- read only match tactics --><widget class="match_tactic_panel" id="emtt" title="Tactics"/><!-- editable match tactics --><widget class="match_debug_panel" id="mtdb" title="Debug"/><widget class="match_controller_panel" id="mctr" title="Controller[COMMENT - debug only]"/></container><container class="multi_box" id="mplm" contents_kind="bordered_box" top_kind="subtle_popup" default_item="mtst" save_current_state="true" save_default_state="true"><integer id="right_embed_inset" value="5"/><integer id="top_embed_inset" value="3"/><record id="top_properties" auto_size="horizontal"><boolean id="fixed" value="false"/><flags id="spec" value="title,small"/><colour name="selection"/></record><flags id="view_kind" value="embedded_view_popup_button"/><widget class="bmin" title="Overview" id="bmin" file="match overview small" small_version="true"/><widget class="mtst" title="Match Stats" id="mtst"/><widget class="mazp" title="Action Zones" id="mazp" file="match action zones small"><colour id="ptlc" name="white"/></widget><widget class="mtrp" title="Report" id="mtrp" file="match report small"/><widget class="mlsp" title="Latest Scores" id="mlsp" MLSs="true" file="match latest scores small"/><widget class="mgup" title="Goal Updates" id="mgup" MGUs="true" file="match goal update small"/><widget class="mltp" title="League Table" id="mltp" MLTs="true"/></container><container class="multi_box" id="mplr" contents_kind="bordered_box" top_kind="subtle_popup" default_item="bmts" save_current_state="true" save_default_state="true"><integer id="right_embed_inset" value="5"/><integer id="top_embed_inset" value="3"/><record id="top_properties" auto_size="horizontal"><boolean id="fixed" value="false"/><flags id="spec" value="title,small"/><colour name="selection"/></record><flags id="view_kind" value="embedded_view_popup_button"/><widget class="bmin" title="Overview" id="bmin" file="match overview small" small_version="true"/><widget class="mtst" title="Match Stats" id="mtst"/><widget class="mazp" title="Action Zones" id="mazp" file="match action zones small"><colour id="ptlc" name="white"/></widget><widget class="hilg" title="Pitch" id="hilg" file="match highlights small"/><widget class="mtrp" title="Report" id="mtrp" file="match report small"/><container class="scrolling_box" title="Home Team Ratings" id="hfms"><layout class="stick_to_sides_attachment" alignment="all" inset="0"/><widget class="hmst"/></container><container class="scrolling_box" title="Away Team Ratings" id="afms"><layout class="stick_to_sides_attachment" alignment="all" inset="0"/><widget class="amst"/></container> <widget class="mlsp" title="Latest Scores" id="mlsp" MLSs="true" file="match latest scores small"/><widget class="mgup" title="Goal Updates" id="mgup" MGUs="true" file="match goal update small"/><widget class="mltp" title="League Table" id="mltp" MLTs="true"/><widget class="match_formation_panel" id="hmtt" team_index="0" read_only="true" title="Tactics"/><!-- read only match tactics --><widget class="match_formation_panel" id="amtt" team_index="1" read_only="true" title="Tactics"/><!-- read only match tactics --><widget class="match_tactic_panel" id="emtt" title="Tactics"/><!-- editable match tactics --><widget class="match_debug_panel" id="mtdb" title="Debug"/><widget class="match_controller_panel" id="mctr" title="Controller[COMMENT - debug only]"/> <widget class="bmts" title="Player Ratings" id="bmts"/> <container class="scrolling_box" title="Player Ratings (test)" id="mmmm"> <layout class="arrange_horizontal_attachment" layout="-1,-1" offset="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true"/> <container class="home_match_team_stats_panel" flbg="false"/> <container class="away_match_team_stats_panel" flbg="false"/> </container> </container></container></container><!-- COMMENTARY --><container id="cmif"><flags id="styl" value="no_border, darkened"/><integer id="heig" value="40"/><container id="cmpc" tran="1"><flags id="styl" value="thin_border"/><layout class="stick_to_sides_attachment" alignment="all" inset="0"/><widget class="picture" file="match/commentary/bar" id="cmbi" auto_size="vertical" rthr="85"><layout class="stick_to_sides_attachment" alignment="all" inset="0"/></widget><!-- commentary widget --><widget class="label" id="cmnt"><layout class="stick_to_sides_attachment" alignment="all" inset="0"/><string id="text" value=""/><integer id="size" value="12"/><flags id="algn" value="centre"/><colour name="text"/></widget><widget class="possession_bar" id="ls5m" rthr="85"><string id="text" value="Last 5 Mins"/><integer id="maxv" value="100"/><integer id="gap " value="40"/><integer id="inse" value="80"/><layout class="stick_to_sides_attachment" alignment="all" inset="8"/></widget></container></container></container></screen></pre>
You can change the relative width of each panel by locating the line
<pre class="ip-ubbcode-code-pre"><layout class="arrange_horizontal_attachment" layout="-3,-2,-4" offset="0"/></pre>
and changing the numbers -3, -2, -4 to your requirements. I.e. currently the left panel takes up 3/(3+2+4) = 3/9 of the screen.
I've set the screens to show overview ("bmin"), match stats ("mtst") and player ratings ("bmts"), but this can be changed by locating the lines with "default_item" in them,
<pre class="ip-ubbcode-code-pre"><container class="multi_box" id="mpll" contents_kind="bordered_box" top_kind="subtle_popup" default_item="bmin" save_current_state="true" save_default_state="true"></pre>
and then changing to the appopriate requirement (out of the ones listed for each panel - I've removed some of the standard options from the middle panel, as they didn't seem to be properly supported).
Best of luck!
|
| |  | | Thread Tools | | | | Display Modes | Linear Mode |
Other threads in forum Skinning Hideout | | Thread | Date | Thread Starter | Replies | Last Post | Editor Problems
Editor Problems: I am currently having problems with my editor....
| 08-14-2007 | t_owen814 | 5 | 08-15-2007 07:23 PM | Background images
Background images: i have downloaded kavs stadium backgrounds off of...
| 04-09-2006 | Jay Tabb for England | 3 | 04-16-2006 12:09 PM | Is it possible to change the keeper kits?
Is it possible to change the keeper kits?: Just curious to know If it is possible to change...
| 04-02-2006 | Andy timm | 0 | 04-02-2006 10:59 AM | Hey I need serious help!! please
Hey I need serious help!! please: Hey I'm pretty new at this, and I have downloaded...
| 10-26-2005 | ForeverUnited | 1 | 10-26-2005 10:29 AM | Histoic update
Histoic update: I he played in a previous version of cm ( i think...
| 08-02-2005 | renatus | 2 | 08-02-2005 03:14 PM | | » Online Users: 15 | | 1 members and 14 guests | | Oblilm | | Most users ever online was 2,128, 07-21-2008 at 08:27 PM. | |