Jump to content

Change background turf in tactics overview


androxinea
 Share

Recommended Posts

You need to edit "pitch with tactics container" found in panels/tactics. I've added the vanilla file if you don't have it.

Find the line: <string id="pitch_base_appearance" value="" /> and inbetween the "" of the value point to a .png file that changes the look of the pitch. For example:  <string id="pitch_base_appearance" value="pitch/tactics_pitch_graphic" />

The .png will need to go in the graphics folder of your skin. In the example I put the graphic in graphics/pitch and named the file "tactics_pitch_graphic", but you can put it anywhere in graphics really as long as you point to the correct path in the code above. You don't need to include /graphics in the code ... just the folder in the graphics folder that holds the .png. Create a folder ("pitch" for example) if you don't have one.

Now you need to find a graphic. Quite a few skins out there change the look of the tactics pitch, so if you're only using it for personal use, perhaps you could look for it there. Graphics/pitch would be a good place to start. There are also quite a few football pitch pngs on a google search ;)

Edit: You may need to play around with some of the other values to get it all to sit right. For instance change the value to "0" on this line: <integer id="line_width" value="1" /> to not have duplicate pitch lines (if you use a graphic that has pitch lines on it already, of course) ;)

pitch with tactics container.xml

Edited by Tyburn
Link to post
Share on other sites

On 24/06/2021 at 14:06, Tyburn said:

You need to edit "pitch with tactics container" found in panels/tactics. I've added the vanilla file if you don't have it.

Find the line: <string id="pitch_base_appearance" value="" /> and inbetween the "" of the value point to a .png file that changes the look of the pitch. For example:  <string id="pitch_base_appearance" value="pitch/tactics_pitch_graphic" />

The .png will need to go in the graphics folder of your skin. In the example I put the graphic in graphics/pitch and named the file "tactics_pitch_graphic", but you can put it anywhere in graphics really as long as you point to the correct path in the code above. You don't need to include /graphics in the code ... just the folder in the graphics folder that holds the .png. Create a folder ("pitch" for example) if you don't have one.

Now you need to find a graphic. Quite a few skins out there change the look of the tactics pitch, so if you're only using it for personal use, perhaps you could look for it there. Graphics/pitch would be a good place to start. There are also quite a few football pitch pngs on a google search ;)

Edit: You may need to play around with some of the other values to get it all to sit right. For instance change the value to "0" on this line: <integer id="line_width" value="1" /> to not have duplicate pitch lines (if you use a graphic that has pitch lines on it already, of course) ;)

pitch with tactics container.xml 2.02 kB · 4 downloads

Thanks, it worked!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...