Replacing an effect with my own PNG is not working

my own effects are not coming out right

Information and discussion for custom maps and mods.
Post Reply
umairazfar
Posts: 92
Joined: Mon Sep 08, 2014 1:01 pm

Replacing an effect with my own PNG is not working

Post 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?
Attachments
smokey.png
smokey.png (7.94 KiB) Viewed 4510 times

Phrohdoh
Posts: 28
Joined: Wed Apr 09, 2014 2:30 am
Location: Dallas, TX

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

umairazfar
Posts: 92
Joined: Mon Sep 08, 2014 1:01 pm

Post 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
Attachments
smokeyscreen.png
smokeyscreen.png (511.67 KiB) Viewed 4475 times

umairazfar
Posts: 92
Joined: Mon Sep 08, 2014 1:01 pm

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

Matt
Posts: 1144
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »


Post Reply