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] FP: Move Routes
Tsukihime
post May 27 2012, 03:26 PM
Post #1


Level 25
Group Icon

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




FP: Move Routes
Author: Tsukihime

Overview

Need to extend your move route options?
Or looking for an easier way to make move routes?

Features
  • Move towards/away from event
  • Turn towards/away from event
  • Compact move string!
  • Have events play animation balloons without using an event page

More will be added as I find more interesting things to add

Usage

All of these are accessed through "set move route" menu.

Choose "script" and then enter the custom move commands.

You can specify a sequence of move commands by typing a move-string

CODE

moves("UDUDLRLR3R3R3L3L")


They are in the form of "[number][direction]". It tells the event how many times to move in that direction. If no number is specified, then it's just one.

U means up
D means down
L means left
R means right.

For diagonal movement, use the following
Q is upper-left
W is upper-right
A is lower-left
S is lower-right

You can also specify some extended behaviors.

CODE
move_toward_event(2)
move_from_event(3)
turn_toward_event(1)
turn_from_event(5)


The events are specified by event ID. By default the events are named "EventXXX" where XXX is the event ID. You can use that for reference.

I have also provided some additional functionality that should be run parallel to event conditions.

1: balloon animation. If the event should play a balloon animation, set its move route as "custom" and then add the script command

CODE
show_balloon(balloon_id, event_id)
show_animation(animation_id, event_id)


Where event ID is -1 for game player, 0 for the event itself, and > 0 for some other event on the map.

Download

Script: http://db.tt/isHnpN7H


__________________________
My Scripts
Go to the top of the page
 
+Quote Post
   
kayden997
post May 27 2012, 03:32 PM
Post #2


>Glitched<
Group Icon

Group: Local Mod
Posts: 1,156
Type: Event Designer
RM Skill: Masterful
Rev Points: 30




Wow.... That's really handy.
Thanks for posting this =]


__________________________


Runescape with Dyedfire




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: 18th May 2013 - 11:06 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker