Jump to content

Default skin with Opposition roles?


craiigman

Recommended Posts

okay so I've found this in another skin:

<?xml version="1.0" encoding="UTF-8"?>

<panel>
  <flags id="selected_appearance" value="boxes/custom/tactics kit/selected/paper"/>
  
  <layout class="arrange_vertical_attachment" alignment="bottom,extend" offset="0" gap="-7"/>
  <layout class="stick_to_sides_attachment" alignment="horizontal" inset="-1" layout_children="true"/>

  <container>
    <layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="-7"/>
    <layout class="stick_to_sides_attachment" alignment="horizontal" inset="-1" layout_children="true"/>

    <!--Capstick: I have literally no idea why this spacer is here, it only serves to make the icons tiny on 
    the match formation widget and the match formation lineups panels, it's silly.-->
    <!--<container height="18"/>-->

    <container>
      <widget class="tactics_kit_picture" id="kitp">
        <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
      </widget>

      <!--containers for the indicators-->
      <!--injury/red/yellow card-->
      <container id="inji" width="16" height="14">
        <layout class="stick_to_sides_attachment" alignment="left" inset="15"/>
        <layout class="stick_to_sides_attachment" alignment="bottom" inset="2"/>
      </container>
      <!--captain icon-->
      <widget class="picture" id="capi" scale_picture="true" file="icons/16px/captain" width="14" height="14">
        <layout class="stick_to_sides_attachment" alignment="left" inset="0"/>
        <layout class="stick_to_sides_attachment" alignment="bottom" inset="9"/>
      </widget>
    </container>
  </container>

  <container id="nmcN">
    <layout class="fit_children_attachment" alignment="vertical" offset="0" gap="0"/>
    <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="0"/>
    <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/>
    <!--name/condition etc.-->
    <container class="bordered_box" appearance="boxes/bordered/no margin/paper3">
      <layout class="fit_children_attachment" alignment="vertical" offset="2" gap="0"/>
      <layout class="arrange_vertical_attachment" alignment="top" offset="1" gap="0"/>
      <layout class="stick_to_sides_attachment" alignment="horizontal" inset="4" layout_children="true"/>

      <widget class="text" id="name" size="" alignment="centre,can_scale" auto_size="vertical" multiline="false" style="semi_bold"/>

      <!-- debug role/duty -->
      <container id="oppo" height="10">
        <layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="4"/>
        <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0"/>
        <layout class="fit_children_attachment" alignment="horizontal, fill" inset="0" offset="0" gap="4"/>
        <layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="4"/>
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true"/>

        <widget class="tactical_role_label" id="role" abbt="true" size="xsmall" colour="faded white" auto_size="horizontal"/>
        <widget class="label" size="xsmall" colour="faded white" auto_size="horizontal">
          <translation id="text" translation_id="233089" type="use" value="-" />
        </widget>
        <widget class="tactical_role_label" id="duty" abbt="true" size="xsmall" colour="faded white" auto_size="horizontal"/>
      </container> 
    </container>
  </container>

</panel>

and I have out this into my panel folder, however I get this: 

KtlgaRr.png

They are showing, but not currently visible. Can I change this?

Link to post
Share on other sites

2 minutes ago, D_LO_ said:

That means you have deleted something from the coding/it isn't closed correctly, one false move and that error message appears so you need to be careful. So either identify what you've deleted (ctrl+Z might help if you have the panel open or using notepad++ highlights coding 'blocks' if you're familiar with using this, it directs you if there is something amiss as the 'brackets' in the margin remain open) If you have no idea what you've deleted, can't see what you've changed by cross referencing with the above you've enclosed or are unsure by any of this, start again and acquire the panel from wherever you got it originally and as wkd says it's probably the height of the container which needs adjusting or a slight tweak in the format and make sure you only alter the numbers and don't delete anything else. 

I literally just changed the height from 10 to 8 and that was it. I was just using textedit on my Mac. I didn't touch anything else.

Link to post
Share on other sites

24 minutes ago, D_LO_ said:

I've been skinning for a few years and forgot to close plenty of codes and made plenty of errors in that time and I've received that exact same error message (barring the line of the error of course, forgot to say notepad++ even numbers the lines so that can be a guide of the issue too, line 49 in your case) each time, so I would question that but the reason is largely irrelevant tbh, there's a problem with the code so unless you can rectify it, with the guidance I suggested, start again and re-acquire the panel from wherever you got it, no big deal, you can make as many attempts as you wish. 

Notepad++ doesn't seem to work on a Mac, is there anything like it for Mac? Or is there an easier way to achieve what I am trying?

Link to post
Share on other sites

51 minutes ago, D_LO_ said:

I don't have a Mac so not familiar I'm afraid, I'm sure I've seen some things mentioned in passing, search the skinning forum for 'Mac' and have a quick scan of the threads to see what's mentioned, possibly...

I would have thought deleting the panel and starting again was the easiest option though as all you need to change is a number value or two so it's not a whole host of changes you're losing nor does it require much if any coding knowledge to proceed, just re-finding what you've already found (if you didn't keep a copy that is, if you still have a back-up copy then obviously it's a no-brainer) 

I used a fresh copy of it from the download, I opened it up with textedit (basically notepad) and changed the 10 to an 8. Hit save. That was all I done.

Link to post
Share on other sites

30 minutes ago, D_LO_ said:

We're going around in circles here, good luck. 

You're telling me I broke something, but telling me to change that number, and that's all I have changed, so how can I have broke something? 

I just want to add the opposition roles to the default skin.

Link to post
Share on other sites

Hi,

since FM generates this error message only if it's no correct XML in the file, you (or maybe the texteditor you are using) HAVE BROKEN something ;-) That's not to offend you, but that's a fact. I haven't come across this kind of error without later finding an error (missing opening or closing bracket, missing ", forgot to delete or create an additional tag etc...).

You may post your whole file here again and we have a look, but maybe you should consider the help you get here not being an offense but just that: help! ;)

 

Additionally, but maybe I misunderstood something... you are arguing that the box for Role/Duty is too small and still want to get a smaller container by reducing it's heigth? Don't know if that will produce what you want... Which screen resolution do you use? Potentially the shirt & box don't have enough space on your pitch to actually show in full since I do have exactly the same values in my files and it works great on 1920x1080 and larger... And maybe you want to copy over the "boxes/bordered/no margin/paper3"-File from the skin you took your xml, too...

Link to post
Share on other sites

5 hours ago, dwood79 said:

Hi,

since FM generates this error message only if it's no correct XML in the file, you (or maybe the texteditor you are using) HAVE BROKEN something ;-) That's not to offend you, but that's a fact. I haven't come across this kind of error without later finding an error (missing opening or closing bracket, missing ", forgot to delete or create an additional tag etc...).

You may post your whole file here again and we have a look, but maybe you should consider the help you get here not being an offense but just that: help! ;)

 

Additionally, but maybe I misunderstood something... you are arguing that the box for Role/Duty is too small and still want to get a smaller container by reducing it's heigth? Don't know if that will produce what you want... Which screen resolution do you use? Potentially the shirt & box don't have enough space on your pitch to actually show in full since I do have exactly the same values in my files and it works great on 1920x1080 and larger... And maybe you want to copy over the "boxes/bordered/no margin/paper3"-File from the skin you took your xml, too...

Okay I will start from scratch. Current Default white skin screen I am talking about:

Yu3rk2w.png

The roles/duties already show under my players, I'd like them to show under the opposition as well.

I downloaded this skin: https://sortitoutsi.net/downloads/view/31599/cfm-skin-2017-v10

Which when installed looks like this:

a0MF2Kx.png

However I only used this skin as I was struggling vs a certain formation and wanted to understand why. I don't like the skin, I like the default white one. So I want to add the opposition roles and duties to that. So I downloaded this: 

I then went through the panels from the first skin I downloaded and worked out which file it was that shows them, it was this file:

Iifjnow.png

But the roles/duties are there, but don't fit:

I4OumVp.png

And it also changes the way it looks, which may be part of the problem?

I was advised to change the number 10 in this line:]

<container id="oppo" height="10">

to a smaller number. I put 8, saved it, closed it. Reloaded the skin and reset cache. Went to the tactics screen and I got the error message I put above.

Ideally all I want is to add the opposition instructions to the same box they show under the default white skin like they do on my team. I am just trying to work out how to do that. I tried the method of using a panel from a different skin. That doesn't seem to have worked. Do you/does anyone know a way to do this?

 

Link to post
Share on other sites

As I said, since you get an error, pls post your CURRENT "tactics icon basic horizontal info panel.xml" here. There has to be an error. If you won't, I can't help, sorry. Your only problem is the size and appearance of the box, as far as I can see, so we should look there...

 

Link to post
Share on other sites

1 minute ago, dwood79 said:

As I said, since you get an error, pls post your CURRENT "tactics icon basic horizontal info panel.xml" here. There has to be an error. If you won't, I can't help, sorry. Your only problem is the size and appearance of the box, as far as I can see, so we should look there...

 

I downloaded an app called brackets. Went in and changed the 10 to a 14, it then disappears completely. I put 6 and it when hides under the player name. So 10 is correct. I just need to work out how to show the info now. So by that you're correct I need to adjust the box, but I have no idea which one that is?

Link to post
Share on other sites

26 minutes ago, dwood79 said:

As I said, since you get an error, pls post your CURRENT "tactics icon basic horizontal info panel.xml" here. There has to be an error. If you won't, I can't help, sorry. Your only problem is the size and appearance of the box, as far as I can see, so we should look there...

 

I have used the same file from the skin called: Vitrex17, I haven't done anything to it so far, this is the code:

<?xml version="1.0" encoding="UTF-8"?>

<panel>
  <flags id="selected_appearance" value="boxes/custom/tactics kit/selected/paper"/>
  
  <layout class="arrange_vertical_attachment" alignment="bottom,extend" offset="0" gap="-7"/>
  <layout class="stick_to_sides_attachment" alignment="horizontal" inset="-1" layout_children="true"/>

  <container>
    <layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="-7"/>
    <layout class="stick_to_sides_attachment" alignment="horizontal" inset="-1" layout_children="true"/>

    <!--Capstick: I have literally no idea why this spacer is here, it only serves to make the icons tiny on 
    the match formation widget and the match formation lineups panels, it's silly.-->
    <!--<container height="18"/>-->

    <container>
      <widget class="tactics_kit_picture" id="kitp">
        <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
      </widget>

      <!--containers for the indicators-->
      <!--injury/red/yellow card-->
      <container id="inji" width="16" height="14">
        <layout class="stick_to_sides_attachment" alignment="left" inset="15"/>
        <layout class="stick_to_sides_attachment" alignment="bottom" inset="2"/>
      </container>
      <!--captain icon-->
      <widget class="picture" id="capi" scale_picture="true" file="icons/16px/captaintactics" width="36" height="36">
        <layout class="stick_to_sides_attachment" alignment="left" inset="11"/>
        <layout class="stick_to_sides_attachment" alignment="bottom" inset="32"/>
      </widget>
    </container>
  </container>

  <container id="nmcN">
    <layout class="fit_children_attachment" alignment="vertical" offset="0" gap="0"/>
    <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="0"/>
    <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/>
    <!--name/condition etc.-->
    <container class="bordered_box" appearance="boxes/bordered/no margin/paper2" id="nmcn" >
      <layout class="fit_children_attachment" alignment="vertical" offset="2" gap="0"/>
      <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="0"/>
      <layout class="stick_to_sides_attachment" alignment="horizontal" inset="4" layout_children="true"/>

      <widget class="text" id="name" size="" alignment="centre,can_scale" auto_size="vertical" multiline="false" style="semi_bold"/>

      <!-- debug role/duty -->
      <container id="oppo" height="10">
        <layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="4"/>
        <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0"/>
        <layout class="fit_children_attachment" alignment="horizontal, fill" inset="0" offset="0" gap="4"/>
        <layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="4"/>
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true"/>

        <widget class="tactical_role_label" id="role" abbt="true" size="xsmall" colour="faded white" auto_size="horizontal"/>
        <widget class="label" size="xsmall" colour="faded white" auto_size="horizontal">
          <translation id="text" translation_id="233089" type="use" value="-" />
        </widget>
        <widget class="tactical_role_label" id="duty" abbt="true" size="xsmall" colour="faded white" auto_size="horizontal"/>
      </container> 
    </container>
  </container>

