Aces High Bulletin Board

General Forums => Custom Arenas => Topic started by: ImADot on November 25, 2011, 11:30:21 PM

Title: Sample Arena Colors
Post by: ImADot on November 25, 2011, 11:30:21 PM
I've spent lots of time tweaking colors, and think these look pretty darn nice.  Word of warning: DO NOT change the light color to 0,0,0 or you won't see the clipboard or any part of the interface!

Arena Color   Red   Green   Blue


Cloud   
Day   240   250   252
Dusk   183   138   112
Night   9   6   18

DuskFog   
Day   230   240   240
Dusk   181   131   119
Night   0   6   16

Fog
Day   126   169   222
Dusk   203   131   94
Night   8   8   27

Light   
Day   245   245   241
Dusk   242   192   179
Night   94   94   120

Sky   
Day   100   140   230
Dusk   158   131   155
Night   5   5   27

Sun   
Day   255   255   241
Dusk   226   147   96
Night   160   146   161



If anyone comes up with colors they'd like to share, post them here.
Title: Re: Sample Arena Colors
Post by: oneway on November 26, 2011, 01:41:47 PM
This might interest some of the Arena guys...

This is great little color picker tool that lets grab colors and displays and allows you to copy the Long, HEX and RGB formats of the color you have chosen. It has a pick from screen so you can grab a color from anywhere or any other non modal application

You can also type in Long HEX and RGB if you want and it will translate it to the other formats for you...has a fly out pallet

I have been using this for map making and graphics for years now...

There is no installation...no dependencies and has the foot print of baby when running

Out

Oneway

Note: when in the game setting up colors, Aces High accepts the RGB format, however the VAR file stores the values in the Long format...that is one of the reasons this tool is so handy...as it can walk them back and forth and allows direct editing of the VAR and method to see what the Long Color Value looks like if you lift and paste the Long Value from the VAR to this picker

http://www.cadframers.com/ah/map_tools/ColorPicker.exe

