Jump to content

Editing .JSLOT File


Recommended Posts

Posted

I have exported the preset for my character. During the creation I was unable to quite get the skin color correct using the custom color sliders. Do any of you talented people know if it is possible to edit the .jslot file directly if I know the RGBA values that I want to use for the skin color. I see there is a section for tintcolor info in the jslot file but the values don't mean anything to me. I have been unable to find any info on the internet with regards to .jslot creation.  Your assistance is greatly appreciated as always.

Posted

Gosh...

Quote

   "tintInfo" : [
      {
         "color" : 4294965247,
         "index" : 0,
         "texture" : "Actors\\Character\\Character Assets\\TintMasks\\SkinTone.dds"
      },

color is decimal value

 

In programming You can show value in many many ways

for example Decimal values are "normal" numbers ppl just use

 

10 means 10 

0 means 0

 

You probably already heard about "Binary Code" its for example 01010101000111101

 

You can translate Binary Code to Decimal Code very easly... lets say we have Binary Code:

Code: 001101

 

My english is potato so its hard to explain for me how it actualy works ^_^ but

each position of 0 or 1 is power with base of 2

 

2^0 = 0

2^1 = 2

2^2 = 4

2^3 = 8

2^4 = 16

2^5 = 32

2^6 = 64

etc.

 

so if we want to translate Binary Code to Decimal Code we count sum of all positions where we have 1 and we ignore positions with 0

Position value is value of power with base 2 ^_^

 

Example:

Code 001101 ( as above )

Decimal:   32 16 8 4 2 1
Binary:     0  0 1 1 0 1

and we sum all positions where we have 1 and ignore all positions where we have 0 ^_^

 

so: 8 + 4 + 1 = 13 

so: 001101 = 13 :)

 

Other example:

Code 1011011

Decimal:    64 32 16 8 4 2 1
Binary:      1  0  1 1 0 1 1

and we sum all positions where we have 1 -> ignore positions with 0

 

so: 64 + 16 + 8 + 2 + 1 = 91

so: 1011011 = 91

 

if u have Binary Code u can translate it to any other Code u want ^_^ for example well known Hexadecimal Code

 

Hexadecimal Code looks like this: #FF00FF

FF 00 FF we can translate to 

 

Hexadecimal: FF00FF

Decimal: 16711935

Binary: 111111110000000011111111

 

But FF00FF can be also translated to RGB ( 255 , 0 , 255 )

 

There is ofc. way more Codes u can use, for example Octodecimal ^_^

 

 

But u probably want to translate Your Decimal tint color into Hexadecimal Code and reverse right ? ^_^

 

 

1) Open Your Calculator ( hope u work on Windows )

2) Click "Programming Mode" - sry i have my potato Polish Language xDDD

Spoiler

S165.png.877c38019f39e9f0c23d272017ab9e69.png

3) Copy tint color

4) Be sure that Mode is set to Decimal ( DEC - in Mode View )

Spoiler

S152.png.91d6991bafe811e157de2fdb9c1d5ebf.png

5) Paste your Decimal Tint value

6) Click Hexadecimal Mode ( HEX )

7) DONE :D 

 

now u can use Google Color Picker to translate HEX Value to RGB Value :)

 

But idk... isn't it easier to just change color in RM ? :D

 

 

 

 

//Edit:

My name:

You can understand more when u know more languages ^_^

For example i know 4 languages ( not counting programming languages :3... + not counting Math codes ofc. :D

ASCII:          TOBI
Binary:         1010100010011110100001001001001
Hexadecimal:    544f4249
Octodecimal:    12423641111

in my opinion most important languages are Japan, Russian, english and Your own ^_^...

 

//Edit:

Spoiler

Well... i also wanted to learn "Rome" Language xD idk how this language is called in English...

but u know... best language ever xD 

 

but i know only few words... maybe around 100 / 200 words...

well... Rome Language is rly hard T_T...

 

but i'm trying to remember more words by for example including this language to everything i do, example:

Spoiler

SS1552.png.32cbbb35ff49830a434f0a557f95a014.png

 

I'm playing factorio yes :3 great game xD

You can see one book here named "Bellum" this word means "WAR" :OOOO

 

And for example "Semita" means "Road" / "Path" :D

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...