The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => XP Scripts Database => Topic started by: Heretic86 on February 18, 2012, 11:04:38 AM

Title: Cloud Altitude Effect Script
Post by: Heretic86 on February 18, 2012, 11:04:38 AM
Cloud Altitude Script
Version: Version 0.2
Author: Heretic86
Date: Feb 18th, 2012

 
Version History



 

 
Future Versions



Description



 
The purpose of the Script is to create an Illusion that the Fog Layer is actually a Cloud Layer high above the Character's Heads.  The Altitude is easily adjustable.  The Demo comes with a Developers Tool for aiding anyone who uses the script to figure out what Altitude and Fog Speeds look good quickly and easily.
 
Features

 

 
Screenshots
 
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.775.net%2F%7Eheretic%2Fdownloads%2Frmxp%2Fimages%2Falphafog.jpg&hash=fdb62a5cfc4040fcb2e3f16184e2e67122b659fe)

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.775.net%2F%7Eheretic%2Fdownloads%2Frmxp%2Fimages%2Ffog2.jpg&hash=c831dd13c73318624edc574b020fd3e5eaf77632)

The Effect is based on Motion, so Screenshots just show off the Fogs Alpha Channel.


 
Instructions

 
Insert the RELEASE VERSION called "Cloud Altutude" somewhere above Main.  It doesnt need to be immediately above it as far as I can tell, so you should be able to organize as necessary.  You probably dont want to use the Developers Version for Release of your game because of the On Screen Debug Menu and Input Definitions.

This Script does require an Event Script and a Game Switch.  Default is 21, but you can change that to any number.  Grab the Event Script from the Demo, it is only 2 Lines.  Since you need an Event for Fog to appear, just put that Event Script in after you set your Fog for that map.

GAME SWITCH 21 (by Default) MUST BE ON FOR EFFECT TO BE ACTIVE.
 
Script



 
DOWNLOAD: http://www.775.net/~heretic/downloads/rmxp/CloudAltitude0.2.zip (http://www.775.net/~heretic/downloads/rmxp/CloudAltitude0.2.zip)
 
Credit



 


Support



 
I'll try to support this script as best as I can.
 
Known Compatibility Issues

 

Demo



 
(See Download Above)
 
Author's Notes



 
Inspiration for this came from the old Sega Genesis game Phantasy Star 2
 
Restrictions

 
You are allowed to use, modify, and distribute this script provided you give me Credit.  You may use, modify and distribute the Resources (images) that I created (currently, just the Alpha Channel Fog) as long as you give me Credit.  You are allowed to use this Script and Resources in any game, including Commercial Games without providing me compensation, provided I am given Credit by name.  You may distribute this script on other websites.

/end_legalese

Layman's Legal:  You can do what ever you want with the script, just give me credit by name.