The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => VX Scripts Database => Topic started by: Yanfly on May 17, 2009, 07:05:01 AM

Title: [YERD] Variable Controlled Backdrops
Post by: Yanfly on May 17, 2009, 07:05:01 AM
Variable Controlled Backdrops
Last Update: 2009.05.16
By: Yanfly Engine ReDux
 
Introduction
One of the greatest things to come out of RPG Maker 2003 that didn't appear in any of its successors was moving backdrops during battle. There was a front layer and then a back layer and it broke the monotony of a static background. This script lets you recreate all of that with ease and control it with ease. Just change a variable value inside the event editor and you'll receive the listed backdrop found in the hash within this script.

Screenshots
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.pockethouse.com%2Frpgvx%2Fvariablebackdrop.jpg&hash=ff4193182e7d34af9fce1431bdce040939f668da)
 
Script
Click here to view the script. (http://www.pockethouse.com/rpgvx/scripts/variablebackdrops.txt)
Download the Backdrops Package (http://www.pockethouse.com/rpgvx/Backdrops.zip)

Instructions
HOW TO USE THIS SCRIPT

The instructions are relatively simple, but you cannot neglect them.

- Download Backdrops from Pockethouse.com and unzip it to your Graphics folder  into your "Parallaxes" folder.
- Bind BATTLE_SHADOW to a switch. By default, it's 70.
- Bind the following to variables
COVER_OPAQUE - Default 96 - Adjusts the mist opacity for LAYER_COVER
LAYER_COVER  - Default 97 - Sets the fog that covers enemies. Dynamic.
LAYER_FRONT  - Default 98 - Front background layer. Static.
LAYER_MIDDLE - Default 99 - Middle background layer. Dynamic.
LAYER_BACK  - Default 100 - Back background layer. Dynamic.

Change the variables in your event editor to reflect the backdrop you want to see in battle. Toggle the BATTLE_SHADOW switch if you want to hide/show the floor shadow inbattle. Adjust the hashes down below if you want to add more backdrops to your game.

---

Download the Backdrops Package (http://www.pockethouse.com/rpgvx/Backdrops.zip)

———
IF YOU ARE HAVING PROBLEMS WITH THESE SCRIPTS, REVIEW THE TROUBLESHOOTING PAGE FIRST! (http://pockethouse.wordpress.com/vx/toubleshooting/)

Compatibility
- Most likely, scripts that affect battle backdrops will conflict with this.
Please report any compatibility issues and I'll try my best to fix them.

Terms and Conditions
Just give credit where due.
 
Credits and Thanks
- RPG Maker 2003
 
Originally Found Here: Here (http://pockethouse.wordpress.com/vx/variable-backdrops/)
Title: Re: [YERD] Variable Controlled Backdrops
Post by: modern algebra on May 17, 2009, 04:50:58 PM
That's cool. Nice work, Yanfly