JSRZ Posted October 28, 2023 Share Posted October 28, 2023 Hey guys, I just wanted to know if it was possible to adapt the color of the polygon based on the color of the team the player is ? If it's too complicated then no worries, Thanks for your answer ! Link to post Share on other sites More sharing options...
keysi Posted October 28, 2023 Share Posted October 28, 2023 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. Link to post Share on other sites More sharing options...
JSRZ Posted October 28, 2023 Author Share Posted October 28, 2023 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. 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 More sharing options...
snowofman Posted October 28, 2023 Share Posted October 28, 2023 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 More sharing options...
JSRZ Posted October 28, 2023 Author Share Posted October 28, 2023 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 Link to post Share on other sites More sharing options...
snowofman Posted October 28, 2023 Share Posted October 28, 2023 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 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 More sharing options...
JSRZ Posted October 28, 2023 Author Share Posted October 28, 2023 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 Link to post Share on other sites More sharing options...
JSRZ Posted October 28, 2023 Author Share Posted October 28, 2023 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 My codes looking like this in the moment Link to post Share on other sites More sharing options...
snowofman Posted October 28, 2023 Share Posted October 28, 2023 3 minutes ago, JSRZ said: My codes looking like this in the moment 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 More sharing options...
JSRZ Posted October 28, 2023 Author Share Posted October 28, 2023 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 More sharing options...
snowofman Posted October 28, 2023 Share Posted October 28, 2023 1 minute ago, JSRZ said: What i want is it to be like in the first pic, like transparent, we see the polygon behind Ahh now i get what you mean.. i have to pass on that as i havnt played around with it. Sorry Link to post Share on other sites More sharing options...
JSRZ Posted October 28, 2023 Author Share Posted October 28, 2023 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 ! Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now