RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Heretic's Moving Platforms

0 Members and 2 Guests are viewing this topic.

***
Rep:
Level 70
RMRK Junior
Heretic's Moving Platforms XP
Authors: Heretic
Version: 1.0
Type: Movement Add-on
Key Term: Movement Add-on

Introduction
This script allows you to easily create Platforms that your Player and even other NPCs can hop on and be transported around with!

Features

  • Allow the Player to get on a Platform and ride it across impassable areas**
  • Allow NPC Characters to ride on Platforms**
  • Intended for large Multi Event Platforms
  • Platform Master allows one Event to control many
  • Platforms should "feel" just like walking around on normal Map Tiles
  • My fingers hurt from all this typing so I am not sure if that is a feature, does show commitment...

** Additional Scripts required for use of these features

Screenshots

Spoiler for:



(Animated Gif, give it a moment to load...)

Demo

Download Version 1.0 Here

Script

Spoiler for:
Code: [Select]
Script is in the Demo

Instructions

REQUIRES:
Heretic's Modular Passable
Heretic's Collision Optimizer
Heretic's Restrict Tile Passages (to move on Impassable Tiles)

Platforms are easy!
To create a Platform, just put in a Comment in the first 10 lines or so that says "\platform[n]" where "n" is a Number!

Next, give it a Comment of "\tile_allow_move[n, n]" where "n" is a Simple Tile ID!  (See Restrict Tile Passages for more info)

Next, give it a Comment of "\allow_npc" if you want NPC Events to move on your Platform.  (Feature requires NPCs on Event Tiles)

Next, give your Platform a Map Tile as a Graphic, set the Move Frequency to Highest, then give it a Move Route that has a WAIT command at locations you expect characters to get on and off.

Thats it!

If you wish to control a bunch of Platforms, use a Platform Master!  Just change one Event from "\platform[n]" to "\platform_master[n]" and that Platform Master will control ALL other Platforms where "n" is the same Number!  You don't even have to give the other Platforms Move Routes, Speed, Move Frequency, just set the Graphics!  This is a Platform Group!

NOTE:  You can only use one Platform Master per Platform Group

You can sync two or more Platform Groups by giving your Platforms or Platform Masters a "\platform_sync[n, n]" Comment where "n" is the Platform Group ID of the other Platform Groups you wish to sync with!  This means when a Platform waits for characters to get on and off, other Sync Groups will also wait for characters.  This is better displayed in the Demo.

Compatibility
Fully compatible with all other scripts that require Modular Passable, including Looping Maps.

This DOES work with Jumping and 8D Movement Systems.

This DOES work with Heretic's Caterpillar 2.0+

This most likely will not work with Pixel Movement scripts.

This does work with both ForeverZer0's and Blizzards Pathfinder scripts, however, you will not be able to pathfind on a Platform.

Not compatible with thin crust pizza when toppings include baloney and peanut butter.  What a disgusting combination.  Squid and Kiwi Fruit Pizzas are untested.

Credits and Thanks

  • Thanks to everyone that Beta Tested this script for me
  • Thanks to Blizzard for hosting the files I uploaded for the Demo
  • Thank you to Enterbrain for not putting this feature into RPG Maker XP and thereby giving me something to do.

Author's Notes

LEGAL

Pre release versions of this script included very strong legal restrictions preventing distribution of games with those versions due to known game crashing bugs.  Those bugs have since been corrected and the Legal has been altered to allow distribution of games, both free and commercial.  Trust me, if you are using an older version, your players will find those game crashing bugs and you'll only end up making yourself look bad.  I worked very hard to make sure this version does not have any game crashing bugs, but you may still experience some while building your game.

WAITING

If your Platform is not given a Wait command, then characters will not be able to get on or off of Platforms or Platform Groups by stepping or jumping on or off.  Platforms must have a Wait command for boarding and unboarding to commence.

DEBUG:

Additional stuff was written into the code to allow you to hold down the CTRL Key and get on or off of ANY valid Platforms.  This was done because once you are on a Platform, youre pretty well stuck there until the Platform uses a Wait command as part of its Move Route.  While in DEBUG mode, creators need to be able to hop on and off Platforms at any time.
« Last Edit: April 26, 2016, 09:52:36 PM by Heretic86 »
Heretic's Vehicles XP (Boat and Magic Carpet)

Heretic's Collection XP Ver 2.3 - Updated to include Dynamic Lighting, Moving Platforms, Vehicles, and much much more!

*
The Hero of Rhyme
Rep:
Level 83
( ͡° ͜ʖ ͡°)
2014 Queen of RMRKProject of the Year 20142014 Best RPG Maker User - Story2011 Best Newbie2014 Best RPG Maker User - Creativity2014 Kindest Member2013 Queen of RMRKBronze SS AuthorBronze Writing ReviewerSecret Santa 2013 ParticipantFor taking arms in the name of your breakfast.GOOD!For frequently finding and reporting spam and spam bots2012 Best Yuyubabe Smiley2012 Best RPG Maker User (Creativity);o
Whoa. This is pretty cool! O.O I don't use XP, but I think this will be helpful to anyone who does. :)
Spoiler for My Games and Art:
ℒℴѵℯ❤


My Artwork Thread

The Lhuvia Tales [Current]

Ambassador [Complete]

The Postman [Complete]

The Wyvern [Complete]

Phoenix Wright: Haunted Turnabout [Complete]

Major Arcana [Cancelled]