Page 1 of 1

Replacing an effect with my own PNG is not working

Posted: Wed Oct 08, 2014 8:08 am
by umairazfar
I am planning on changing a few effects in the game. My first attempt to change the rocket smoke effect has failed however.

I created this PNG
Image

I converted it into SHP using this command:

OpenRA.Utility.exe ra --shp aircraftcarrier.png

as given at the end of this page:

https://github.com/OpenRA/OpenRA/wiki/C ... p-by-step)

But in game when ever the rocket soldier fires the rocket, I can see the entire sprite sheet rather than one image at a time (with black border).

How can I fix this?

Posted: Wed Oct 08, 2014 9:50 pm
by Phrohdoh
The OpenRA.Utility has changed quite a lot without the wiki being updated, unfortunately.

Your source (the art you created) now needs to be in multiple png files instead of a spritesheet.

Code: Select all

OpenRA.Utility.exe ra --shp file1.png file2.png fileN.png
Will create the shp you want.

Posted: Thu Oct 09, 2014 5:41 am
by umairazfar
OK that worked, but now I have a new problem as explained in this screenshot. What am I doing wrong?

P.S. If I get this to work I will write a wiki entry about it so that others might now run into the same problem

Posted: Fri Oct 10, 2014 6:14 pm
by umairazfar
Finally learned how to make a proper SHP. I made the wiki entry here for any future modder who treads the same territory.

Posted: Sat Oct 11, 2014 9:33 am
by Matt