Fade Out assist needed on Custom Script

Hi there,

First off, my apologies if this is the wrong place. I tried to investigate other script threads and saw that anything "custom script" didn't belong there? So... Yeah, sorry, I'm clueless. Feel free to correct and move my question.

Late to the party though I be, I have managed to track down a script I like (Xail System Core and Xail System Pre Title) on a Spanish site. Thanks to Google Translate working on whole web pages, I got the thing installed properly and corrected to how I want it to work, to a degree. My issue is, I also liked a different script (RGSS3, Madoka Title Screen). In the Madoka opening, it seems to re-write the title screen to incorporate fade-in pictures that stack on top of one another to form (the illusion of) a whole picture. The Xail System PRE-title, just plays stuff before the title and then switches over to the RPG Maker VXA opening title.

I can use the Xail system to do the stack-pictures thing, which IS what I want. The problem is, I can't figure out how to shut off that the pictures also fade out. I don't want them to fade out, I want them to stay faded in so that they'll stack on one another. So I've tried a couple of things. I can't replace the fadeout variable with 0 or nil because it throws an error. I can't just delete everything that (appears to) reference the fadeout command, because then the pictures don't fadein properly, they just -pop- into existence. So something I'm deleting is also fouling up the fadein part. I have a feeling the issue is in this section of script, but since I don't know scripting, I'm taking shots in the dark. Can anyone assist me, please?

Code:
  def display_picture(picture)
    # // Method to display a picture.
    return if picture.nil?
    begin
      pictures = Sprite.new
      pictures.bitmap = Cache.picture(picture[0])
      pictures.opacity = picture[1]
    rescue
      msgbox("Error. Unable to locate picture: " + picture[0])
      exit
    end
    Graphics.fadein(picture[3])
    delay?(picture[2])
    Graphics.fadeout(picture[4])
    delay?(60)
o
  end

And if the call to use them is important, here is that as well:

Code:
    # Setup the pictures here.
    # PICTURES = [name, opacity, delay (can be nil), fade_in, fade_out]
    PICTURES = {
    0 => ["Character0", 255, 5, 100, 100],
    1 => ["Character1", 255, 5, 100, 100],
    2 => ["Character2", 255, 5, 100, 100],
    3 => ["Character3", 255, 5, 100, 100],
    4 => ["Character4", 255, 5, 100, 100],
    } # Don't remove this line.

(This is the section where I tried to change the last 100 to either 0 or nil and it didn't work out. I also tried deleting the comma prior to the numbers along with them, thinking it would just skip over the fade_out command, but that didn't work either. *sad* )
Hi and welcome! Thank you for making effort to figure out where to put this. If you look at this, you can see all the RGSS related boards.

https://forums.rpgmakerweb.com/index.php?categories/rgss-boards.138/

If you notice the larger headings, such as RGSS3 Scripts (RMVX Ace), those are the section for releasing scripts you've created for others to use.

Under each of those is a smaller "Requests" section, where you can ask for a custom or link to an existing script for your particular needs.

Going down, there is RGSSX Script Support, which is where you can get help with scripts you are trying to implement, and, where I'm going to move this topic. 😀

And last, a section for help in learning Ruby and sharing the development of scripts being created but not yet finished.
Arg, okay, so I got a little further. Apparently my understanding of how this worked was wrong. It wasn't that an image was ever fading in, it was that the whole screen faded in, with one image on it, then faded out, added an image, faded in again, faded out, added another image, blah blah blah. Which is not what I want. I wanted it to fade in each next image in the sequence, not dim the screen to add one and then bring it back. Anyone got any ideas on how to fix?

Original thread: https://forums.rpgmakerweb.com/threads/fade-out-assist-needed-on-custom-script.91200/