Chaos Project

RPG Maker => RPG Maker Scripts => RMXP Script Database => Topic started by: Heretic86 on November 24, 2012, 06:09:24 pm

Title: [XP] Heretic's Cloud Altitude
Post by: Heretic86 on November 24, 2012, 06:09:24 pm
Heretic's Cloud Altitude
Authors: Heretic
Version: 2.3
Type: Enviornmental Simulation
Key Term: Custom Environment System



Introduction

This script will turn your Fog into Clouds!


Features




Screenshots

Unable to show a screenshot that allows you to tell the difference between Fog and Clouds.  You'll have to grab the Demo and see for yourself.


Demo

http://downloads.chaos-project.com/heretic86/HereticsCloudAltitude2.3.exe

Updated to 2.0 for compatability with Unlimited Fogs
Updated to 2.1 for compatability with Waves
Updated to 2.2 for compatability with Heretic's Looping Maps
Updated to 2.3 for Bugfix where exiting Menus would cause "snapping".  Also corrects this bug on Unlimited Fogs.

http://downloads.chaos-project.com/heretic86/HereticsCollectionVer2.exe (Alternate Link)



Script

Script is in the Demo.



Instructions
Just put above Main.

Set the Altitude by running a Script: "set_cloud_altitude( altitude, x[optional], y[optional])"
X and Y are speeds.  You can use Negative Numbers for all of the parameters.


Compatibility

No known issues.  If you find one, please let me know and I promise to laugh at you, then I'll try to fix it, I swear!


Credits and Thanks




Author's Notes

Fog with a High Altitude is a Cloud.  A Cloud with no Altitude is a Fog.  Clouds can have a Negative Altitude, which allows them to show below your Terrain and over any Panoramas.  I've found that setting an Altitude of -12 seems to work pretty well, especially when there is no X or Y speeds.

There is an additional script provided in the Demo that shows you information on your current Cloud Settings.  This script also allows you to change those settings in the Demo without having to restart each time you want to change a setting.  It is a separate script because you probably dont want your Players to be able to adjust the Cloud Settings the way you can in the Demo.
Title: Re: [XP] Heretic's Cloud Altitude
Post by: G_G on November 24, 2012, 06:15:50 pm
Bad ass effect Heretic. Very nice job! *moves*
Title: Re: [XP] Heretic's Cloud Altitude
Post by: finalholylight on November 24, 2012, 11:59:46 pm
Would you mind making this script compatible with H-mode7 script.
Title: Re: [XP] Heretic's Cloud Altitude
Post by: Heretic86 on November 25, 2012, 08:24:15 pm
Quote from: finalholylight on November 24, 2012, 11:59:46 pm
Would you mind making this script compatible with H-mode7 script.


In order to accomplish that, it would require rewriting of the H-mode7 entirely more than it would just making simple modifications to this script.   I think you would have better luck with asking the author of the H-mode7 script to incorporate layered clouds as a visual effect. 
Title: Re: [XP] Heretic's Cloud Altitude
Post by: finalholylight on November 29, 2012, 06:22:30 am
Quote from: Heretic86 on November 25, 2012, 08:24:15 pm
Quote from: finalholylight on November 24, 2012, 11:59:46 pm
Would you mind making this script compatible with H-mode7 script.


In order to accomplish that, it would require rewriting of the H-mode7 entirely more than it would just making simple modifications to this script.   I think you would have better luck with asking the author of the H-mode7 script to incorporate layered clouds as a visual effect. 

I think if he can do that, it will very laggy, so can you write a method that can ON/OFF this script ?, then before I go to a h-mode7 map, I will OFF this script for not crashing the game.
Title: Re: [XP] Heretic's Cloud Altitude
Post by: Heretic86 on November 29, 2012, 09:14:57 pm
I've thoroughly tested this out with the H-Mode 7 script you are using, and did manage to get it working by placing the clouds script above the Mode 7 Script.  Rearranging script order is a common solution to making many scripts more compatible, just so you know.  The results of being compatible arent pretty though.  The clouds do appear and have the correct effects, however, the effects are correct for a "flat map" but wrong for a perspective map.  So the clouds render as flat in front of the screen.

My conclusion is that the clouds script is compatible as far as code goes, but it just isnt going to work for you because your H-Mode 7 is a pseudo 3d, and this rather simple script is intended for 2D, that and the H-Mode 7 script doesnt handle Fog (or clouds) at all.  Try using any fog without my cloud script and you'll see the same problem.