The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: MoonStar on April 21, 2015, 09:12:18 AM

Title: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: MoonStar on April 21, 2015, 09:12:18 AM
 Hi I'm using MOG's Monogatari menu system and wanted to put Modern Algebra's Quest Journal also. I managed to get it working with it BUT i ran in to two problems.

1. If i let the default windowskin the quest journal window looks like this instead of taking the windowskin from the menu. I also want to remove the category and quest list windows but cant seem to find where and how.

Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.prntscr.com%2Fimg%3Furl%3Dhttp%3A%2F%2Fi.imgur.com%2Fds5Kjm9.png&hash=0a45aab83d2281a3ae7a903a9f726dd7f7775a57)

2. If i put the windowskin of the menu to replace the default one the text is gone and i only get this  i want to remove the category and quest list windows here also.

Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.prntscr.com%2Fimg%3Furl%3Dhttp%3A%2F%2Fi.imgur.com%2F1wGXJRR.png&hash=a375e90d09cc92735a6dda6ec9d866edd1d17742)

Modern Alegebra's Quest Journal code :

http://pastebin.com/4pAz9KG5#

Mog's Monogatari Menu System:

http://www.atelier-rgss.com/RGSS/Menu/ACE_Menu15.html

My project:

http://www.mediafire.com/download/x41l10u35b66ltv/Project3.exe

Can anyone please help me and tell me how to do it or what I'm doing wrong?

Thank you
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: MoonStar on April 21, 2015, 04:26:09 PM

BUMP!

Anyone please?
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: MoonStar on April 25, 2015, 09:09:28 AM

 Bump!

 Can someone please tell me how to make this window transparent (including the borderlines) only show the text and content. And also how to remove this 2 windows or hide them or something? PLEASE!

 (https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.prntscr.com%2Fimg%3Furl%3Dhttp%3A%2F%2Fi.imgur.com%2FFpwmuLE.png&hash=bba2470e21e2ddc7c501d6c743e849e4fa96e4f4)
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: modern algebra on April 25, 2015, 11:42:21 AM
I can't see either of your screenshots, but normally you can change the windowskin at line 420:

Code: [Select]
  #  WINDOWSKIN - The windowskin for each window in the Quest scene. It must
  # refer to a graphic in the System folder of Graphics. If set to false, then
  # it will use whatever windowskin is default. If you are using a script which
  # lets the player choose the windowskin, false is the recommended value.
  WINDOWSKIN = false

Instead of false, put:

Code: [Select]
  WINDOWSKIN = "Window"

Replace "Window" with the name of whatever your windowskin is, but leave the quotation marks.

As for the disappearing text, I am not sure why that would be happening. My best guess is that whatever windowskin you are using has no colour palette. I.e. a typical windowskin looks like this:

(https://rmrk.net/index.php?action=dlattach;topic=50035.0;attach=29737)

The 32 blocks in the bottom-right hand corner govern the colour of text. If those are missing, then text would not be drawn.

Just so you know though, you don't have to change the windowskin if all you want to do is make it invisible. Around line 428 you should see this:

Code: [Select]
  #  WINDOW_OPACITY - The opacity of the windows in the Quest scene. If set to
  # false, it will use the default opacity for windows.
  WINDOW_OPACITY = false

Just change it to:

Code: [Select]
  WINDOW_OPACITY = 0

You can use any value between 0 and 255, with 0 being fully transparent and 255 being fully opaque.
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: MoonStar on April 25, 2015, 12:24:15 PM
its in the spoiler tag but il put then again here

1 with out the menu windowskin its the default window

2 (https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.prntscr.com%2Fimg%3Furl%3Dhttp%3A%2F%2Fi.imgur.com%2F1wGXJRR.png&hash=a375e90d09cc92735a6dda6ec9d866edd1d17742) this is when i add the mene's window screen

i also want to remove the category window and the quest list window and have only the the quest journal name up and the description.

i did add the link to the menu you can check it out pls and tell me if its happening to you too.
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: modern algebra on April 25, 2015, 01:02:31 PM
Yes, I have tried adding the two scripts to the same project and the solutions that I posted both work fine for me.

As for removing all the other windows, I don't have time to help you with that. Sorry.
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: MoonStar on April 25, 2015, 02:51:32 PM
I tried your solutions and i still have no text showing only the icons like i show you in the image previously.  :'( :'( :'( :'( :'(
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: modern algebra on April 25, 2015, 03:41:37 PM
Well, did you edit the script directly before I responded? I noticed that in the topic, boe had suggested directly modifying code in the non-editable region of the script. His advice wasn't wrong, but sepending on where you inserted that code that he suggested, it may be interfering with the ordinary operation of the script.

Try retrieving a fresh copy of the script (but preserve whatever quests you have made).

Also, instead of deleting the .activate at the part where you did, just replace that line with:

Code: [Select]
  def on_category_ok; @quest_list_window.activate if @quest_list_window; end
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: MoonStar on April 25, 2015, 04:06:19 PM

ok that helped but i still have no text

 sent you a pm with my skype pls add me
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: modern algebra on April 25, 2015, 04:21:00 PM
I don't have Skype.

The problem is that you're deleting the windowskin altogether by setting it to "". Or rather, you are setting it to a blank 24x24 bitmap. Because you have no windowskin, you also don't have the colour palette, which is why no words are showing up.

Instead of doing that, set the windowskin back to false at line 420:

Code: [Select]
  WINDOWSKIN = false

And then change the opacity instead at line 428:

Code: [Select]
  WINDOW_OPACITY = 0
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: MoonStar on April 25, 2015, 04:49:10 PM


 im not deleting anything thats the name of the windows skin thats the name MOG named it in the monogatari menu system i got the oppacity working but still dont have any writing.

can we talk on facebook/viber or something thats more direct?
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: modern algebra on April 25, 2015, 05:17:54 PM
No, sorry. I don't give out any personal information like that.

Anyway, I assure you that an empty string cannot be the name of a windowskin. Where that appears in Mog's script, it is creating an empty bitmap and the window it creates is intentionally invisible. What visible windows are used in that script are just pictures.

While setting WINDOW to an empty bitmap gets you the opacity you want, it also destroys your colour palette, and that is why no text is showing up. If you set WINDOW to false and WINDOW_OPACITY to 0, then that should give you the opacity you want without deleting all the text.
Title: Re: [VXA] MOG Monogatari menu + Quest Journal problem
Post by: MoonStar on April 25, 2015, 05:33:30 PM
 ok np

 yea i got now its as close as blend in with the menu as i could get it. but how do i hide/delete the windows on the left namely category and quest list since i will have only one quest those are pointless.

EDIT:

 not sure if it destroys or replaces but this is the status screen and it has text on it thats not a picture
http://img.prntscr.com/img?url=http://i.imgur.com/sedszOs.png