FFVII Materia System XP/VX - Both versions Fully Translated!

FFVII Materia System XP/VX

First, sorry for the average English and typos.

Special thanks to carbajosa and Kain Nobel for the help in translations

I think lot's of people knows Sephirot Spawn Materia system.
An wonderful system that reproduces the FFVII Materia System almost perfectly.

When I posted it first time on a brazilian forum, people loved it,but complained it was quite hard to configure.
So I worked on it to add an easy configuration module (as I always do in my scripts) and added some features to make it more user friendly, and fixed some bugs (latter i discovered it had bugs because it was an outdated version  :lol:).

Well if it was only to show theses few new features, why to create an new topic?

It because I converted it to VX to, with all the features it had on XP.

Changes made by me Show
  • More user friendly (all configurable values are in an module in the begin of the script)
  • Added AP system
  • You can set skills to ignore effects of some Suport materia (you don't want to have an 0 MP skill to gain boost from MP turbo right? :lol:)
  • New Materias
  • New algorithms(XP Only) (Dexterity was replaced whit Vitality, it's really an shame that XP don't have any natural reducing damage status, HIT/Critical are now based on agility, the balance of the values haven't changed much)
  • Custumization of Materia Icon
  • Don't lose skill learned whit levels when equiping materias whit the same skill.


Screen Shots Show
XP Version

Image

Image

VX Version

Image

Image


Instructions Show
Materia Icons

IMPORTANT: In VX you must create an new folder named "Icons" on the Graphic folder

You can set individual icons for each materia, the icon must be on the Incon folder.
The name of the icon must be the same of the Materia + "_m"

E.g
Cure materia icon must be named "Cure_m"
Ultima materia icon must be named "Ultima_m"

Materias without individual icons will have the default materia icon, the color of defaut icon depends on the materia type

Equipment Slots


To set the slots of equipment, look for lines like these in the "module Materia_Config"

WEAPON_MATERIA_SLOTS[ID] = [X , Y] for weapons
ARMORS_MATERIA_SLOTS[ID] = [X , Y] for armors

ID = Equipment ID
X = number of paired slots (count as 2 single slots)
Y = nuber of single slots

The total slots will never be greater than 8, if you set more than 8 slots, the extra slots will be ignored

E.g
ARMORS_MATERIA_SLOTS[5] = [2, 2]
The armor ID 5 will have 6 slots
(2 * 2) + 2 = 6

WEAPON_MATERIA_SLOTS[3] = [1, 5]
The weapon ID 5 will have 7 slots
(1 * 2) + 5 = 7

If you don't add an equipment ID on the list, the equip of this ID will have 0 slots

Configurating Materias

To configure the materias, look for lines like these in the "module Materia_Config"

  1. MATERIA_LIST << [ID, name, type, status, elements, status effects, price, master price, ap, skill, special effect]
Expand to see the code.


  • ID = Materia ID
  • name = materia Name
  • type = materia type (can be "Magic", "Command", "Summon", "Support" and "Independent", they arent translated in demo)
  • status = status change of the materia.[hp, sp, str, dex, agi, int] in XP, [hp, mp, atk, def, spi, agi] in VX
  • elements = element id of materia. used when paired with elemental spuport materia. must be an array
  • status effect = status effect id of materia. used when paired with added effect spuport materia must. be an array
  • price = Price of materia with 0 AP
  • master price = Price of an level max materia
  • ap = ap nedded to level up. must be an array. the first value is the ap to level 2. Here is the place where you set the max level of materia, depending on how many values yoi add on the array.
    E.G
    [1000, 2000 ,3000] = the materia will have 4 levels
    [2500, 5000, 10000, 20000, 40000] = the materia will have 6 levels
  • skills = skills of the materia. must be an array. you can make an instace of this array = nil, so materia will "skip" this level
    E.G
    [2,7,20] = materia gain skill ID 2 in level 1, skill ID 7 in level 2, and skill ID 20 in level 3.
    [nil,6,nil,13] = materia gain no skill in level 1, skill ID in level 2, no skill in level 3, and skill ID 13 in level 4.
  • special effects = special effects of materia. one of these: "All", "Elemental", "Added Effect", "HP Absorb", "MP Absorb", "MP Turbo", "MP Cost Cut", "EXP plus", "Gil Plus", "Luck Plus"(only for XP), "HP Plus", "MP Plus", "Strength Plus", "Defense Plus", "Magic Plus", "Speed Plus", "Flee Plus", "Critical Rate Plus", "Critical Damage Plus", "Escape Plus", "Unnarmed Attack Plus" (only for XP), "HP MP"

Gain new Materia


Use the Script Call event and add this code:

  1. $game_party.gain_materia(ID)
Expand to see the code.

where ID = the ID of materia

Materia Shop

to open an materia shop use the Script Call event and add this code:
  1. materia_avaliable = [ X, Y, Z]
  2. $scene = Scene_MateriaShop.new(materia_avaliable)
Expand to see the code.


X,Y,Z = the ID of Materias
You can add how many IDs you want.

Set Enemy AP

to set enemy AP, look for lines like these in the "module Materia_Config"

ENEMY_AP[ID] = X


ID = Enemy ID
X = AP given by enemy

Enemys that don't have their IDs added to the list will give AP = their EXP/10


Downloads Show
Materia System XP - Fully translated!

Materia System VX - Fully translated!

If you have any problem in opnening the projetc, create an new project and copy the Data, Graphics and Audio from the demo and paste it on the new project.


Credits and thanks Show
  • Sephirot Spawn for the first Materia System that is a wonderful system
  • Atoa for the changes and improvement, and for the conversion to VX
  • translation to english by carbajosa
  • thansk to Kain Nobel for part of XP translation
The download link for Materia System VX isn't working for me. Can you try to upload it to a different site? It looks really nice, I viewed it earlier, but had nothing to say other than "Wow, looks nice." I would love to try it out.

EDIT: Nvm, I had to us WinZip. Anyway, it all looks nice, but it is in Spanish so I don't feel like fooling with it now. I will let you know if I find any errors tomorrow.
For some reason it's on an older version so you have to make a new game and copy the data files from the demo onto a new project then extract the script.

BTW can you make it so the sell price is based on the AP? That way when you buy it it sells back at 0 but as you train with it it get's more AP and eventual you can train it to sell it back for more then you bought it for! Right now you have to get it all the way up. = ( that kinda sucks... Oh well I'll tinker with it and see if I can get it before hand. =D

#Edit

Well i took a look and I found this "materia.experience" dose anyone know were I can find the value of display and gain in the script so I can just replace it with Materia.Experience so I can make the sell price the AP? =D Thanks in advanced!

#Edit 2

WHAO! HUGE GLITCH in the XP script! If you try to save your game and reload it flunks out I think it has to do something with scene_title or file beucse they have to do with loading the game.

#Edit 3

lol found it. It's the scene_title in the script. Go to the XP script and find line 2021.

change the line from def seph blah blah blah to this...

  def command_continue

that will make it so it actually makes the matira data up on start lol glad I could help.
@Giam
it's not Spanish, it brazillian portuguese (it on the begin of topic), i'm looking for someone to traslate it.
I'll try to translate and get na english version of RMVX and XP later (it almost 5:00am and i'm goingo to sleep now).

@Necro_100000
how could I let this happen @.@
In VX version this part of code was exactly the same and I just copy/paste it...
What I've done to this happen only in XP? @.@
thanks for the tip, i've already changed it.

About the AP/Price... I completely forget about this function @.@
But it quite simple to add.
thanks[2]
Actually a member of my team just got it done! If you want it I can post it right here! I'm glad to share the works of our teams since were there to help people lol.

It just makes it so the AP you have currently will be the price when you sell back!

Also we made a compatible version of it with MR. Moe's ABS for XP and Crissagrims for VX! =D If you want them just ask! You can have full credit to. As for translating I can't do that, but since I understand what it dose I can wright up my own directions for you!

Get back to me on what you need! =D

-Matt (Necro)
@Necro_100000 
My was a bit different.
The initial and master price still the same, but the sell price rises at same rate the AP rises
.
I've done an XP version compatible with my SBS Tankentai XP version (i will post is as soon I get it transtated).
And any different version compatible with differnt system are welcome.
IMO this materia system is one of the TOP10 best systems in RM.

OFF: could you send me in PM an new and clean new project in RMXP and VX? I'm going to tranlate the script myself, but it would help if I had an version with all vocab already translated.
Ehh do you mean a blank English one? or one that has all the vocab edited to English? Not sure I follow ^.^
Just start a new projet, save it and send me ;D
Ehhhh okay. Whatever you need. I know this my make me sound like an ass but I'm busy today >.< yes to busy to make a new game..... I know I know... I shouldn't even be on the forums. I have to do programing homework for Game Design >.< (DAMN YOU C++!!!) I will get to you as soon as I can.
Hi, nice script xD
Please translate this script into English, it's hard to translate this with google. :straightthumb:
Does anyone have an english translation?
@naruxsaku
No one has it translated, i've posted it 3 days ago.
I'm asking for help to translate it, but only Necro offered help, but he is busy =/

All I need is an new VX and XP projetc in english, so i wont't need to translate the vocab and items.
So if someone helps, maybe tomorrow I have an full tranlated version.
Hey champ, I'm having a problem here... normally I can manually change the DLL used in the Game.ini file (I use RGSS102E.dll) but the project needs RGSS103J.dll However, even after downloading and placing the DLL in the project folder, it still gives me this message.

RPGXP wrote:
This project is from an old version of RPG Maker and cannot be loaded


Thats my guess to why nobody has translated it, so either can you re-upload the XP demo with the DLL included (maybe somethings wrong with the one I linked from FileFront), or can you PM me the XP code by itself? BTW, yes I'm wanting to translate this for you but I can't open the project.

EDIT: Nvm, I just temporarily placed the Scripts.rxdata from your project into my Test Bed... I'm working on a translation for the XP version right now. When I'm done I'm going to send you a new demo to post because the English community will have to work around the DLL problem otherwise.
@kain nobel
Thanks man, i don't have an english rmxp or vx.
I knew that people would have problems, that's why i asked help ;D
Ta-da!
http://www.mediafire.com/?jmyjmznyxmw
[link for the translated version]

I translated everything in the script (including the additional effects)
Thanks for the script dude~!
I decided to translate this for myself and post when done.

If you dont mind, am I allowed to post this in other forums?
Well umm.. right :D
@carbajosa
Thanks! I'll add your demo to de main topic.

Since you give an great help, you can post it anywhere you want =D

Just waiting the XP version.
Hmmm just got the VX one done to. =/ oh well I guess I'll start on XP then.  :thumb:
Atoa wrote:
@kain nobel
Thanks man, i don't have an english rmxp or vx.
I knew that people would have problems, that's why i asked help ;D


Yay~! Thank you too :D
WAaAAaaIiiT~!
xD
Sorry for the yell but I forgot to translate the Materia Shop! (Sorry lol)
Here, the shop is now translated:
http://www.mediafire.com/?vzontimhtyo
Ohhh~ Why didn't I checked the shop before xD
Haha, you can finish the XP one!!! Unless you've already got this far, here's a head start... I got like the first part of the commenting done.

Content Hidden Show
#===============================================================================
# ** Latest Updates
#-------------------------------------------------------------------------------
# - Added AP system, based on David Schooley's system
# - Added effects of Support-type materia
# - Fixed some bugs encountered with combining materia
# - Fixed bug reguarding the max level of materias
# - Added additional Materias not in previous system
# - Recalculation of the damage function added (Dexterity is Defense)
# - Working with Icons for Materia
# - Customization is more simple and direct, all values are customizable
# - Skills Learned by Level are not lost when equipping materias with
#  the same skills
#==============================================================================
# ** Instructions
#==============================================================================
#------------------------------------------------------------------------------
# * Materia Icon Explanation
#------------------------------------------------------------------------------
# The icons of Materias can now be changed to individual graphics
# Simply create an icon with the same name as the materia and place a "_m" at
# the end of the filename
#
# Example :
#  If you wanted to create a special graphic for the Cura Materia, you'd simply
#  name it like "Cura_m"
#  All Materia that doesn't have a special graphic will use a standard Materia
#  graphic based on the type of Materia it is.
#------------------------------------------------------------------------------
# * Additional Slots and Equipment
#------------------------------------------------------------------------------
# To add slots equips go to the "module Materia_Config"
# and search for "# Weapon Slots" for weapons and
# "# Armor Slots" para Armaduras (ambos sem aspas)
#
# The Materia slots follow this pattern:
#
# WEAPON_MATERIA_SLOTS[ID] = [X , Y]  (For Weapons)
# ARMORS_MATERIA_SLOTS[ID] = [X , Y]  (For Armors)
#
# Being:
# - ID = ID of weapon/armor
# - X = Number of Linked slots
# - Y = Number of Individual slots
#
# Remember: The max number of slots is 8
# If you configure a total more than 8 slots, the extra slots will be ignored
# Linked * 2 + Individual * 1 <= 8
#
# Example:
# ARMORS_MATERIA_SLOTS[5] = [2, 2]
# Meaning Armor ID 5 will have 6 slots (2 linked * 2 and 2 individual)
# (2 * 2) + 2 = 6
#
# WEAPON_MATERIA_SLOTS[3] = [1, 5]
# Meaning Weapon ID 3 will have 7 slots (1 linked * 2 and 5 individual)
# (1 * 2) + 5 = 7
#
#
# If you do not add the ID in the list of equipment, that equipment will be
# considered to not have any Materia slots
#
#==============================================================================
# ** Creating Your Own Materia
#==============================================================================
#To setup or modify existing Materias, refer to "module Materia_Config",
#and look for "List of Materias"


The rest of the fun is all yours, since you claimed it before me anyway!

@carbajosa : Just don't forget to credit Seph for the origional base version of the system, or he'll haunt you in your sleep :P
Oh yeah! do not forget to credit sephirot spawn!

Thanks Kain, I will use part of carbajosa VX translation in XP, so both scripts will look the same \o
I'll post it tomorrow =D then both version will be translated
I got a bug. It is not compatible with MOG's Title Screen Miria. Here is the script. Try and make it compatible, PLEASE!

[spoiler=Script]
##################################################
# Scene Title Screen Miria V1.0 #
##################################################
#Scripted By Moghunter
#Translated & Edited by: Mortician10101
# http://www.atelier-rgss.com
##################################################
# Animated Title Script.
#Create a folder with the name Title inside the Graphics folder.
#Put all of the images inside the Title folder.
#The following images are Necessary.
#
# Title #Image which contains the Title name
# Transition #The Transition Image used for the intro
# Plane1 #Image for Layer 1
# Plane2 #Image for Layer 2
# Plane3 #Image for Layer 3
# Com_01 #Image on selection of NEW GAME
# Com_02 #Image on selection of CONTINUE
# Com_03 #Image on selection of EXIT
#
#-------------------------------------------------
#############
# CONFIG #
#############
module MOG_VX01
# To Activate Full Screen. (true = activated or false = Deactivated)
FULL_SCREEN = true
# Transition Time.
TT = 120
# Activate "wave" style movement over title of game.
# (true = activated or false = Deactivated)
TWAVE = false
# opacity for Layer 1 image.
TPLANE1_OPA = 255
# opacity for Layer 2 image.
TPLANE2_OPA = 0
# opacity for Layer 3 image
TPLANE3_OPA = 0
# Velocity of Horizontal Movement for Layer 1.
TPLANE1_X = 0
# Velocity of Vertical Movement for Layer 1.
TPLANE1_Y = 0
# Velocity of Horizontal Movement for Layer 2.
TPLANE2_X = 0
# Velocity of Vertical Movement for Layer 2.
TPLANE2_Y = 0
# Velocity of Horizontal Movement for Layer 3.
TPLANE3_X = 0
# Velocity of Vertical Movement for Layer 3.
TPLANE3_Y = 0
end
#-------------------------------------------------
$mogscript = {} if $mogscript == nil
$mogscript["title_miria"] = true
#-------------------------------------------------
###############
# Module Cache #
###############
module Cache
def self.title(filename)
load_bitmap("Graphics/Title/", filename)
end
end
#############
# Scene_Title #
#############
$full_screen = 0
class Scene_Title
include MOG_VX01
def main
if $BTEST
battle_test
return
end
$full_screen += 1
if MOG_VX01::FULL_SCREEN == true and $full_screen == 1
$showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ' '
$showm.call(18,0,0,0)
$showm.call(13,0,0,0)
$showm.call(13,0,2,0)
$showm.call(18,0,2,0)
end
start
perform_transition
post_start
Input.update
loop do
Graphics.update
Input.update
update
break if $scene != self
end
Graphics.update
pre_terminate
Graphics.freeze
terminate
end
def start
load_database
create_game_objects
check_continue
create_title_graphic
create_command_window
play_title_music
end
def perform_transition
Graphics.transition(TT , "Graphics/Title/Transition")
end
def post_start
open_command_window
end
def pre_terminate
close_command_window
end
def terminate
dispose_command_window
snapshot_for_background
dispose_title_graphic
end
def update
@command_window.update
case @command_window.index
when 0
@com.bitmap = Cache.title("Com_01")
when 1
@com.bitmap = Cache.title("Com_02")
when 2
@com.bitmap = Cache.title("Com_03")
end
@sprite_title.opacity += 2
@com.opacity += 2 if @sprite_title.opacity > 150
@sprite.ox += TPLANE1_X
@sprite.oy += TPLANE1_Y
@sprite2.ox += TPLANE2_X
@sprite2.oy += TPLANE2_Y
@sprite3.ox += TPLANE3_X
@sprite3.oy += TPLANE3_Y
@sprite_title.update if TWAVE == true
if Input.trigger?(Input::C)
case @command_window.index
when 0
command_new_game
when 1
command_continue
when 2
command_shutdown
end
end
end
def update_slide
@sprite.ox += TPLANE1_X
@sprite.oy += TPLANE1_Y
@sprite2.ox += TPLANE2_X
@sprite2.oy += TPLANE2_Y
@sprite3.ox += TPLANE3_X
@sprite3.oy += TPLANE3_Y
@sprite_title.update if TWAVE == true
end
def load_database
$data_actors = load_data("Data/Actors.rvdata")
$data_classes = load_data("Data/Classes.rvdata")
$data_skills = load_data("Data/Skills.rvdata")
$data_items = load_data("Data/Items.rvdata")
$data_weapons = load_data("Data/Weapons.rvdata")
$data_armors = load_data("Data/Armors.rvdata")
$data_enemies = load_data("Data/Enemies.rvdata")
$data_troops = load_data("Data/Troops.rvdata")
$data_states = load_data("Data/States.rvdata")
$data_animations = load_data("Data/Animations.rvdata")
$data_common_events = load_data("Data/CommonEvents.rvdata")
$data_system = load_data("Data/System.rvdata")
$data_areas = load_data("Data/Areas.rvdata")
end
def load_bt_database
$data_actors = load_data("Data/BT_Actors.rvdata")
$data_classes = load_data("Data/BT_Classes.rvdata")
$data_skills = load_data("Data/BT_Skills.rvdata")
$data_items = load_data("Data/BT_Items.rvdata")
$data_weapons = load_data("Data/BT_Weapons.rvdata")
$data_armors = load_data("Data/BT_Armors.rvdata")
$data_enemies = load_data("Data/BT_Enemies.rvdata")
$data_troops = load_data("Data/BT_Troops.rvdata")
$data_states = load_data("Data/BT_States.rvdata")
$data_animations = load_data("Data/BT_Animations.rvdata")
$data_common_events = load_data("Data/BT_CommonEvents.rvdata")
$data_system = load_data("Data/BT_System.rvdata")
end
def create_game_objects
$game_temp = Game_Temp.new
$game_message = Game_Message.new
$game_system = Game_System.new
$game_switches = Game_Switches.new
$game_variables = Game_Variables.new
$game_self_switches = Game_SelfSwitches.new
$game_actors = Game_Actors.new
$game_party = Game_Party.new
$game_troop = Game_Troop.new
$game_map = Game_Map.new
$game_player = Game_Player.new
end
def check_continue
@continue_enabled = (Dir.glob('Save*.rvdata').size > 0)
end
def create_title_graphic
@sprite_title = Sprite.new
@sprite_title.bitmap = Cache.title("Title")
@sprite_title.opacity = 0
@com = Sprite.new
@com.bitmap = Cache.title("Com_01")
@com.opacity = 0
@sprite = Plane.new
@sprite.bitmap = Cache.title("Plane1")
@sprite2 = Plane.new
@sprite2.bitmap = Cache.title("Plane2")
@sprite3 = Plane.new
@sprite3.bitmap = Cache.title("Plane3")
@sprite.opacity = TPLANE1_OPA
@sprite2.opacity = TPLANE2_OPA
@sprite3.opacity = TPLANE3_OPA
@sprite.z = 1
@sprite2.z = 2
@sprite3.z = 3
@com.z = 4
@sprite_title.z = 5
if TWAVE == true
@sprite_title.wave_amp = 8
@sprite_title.wave_length = 240
@sprite_title.wave_speed = 320
end
end
def dispose_title_graphic
@sprite.bitmap.dispose
@sprite2.bitmap.dispose
@sprite3.bitmap.dispose
@com.bitmap.dispose
@sprite_title.bitmap.dispose
@sprite.dispose
@sprite2.dispose
@sprite3.dispose
@com.dispose
@sprite_title.dispose
end
def create_command_window
s1 = Vocab::new_game
s2 = Vocab::continue
s3 = Vocab::shutdown
@command_window = Window_Command.new(172, [s1, s2, s3])
@command_window.opacity = 0
@command_window.contents_opacity = 0
if @continue_enabled
@command_window.index = 1
else
@command_window.draw_item(1, false)
end
end
def title_fade
if TWAVE == true
@sprite_title.wave_amp = 34
@sprite_title.wave_length =120
@sprite_title.wave_speed = 800
end
for i in 0..120
@sprite_title.opacity -= 3
@sprite_title.update if TWAVE == true
@com.opacity -= 3
case @command_window.index
when 0
@sprite.zoom_x += 0.01
@sprite.zoom_y += 0.01
@sprite2.zoom_x += 0.01
@sprite2.zoom_y += 0.01
@sprite3.zoom_x += 0.01
@sprite3.zoom_y += 0.01
@sprite.ox += 2
@sprite.oy += 2
@sprite2.ox += 2
@sprite2.oy += 2
@sprite3.ox += 2
@sprite3.oy += 2
end
update_slide
Graphics.update
end
end
def dispose_command_window
@command_window.dispose
end
def open_command_window
@command_window.open
begin
@command_window.update
Graphics.update
end until @command_window.openness == 255
end
def close_command_window
@command_window.close
begin
@command_window.update
Graphics.update
end until @command_window.openness == 0
end
def play_title_music
$data_system.title_bgm.play
RPG::BGS.stop
RPG::ME.stop
end
def confirm_player_location
if $data_system.start_map_id == 0
print "ム€”ム¬Ã£ €šÂ¤Ã£Æ’ ¤Ã£Æ’ ¼Ã£
[quote="Hamstt"]
I got a bug. It is not compatible with MOG's Title Screen Miria. Here is the script. Try and make it compatible, PLEASE!

[spoiler=Script]

Hmm.. thats odd.. Im using that script too and never encountered any bug..
Try to put it below that script and above main
##################################################
# Scene Title Screen Miria V1.0 #
##################################################
#Scripted By Moghunter
#Translated & Edited by: Mortician10101
# http://www.atelier-rgss.com
##################################################
# Animated Title Script.
#Create a folder with the name Title inside the Graphics folder.
#Put all of the images inside the Title folder.
#The following images are Necessary.
#
# Title #Image which contains the Title name
# Transition #The Transition Image used for the intro
# Plane1 #Image for Layer 1
# Plane2 #Image for Layer 2
# Plane3 #Image for Layer 3
# Com_01 #Image on selection of NEW GAME
# Com_02 #Image on selection of CONTINUE
# Com_03 #Image on selection of EXIT
#
#-------------------------------------------------
#############
# CONFIG #
#############
module MOG_VX01
# To Activate Full Screen. (true = activated or false = Deactivated)
FULL_SCREEN = true
# Transition Time.
TT = 120
# Activate "wave" style movement over title of game.
# (true = activated or false = Deactivated)
TWAVE = false
# opacity for Layer 1 image.
TPLANE1_OPA = 255
# opacity for Layer 2 image.
TPLANE2_OPA = 0
# opacity for Layer 3 image
TPLANE3_OPA = 0
# Velocity of Horizontal Movement for Layer 1.
TPLANE1_X = 0
# Velocity of Vertical Movement for Layer 1.
TPLANE1_Y = 0
# Velocity of Horizontal Movement for Layer 2.
TPLANE2_X = 0
# Velocity of Vertical Movement for Layer 2.
TPLANE2_Y = 0
# Velocity of Horizontal Movement for Layer 3.
TPLANE3_X = 0
# Velocity of Vertical Movement for Layer 3.
TPLANE3_Y = 0
end
#-------------------------------------------------
$mogscript = {} if $mogscript == nil
$mogscript["title_miria"] = true
#-------------------------------------------------
###############
# Module Cache #
###############
module Cache
def self.title(filename)
load_bitmap("Graphics/Title/", filename)
end
end
#############
# Scene_Title #
#############
$full_screen = 0
class Scene_Title
include MOG_VX01
def main
if $BTEST
battle_test
return
end
$full_screen += 1
if MOG_VX01::FULL_SCREEN == true and $full_screen == 1
$showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ' '
$showm.call(18,0,0,0)
$showm.call(13,0,0,0)
$showm.call(13,0,2,0)
$showm.call(18,0,2,0)
end
start
perform_transition
post_start
Input.update
loop do
Graphics.update
Input.update
update
break if $scene != self
end
Graphics.update
pre_terminate
Graphics.freeze
terminate
end
def start
load_database
create_game_objects
check_continue
create_title_graphic
create_command_window
play_title_music
end
def perform_transition
Graphics.transition(TT , "Graphics/Title/Transition")
end
def post_start
open_command_window
end
def pre_terminate
close_command_window
end
def terminate
dispose_command_window
snapshot_for_background
dispose_title_graphic
end
def update
@command_window.update
case @command_window.index
when 0
@com.bitmap = Cache.title("Com_01")
when 1
@com.bitmap = Cache.title("Com_02")
when 2
@com.bitmap = Cache.title("Com_03")
end
@sprite_title.opacity += 2
@com.opacity += 2 if @sprite_title.opacity > 150
@sprite.ox += TPLANE1_X
@sprite.oy += TPLANE1_Y
@sprite2.ox += TPLANE2_X
@sprite2.oy += TPLANE2_Y
@sprite3.ox += TPLANE3_X
@sprite3.oy += TPLANE3_Y
@sprite_title.update if TWAVE == true
if Input.trigger?(Input::C)
case @command_window.index
when 0
command_new_game
when 1
command_continue
when 2
command_shutdown
end
end
end
def update_slide
@sprite.ox += TPLANE1_X
@sprite.oy += TPLANE1_Y
@sprite2.ox += TPLANE2_X
@sprite2.oy += TPLANE2_Y
@sprite3.ox += TPLANE3_X
@sprite3.oy += TPLANE3_Y
@sprite_title.update if TWAVE == true
end
def load_database
$data_actors = load_data("Data/Actors.rvdata")
$data_classes = load_data("Data/Classes.rvdata")
$data_skills = load_data("Data/Skills.rvdata")
$data_items = load_data("Data/Items.rvdata")
$data_weapons = load_data("Data/Weapons.rvdata")
$data_armors = load_data("Data/Armors.rvdata")
$data_enemies = load_data("Data/Enemies.rvdata")
$data_troops = load_data("Data/Troops.rvdata")
$data_states = load_data("Data/States.rvdata")
$data_animations = load_data("Data/Animations.rvdata")
$data_common_events = load_data("Data/CommonEvents.rvdata")
$data_system = load_data("Data/System.rvdata")
$data_areas = load_data("Data/Areas.rvdata")
end
def load_bt_database
$data_actors = load_data("Data/BT_Actors.rvdata")
$data_classes = load_data("Data/BT_Classes.rvdata")
$data_skills = load_data("Data/BT_Skills.rvdata")
$data_items = load_data("Data/BT_Items.rvdata")
$data_weapons = load_data("Data/BT_Weapons.rvdata")
$data_armors = load_data("Data/BT_Armors.rvdata")
$data_enemies = load_data("Data/BT_Enemies.rvdata")
$data_troops = load_data("Data/BT_Troops.rvdata")
$data_states = load_data("Data/BT_States.rvdata")
$data_animations = load_data("Data/BT_Animations.rvdata")
$data_common_events = load_data("Data/BT_CommonEvents.rvdata")
$data_system = load_data("Data/BT_System.rvdata")
end
def create_game_objects
$game_temp = Game_Temp.new
$game_message = Game_Message.new
$game_system = Game_System.new
$game_switches = Game_Switches.new
$game_variables = Game_Variables.new
$game_self_switches = Game_SelfSwitches.new
$game_actors = Game_Actors.new
$game_party = Game_Party.new
$game_troop = Game_Troop.new
$game_map = Game_Map.new
$game_player = Game_Player.new
end
def check_continue
@continue_enabled = (Dir.glob('Save*.rvdata').size > 0)
end
def create_title_graphic
@sprite_title = Sprite.new
@sprite_title.bitmap = Cache.title("Title")
@sprite_title.opacity = 0
@com = Sprite.new
@com.bitmap = Cache.title("Com_01")
@com.opacity = 0
@sprite = Plane.new
@sprite.bitmap = Cache.title("Plane1")
@sprite2 = Plane.new
@sprite2.bitmap = Cache.title("Plane2")
@sprite3 = Plane.new
@sprite3.bitmap = Cache.title("Plane3")
@sprite.opacity = TPLANE1_OPA
@sprite2.opacity = TPLANE2_OPA
@sprite3.opacity = TPLANE3_OPA
@sprite.z = 1
@sprite2.z = 2
@sprite3.z = 3
@com.z = 4
@sprite_title.z = 5
if TWAVE == true
@sprite_title.wave_amp = 8
@sprite_title.wave_length = 240
@sprite_title.wave_speed = 320
end
end
def dispose_title_graphic
@sprite.bitmap.dispose
@sprite2.bitmap.dispose
@sprite3.bitmap.dispose
@com.bitmap.dispose
@sprite_title.bitmap.dispose
@sprite.dispose
@sprite2.dispose
@sprite3.dispose
@com.dispose
@sprite_title.dispose
end
def create_command_window
s1 = Vocab::new_game
s2 = Vocab::continue
s3 = Vocab::shutdown
@command_window = Window_Command.new(172, [s1, s2, s3])
@command_window.opacity = 0
@command_window.contents_opacity = 0
if @continue_enabled
@command_window.index = 1
else
@command_window.draw_item(1, false)
end
end
def title_fade
if TWAVE == true
@sprite_title.wave_amp = 34
@sprite_title.wave_length =120
@sprite_title.wave_speed = 800
end
for i in 0..120
@sprite_title.opacity -= 3
@sprite_title.update if TWAVE == true
@com.opacity -= 3
case @command_window.index
when 0
@sprite.zoom_x += 0.01
@sprite.zoom_y += 0.01
@sprite2.zoom_x += 0.01
@sprite2.zoom_y += 0.01
@sprite3.zoom_x += 0.01
@sprite3.zoom_y += 0.01
@sprite.ox += 2
@sprite.oy += 2
@sprite2.ox += 2
@sprite2.oy += 2
@sprite3.ox += 2
@sprite3.oy += 2
end
update_slide
Graphics.update
end
end
def dispose_command_window
@command_window.dispose
end
def open_command_window
@command_window.open
begin
@command_window.update
Graphics.update
end until @command_window.openness == 255
end
def close_command_window
@command_window.close
begin
@command_window.update
Graphics.update
end until @command_window.openness == 0
end
def play_title_music
$data_system.title_bgm.play
RPG::BGS.stop
RPG::ME.stop
end
def confirm_player_location
if $data_system.start_map_id == 0
print "ム€”ム¬Ã£ €šÂ¤Ã£Æ’ ¤Ã£Æ’ ¼Ã£
It not an bug... it only an compatibilyt issue...

Fists i suggest you trying to change the order of the scripts.

If it not work, make an request on RSSG/RGSS2 support i'm really busy.
I did find a bug.

When you use the ALL materia together with the FIRE materia in a combination slot, the character does not cast Fire on all enemies, just the selected one. Obviously the whole point of the ALL materia is ignored...
New2Ya wrote:
I did find a bug.

When you use the ALL materia together with the FIRE materia in a combination slot, the character does not cast Fire on all enemies, just the selected one. Obviously the whole point of the ALL materia is ignored...


Maybe its not paired? There's an equipment with 2 slots but not paired together.

You're right.. same here. Im using Tankentai side view battle so.. maybe its because of that.
haven't i corrected the all "all" (lol this was really weird '-') bugs?
i will give an look here

EDIT:
After testing "All" materia and i've found no bugs.
Maybe it caused by SBS Tankentai.

I've reuploaded the demo.

@carbajosa
I recommend you edit the demo link you've posted in rpgrevolution to the one i've posted here.
Atoa wrote:
haven't i corrected the all "all" (lol this was really weird '-') bugs?
i will give an look here

EDIT:
After testing "All" materia and i've found no bugs.
Maybe it caused by SBS Tankentai.

I've reuploaded the demo.

I just used your demo from the start, didn't implement the Tankentai. It's not my version of RMVX either, it's legal.

The problem does not occur with say Slow. But it does occur when you combine All with Fire/Thunder/Cure and probably Ice and Wind and that kind of magic too.

The moment you select Fire in the Skill menu, you have to choose the enemy to perform the attack against. That doesn't occur when the All materia does work. Like in Slow. When I combine Slow with All, it immediatly knows to attack all enemies, instead of me having to choose.

It's not the Tankentai.
I just tested the demo and the all and fire materia works fine. The only issue I can think of is that you two are setting them materia in two non combined slots.

Edit

Also, if your using the translated version, you need to make sure EVERYTHING is translated from the materia's name to the effects found further in the script
I've foud the error, it was in the translation.
there was a 2 lines that wasn't translated, so it caused support materias to no recognize all materias.

And don't forget to configure the "Negate_All_ID" because if you add the Negate All ID to the skills, them will ignore the All materia effect.

try downloading the versio that i just uploaded.

UPDATE - XP version fully translated!

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=59972