Modding, Mission Design, and Coding > The FRED Workshop
How to show images?
HLD_Prophecy:
Hey all,
Could someone give me a quick rundown on how to display images on the screen in-mission? I want some successive images to fill the screen and fade-in fade-out, like a slideshow. I thought I could work this out for myself, but I don't get it. Show-subtitle-image doesn't make the image show up.
bomb3rman:
Does this help? I used this for my cutscene, it's just one picture but you can do this several times, just look for the time between the shown images...
Nr. 2 and 3 are used to position the picture on screen.
Oh, and you have to put the desired image in the "maps" folder of your mod.
[attachment stolen by Russian hackers]
HLD_Prophecy:
--- Quote ---Oh, and you have to put the desired image in the "maps" folder of your mod.
--- End quote ---
Aha, this was my problem! I had the image in "interface." Is there anything special I have to do to get the image to stretch and fill the screen regardless of the image resolution?
That is, I have a 1024x768 image, but I want it to fill the screen on any resolution.
Goober5000:
Piggybacking on this thread, it seems that FSO will specifically treat the color black as transparent:
https://github.com/scp-fs2open/fs2open.github.com/issues/1074
Is it possible to override this and treat black as black?
Axem:
An image without an alpha channel will render the image additively (black transparent basically).
An image with an alpha channel will render the image as seen exactly.
Navigation
[0] Message Index
[#] Next page
Go to full version