Page 1 of 1
Extracting sprites question
Posted: Thu Dec 31, 2015 6:02 am
by Noebuhdy
I have figured out how to use OpenRA.Utility.exe to extract sprites (for example, E1.shp).
I like the fact that it can rip sprites with already transparent shadowing on each frame.
My question is, how can I extract the sprites to a different color other than default yellow?
Posted: Thu Dec 31, 2015 7:31 am
by Graion Dilach
You cannot.
The game sprites' remap is a simple system: specific palette color slots get their color changed based on remap. In this case, in order to have other-colored infantry sprites., you have to shift the hue of the color slots listed at
https://github.com/OpenRA/OpenRA/blob/b ... s.yaml#L67 forexample on a RA sprite.
Posted: Thu Dec 31, 2015 7:17 pm
by Noebuhdy
I see. I'm planning on using the sprites I've extracted to make Flash movies with.
Based on that then, I'll have to use OS SHP Builder along with the C&C Red Alert Master Palette I found while using XCC Mixer (redalert.mix > local.mix > pallette.cps), since that provides me the corresponding numbers for the player colors.
Then I'll need to write a macro that can quickly select the colors and replace them, say Yellow -> Green.
I just wish I can get the transparent shadows I need, instead of having to deal with green or solid black.
Also, I do have the latest version of OS SHP Builder, but whenever I use the color schemes, either nothing happens, or it gives me the wrong colors for the sprites.