Jump to content
Sign in to follow this  
avibird 1

where can you get the color colors that you can use in the game ie #ff0000 = red.

Recommended Posts

Where can I get a list of colors and codes that you can use for in game menus. I know that this code //_color = "#ff0000";// will give me red and I found this web site that has a color chart. http://html-color-codes.info Can I just make up a code from the chart or does the game only have a set number of colors that can be used like with the in game SmokeShell. Avibird

Share this post


Link to post
Share on other sites

AVIBIRD 1, here's one more for you. I found in a post somewhere on these forums(I have in an email to myself, just didn't bother to look, as I have the page bookmarked)

Image modification online

I've used for images, but useful for returning rgb and html values. Use the color picker towards the bottom.

Share this post


Link to post
Share on other sites

Yes, you can use any color. In addition to defining the color in the addAction, you can define colors as variables then call them in any addAction you create:

whiteText = {"<t color='#FFFFFF'>" + _this + "</t>"};
greenText = {"<t color='#00FF00'>" + _this + "</t>"};
redText = {"<t color='#FF0000'>" + _this + "</t>"};

action1 = player addAction ["Action 1" call whiteText, "action1.sqf"]; 
action2 = player addAction ["Action 2" call greenText, "action2.sqf"]; 
action3 = player addAction ["Action 3" call redText, "action3.sqf"];

Share this post


Link to post
Share on other sites
So what you guys are saying is that the addaction menus can be any color your little heart wants using the charts above including my web site above.

1. http://html-color-codes.info

2. http://www.w3schools.com/tags/ref_colorpicker.asp

3. http://www.colorpicker.com/

Exactly, But please take a look at the Thread I posted. :p

Here is the link again: http://www.armaholic.com/forums.php?m=posts&q=22563

This thread here also helped me learn how to colour addActions and stuff.

EDIT: I'm also really unsure if you can colour smoke grenades via the colour code. :confused:

Share this post


Link to post
Share on other sites
Exactly, But please take a look at the Thread I posted. :p

Here is the link again: http://www.armaholic.com/forums.php?m=posts&q=22563

This thread here also helped me learn how to colour addActions and stuff.

EDIT: I'm also really unsure if you can colour smoke grenades via the colour code. :confused:

Here is something similar that also has an at a glance chart if you don't want to play with the slider.

http://www.quackit.com/html/html_color_codes.cfm

Share this post


Link to post
Share on other sites

@zulu1 I like this one it will reduce testing lol (:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×