Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [VX Ace] Map Drops
Tsukihime
post May 27 2012, 01:01 PM
Post #1


Level 25
Group Icon

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




Map Drops
Author: Tsukihime



Overview

This script allows you to discard items from your inventory and onto the map.
You can then pick it up later.

Features
  • Drop an item onto the map
  • Dropped items can disappear overtime (decay time)
  • Customize decay times for individual items and equips
  • Dropped items are displayed using their icons
  • Add map drops using script calls


Usage

Go to your item menu and press the A key (game "X") to drop an item
Then see it on the map.

To add a map drop using script calls, use

CODE
add_map_drop('w23', amount)
add_map_drop('a12', amount)
add_map_drop('i1', amount)


Where the "w" means weapon, "a" means armor, and "i" means item.

If decay time is not 0, it will disappear after that many seconds.
You can choose whether dropped items will disappear or not.

To specify decay times for individual items or equips, tag them with
CODE
<drop-decay: n>


Download

Script: http://db.tt/6wJQYmqV

Notes

Does someone want to improve the script by providing a nice confirmation window as well as a number input when discarding?

Also, creating the chest opening animation is kind of tedious. Someone want to do that? It's basically printing out the page list for an existing chest event and then copying all of that in script.


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

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd May 2013 - 12:08 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker