Jump to content

Player role drop down menu


keysi
 Share

Recommended Posts

Hi all, can some of you point me in the right direction what panel or widget affect this drop down menu?

I want to edit the background and also the colour of the selected item/role from purple to some different colour.

But as it stands, I can't find the right place.

Thanks

obrazek.thumb.png.2dba4cdcec3b49ed99d76184572d79fc.png

Link to post
Share on other sites

panels/tactics/role duty selector panel.xml

You'll want to edit the graphics here to change the colours. I believe they reference "bg accent"

<string id="left_appearance" value="switches/role toggle/split/left/button"/>
<string id="middle_appearance" value="switches/role toggle/split/middle/button"/>
<string id="right_appearance" value="switches/role toggle/split/right/button"/>
<string id="normal_appearance" value="switches/role toggle/normal/button"/>
<string id="role_appearance" value="switches/role toggle/no normal state/button"/>
 

Link to post
Share on other sites

8 hours ago, bluestillidie00 said:

panels/tactics/role duty selector panel.xml

You'll want to edit the graphics here to change the colours. I believe they reference "bg accent"

<string id="left_appearance" value="switches/role toggle/split/left/button"/>
<string id="middle_appearance" value="switches/role toggle/split/middle/button"/>
<string id="right_appearance" value="switches/role toggle/split/right/button"/>
<string id="normal_appearance" value="switches/role toggle/normal/button"/>
<string id="role_appearance" value="switches/role toggle/no normal state/button"/>
 

Thank you very much, it works ;)

obrazek.png.41dfdaf1c9d8e7fb8b7e01d83eed4c97.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...