</panel>

this gives me this:

GqAsU8o.png

My resolution is 1280x800.

Link to post
Share on other sites

21 hours ago, craiigman said:

I literally just changed the height from 10 to 8 and that was it. I was just using textedit on my Mac. I didn't touch anything else.

The problem is (or was as you have fixed it) with that program on the Mac as it replaces the " with a slanted version that is actually a different character which isn't understood by FM, there should be an option in the program somewhere to stop it from doing that (smart punctuation I think it's called?).

Link to post
Share on other sites

  • 10 months later...
On 7/11/2017 at 20:49, craiigman said:

I done it!

XYJTSxo.png

Used the resource editor to grab the same file, and removed part of it. Created a panels folder, then tactics folder. Saved it there. Changed skin to the actual FM2017 white skin. And there we go :)

 

HI what exactly did u do? please explain it a little step by step. thanks

Link to post
Share on other sites

Hello can anyone please tell me what he did to activate it in the default skin, I m not a coding specialist but if directed properly I can get things done, n im kinda new in these things but badly want this......

Link to post
Share on other sites

On 12/05/2018 at 18:08, Sourav B said:

HI what exactly did u do? please explain it a little step by step. thanks

 

13 hours ago, Sourav B said:

Hello can anyone please tell me what he did to activate it in the default skin, I m not a coding specialist but if directed properly I can get things done, n im kinda new in these things but badly want this......

Unzip this and throw it into the panels folder, should work: https://drive.google.com/open?id=1y-FsTEsOYO963TgmgpEpBa3QzE17dcCp

Link to post
Share on other sites

Hi thanks for the help much appreciated but it didnt work. The formation panel is totally blank not showing.. is it resolution problem? my resolution is 1366x768 I play in standard normal laptop. if it is can u give me the file with proper res. thanks again 

Link to post
Share on other sites

12 minutes ago, craiigman said:

You on FM17? I’ll take a look at the file later I may have uploaded wrong one.

yeah I am on fm17. will wait for the file thanks by the way..

Link to post
Share on other sites

  • 5 months later...
vor 2 Stunden schrieb michaeltmurrayuk:

Yes exactly the same instructions as in previous version, refer to my linked post above instead of trying to download any files in the thread. 

Thank you. One more question: is there any way to see the opposition player roles during the game in a panel?

Link to post
Share on other sites

vor 47 Minuten schrieb michaeltmurrayuk:

If you turn that on then the roles should show on the various formation screens during a match. 

I appreciate all the help so far. Now I have discovered your Match Screen Mod and I am trying to change the panels there to show opposition player roles as well. I am pretty sure it's the "match both formations ibh_h" I have to modify (when watching the horizontal panel ofc). I just do not know what to do exactly.

Link to post
Share on other sites

1 hour ago, skylax said:

I appreciate all the help so far. Now I have discovered your Match Screen Mod and I am trying to change the panels there to show opposition player roles as well. I am pretty sure it's the "match both formations ibh_h" I have to modify (when watching the horizontal panel ofc). I just do not know what to do exactly.

You don't need to edit those files, it's the file mentioned in this post you need to edit and it will then affect all the formation panels that show shirts:

 

Link to post
Share on other sites

i signed in after a long time and first i didnt realize what post this is, then i realized "ohh that post!", I think this was my first post here, I still play fm17 im in 38th season n I love this mod, more of advanced modifications I should say..  I have learned many things about oppositions' tactics after using this I dont use it now but i did for 1.5 seasons.

Link to post
Share on other sites

  • 7 months later...
On 15/11/2018 at 20:59, michaeltmurrayuk said:

Yes exactly the same instructions as in previous version, refer to my linked post above instead of trying to download any files in the thread.

Sorry, where to find this "tactics icon basic horizontal info panel" FM19 Base skin? I Cannot find it, do i need to create new one?

Link to post
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Hello,

I tried to visualize the opposition roles and duties in FM 2019 as described above. Sadly, when I copied the "tactical icon basic horizontal info panel" from the FM 2017 (which worked well for this version) into the FM 2019 folder, it did not work. I was wondering, if somebody would be so kind to share a working file with me or would tell me how I need to edit the following code to make it work.  Thank you very much in advance for your help.

