The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => VXA Scripts Database => Topic started by: SeMcDun on January 28, 2013, 09:21:37 PM

Title: Final Fantasy IX Script Pack
Post by: SeMcDun on January 28, 2013, 09:21:37 PM
Final Fantasy IX Script Pack
Version: 1.3
Author: SeMcDun
Date: February 5, 2013

Version History



Description


(The below is taken from the introduction section of the demo.)

# Final Fantasy IX is one of my favourite RPGs of all time and I loved most
# aspects of the game, including it's menus and various systems.
# I have put together a compilation of scripts from the game for use with
# RPG Maker VX Ace. Please note, not all of the scripts are 100% the same as
# they were in Final Fantasy IX but the functionality is there.
#
# -- List of Final Fantasy IX Scripts;
#   -- Menu Scene v1.2
#   -- Status Menu v1.0
#   -- Item Menu v1.0
#   -- Shop Menu v1.1
#   -- Equipment Skills v1.1
#   -- Rows v1.1
#   -- Synthesis v1.1

Features


Screenshots

(http://imageshack.us/scaled/thumb/685/synthesis.jpg) (http://imageshack.us/photo/my-images/685/synthesis.jpg/)
(http://imageshack.us/scaled/thumb/546/arrange.jpg) (http://imageshack.us/photo/my-images/546/arrange.jpg/)
(http://imageshack.us/scaled/thumb/546/equipt.jpg) (http://imageshack.us/photo/my-images/546/equipt.jpg/)
(http://imageshack.us/scaled/thumb/94/statusqj.jpg) (http://imageshack.us/photo/my-images/94/statusqj.jpg/)
(http://imageshack.us/scaled/thumb/194/shop2d.jpg) (http://imageshack.us/photo/my-images/194/shop2d.jpg/)
(http://imageshack.us/scaled/thumb/839/sellj.jpg) (http://imageshack.us/photo/my-images/839/sellj.jpg/)
(http://imageshack.us/scaled/thumb/708/passive.jpg) (http://imageshack.us/photo/my-images/708/passive.jpg/)
(http://imageshack.us/scaled/thumb/28/menuiz.jpg) (http://imageshack.us/photo/my-images/28/menuiz.jpg/)
(http://imageshack.us/scaled/thumb/202/itemmenuo.jpg) (http://imageshack.us/photo/my-images/202/itemmenuo.jpg/)


Instructions

Instructions are in the demo.
If anything is unclear, please post and I'll try to reply when I can :)

Script


See attached demo.

Credit



Thanks


Support

Fixed Bugs;
Rows
     Unarmed actors attacking crashed the game.
Equipment Skills
     Ap Window overlapped the actor window.
Menu Scene
     Status window was resized in places it wasn't meant to.
Shop Scene
     Is now stand-alone (which it was meant to be in the first place)


Known Compatibility Issues

It should have compatibility issues with other scripts which edit main aspects of each script.
Eg. Another menu script would clash with this menu script.

For other scripts, feel free to post your problem and I'll maybe add a compatibility patch to my to do list.

Demo


See attachment.

Author's Notes


Please Note: The passive skills are aesthetic only. In order to have working passive skills I recommend Neon Black's passive skill script.

Terms of Use


The same as outlined in the staple post for RMVX Ace scripts.
Title: Re: Final Fantasy IX Script Pack
Post by: modern algebra on January 28, 2013, 09:55:24 PM
These are quite appealing designs.

Thanks for sharing! I am sure many games will be improved by their addition.
Title: Re: Final Fantasy IX Script Pack
Post by: ekomega on January 30, 2013, 09:13:22 AM
Any chance the equipment skills script (only) could be made to work with Yanfly's Ace Equip Engine and Victory Aftermath scripts? 

Ace Equip Engine has a different layout for the Equip scene.

Victory Aftermath would have to be modified slightly to display the gained AP after battle.

I haven't checked that the equipment skills script is NOT compatible, but I doubt it.  I will double check tomorrow.

Thanks!
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on January 30, 2013, 07:17:34 PM
Do you use Yanfly's JP Manager script? If not, I could write a small add-on that changes the JP display into AP.

As for the equip menu, I'm not sure how you'd want everything to be displayed but I'll look into getting it working.
Title: Re: Final Fantasy IX Script Pack
Post by: gilde on January 30, 2013, 09:24:47 PM
Woah, these are pretty amazing! Making a lot of use out of the rows feature, here. 

A little bug, though. This crash pop-ups whenever an unarmed actor attacks from the back row:

Spoiler for:
(http://i.imgur.com/anYec7y.png)

which points towards this part of the script:
Code: [Select]
          # CHECK IF THE WEAPON HAS LONG RANGE
          if user.equips[0].long_range == true
            # Long Ranged
          else

A nil check seems to have fixed it up good. :yuyu:
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on January 30, 2013, 10:12:54 PM
Hi. Thanks for the feedback :) It should be sorted now in the new attachment for anyone who wants to download or re-download it.

Nice find.
Title: Re: Final Fantasy IX Script Pack
Post by: Armor King 108 on February 03, 2013, 01:58:50 PM
First of all, really cool! (Final Fantasy IX for the win!) Was just looking for a Final Fantasy IX magic stones system...The other stuff is really cool too!

I think for this project though, I'm only using that (combined with Neon Black's Passive Skills like you suggested), and perhaps the Synthesis one.

I, encountered a few problems.
One, was kinda strange, but it only happened with this script, I recreated the problem in the demo and it happened there too. If you make a skill that doesn't target an ally usable from the menu, it crashes when you use it.
Quote
Script 'SeM - Equipment Skills' line 1376: NoMethodError occured.

undefined method 'ap_window" for #<Scene_Map:0x9615f68>

Also, I wanted the bars back. "Gauges"? I tried to change the lines, and removed the # from the lines for HP and MP that I thought were for those, but once I did, when I try to go to the passive skills on a character, I get this:
Quote
Script 'SeM - Equipment Skills' line 1358: FloatDomainError occured.

NaN
Nevermind, the problem was a passive skill that required 0 AP, and was thus automatically learned by each character, but not. Highlighting it crashed the project.


Also, for equipment skills...if a character knows a skill on their own, then equips equipment that can learn that skill, then they lose it when it's unequipped if they don't get the AP for it. This project has several ways to learn skills for characters (levels, skill shops, equipment skills, maybe more)...so, that's a bit of a problem.

Also, since not all skills are learned by equipment, and the 0 AP crashing I mentioned, well, I want some skills to not count as Equipment skills. No "learning" meter on the skills menu. I have no idea how to do that.

There's one other thing, it's a little more minor, special case, and might not be the Equipment skills problem. I want to have Passive Skills (using Neon Black's script) that give a character a new skill command type. It works fine, but the skill type doesn't appear in that characters skill list until I go off their skill menu and come back. I have a hunch it's the Passive Skills script. It's not major, but it's kind of awkward to have to go that extra step to see your new skills. It's the little things.

Sorry to mention so much, it's a great script!
Title: Re: Final Fantasy IX Script Pack
Post by: Swish on February 05, 2013, 01:38:33 AM
Hello. I have request: Could you make it compatibile with Victor's Target Toggle?

http://victorscripts.wordpress.com/rpg-maker-vx-ace/battle-scripts/toggle-target/

When both scripts are active, it creates error on attack with Victor Script...
Title: Re: Final Fantasy IX Script Pack
Post by: Chaos17 on February 05, 2013, 05:13:47 PM
I tried your shop script in my project and I got this error:
(http://uppix.net/c/0/0/148b3d51a854fbafa39c8b144c2a2t.jpg) (http://uppix.net/c/0/0/148b3d51a854fbafa39c8b144c2a2.html)
Title: Re: Final Fantasy IX Script Pack
Post by: LoganF on February 05, 2013, 06:08:28 PM
I tried your shop script in my project and I got this error:
(http://uppix.net/c/0/0/148b3d51a854fbafa39c8b144c2a2t.jpg) (http://uppix.net/c/0/0/148b3d51a854fbafa39c8b144c2a2.html)

That's because FUNDS is located in the Synthesis script. I'm guessing that these scripts are designed with a person using all of them rather than just one or two of them on their own.

You can simple add the term to the shop script in the Vocab module. If you go to line 46 (which is a blank line) and add:

Code: [Select]
FUNDS = "Funds:"

There may be other terms that aren't defined in the Shop script itself, but in another script that comes with this pack.

Other terms I have found include:

PRICE
SYNTH_ITEM
STOCK
EQUIPPED
CURRENTLY_EQUIPPED

It may be necessary to also add these if you are only using the Shop script. You can follow the same idea as the other terms to define the text used.
Title: Re: Final Fantasy IX Script Pack
Post by: Chaos17 on February 05, 2013, 08:08:10 PM
!thanks for the tip. :)
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on February 05, 2013, 08:43:35 PM
Yeh, thanks Logan :) I've changed the shop menu script now so it should be stand-alone (like it should have been :) )
Title: Re: Final Fantasy IX Script Pack
Post by: ekomega on February 06, 2013, 02:36:58 AM
Sorry I haven't gotten back to you about the compatability I requested.  I've been busy with Ni no Kuni, and so I haven't had any project time.  I'm sure you weren't worried about this, but I thought I'd let you know and not be an a-hole.  Thanks!
Title: Re: Final Fantasy IX Script Pack
Post by: Skerxan on February 06, 2013, 08:17:26 AM
First of all, thanks for these scripts!

I've encountered 2 problems so far.

The first one is crashing the game whenever I click any of the 3 selectables in the Item Menu giving me this error:

(http://img96.imageshack.us/img96/3029/prob3s.jpg) (http://imageshack.us/photo/my-images/96/prob3s.jpg/)

And the second one is rather weird. The skills for one of my characters are counted as passive skills (for which I would need magic stones) even tho they are clearly action abilities.
Title: Re: Final Fantasy IX Script Pack
Post by: Armor King 108 on February 06, 2013, 10:18:50 AM
First of all, thanks for these scripts!

I've encountered 2 problems so far.

This first is crashing the game whenever I click any of the 3 selectables in the Item Menu giving me this error:

(http://img96.imageshack.us/img96/3029/prob3s.jpg) (http://imageshack.us/photo/my-images/96/prob3s.jpg/)

And the second one is rather weird. The skills for one of my characters are counted as passive skills (for which I would need magic stones) even tho they are clearly action abilities.

Can't help you with the first one, but I had a similar problem with your second problem.
There's a place in the Equipment skills script, where you set which skill type is used for Passive skills, that is, equippable skills that use magic stones! By default it's number 3!
Check out lines 110 and 111:
Code: [Select]
    # ID of the passive skill id
    PASSIVE_ID = 3
Change the 3 to whatever skill type you are using for passive skills. I think this means you can only have passive skills in one skill type, but, that's usually okay.
Title: Re: Final Fantasy IX Script Pack
Post by: Skerxan on February 06, 2013, 10:45:47 AM
Oooh! Thanks alot man, I got the skills working!
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on February 06, 2013, 10:55:45 AM
This place is awesome, everyone's so quick to help :)

For the first problem, can you copy the Shop Menu script into a blank project and try buying/selling from a shop?
If it works there then it will probably be an incompatibility with another script you are using.
Try this if/when you can and PM me the results :) We can take it from there and see if we can get it working.

And thanks to Armor King 108 for sorting your other problem.
Title: Re: Final Fantasy IX Script Pack
Post by: Skerxan on February 06, 2013, 12:03:33 PM
It looks like this forum doesn't let me send PM's for whatever reason.

Heya,
I did as you told me to. First I only put the Shop Menu script in a blank project and tested it without problems.
Then I also put your Item Menu script into it and pow, it still crashes with the same error.
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on February 06, 2013, 01:08:17 PM
Oops, yeh I meant the Item Menu not the Shop Menu :P My bad. I have no idea why I thought it was the Shop Menu :S

Anyway, if the item menu is still breaking in a blank project then it'll most likely be an error in the coding. I'll check it out tonight when I get back from work.

Edit: This seems to fix it, I'll still look into it when I get home though.

Find these lines;

class Window_ItemList < Window_Selectable

  attr_accessor :data


and underneath attr_accessor :data add this line;

attr_accessor :category
Title: Re: Final Fantasy IX Script Pack
Post by: Skerxan on February 06, 2013, 01:30:09 PM
Works like a charm now! Thanks man!
Title: Re: Final Fantasy IX Script Pack
Post by: Swish on February 06, 2013, 02:32:12 PM
Uhh, can someone help me with my compability problem with Toggle Target?

EDIT: Status script has nasty bug: If there is only one actor in party, trying to use PageUp/Down will end with this error:
(http://img812.imageshack.us/img812/4995/errorsd.jpg)
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on February 06, 2013, 03:12:15 PM
Hi Swish.

I'd like to concentrate on fixing bugs and a few new scripts I've been working on right now.
Can't say when or if I'll get around to doing your request. Sorry.

Edit: I haven't been able to reproduce the bug you found in the demo or just the Status Menu in a blank project.
Could you copy the status menu into a blank project and see if you get the same error?
Title: Re: Final Fantasy IX Script Pack
Post by: Zefka on March 09, 2013, 08:59:19 AM
Hi !

I wanna use your script in my project, it is actually what I need, thanks a lot !

There is also a problem in your equipment skill system, all skills learned in game will be reset at 0 AP when the game stop and restart...

It may be possible to save learned skill on variable or anything else ?
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on March 10, 2013, 05:29:20 PM
Thanks for that! Pretty bad bug haha.

At the bottom of the Equipment Skills script just above the line  #=end  add;

Code: [Select]
#==============================================================================
# ** DataManager
#------------------------------------------------------------------------------
#  This module manages the database and game objects. Almost all of the
# global variables used by the game are initialized by this module.
#==============================================================================

module DataManager
 
  #--------------------------------------------------------------------------
  # * Create Save Contents
  #--------------------------------------------------------------------------
  def self.make_save_contents
    contents = {}
    contents[:system]        = $game_system
    contents[:timer]         = $game_timer
    contents[:message]       = $game_message
    contents[:switches]      = $game_switches
    contents[:variables]     = $game_variables
    contents[:self_switches] = $game_self_switches
    contents[:actors]        = $game_actors
    contents[:party]         = $game_party
    contents[:troop]         = $game_troop
    contents[:map]           = $game_map
    contents[:player]        = $game_player
   
    contents[:data_skills]        = $data_skills
    contents
  end
  #--------------------------------------------------------------------------
  # * Extract Save Contents
  #--------------------------------------------------------------------------
  def self.extract_save_contents(contents)
    $game_system        = contents[:system]
    $game_timer         = contents[:timer]
    $game_message       = contents[:message]
    $game_switches      = contents[:switches]
    $game_variables     = contents[:variables]
    $game_self_switches = contents[:self_switches]
    $game_actors        = contents[:actors]
    $game_party         = contents[:party]
    $game_troop         = contents[:troop]
    $game_map           = contents[:map]
    $game_player        = contents[:player]
    $data_skills        = contents[:data_skills]
  end
 
 
 
 
end # DataManager

I'll get round to uploading the newer version later. I quickly made this fix but it seemed to work. If there are any more problems, please post again :)
Title: Re: Final Fantasy IX Script Pack
Post by: Zefka on March 10, 2013, 09:27:16 PM
It works perfectly !

Thanks to fixed it and for your awesome job !
Title: Re: Final Fantasy IX Script Pack
Post by: Zefka on November 02, 2013, 08:31:40 AM
I still use this script pack, it works but two little things disturb me.

When I created a new skill, I have to begin a new game otherwise the new skill don't appear in a loaded game (since you fixed the last bug).
Less disruptive, A character using two weapons can't learn skill if it equips a new stuff in the second hand area.

To finish, I'll be pleased to know how I can get the ap value to show the amount won after a battle.

Thanks a lot for my favourite FF script system !
Title: Re: Final Fantasy IX Script Pack
Post by: UPRC on May 31, 2014, 11:36:04 PM
Any way to force only four portraits to be shown when in the shop menu?
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on June 25, 2014, 07:58:00 PM
Hey UPRC, sorry for the late reply.

Thanks for the bug find.
I'll try fix that soon.

Edit: Think that's it fixed. - See the dated attachment.
Title: Re: Final Fantasy IX Script Pack
Post by: cortash55 on July 09, 2014, 02:30:00 PM
Hi, I've recently used your scripts and they are very well done! However, on both my game and on a blank project, the item button during a battle causes an error whenever I try to enter the Item Menu in a battle.
Title: Re: Final Fantasy IX Script Pack
Post by: Black0Seraph on September 03, 2014, 07:55:52 PM
I have the same problem cortash55 is explaining. I tried everything I could think of which may not be much since I'm not a scripter...please help.
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on September 03, 2014, 09:21:51 PM
Sorry about the 'use-items-in-battle' bug, ANOTHER oversight X(

Add this code to the bottom of the Item List script. I'll get round to updating the download soon.

Code: [Select]
#==============================================================================
# ** Window_BattleItem
#------------------------------------------------------------------------------
#  This window is for selecting items to use in the battle window.
#==============================================================================

class Window_BattleItem < Window_ItemList

  #--------------------------------------------------------------------------
  # * Display in Enabled State?
  #--------------------------------------------------------------------------
  def enable?(item)
    if item
      $game_party.usable?(item)
    end

  end
 
end # Window_BattleItem
Title: Re: Final Fantasy IX Script Pack
Post by: Black0Seraph on September 04, 2014, 04:18:55 PM
Thank you! That works perfectly.
Title: Re: Final Fantasy IX Script Pack
Post by: beaker1210 on September 06, 2014, 02:34:22 AM
Great script but I tried to click arrange in the item window with nothing in my inventory and it crashed. Below is the error code.

Edit: Actually as it turns out it doesn't matter what option i try to use once I get in the items window. It crashes no matter what. I'm trying my best to fix it but nothing is working for me. It works great in the demo but it doesn't work in my project for some reason.  :mad: AARRGGH!

I have these scripts installed in this order:

Yanfly Ace Core Engine
Yanfly Ace Battle Engine

FFIX SEM scripts in the same order as the demo

Yanfly Class system
Yanfly Class Specifics
Yanfly Class unlock level

Yanfly Unlock levels

If anybody can think where the problem might be by looking at this PLEASE let me know. Also, if more info is required I can provide it. Thanks!
Title: Re: Final Fantasy IX Script Pack
Post by: Zissou on January 04, 2015, 01:49:54 AM
Hii

great work but i have a little problem

(http://www.ntoh.de/Unbenannt-3.png)
Title: Re: Final Fantasy IX Script Pack
Post by: dr0hgo on March 20, 2015, 06:33:15 PM
Hi, before anything else congratulations for your work!
I'm experiencing somekind of errors but I can't solve them, can anyone help me out?  :-\

Item Menu Error
(http://C:\Users\Kamo\Desktop\zodiac rmvxa\itemMenuError.png)

Equipment Skill Error
(http://C:\Users\Kamo\Desktop\zodiac rmvxa\equipSkillErro.png)

thanks in advance
--------------------------------------------------------------------------------------------------------------------

I kinda solved this...it seems this script can't work together with this "Add Skill Exceptions" from Selchar...i removed it and it worked...but now
i'm unable to use limit breaks like FF7...
Title: Re: Final Fantasy IX Script Pack
Post by: semolous on June 07, 2015, 10:25:46 PM
Hi, I have a slight problem with the script. You seem to have taken out the end game command. As such I'm left with this.
(http://i.imgur.com/3h9sQpq.png)

Is there a way to bring back the end game command?
Title: Re: Final Fantasy IX Script Pack
Post by: &&&&&&&&&&&&& on June 07, 2015, 10:30:39 PM
I'll look. :)

Edit: Sorry. I looked but can't figure this out.
I can add the command just fine, but it doesn't do anything.
Title: Re: Final Fantasy IX Script Pack
Post by: semolous on June 07, 2015, 11:10:46 PM
It seems weird to me that SeM would leave the command out. I mean, yeah I could just ask the player if they want to exit whenever they touch a save point, but it's laborious and something I really shouldn't have to do.
Title: Re: Final Fantasy IX Script Pack
Post by: Cestafford16 on June 16, 2015, 06:22:23 AM
Hi! First of all, really like the scripts here. Very neat design and everything.

With the Equipment Skills script, I'm trying to figure out how to change the growth rate for AP. It seems to stay steady no matter what the circumstances, and I want to set it to where characters who have fallen in battle gain no AP, and I also have states and abilities that halve and double the amount of AP earned in battle. Could you (or anyone that knows how) help me figure out how to make this happen? I'm not sure if I've just overlooked how to do it, or some extra scripting should be done to do so. Thanks in advance!
Title: Re: Final Fantasy IX Script Pack
Post by: SeMcDun on June 22, 2015, 04:41:52 PM
Hi, sorry for being out of action for a while.
Doing a script "pack" seemed like a good idea at the time, but it's actually a bit of a pain for updating :P

I'll write up a fix to get the Quit Game command back in the menu.
As for adjusting the rate of AP gain, I don't think I put that into the script so that would require extra scripting.

I may try rewrite the AP script since it has been a long time since I looked over the code and there's no doubt a lot that could be improved upon (and keeping it compatible with the old script for people who want to switch to the new script). Adjusting the AP gain would definitely be a good feature to add.
Title: Re: Final Fantasy IX Script Pack
Post by: Cestafford16 on June 24, 2015, 04:43:55 AM
Hi, sorry for being out of action for a while.
Doing a script "pack" seemed like a good idea at the time, but it's actually a bit of a pain for updating :P

I'll write up a fix to get the Quit Game command back in the menu.
As for adjusting the rate of AP gain, I don't think I put that into the script so that would require extra scripting.

I may try rewrite the AP script since it has been a long time since I looked over the code and there's no doubt a lot that could be improved upon (and keeping it compatible with the old script for people who want to switch to the new script). Adjusting the AP gain would definitely be a good feature to add.

Awesome! Trying to interpret scripts can sometimes give me headaches, so I just wasn't sure if I missed how to adjust the AP rate or not. I just remember FFIX having certain effects like Zombie or Virus (and of course KO) prevent EXP and AP gain, and I have some similar status ailments that do so. Also, that "Quick Learn" ability that doubled AP rate if equipped. Can't remember if that's what it was called or not. :P

But thanks for the response, and I don't intend to rush you or anything. I'm in no hurry here. Can't wait to see the update!
Title: Re: Final Fantasy IX Script Pack
Post by: Notkastar on July 25, 2015, 04:27:45 AM
The link for the files might be broken,
When I downloaded the two all I got was:
(http://i.imgur.com/oQiqqi3.png)
and
(http://i.imgur.com/nEmEUNC.png)

Title: Re: Final Fantasy IX Script Pack
Post by: Umbra on July 31, 2015, 04:15:45 AM
The link for the files might be broken,
When I downloaded the two all I got was:
(http://i.imgur.com/oQiqqi3.png)

I have the same problem, except I get 11 errors as opposed to your 8. I've tried repairing the RAR file but to no avail. Google doesn't seem to be helping either.