How to convert the shp TD unitcolors to RA?
- Materianer
- Posts: 199
- Joined: Mon Jul 04, 2016 8:27 am
How to convert the shp TD unitcolors to RA?
Unfortunally the td colors wont fit with the ra ones so how can i change them?
There are 2 ways
1: use shp builder to convert the colors https://www.ppmsite.com/?go=shpbuilderinfo
2: use the palette traits
The second is the easiest.
Do the following:
open palettes.yaml and add this
Next step is to add the TD palette file to your mod directory (rename it to temperatTD.pal first)
Final step is to make the game use the TD palette to the units you want, for that, do this to the units you want to "convert" from TD to RA
1: use shp builder to convert the colors https://www.ppmsite.com/?go=shpbuilderinfo
2: use the palette traits
The second is the easiest.
Do the following:
open palettes.yaml and add this
Code: Select all
PaletteFromFile@playerTD:
Name: playerTD
Filename: temperatTD.pal
ShadowIndex: 4
PlayerColorPalette@playerTD:
BaseName: playerTD
BasePalette: playerTD
RemapIndex: 176, 178, 180, 182, 184, 186, 189, 191, 177, 179, 181, 183, 185, 187, 188, 190
Final step is to make the game use the TD palette to the units you want, for that, do this to the units you want to "convert" from TD to RA
Code: Select all
RenderSprites:
PlayerPalette: playerTD
OpenRA.YamlException: Actor type playercolorpalette@playerra: Junk value `playerRA` on trait node BaseName
Why do I receive this error Message so many times?
The "Junk value"...whatever...
Is this wrong?
Why do I receive this error Message so many times?
The "Junk value"...whatever...
Is this wrong?
Code: Select all
^Palettes:
PaletteFromCurrentTileset@terrain:
Name: terrain
ShadowIndex: 4
PaletteFromCurrentTileset@static:
Name: staticterrain
ShadowIndex: 4
PaletteFromFile@playerRA:
Name: playerRA
ShadowIndex: 4
Filename: temperatRA.pal
PlayerColorPalette@playerRA:
BaseName:playerRA
BasePalette:playerRA
RemapIndex: 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95
PaletteFromFile@chrome:
Name: chrome
Filename: temperat.pal
ShadowIndex: 3
AllowModifiers: false
PaletteFromFile@beaconposter:
Name: beaconposter
Filename: temperat.pal
ShadowIndex: 3
PaletteFromFile@effect:
Name: effect
Filename: temperat.pal
ShadowIndex: 4
PaletteFromFile@colorpicker:
Name: colorpicker
Filename: temperat.pal
ShadowIndex: 4
AllowModifiers: false
PaletteFromRGBA@shadow:
Name: shadow
R: 0
G: 0
B: 0
A: 140
PaletteFromRGBA@cloak:
Name: cloak
R: 0
G: 0
B: 0
A: 140
PaletteFromRGBA@highlight:
Name: highlight
R: 255
G: 255
B: 255
A: 128
PaletteFromRGBA@moveflash:
Name: moveflash
R: 255
G: 255
B: 255
A: 64
PaletteFromRGBA@disabled:
Name: disabled
R: 0
G: 0
B: 0
A: 180
ShroudPalette@shroud:
Name: shroud
Type: Shroud
ShroudPalette@fog:
Name: fog
Fog: true
FixedColorPalette@BlueTiberium:
Base: terrain
Name: bluetiberium
Color: 89BAFF
RemapIndex: 176, 178, 180, 182, 184, 186, 189, 191, 177, 179, 181, 183, 185, 187, 188, 190
PlayerColorPalette:
BasePalette: terrain
RemapIndex: 176, 178, 180, 182, 184, 186, 189, 191, 177, 179, 181, 183, 185, 187, 188, 190
PlayerHighlightPalette:
MenuPaletteEffect:
MenuEffect: Desaturated
CloakPaletteEffect:
FlashPaletteEffect:
RotationPaletteEffect@water:
ExcludePalettes: effect, chrome
RotationBase: 32