Jump to content

Player colors


sarcoma
 Share

Recommended Posts

@Stan`: As discussed in balance chat, maybe player colors could be customizable like this, in mod or a24

c1.png.998165eaf969f849345132f225c115f3.png

Would be nice if a color picker opens instead of writing raw rgb values. Could change gaia color too.
(I stole those blocks from fgod/gui/options/options.json)

            {
                "type": "color",
                "label": "Player 1 color",
                "tooltip": "Color of player 1.",
                "config": "gui.session.playercolors.one",
                "callback": "..something..."
            },

I don't know how to save those settings to simulation/data/settings/player_defaults.json
so I hard coded the values. Result

c2.png.b6c3ff988ab2d9cebc6ad0d8e9be352c.pngc3.png.8b028cd3dcc7b7b187f04d252dccf08a.pngc4.png.bb16ccedfb1bf423cf4ce0dcf621f34e.pngc5.png.43f658ee6ce4cea498510fa6a5ee87c2.png

  • Like 2
Link to comment
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...