Hello,
My newest script allows you to do various things with the visuals of the save screen. I have almost finished but cannot work out how to use Z to make the faces (which this script adds) go behind the text and the sprites. I hope you could help me with this. Here is the script:
#----------------------------------------------------------------------------# AriArk's Visual Save Options# Version 1.00#----------------------------------------------------------------------------# This script allows you to change things about the save scene.# 1. Hide party characters# 2. Hide playtime# 3. Lets you use faces (if you want)# 4. Change character positions#----------------------------------------------------------------------------class Window_SaveFile < Window_Base def initialize(height, index)#----------------------------------------------------------------------------# Show the party on save & load scene?#---------------------------------------------------------------------------- @show_party_characters = false #----------------------------------------------------------------------------# Show playtime on save & load scene?#---------------------------------------------------------------------------- @show_playtime = true #----------------------------------------------------------------------------# Show faces on save & load scene?#---------------------------------------------------------------------------- @show_faces = true #----------------------------------------------------------------------------# DO NOT TOUCH#---------------------------------------------------------------------------- super(0, index * height, Graphics.width, height) @file_index = index refresh @selected = false end#----------------------------------------------------------------------------def refresh contents.clear change_color(normal_color) name = Vocab::File + " #{@file_index + 1}" draw_text(4, 0, 200, line_height, name) @name_width = text_size(name).width#----------------------------------------------------------------------------#\DO NOT TOUCH#----------------------------------------------------------------------------# Party Character Position (x, y)#---------------------------------------------------------------------------- draw_party_characters(152, 58) # deafult 152, 58 draw_party_faces(0, 0) # deafult 0, 0 #---------------------------------------------------------------------------draw_playtime(0, contents.height - line_height, contents.width - 4, 2)endend#---------------------------------------------------------------------------class Window_SaveFile < Window_Base def draw_party_characters(x, y) if @show_party_characters header = DataManager.load_header(@file_index) return unless header header[:characters].each_with_index do |data, i| draw_character(data[0], data[1], x + i * 48, y) end end def draw_party_faces(x, y) if @show_faces header = DataManager.load_header(@file_index) return unless header header[:characters].each_with_index do |data, i| draw_face(data[0], data[1], x + i * 96, y) end end def draw_playtime(x, y, width, align) if @show_playtime header = DataManager.load_header(@file_index) return unless header draw_text(x, y, width, line_height, header[😛laytime_s], 2) endenddef draw_party_faces(x, y) if @show_faces header = DataManager.load_header(@file_index) return unless header header[:characters].each_with_index do |data, i| draw_face(data[0], data[1], x + i * 96, y) end endendendendend
The part that needs the Z axis is near the bottom - it is the method draw_party_faces(x, y).
My newest script allows you to do various things with the visuals of the save screen. I have almost finished but cannot work out how to use Z to make the faces (which this script adds) go behind the text and the sprites. I hope you could help me with this. Here is the script:
#----------------------------------------------------------------------------# AriArk's Visual Save Options# Version 1.00#----------------------------------------------------------------------------# This script allows you to change things about the save scene.# 1. Hide party characters# 2. Hide playtime# 3. Lets you use faces (if you want)# 4. Change character positions#----------------------------------------------------------------------------class Window_SaveFile < Window_Base def initialize(height, index)#----------------------------------------------------------------------------# Show the party on save & load scene?#---------------------------------------------------------------------------- @show_party_characters = false #----------------------------------------------------------------------------# Show playtime on save & load scene?#---------------------------------------------------------------------------- @show_playtime = true #----------------------------------------------------------------------------# Show faces on save & load scene?#---------------------------------------------------------------------------- @show_faces = true #----------------------------------------------------------------------------# DO NOT TOUCH#---------------------------------------------------------------------------- super(0, index * height, Graphics.width, height) @file_index = index refresh @selected = false end#----------------------------------------------------------------------------def refresh contents.clear change_color(normal_color) name = Vocab::File + " #{@file_index + 1}" draw_text(4, 0, 200, line_height, name) @name_width = text_size(name).width#----------------------------------------------------------------------------#\DO NOT TOUCH#----------------------------------------------------------------------------# Party Character Position (x, y)#---------------------------------------------------------------------------- draw_party_characters(152, 58) # deafult 152, 58 draw_party_faces(0, 0) # deafult 0, 0 #---------------------------------------------------------------------------draw_playtime(0, contents.height - line_height, contents.width - 4, 2)endend#---------------------------------------------------------------------------class Window_SaveFile < Window_Base def draw_party_characters(x, y) if @show_party_characters header = DataManager.load_header(@file_index) return unless header header[:characters].each_with_index do |data, i| draw_character(data[0], data[1], x + i * 48, y) end end def draw_party_faces(x, y) if @show_faces header = DataManager.load_header(@file_index) return unless header header[:characters].each_with_index do |data, i| draw_face(data[0], data[1], x + i * 96, y) end end def draw_playtime(x, y, width, align) if @show_playtime header = DataManager.load_header(@file_index) return unless header draw_text(x, y, width, line_height, header[😛laytime_s], 2) endenddef draw_party_faces(x, y) if @show_faces header = DataManager.load_header(@file_index) return unless header header[:characters].each_with_index do |data, i| draw_face(data[0], data[1], x + i * 96, y) end endendendendend
The part that needs the Z axis is near the bottom - it is the method draw_party_faces(x, y).