Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> FP: Equip Slots
Tsukihime
post Jul 3 2012, 01:12 PM
Post #1


Level 25
Group Icon

Group: Revolutionary
Posts: 565
Type: None
RM Skill: Undisclosed
Rev Points: 25




FP: Equip Slots
Author: Tsukihime
Type: Features add-on

Overview

Who says you can't wear 5 hats or 3 coats?

This script provides basic functionality to expand the number of equip slots for every equip type.

Features
  • Change the number of equip slots you can have
  • Create custom equip types
  • Specify custom sort order for equip types (order which they appear)
  • Allow equips to add more equip slots
  • Allow classes to add more equip slots


Usage

In the configuration, just specify how many equip slots you want for each type of slot.
You can add additional equip types by adding more entries in the "extended equip types" section.

To specify that an equip is of that type, use the following notetag

CODE
<etype n>


Where n corresponds to the equip type defined in the table above.

If you would like a custom sort order (eg: gloves appear above weapon), you can modify Equip_Order to something you like. Note that there is no way to interweave equip types (eg: weapon, shield, weapon, bodygear, weapon).

In order to add slots to your actors, you must use "features". This is not available
in the default editor, so you will need to use notetags.

In actors, classes, weapons, armors, and states, you can type

CODE

    <+eslot: slot_type amount>

    <+eslot: 0 2>
    <+eslot: 1 1>


The first example says to add two slot 0's. Slot 0 by default is the weapon slot, so your actor will have two weapon slots.

Because these are features, the slots change depending on what you equip, what your class is, and who the actor is. It is also possible to change slots in game using script calls.

You can add more slots to your actor directly through script calls.

CODE
add_slot(actor_id, slot_type, amount)


This will add the given amount of slots based on the specified slot type to that actor.

Screenshots

Lots of slots
?




Equipping a shield gave me more slots
?





Downloads

Script: http://db.tt/NnnLMyGb

Kread-Ex's Actor inventory

This post has been edited by Tsukihime: Jul 3 2012, 02:11 PM


__________________________
My Scripts
Go to the top of the page
 
+Quote Post
   

Posts in this topic
- Tsukihime   FP: Equip Slots   Jul 3 2012, 01:12 PM
- - DUFUTA   Hey this is pretty cool. I may just use this. Th...   Aug 5 2012, 06:27 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 09:58 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker