[XP] Enhanced Details
#1
Enhanced Details
Author: Xuroth
Version: 0.7
Type: Details Display

Introduction

This is my first script! This script allows you to show details for your Items, Weapons, Armors, and Skills. This is just a very basic system.

Features
  • Show Item details!
    Show Armor details!
    Show Weapon details!
    Show Skill details!
    Display 10 lines of text!


    Screenshots
    I suppose you can have one


    Demo
    http://www.mediafire.com/?5dyfj896yfsj132 MediaFire (195.14KB)

    Script


    Content Hidden

    Instructions

    You need 4 text files to make this work. They have to be named "Armor_Detail.rxdata", "Item_Detail.rxdata", "Skill_Detail.rxdata", and "Weapon_Detail.rxdata" (without the quotes). Place these in your /Data folder.
    Also, due to my scripting ability (or lack thereof), each item starts every 11th line. The first armor will display from line 11 to line 20 of the text file. The first ten lines of each file should be either empty or contain the placeholder text I included in the demo.
    I will try to update this later to allow the script to automagically determine the number of lines, and possibly make the window scrollable. But for now, this is it.

    To use this, just insert above main. It only edits Scene_Item and Scene_Skill so as long as its below those, it should work just fine.

    Compatibility

    Probably won't work with custom item windows or skill windows such as those used by fancy CMS'. This was designed from the DMS, and I am a n00b scripter after all. I may figure out a way to increase compatibility with CMS' later
    Also, this script uses aliased methods and does not rewrite any existing methods, only adds to them.

    Credits and Thanks
    • Xuroth (for making this script)
      Jackatrades (for the original idea)
      game_guy (for help with alias)
      DerVVulfman (for help with basic coding and the original idea)
      Blizzard (Inspiration)
      ForeverZer0 (Inspiration and help with coding)
    Thanks to you guys, I was able to complete this system. You guys Rock!

    Author's Notes

    Remember: You need the text files re-named as .rxdata files. You can grab mine from the demo and edit them to match your game (if you use it)
    This is a VERY basic system. It has potential for more, but it is only my FIRST script.

    Post any bugs you find here, and I will try to fix them... if I can.
Reply }
#2
Jolly good show old chap, well done!
This is something that RPG Maker seriously lacks.
Reply }
#3
This is actually really handy, think I might put this to use. Not sure about using for what it's shown as here though but it's given me something to think about.
[Image: logonew.gif]
Reply }
#4
@Holder2: When I "finish" this system, it can be used for much more than just item/armor/weapon/skill. I plan on updating the interface, adding compatibility with some CMS' and adding some other features. Glad it could help you!

@MetalRenard: Thanks! This was just an idea for a first script, and I'm glad people seem to like it.
Reply }
#5
Tried it out and didn't have any errors. nice job
[Image: style7,Kristovski.png]
Reply }
#6
Somebody was needing details in the shop menu as well, so I wrote this addition up real quick. You can view the detail window by pressing Input::A (the Shift button by default).

Code:
#===============================================================================
# ** Scene_Shop
#===============================================================================

class Scene_Shop
  alias_method :itemdetails_scnshop_main,   :main
  def main
    # Create window, turn off visibility and active
    @detail_window = Window_Details.new
    @detail_window.visible = false
    @detail_window.active  = false
    # The usual
    itemdetails_scnshop_main
    # Dispose of window when main loop finished
    @detail_window.dispose
  end
  alias_method :itemdetails_scnshop_update, :update
  def update
    # The usual
    itemdetails_scnshop_update
    # Update the window
    @detail_window.update
  end
  alias_method :itemdetails_scnshop_updatebuy, :update_buy
  def update_buy
    # The usual
    itemdetails_scnshop_updatebuy
    # Set item
    $selected_item = @buy_window.item
    # Call update details
    update_details
  end
  alias_method :itemdetails_scnshop_updatesell, :update_sell
  def update_sell
    # The usual
    itemdetails_scnshop_updatesell
    # Set item
    $selected_item = @sell_window.item
    # Call update details
    update_details
  end
  def update_details
    if Input.trigger?(Input::A)
      # End method if selected item is nil
      return if $selected_item.nil?
      # Refresh detail window
      @detail_window.refresh_reset
      @detail_window.refresh
      # Reverse visibility and activity of detail window
      @detail_window.visible = !@detail_window.visible
      @detail_window.active  = !@detail_window.active
    end
  end
end

It was kind of a rush job so if you find any bugs just post here to let us know :D
[Image: Button-BOTB.png]
[Image: Save-Point.gif][Image: Button-You-Tube2.png][Image: Button-Sound-Cloud2.png][Image: Button-Audio-Mack2.png]
[Image: LS-Banner.gif]
NEW ALBUM OUT NOW!

Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Wachunga's Fog of War - Enhanced Edition DerVVulfman 0 55 11-17-2024, 04:14 AM
Last Post: DerVVulfman
   Super Simple Vehicle System - Enhanced DerVVulfman 65 94,737 06-02-2023, 06:16 PM
Last Post: Sujabes467
   Enhanced Squad Movement DerVVulfman 5 6,601 02-24-2023, 04:40 PM
Last Post: DerVVulfman
   Text Scroll Script - Enhanced DerVVulfman 23 34,293 02-18-2021, 04:16 AM
Last Post: DerVVulfman
   Super Simple Vehicle System - Enhanced - Vehicle Placement DerVVulfman 2 6,143 05-22-2014, 04:42 AM
Last Post: DerVVulfman
   MrMo DVV Add-On #14: Ingrid's Enhanced Items DerVVulfman 2 7,493 07-13-2011, 11:51 PM
Last Post: DerVVulfman
   Grouping and Details DerVVulfman 6 19,688 04-14-2011, 04:27 AM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)