No Man's Sky Change Ship Color
NoMansSky:Reference Guides/TEXTURES/Ship Coloring
From Step Mods | Change The Game
Jump to:navigation, search
Ship Coloring
This is an explanation of how coloring works in the game and how to utilise that knowledge to customize the color of your ships.
From .SCENE to .Textile [edit]
Everywhere you become in NMS, the game has a lot of stuff going on: characters, props, backgrounds, colors, and more, much like a play. NMS handles this stuff with it's own script, similar a scene in a play, with a .SCENE file. Get-go, the .SCENE file says what objects are present and where they are. Side by side, it gives the game the shapes of the objects using .GEOMETRY files. At this point, you would have something like a 1980s videogame, but meshes everywhere, but we will get more: the .SCENE file tells the game what material things are fabricated of, like saying "hey game! That flooring tile is made of wood, FYI." The game then responds, "oh, give thanks y'all very much, Scene. Ummm, I accept no clue what wood is." The game needs some education, so information technology goes and asks a .Cloth file. That file knows exactly what wood is, everything nearly it. The graphics engine needs to know what this forest stuff looks like, so the .Fabric file passes over a .TEXTURE file.
.TEXTURE and Palettes [edit]
The .TEXTURE file has our patterns and colors, with just a piffling flake more external referencing. Take a moment and look at the diverse parts of the computer in front of you lot, probably a screen, keyboard, and mouse, amidst others. Do you notice how the screen is transparent and smooth and other parts are a difficult plastic? The .TEXTURE file describes all of these unlike parts and how each fabric looks. To do so, it calls on one last thing, a general palette. That file is just a listing of many palettes, which are themselves lists of colors. To describe the appearance of your screen, the .TEXTURE file tells the game an image file for the pattern on the glass and, for the colour, to become to the palette file, lookup the 'Glass' palette, and use the main color in that location, 'Chief'. Every section in a .TEXTURE file contains a reference to a 'Palette' and to a 'ColourAlt' palette. A palette is a group of colors, similar when you encounter a painter holding a board with paints, that thing is called a palette. In NMS, a palette is but a list of RGBA values (Red-Green-Blue-Alpha), each with a name. Beneath are an excerpt from the Alien ship texture file and an excerpt from the general palette file.
BioShip Texture [edit]
... <Property value="TkProceduralTextureLayer.xml"> <Property proper noun="Name" value="SKIN" /> <Property name="Probability" value="ane" /> <Property proper name="Grouping" value="" /> <Belongings name="SelectToMatchBase" value="Faux" /> <Property proper name="Textures"> <Property value="TkProceduralTexture.xml"> <Property name="Name" value="1" /> <Property name="Palette" value="TkPaletteTexture.xml"> <Property proper name="Palette" value="BioShip_Underbelly" /> <Holding proper noun="ColourAlt" value="Primary" /> ...
Palette File [edit]
... <Property name="BioShip_Underbelly" value="GcPaletteData.xml"> <Property name="NumColours" value="_16" /> <Property name="Colours"> <Belongings value="Colour.xml"> <Property proper noun="R" value="0.893" /> <Property proper name="G" value="0.279" /> <Property name="B" value="0.267" /> <Property proper name="A" value="1" /> </Property> ...
Save Files [edit]
Using a save editor, you can view and edit the raw JSON of the save file.
Browse content to PlayerStateData/CharacterCustomisationData, containing values for everything most the advent of your graphic symbol and their property.
Glance through this section, paying detail attention to 'Palette', 'ColourAlt', and the values below "Colour".
CharacterCustomisationData is an array of 20 objects and its length is stock-still. Do NOT delete all the text from an object or That will shorten the assortment and disrupt the stock-still club.
Here's the list:
- 0 = Character
- i = Roamer
- two = Multitool (Doesn't work since Synthesis update)
- three to eight = starships 1 to six
- ix = Nomad
- x = Colossus
- eleven = Pilgrim
- 12 = (unused)
- thirteen = Nautilon
- 14 = Minotaur
- 15 = Freighter
- sixteen = (unused)
- 17 to 19 = starships seven to 9 (added in Outlaws update)
Exist sure to leave the character and exocrafts alone (or don't.. up to you lot.. but don't complain afterward)
A few points:
- The customization overrides original colors (manifestly), but it 'blanks' all 5 parts, so your replacement must contain all 5 custom palettes. If you take an existing color you lot want to keep, you need to come up up with its RGB equivalent and re-input it.
- Remove a ship's color customization by deleting all the palette items so you end with "Colours":[] , or just copy-paste the text from an unused send slot.
- The sheet metal textures stay metal - you lot'll go tinted metal
- Black isn't really blackness... go blame HG
- Trading your ship for another deletes its customization (you might want to continue a backup in a text file)
Save Customization Case [edit]
... "SelectedPreset":"^", "CustomData":{ "DescriptorGroups":[ "^ASTRONAUT_BASE", "^ASTRO_HEAD_5", "^TORSO_GEK", "^ARMOUR_FOURTH", "^LEGS_VYK", "^BOOTS_VANILLA", "^GLOVES_VYK" ], "Colours":[ { "Palette":{ "Palette":"Custom_Head", "ColourAlt":"Main" }, "Colour":[ 0.296999990940094, 0.296999990940094, 0.296999990940094, 1.0 ...
When y'all apply the Appearance Modifier in the game, those values get stored in this department just similar the code to a higher place.
Using this department, we tin recolor our items manually by adding Palette and Colour sections to override current send colors.
The palette reference depends on what type of ship it is.
Particular send models won't use all of these references, in which case those overrides won't do anything. Royal exotics use very few colors, primarily Rock/None. Squid exotics apply primarily Rock/None and Paint/Primary.
Normal Ship Palette References [edit]
- Rock/Master
- Rock/Alternative1
- Stone/Primary
- Metal/Master
- Metallic/Alternative1
- Pigment/Primary
- Paint/Alternative1
- Paint/Alternative2
- Paint/Alternative3
- Paint/Alternative4
- Undercoat/Primary
- Undercoat/Alternative1
Living Ship Palette References [edit]
- Rock/Main
- Stone/Principal
- Metal/Principal
- Calibration/Chief
- BioShip_Body/Primary
- BioShip_Underbelly/Primary
- BioShip_Cockpit/Primary
RGB color examples [edit]
- "Color": [ane, i, 1, i] = white
- "Colour": [0, 0, 0, 1] = black
- "Color": [1, 0, 0, 1] = red
- "Color": [0, 1, 0, one] = green
- "Colour": [0, 0, 1, 1] = Bluish
- "Color": [1, 1, 0, ane] = Yellowish
- "Colour": [0.25, 0, 0.3, 1] = dark purple
Normal Ship Recolor Example [edit]
Here is a full case of recoloring a normal ship to all white.
{ "SelectedPreset":"^", "CustomData":{ "DescriptorGroups":[], "Colours":[ { "Palette":{ "Palette":"Rock", "ColourAlt":"Master" }, "Color":[ 1.0, 1.0, i.0, 1.0 ] }, { "Palette":{ "Palette":"Rock", "ColourAlt":"Alternative1" }, "Colour":[ 1.0, 1.0, 1.0, i.0 ] }, { "Palette":{ "Palette":"Stone", "ColourAlt":"Master" }, "Color":[ ane.0, 1.0, i.0, i.0 ] }, { "Palette":{ "Palette":"Metal", "ColourAlt":"Primary" }, "Color":[ 1.0, one.0, 1.0, ane.0 ] }, { "Palette":{ "Palette":"Metal", "ColourAlt":"Alternative1" }, "Color":[ ane.0, 1.0, i.0, one.0 ] }, { "Palette":{ "Palette":"Paint", "ColourAlt":"Primary" }, "Color":[ 1.0, 1.0, one.0, 1.0 ] }, { "Palette":{ "Palette":"Paint", "ColourAlt":"Alternative1" }, "Colour":[ 1.0, 1.0, i.0, 1.0 ] }, { "Palette":{ "Palette":"Paint", "ColourAlt":"Alternative2" }, "Colour":[ 1.0, one.0, ane.0, 1.0 ] }, { "Palette":{ "Palette":"Paint", "ColourAlt":"Alternative3" }, "Colour":[ i.0, 1.0, 1.0, ane.0 ] }, { "Palette":{ "Palette":"Pigment", "ColourAlt":"Alternative4" }, "Colour":[ 1.0, i.0, 1.0, ane.0 ] }, { "Palette":{ "Palette":"Undercoat", "ColourAlt":"Primary" }, "Colour":[ ane.0, 1.0, one.0, ane.0 ] }, { "Palette":{ "Palette":"Undercoat", "ColourAlt":"Alternative1" }, "Color":[ 1.0, 1.0, 1.0, 1.0 ] } ], "TextureOptions":[], "BoneScales":[], "Scale":one.0 } }
Living Ship Recolor Case [edit]
Hither is a total instance of recoloring a living ship to all white.
{ "SelectedPreset":"^", "CustomData":{ "DescriptorGroups":[], "Colours":[ { "Palette":{ "Palette":"Stone", "ColourAlt":"Master" }, "Colour":[ 1.0, 1.0, 1.0, ane.0 ] }, { "Palette":{ "Palette":"Rock", "ColourAlt":"Chief" }, "Colour":[ 1.0, 1.0, 1.0, 1.0 ] }, { "Palette":{ "Palette":"Metallic", "ColourAlt":"Main" }, "Colour":[ 1.0, ane.0, 1.0, 1.0 ] }, { "Palette":{ "Palette":"Scale", "ColourAlt":"Master" }, "Colour":[ 1.0, i.0, one.0, 1.0 ] }, { "Palette":{ "Palette":"BioShip_Body", "ColourAlt":"Master" }, "Colour":[ i.0, ane.0, 1.0, 1.0 ] }, { "Palette":{ "Palette":"BioShip_Underbelly", "ColourAlt":"Principal" }, "Color":[ 1.0, 1.0, 1.0, 1.0 ] }, { "Palette":{ "Palette":"BioShip_Cockpit", "ColourAlt":"Principal" }, "Colour":[ 1.0, 1.0, 1.0, 1.0 ] } ], "TextureOptions":[], "BoneScales":[], "Scale":1.0 } }
Source: https://stepmodifications.org/wiki/NoMansSky:Reference_Guides/TEXTURES/Ship_Coloring
0 Response to "No Man's Sky Change Ship Color"
Post a Comment