(http://www.cadframers.com/ah/map_tools/color_picker.png)
Title: Re: Sample Arena Colors
Post by: ImADot on November 26, 2011, 02:19:58 PM
That's a cool tool, oneway. I actually wrote some VBA functions in Excel. I can enter the RGB values, preview the color and apply the whole color set to an existing .var file once I've had the game create arena tables for a terrain I want to use.

(http://i289.photobucket.com/albums/ll239/ViperDriver/AcesHighII/ArenaColors.jpg)
Title: Re: Sample Arena Colors
Post by: oneway on November 26, 2011, 10:47:32 PM
Very nice

How are you translating to AH Decimal? and back again

Can you post the VBA to translate from decimal to ah decimal

Or link the entire XLS?

Curious

Oneway
Title: Re: Sample Arena Colors
Post by: ImADot on November 27, 2011, 12:25:51 AM
The AH Decimal seems to change every time you update it in AH - even if it's the same exact RGB values. What I did was append the same hex "header" string to the actual values to make them "AH" values. It seems to work and I haven't seen any side-effects. I didn't make it very fancy, since I wasn't planning on anyone else using it...

Here's the simple code, and the link to the .xlsm (macro-enabled spreadsheet) is below them.


Function HexToAHDecimal(hex_val As String) As Long
    Dim AH_val As Long
   
    AH_val = CLng("&H6E" & hex_val)
    HexToAHDecimal = AH_val

End Function

Function AHDecimalToHex(AH_val As Long) As String
    Dim hex_val As String
   
    hex_val = Hex(AH_val)
    AHDecimalToHex = Right(hex_val, 6)

End Function


Link to spreadsheet file
http://www.mediafire.com/?0oqp0ta970zp8hj (http://www.mediafire.com/?0oqp0ta970zp8hj)
Title: Re: Sample Arena Colors
Post by: oneway on November 27, 2011, 01:12:34 AM
The AH Decimal seems to change every time you update it in AH - even if it's the same exact RGB values. What I did was append the same hex "header" string to the actual values to make them "AH" values. It seems to work and I haven't seen any side-effects. I didn't make it very fancy, since I wasn't planning on anyone else using it...

Here's the simple code, and the link to the .xlsm (macro-enabled spreadsheet) is below them.


Function HexToAHDecimal(hex_val As String) As Long
    Dim AH_val As Long
    
    AH_val = CLng("&H6E" & hex_val)
    HexToAHDecimal = AH_val

End Function

Function AHDecimalToHex(AH_val As Long) As String
    Dim hex_val As String
    
    hex_val = Hex(AH_val)
    AHDecimalToHex = Right(hex_val, 6)

End Function


Link to spreadsheet file
http://www.mediafire.com/?0oqp0ta970zp8hj (http://www.mediafire.com/?0oqp0ta970zp8hj)

Thank you

Fascinating the bolded text in your comment....that text box above the color sliders is read-only if I am not mistaken...and the only way to effect change is via the sliders...notwithstanding that you can paste into it or type into it....doing so seems to have no effect...and why identical slider choices would produce inconsistent read only output isn't worth exploration...it is so much easier to simply mod the var

I am a code junky...love arena data setups via code (fld, var, dod, pln...motd, weapons...log crunching (csv)...terrain crunching (oba))...its a hobby of mine...working in C# NET right now

Anytime you want to talk code let me know....shoot me a pm

Thanks again

 :aok
Title: Re: Sample Arena Colors
Post by: ImADot on November 27, 2011, 10:52:39 AM
...and why identical slider choices would produce inconsistent read only output isn't worth exploration...it is so much easier to simply mod the var

It's not so much they're inconsistent...just the "&H6E" part changes. What I did was past the AH value into an interwebz calculator (I think the first one was just the Google search bar). I think AH is using (for the lack of a better word at the moment) "more" or "longer" hex digits. After playing around, it looked to me like just the first few digits changed but the base block (which I think is the actual color code) doesn't change.
Title: Re: Sample Arena Colors
Post by: ImADot on February 06, 2012, 09:11:36 PM
For InCrypt, here's a picture with my current custom colors for my arenas. I'm processing a sample video to post on YouTube to show sunrise and sunset to give you an idea of how the sky and sun color changes accordingly. I'll post a link to the vid when it's ready.

(http://i289.photobucket.com/albums/ll239/ViperDriver/AcesHighII/AcesHighColors.jpg)
Title: Re: Sample Arena Colors
Post by: hitech on February 07, 2012, 11:11:48 AM
Ah simply stores the in 0xAABBGGRR format converted to decimal, in the colors the Alpha had been uninitialized because it was not used, i fixed it so it will be set to zero.
Title: Re: Sample Arena Colors
Post by: ImADot on February 07, 2012, 11:18:03 PM
I updated my little Excel color calculator thingy...
http://www.mediafire.com/download.php?j4x1uuon7tqhp84 (http://www.mediafire.com/download.php?j4x1uuon7tqhp84)

Here's a sample video of sunrise and sunset using my custom colors in my Canyon terrain.
I set the time multiplier to 100x so you can see the sun and sky changing colors.
Please excuse the crappy quality; encoding pooched some, and I'm sure YouTube adding a little too.
http://www.youtube.com/watch?feature=player_detailpage&v=vi_cdbiKfvs (http://www.youtube.com/watch?feature=player_detailpage&v=vi_cdbiKfvs)
Title: Re: Sample Arena Colors
Post by: Nr_RaVeN on February 08, 2012, 02:06:51 PM
just slide the stuff around till it looks cool..... :D
Title: Re: Sample Arena Colors
Post by: ImADot on February 08, 2012, 02:14:27 PM
just slide the stuff around till it looks cool..... :D

Yeah, but my li'l Excel thingy will take those values and apply them to any .var file you have. So it's quick and easy to apply your favorite color scheme to all your terrains.  I just haven't put in the function to read the colors from a sample .var file that you created inside the game where you just slid stuff around till it looked good.  :aok
Title: Re: Sample Arena Colors
Post by: Nr_RaVeN on February 08, 2012, 03:41:43 PM
very cool.. :aok
Title: Re: Sample Arena Colors
Post by: 68falcon on February 08, 2012, 05:13:40 PM
Looks really nice  :aok