Quantcast
Channel: OpenRA
Viewing all articles
Browse latest Browse all 147

Mapping and Modding • Adding support for sprite formats

$
0
0
Hi everyone, I'm still kinda new to modding OpenRA. I managed toe make some stuff in another mod but now I want to make my own mod out of this stuff. I need some help with adding support for shp formats to the example mod. The original example mod uses the following in the mod.yaml file:

CODE:

SpriteFormats: PngSheet
I tried adding formats like I saw it in the RA mod and changed it to:

CODE:

SpriteFormats: ShpD2, ShpTD, TmpRA, TmpTD, ShpTS, PngSheet
But when I launch the game now it says the following in de error log.

CODE:

Exception of type `System.InvalidOperationException`: Unable to find a sprite loader for type 'ShpD2'.
I'm guessing the example mod doesn't support shp files from the start. How can I add this?

Statistics: Posted by Hazael — Thu Mar 28, 2024 1:43 pm — Replies 0 — Views 868



Viewing all articles
Browse latest Browse all 147

Trending Articles