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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...