Extracting sprites question

Information and discussion for custom maps and mods.
Post Reply
Noebuhdy
Posts: 3
Joined: Thu Dec 31, 2015 5:59 am

Extracting sprites question

Post 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?

User avatar
Graion Dilach
Posts: 277
Joined: Fri May 15, 2015 5:57 pm

Post 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.
Image
Image
Image
AS Discord server: https://discord.gg/7aM7Hm2

Noebuhdy
Posts: 3
Joined: Thu Dec 31, 2015 5:59 am

Post 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.

Post Reply