Jump to content

Change the color of the polygon base on the team color


JSRZ
 Share

Recommended Posts

It's easy and possible. You only need to edit the 'player attribute analyser outfield.xml' for players and the 'player attribute analyser goalkeeper.xml' for keepers. 

You will find there colours for the layers and for ring colours too. 

image.png.e930484d96a494b7c35d09c8058c662a.png

 

Link to post
Share on other sites

Il y a 11 heures, keysi a dit :

It's easy and possible. You only need to edit the 'player attribute analyser outfield.xml' for players and the 'player attribute analyser goalkeeper.xml' for keepers. 

You will find there colours for the layers and for ring colours too. 

image.png.e930484d96a494b7c35d09c8058c662a.png

 

Okay nice thanks, but is it possible for the polygon to change color base on the team, like when i look a player at Milan the polygon is red, when i look a payer in PSG the polygon is blue

 

Link to post
Share on other sites

7 minutes ago, JSRZ said:

Okay nice thanks, but is it possible for the polygon to change color base on the team, like when i look a player at Milan the polygon is red, when i look a payer in PSG the polygon is blue

 

you can try and use primary and or secondary

Link to post
Share on other sites

il y a 7 minutes, snowofman a dit :

you can try and use primary and or secondary

You mean remplace the color by the primary and secondary of club ?

I want the color to change for every player i click, not stay the same, i don't know if you guys understand what i mean

 

Capture d’écran 2023-10-28 151941.png

Link to post
Share on other sites

1 minute ago, JSRZ said:

You mean remplace the color by the primary and secondary of club ?

I want the color to change for every player i click, not stay the same, i don't know if you guys understand what i mean

 

Capture d’écran 2023-10-28 151941.png

you need to replace those line with a color - Look at the picture @keysi posted above

instead of fg use primary or secondary.. i'm not sure it's gonna work, but can't see why not

Link to post
Share on other sites

il y a 10 minutes, snowofman a dit :

you need to replace those line with a color - Look at the picture @keysi posted above

instead of fg use primary or secondary.. i'm not sure it's gonna work, but can't see why not

It's working, but now it's like full, id like to have it like the old one, so the outer line full and the middle like transparent a little bit, is it with the alpha ? Completly new with this

ce1.png

ce3.png

ce2.png

Link to post
Share on other sites

il y a 3 minutes, JSRZ a dit :

It's working, but now it's like full, id like to have it like the old one, so the outer line full and the middle like transparent a little bit, is it with the alpha ? Completly new with this

ce1.png

ce3.png

ce2.png

My codes looking like this in the moment

notes.png

Link to post
Share on other sites

3 minutes ago, JSRZ said:

My codes looking like this in the moment

notes.png

But if you don't want it "full" as you snowed in the op post.

what is it you want in club colours ? the lines ? which i doubt is possible, tho i am not 100% sure as i havnt played around with it 

Link to post
Share on other sites

il y a 5 minutes, snowofman a dit :

But if you don't want it "full" as you snowed in the op post.

what is it you want in club colours ? the lines ? which i doubt is possible, tho i am not 100% sure as i havnt played around with it 

What i want is it to be like in the first pic, like transparent, we see the polygon behind

 

Link to post
Share on other sites

il y a 4 minutes, snowofman a dit :

Ahh now i get what you mean.. i have to pass on that as i havnt played around with it. Sorry

Like on this pic, i want the border to be the secondary color, the center to be the primary or the other way around i don't mind, and i want it to be like not opaque

I understand, thanks for the help tho, i am going somewhere ! :)

colorsss.png

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

  • Recently Browsing   0 members

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