Jump to content

A formula for base colors


Recommended Posts

Here's a easy formula for getting the base colors you want. First use your paint programs color picker or whatever to find a color you like and write down the RGB values. Then take each value and enter them into this formula to get the decimal equivalent.

Multiply your RGB value by 2 then divide by 255.

for example...a nice sky blue color.........RGB 105, 153, 248

2 x 105 = 210 divided by 255 = 0.8392

2 x 153 = 306 divided by 255 = 1.2000

2 x 248 = 496 divided by 255 = 1.9451

There you have your base color values.....0.8392, 1.2000, 1.95451........shure, sky blue looks a little gae with the rest of the uniform, but you'll get used to it... :blink:

Remember Lancer's info from a previous post.......all the xmls from the lib/managers/xml/ folder have to remain in the mod or this won't show in game.....at least that has been my experience.

I haven't tested this extensively, but so far has worked well, should save some :wall:

Edited by BigLloyde
Link to comment
Share on other sites

Much appreciated bro :):thumbsup:

Thanks for that...

Been messing with it all day, seems to work really well. One thing though, seems to work best when picking your color to go a little darker than you want, then do the conversion and give it a try. The game seems to brighten it a little too much if you try to go for the exact color.

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.

×
×
  • Create New...