Home » FULL CONTROL GAMES » #JAFDEV Modders Corner » MODDING GUIDE: Body Colors
MODDING GUIDE: Body Colors[message #337408] Fri, 31 October 2014 13:46 Go to next message
Shanga

 
Messages:3550
Registered:January 2000
Location: Danubia
From Christian@FC

Quote:

The colors are based of a tint mask texture. You might've seen some of them already in our data files. It's the .tga textures made out of shapes of red, blue, green and black.

Instead of reading the list as:
UpperBodyColor1
UpperBodyColor2
UpperBodyColor3

Think of it as:
UpperBodyColorR
UpperBodyColorG
UpperBodyColorB

Not all body parts uses all of the available channels for tinting so sometimes pants for example might be on Color1(R) or Color2(G) and sometimes on the opposite channel.

So its a bit confusing if you can't see the texture tint maps... BUT luckily for you in this case you want to change the skin color, which should always be Color3(B).

Basically whenever a body part shows skin, you can be sure that its Color3 that you want to mess with.


Quote:
BONUS:
Just got this from Thomas Lund on FB:

Cant wait for you to approve me on the forums, so posting here This is the color guide that I use to get me the float values straight away:

http://prideout.net/archive/colors.php


"UpperBodyColor1": "0.208, 0.216, 0.271", <-- cloth color A
"UpperBodyColor2": "0.878, 0.804, 0.757", <-- cloth color B

"UpperBodyColor3": "0.318, 0.231, 0.192", <-- torso skin color

"LowerBodyColor1": "0.412, 0.427, 0.502", <-- cloth color A
"LowerBodyColor2": "0.396, 0.431, 0.451", <-- cloth color B

"LowerBodyColor3": "0.412, 0.427, 0.502", <-- legs skin color

To get the above FC values, just make yourself a spreadsheet that takes RGB decimal values and divides them by 255 (dec. RGB red is: 255 0 0 so in FC notation it comes to 1, 0, 0). Pretty easy.
You need to keep in mind that each body model has different cloth colors. Some like Tshirts only use 1 color, others have 2 colors. That's what Christian was saying.

From my own research (not 100% accurate), the JA2 colors are not straight red/yellow/gray:

http://i.imgur.com/lTLHJ7N.jpg

Quote:
TOP REDSHIRT: 0.79, 0.20, 0.08
PANTS GREEN: 0.32, 0.38, 0.17

[Updated on: Fri, 31 October 2014 21:31] by Moderator



Re: MODDING GUIDE: Body Colors[message #337415] Fri, 31 October 2014 17:47 Go to previous message
Claudius

 
Messages:15
Registered:January 2004
Location: France
As a rule of thumb just copy HeadColor to UpperBodyColor3 and LowerBodyColor3, for UpperBodies and LowerBodies that show some skin.

There are convenient pages to get the RGB values like this one : http://www.rapidtables.com/web/color/RGB_Color.htm

[Updated on: Fri, 31 October 2014 17:48] by Moderator

Previous Topic: Dreaming up a New Tomorrow
Next Topic: MOD IDEA: Spoiler Minimap
Goto Forum:
  


Current Time: Sat Feb 24 21:42:10 EET 2018

Total time taken to generate the page: 0.00962 seconds