@michaeltmurrayuk do you think you could help me out?

 

      <!--debug role/duty-->
    <container id="oppo" height="10">
        <layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="4"/>
        <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0"/>
        <layout class="fit_children_attachment" alignment="horizontal, fill" inset="0" offset="0" gap="4"/>
        <layout class="arrange_horizontal_attachment" alignment="left" offset="0" gap="4"/>
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true"/>

        <widget class="tactical_role_label" id="role" abbt="true" size="xsmall" colour="white" auto_size="horizontal"/>
        <widget class="label" size="xsmall" colour="faded white" auto_size="horizontal">
          <translation id="text" translation_id="233089" type="use" value="-" />
        </widget>
        <widget class="tactical_role_label" id="duty" abbt="true" size="xsmall" colour="white" auto_size="horizontal"/>
      </container>
    </container>
  </container>

 

 

Link to post
Share on other sites

25 minutes ago, SQRT said:

Hello,

I tried to visualize the opposition roles and duties in FM 2019 as described above. Sadly, when I copied the "tactical icon basic horizontal info panel" from the FM 2017 (which worked well for this version) into the FM 2019 folder, it did not work. I was wondering, if somebody would be so kind to share a working file with me or would tell me how I need to edit the following code to make it work.  Thank you very much in advance for your help.

@michaeltmurrayuk do you think you could help me out?

 

 

change the top line to say 

    <container id="" height="10">

For the record, it wont work because FM17 files have different code to FM19, mostly 'layout_children' was replaced with 'apply_to_children'.

 

The easier option would be to follow this guide, and grab the file from FM19, and remove the ID in that.

 

Link to post
Share on other sites

On 15/07/2019 at 22:26, bluestillidie00 said:

change the top line to say 


    <container id="" height="10">

For the record, it wont work because FM17 files have different code to FM19, mostly 'layout_children' was replaced with 'apply_to_children'.

 

The easier option would be to follow this guide, and grab the file from FM19, and remove the ID in that.

 

Thanks for your fast response. I followed the guide and it worked. I also realized that the guide was already posted above but I did not connect it to my issue. Sorry, I did not want to be that guy.

Link to post
Share on other sites

5 hours ago, SQRT said:

Thanks for your fast response. I followed the guide and it worked. I also realized that the guide was already posted above but I did not connect it to my issue. Sorry, I did not want to be that guy.

no need to apologize man! Skinning is a very daunting thing to get your head round, I started in FM 15, and it wasn't until last year where it clicked and I figured out what I was doing. I was probably that guy :lol:

 

 

Link to post
Share on other sites

  • 3 weeks later...
On 15/11/2018 at 16:58, michaeltmurrayuk said:

If you turn that on then the roles should show on the various formation screens during a match.

I think I'm nearly there, I just need the last bit of guidance

I've followed your posts, found the "tactics icon basic horizontal info panel", extracted it with the Resource Archiver to somewhere out of the way, opened it with Notepad, deleted "rodu" & saved it. Then this is part I'm not 100% on, where to put the file

I found it in C:/ Program Files (x86)/ Steam/ steam apps/ common/ Football Manager 2019/ data/ game

First I tried just putting it in the game folder, that didn't work, so I created a panels folder inside the game folder & moved it there, that didn't work either

I've done something wrong somewhere, I'm just not sure where

I only use the default Football Manager skin for the record

 

 

 

     

Link to post
Share on other sites

4 hours ago, Johnny Ace said:

I think I'm nearly there, I just need the last bit of guidance

I've followed your posts, found the "tactics icon basic horizontal info panel", extracted it with the Resource Archiver to somewhere out of the way, opened it with Notepad, deleted "rodu" & saved it. Then this is part I'm not 100% on, where to put the file

I found it in C:/ Program Files (x86)/ Steam/ steam apps/ common/ Football Manager 2019/ data/ game

First I tried just putting it in the game folder, that didn't work, so I created a panels folder inside the game folder & moved it there, that didn't work either

I've done something wrong somewhere, I'm just not sure where

I only use the default Football Manager skin for the record

 

 

 

     

download a base skin, it goes in panels/tactics

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...