Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: sonicfan1012 on January 12, 2008, 09:49:52 pm

Title: {RESOLVED} Need help editing script (Blizzard, you'd be very helpful for this)
Post by: sonicfan1012 on January 12, 2008, 09:49:52 pm
I need help editing Blizzard's Ragnarok skill script. The problem is when you're learning a skill. When the script is called, there are 5 choices: Learn skill, improve skill, previous, next, and exit. I want to focus on the first one. After you choose the first choice, you pick from skills you want to learn, and after you pick the skill, a conformation window pops up. The problem is that the conformation window is transparent (you can see the stuff that's supposed to be behind the window). I really want that fixed. Heres the link to the script.
http://www.rmrevolution.com/84/ro-jobskill-system/
you'll find the script download button there.
Title: Re: Need help editing script (Blizzard, you'd be very helpful for this)
Post by: Blizzard on January 12, 2008, 10:10:16 pm
This is how it looks with me:

(http://img137.imageshack.us/img137/8201/snap542tc4.th.png) (http://img137.imageshack.us/img137/8201/snap542tc4.png)

Maybe another script is messing with it. How about this here... Find the line that says:

class Window_Sure < Window_Command


Just below should be this piece of code:

  def initialize(width, commands)
    # add another command, serves as fix
    commands.push('')
    super
    @item_max, self.index = commands.size - 1, 0
    self.x, self.y, self.z = 320-self.width/2, 240-self.height/2, 10000
    refresh
  end


Add this line before "refresh":

self.opacity = 255
Title: Re: Need help editing script (Blizzard, you'd be very helpful for this)
Post by: sonicfan1012 on January 13, 2008, 01:28:09 pm
Weird, it worked when I used it one another game completely normally with all my other scripts. O well. Thanks, though, blizzard for trying. Ur still awesome for even makin this script  :D
Title: Re: {RESOLVED} Need help editing script (Blizzard, you'd be very helpful for this)
Post by: Blizzard on January 13, 2008, 06:46:30 pm
I suppose you've had an opacity changing command who knows where. xD