Halo 2 Color Calculator [Converts RGB to Real Colors]
- Click16
- Posts: 1941
- Joined: Mon Dec 31, 2007 4:36 am
- Location: United States
Halo 2 Color Calculator [Converts RGB to Real Colors]
If you see color values in Entity, odds are that they will not be like regular color values (#'s 0 - 255) It would be more like 0 - 1, consisting of decimals. Well, this app will allow you to get a regular RGB value and convert it into a Halo 2 RGB value. While most of you like to do the math in your head, or on a piece of paper, this will be a lot quicker. Just open it up, type in the values and boom, done.
The program allows you to take regular H2 color data and convert it into regular RGB color data and the other way around.
Features:
An easy-to-use User Interface
Preview panes for your colors
Color picker
Help features
Backwards converting (Converting from RGB to H2 and back)
File saving (Saves the color values present in the application)
Added more help topics
"Show on Top of all Other Windows" check box.
Saving color settings for both RGB and Halo 2, along with being able to load the colors from a text doc.
Mirror 1: Pictures:
Before:
- Entity Sky Tag with intensified fog, but not edited
- In-Game shot of intensified fog, but not edited
After:
- Entity Sky tag with edited fog
- In-Game shot of edited fog
The pictures above aren't of the latest up-to-date version. Download the attachment to see the newest version.
Last edited by Click16 on Sun Jan 31, 2010 7:06 pm, edited 5 times in total.
- Gary
- Posts: 1946
- Joined: Thu Feb 14, 2008 10:17 pm
- Location: USA, FL
- Contact:
Re: Halo 2 Color Calculator
Neat, I can see this being handy. Though it is something that should be built into the modding application.
- troymac1ure
- Keeper of Entity
- Posts: 1282
- Joined: Sat Aug 09, 2008 4:16 am
- Location: British Columbia, Canada, eh
- Contact:
Re: Halo 2 Color Calculator
*Noted
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Halo 2 Color Calculator
I actually wanted to add a data type like this for my meta editor, but I don't know anything about the different color types in halo 2. Also wanted to do an Angle type and a placement type, with i j and k stuff in a different way than just random numbers.
- Click16
- Posts: 1941
- Joined: Mon Dec 31, 2007 4:36 am
- Location: United States
Re: Halo 2 Color Calculator
Updated the program with more features and proof pictures.
- troymac1ure
- Keeper of Entity
- Posts: 1282
- Joined: Sat Aug 09, 2008 4:16 am
- Location: British Columbia, Canada, eh
- Contact:
Re: Halo 2 Color Calculator UPDATE
Fully implemented:
The only "bug" that I can see is the way it handles alpha values. It changes the alpha value to 1 and auto-converts the RGB values to match the modified alpha. So the colors shouldn't change, but values will.
It requires no modification to plugins either
The only "bug" that I can see is the way it handles alpha values. It changes the alpha value to 1 and auto-converts the RGB values to match the modified alpha. So the colors shouldn't change, but values will.
It requires no modification to plugins either
- XZodia
- Staff
- Posts: 2208
- Joined: Sun Dec 09, 2007 2:09 pm
- Location: UK
- Contact:
Re: Halo 2 Color Calculator UPDATE
How'd you manage that?troymac1ure wrote:It requires no modification to plugins either
- socrates
- Posts: 565
- Joined: Tue May 27, 2008 9:22 pm
- Location: Oklahoma
Re: Halo 2 Color Calculator UPDATE
XD Troy that is almost exactly what I was hoping you would do when you posted "Noted"
my other thought was you were going to make a dropdown in the tools menu that would open Click's app XD
anyways, that shows up anytime you've got color values? neat useful visual changer's like this could be very useful for other
aspects as well, Lights mb? idk effects on shaders? (diffuse specularity etc.)
my other thought was you were going to make a dropdown in the tools menu that would open Click's app XD
anyways, that shows up anytime you've got color values? neat useful visual changer's like this could be very useful for other
aspects as well, Lights mb? idk effects on shaders? (diffuse specularity etc.)
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Halo 2 Color Calculator UPDATE
Did you just check the name to see if it had color in it?
- troymac1ure
- Keeper of Entity
- Posts: 1282
- Joined: Sat Aug 09, 2008 4:16 am
- Location: British Columbia, Canada, eh
- Contact:
Re: Halo 2 Color Calculator UPDATE
It checks for (convert to lowercase) " r", " g", " b" and " a" (if it exists). They must be consecutive and if so, the color wheel appears and updates the text boxes (or vise-versa). So this will work with anything like "Color R", "Tint G", "Bitch B", etc. (I think I may also have it check for red, green, blue as well for extra compatibility)OwnZ joO wrote:Did you just check the name to see if it had color in it?
This could pose a problem if you have three boxes in a row named something like:
Big Banannas
Fast Running
Lower Ground
where all those strings in a row.
Just ran it again after posting and found a bug with it. Need to check and see if it's in the Alpha portion of the code (it was a late add-in)
- Click16
- Posts: 1941
- Joined: Mon Dec 31, 2007 4:36 am
- Location: United States
Re: Halo 2 Color Calculator UPDATE
I think it would work better if it was in the plugin. but that is cool... kinda makes my app useless tho.
- Grimdoomer
- Admin
- Posts: 1835
- Joined: Sun Dec 09, 2007 9:09 pm
Re: Halo 2 Color Calculator UPDATE
I would use fields in plugins. Here are the types h2 uses for colors:troymac1ure wrote:It checks for (convert to lowercase) " r", " g", " b" and " a" (if it exists). They must be consecutive and if so, the color wheel appears and updates the text boxes (or vise-versa). So this will work with anything like "Color R", "Tint G", "Bitch B", etc. (I think I may also have it check for red, green, blue as well for extra compatibility)OwnZ joO wrote:Did you just check the name to see if it had color in it?
This could pose a problem if you have three boxes in a row named something like:
Big Banannas
Fast Running
Lower Ground
where all those strings in a row.
Just ran it again after posting and found a bug with it. Need to check and see if it's in the Alpha portion of the code (it was a late add-in)
Code: Select all
rgb color
argb color
real rgb color
real argb color
real hsv color
real ahsv color
Don't snort the magic, we need it for the network.
- OwnZ joO
- Posts: 1197
- Joined: Sun Dec 09, 2007 4:46 pm
Re: Halo 2 Color Calculator UPDATE
Yeah i figured it had to do something with the name. I wanted to add color field types to the plugins after i saw altimat do it with his app.
- JacksonCougar
- Huurcat
- Posts: 2460
- Joined: Thu Dec 06, 2007 11:30 pm
- Location: Somewhere in Canada
Re: Halo 2 Color Calculator UPDATE
I got bored one day so I played around with an idea of making meta controls not hard-coded. Worked very well. A user could program a control in C#, make it a library, then import it and link it to a plugin type: like Color.