OpenXcom Forum
Modding => Help => Topic started by: robin on October 15, 2023, 10:37:28 pm
-
I defined a custom image, but it is not used ingame, I don't understand why.
Ruleset:
- type: BACK07.SCR # base stats
singleImage: true
width: 320
height: 200
files:
0: Resources/apoc/BACK_SCR/BACK07_SCR.png
Image attached.
Full mod here: https://openxcom.org/forum/index.php/topic,3319.0.html
Anyone could help me understand what's wrong?
Thank you
-
Hi, I apologize if this could be seen as thread hijacking (I didn't want to create a duplicate post with essentially the same issue), but I'm genuinely eager to hear any possible solution. I'm encountering a similar problem, having made changes to the same image(and having the same .rul changes as robin), and unfortunately, I haven't been able to make it work. It's quite perplexing as I can freely modify any other background file, except for this particular one.
-
Try to move image file from "mod/Resources/apoc/BACK_SCR" to "mod/geograph/". Then you will need no file definition, it will just replace original one when game loads your mod.
-
Try to move image file from "mod/Resources/apoc/BACK_SCR" to "mod/geograph/". Then you will need no file definition, it will just replace original one when game loads your mod.
That will not work.
He would have to use the original image format (instead of PNG), which is not practical.
Anyone could help me understand what's wrong?
I'll check later why it doesn't work, it's likely some special case...
-
...
He would have to use the original image format (instead of PNG), which is not practical.
...
Oh. Missed that part. Sorry. This way works with terrains, maps e.t.c.
-
Thank you all :)
-
@ Robin,
I have mine in ALT mode, like this:
extraSprites: #only sprites for interface changes
- typeSingle: ALTBACK07.SCR #PAL_BASESCAPE
fileSingle: Resources/Backgrounds/BACK07_scxc_alt.png
#Used only in the base information screen
-
for "Storage Limits" option turned off, we use BACK07.SCR
for "Storage Limits" option turned on, we use ALTBACK07.SCR