lfnetwork.com mark read register faq members calendar

Thread: 3 Byte RGB code calculator
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 07-22-2007, 11:25 AM   #1
glovemaster
Now-a-days GroovyCarrot
 
Join Date: Jan 2007
Location: Liverpool, UK
Posts: 697
Current Game: No time for games, sadly
Helpful! 
Arrow 3 Byte RGB Code Calculator: v1.6

3 Byte RGB code calculator


This tool will calculate the code for the colour that you put in the sun fog values in the ARE file and the "tweakcolor" values in the GIT file. There might be a few more places, but thats only where i have needed to use them.
Click on the big title to download ^.

v1.7
Added a "Colour Select" feature that opens up the Windows ColourDialog form.


Any suggestions are welcome.

A few basic colour codes:
White: 16777215
Red: 255
Green: 65280
Blue: 16711680

Last edited by glovemaster; 05-28-2013 at 02:55 PM. Reason: updating
glovemaster is offline   you may: quote & reply,
Old 10-03-2007, 03:10 PM   #2
glovemaster
Now-a-days GroovyCarrot
 
Join Date: Jan 2007
Location: Liverpool, UK
Posts: 697
Current Game: No time for games, sadly
Helpful! 
Version 1.3 released, yes there were 2 versions before that but they were not really important updates.. Now the program has an interface! w00t! :P

-v1.3---------------------
Changed the Program completely and added an interface using C# (C-Sharp) for which i have to thank MagnusLL
for suggesting that i change from C++ which is alot more difficult for interfaces.
--------------------------


If you're looking for any of the junk I did a few years ago; you can probably still find it all on filefront
glovemaster is offline   you may: quote & reply,
Old 10-04-2007, 05:34 AM   #3
magnusll
Rookie
 
Join Date: May 2007
Posts: 136
Notable contributor Helpful! 
Cool, glad my suggestion has been useful.
Oh BTW, this is also the value you should use in the SunDiffuse and SunAmbient colors when you create scratch-built areas. So if you want to have the general area light of one particular color, this is the tool to use.
magnusll is offline   you may: quote & reply,
Old 07-02-2008, 03:21 PM   #4
glovemaster
Now-a-days GroovyCarrot
 
Join Date: Jan 2007
Location: Liverpool, UK
Posts: 697
Current Game: No time for games, sadly
Helpful! 
Well, the day finally came when I needed to use this tool And I decided that it needed something to let you pick a colour, rather than guess how much red, green and blue is in turquoise. (Not that i was using that colour, I hate turquoise )

So I threw in a Colour Selector thing, so its far easier to use.


If you're looking for any of the junk I did a few years ago; you can probably still find it all on filefront

Last edited by glovemaster; 07-12-2008 at 08:58 AM.
glovemaster is offline   you may: quote & reply,
Old 05-28-2013, 12:57 PM   #5
glovemaster
Now-a-days GroovyCarrot
 
Join Date: Jan 2007
Location: Liverpool, UK
Posts: 697
Current Game: No time for games, sadly
Helpful! 
I've updated the link for this as it has apparently been down for some years but was hosted by kotor files in 2009


If you're looking for any of the junk I did a few years ago; you can probably still find it all on filefront
glovemaster is offline   you may: quote & reply,
Old 05-28-2013, 02:49 PM   #6
supreme kotor
Junior Member
 
supreme kotor's Avatar
 
Join Date: Mar 2013
Location: I'm lost.
Posts: 324
Current Game: Modding.. Wait is that a game?
THANK YOU THANK YOU THANK YOU THANK YOU!!!


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 05-28-2013, 03:40 PM   #7
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,286
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
Wow, didn't know about this. Will definitely be using it now.


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,
Old 06-01-2013, 01:32 PM   #8
LDR
Your Death Angel
 
LDR's Avatar
 
Join Date: Apr 2010
Location: Malachor V
Posts: 1,136
Current Game: Halo 3
Helpful! Roleplayer Imperialist Meatbags Guild Member The Walking Carpets Guild Member 
Would this also work with the GUI?



Forgive, but never forget. No amount of DLC can take back lying to your fan base. Trust is earned, not downloaded.



My Mods
Current Mod Thread
LDR is offline   you may: quote & reply,
Old 06-01-2013, 10:47 PM   #9
glovemaster
Now-a-days GroovyCarrot
 
Join Date: Jan 2007
Location: Liverpool, UK
Posts: 697
Current Game: No time for games, sadly
Helpful! 
I can't remember how the GUI works exactly but if there's colour codes required then yes, this tool will help


If you're looking for any of the junk I did a few years ago; you can probably still find it all on filefront
glovemaster is offline   you may: quote & reply,
Old 06-01-2013, 11:15 PM   #10
supreme kotor
Junior Member
 
supreme kotor's Avatar
 
Join Date: Mar 2013
Location: I'm lost.
Posts: 324
Current Game: Modding.. Wait is that a game?
^ I could be wrong...I've been wrong before but considering within KotorTool theirs a file pack that has GUI in the name my guess is you have to reskin the GUI using gimp or photoshop.


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 06-03-2013, 07:50 AM   #11
glovemaster
Now-a-days GroovyCarrot
 
Join Date: Jan 2007
Location: Liverpool, UK
Posts: 697
Current Game: No time for games, sadly
Helpful! 
Well since I've been getting back into it I reinstalled KotOR 2 on the laptop and had a look into it - turns out the GUI colours are made up of vector GFF structs with values of RGB represented as 0 to 1. So your vector will be something like [1.0, 1.0, 1.0] for white and [0.0, 0.0, 0.0] for black if you get me.

The calculator works in the standard RGB hex 255 so to get the vector value simply divide your hex value of R, G and B by 255:

So a light blue colour of R(128), G(128), B(255) will become vector: [0.5,0.5,1.0]


If you're looking for any of the junk I did a few years ago; you can probably still find it all on filefront
glovemaster is offline   you may: quote & reply,
Old 06-03-2013, 07:58 AM   #12
glovemaster
Now-a-days GroovyCarrot
 
Join Date: Jan 2007
Location: Liverpool, UK
Posts: 697
Current Game: No time for games, sadly
Helpful! 
Quote:
Originally Posted by supreme kotor View Post
^ I could be wrong...I've been wrong before but considering within KotorTool theirs a file pack that has GUI in the name my guess is you have to reskin the GUI using gimp or photoshop.
I should also mention the GUI files are for text and dynamic elements of the interface such as the inventory while the GUI textures are for buttons and icons and reticules.


If you're looking for any of the junk I did a few years ago; you can probably still find it all on filefront
glovemaster is offline   you may: quote & reply,
Old 06-04-2013, 11:14 AM   #13
Vindikorr
Rookie
 
Vindikorr's Avatar
 
Join Date: Apr 2013
Posts: 121
Current Game: TOR
Thanks gm, I used this tool a long time ago and then couldn't find it again for ages. I remember it was really useful. Good to know about the vectors as well.


My WIP: The Liberation of Manaan

Quote:
Originally Posted by Totalbiscuit
Can tell it's been a busy day, 121 Chrome tabs open
28.04428% on the geek test

Bile Beans keep you healthy, bright-eyed and slim
Vindikorr is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > T3-M4's Astromech Droid Center > 3 Byte RGB code calculator

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:07 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.