Unlimited Fogs
#1
Unlimited Fogs
Version: 1.5
Based on version 1.2 by game_guy



Introduction

Ever need more than one fog for a map? Maybe more than two fogs? With this unique script, you can have unlimited fogs on one map! And with a few easy script calls, you can customize every aspect of a fog at anytime!

Do be aware, the fogs applied with this script only appear after the field map(s) have been entered. As fast as it may be, only those fogs that are attached to tileets are created simultaneously. Fortunately,this script is only a supplement, able to work in tandem with the default system.



Features
  • Unlimited Fogs on Any Map
  • Change Fog's properties at any time
  • Easy to use script calls
  • Does not replace the existing fog system
  • Fog addition system functional with parallel processes (new v 1.4)
  • Missing fog files no longer crash the game (new v 1.3)
  • Fogs restore when exiting menu or loading saves (new v 1.5)



Script

Enjoy



Instructions

Paste below Scene_Debug and above main. If used with any other script that alters the environment, place Unlimited Maps below them in order to take advantage of its custom script calls.

As there isn't anything to configure, let's get onto the script calls!



Compatibility

Designed for RPGMaker XP. Compatible with the default scripts and scripts that do not adversely alter the fog system.



Credits and Thanks

Initial version by game_guy
LiTTleDRAgo for the original idea
Heretic for the Fog-Backup system



Terms and Conditions

Free for use, even in commercial scripts. Due credit to all involved is the only requirement.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#2
BUMPING UP
to Version 1.5

This update fixes an issue with the assistance of code created by Heretic.  This code provided a backup of all fogs created by the system and restored the fogs when you exited the menu and/or loaded a saved game.

Until then, the fogs would merely vanish upon entering the main menu, for them not to be present anymore. But now, that issue is no longer the case.

Also, the instructions now include general information on the z-depths (or altitudes) you may set fogs, if you want them above the generated weather, above the default fog layer, or if below the tileset or even below the default panorama itself.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#3
Hey DerVVulfman, I think the script is really cool and very useful for using multiple fogs! Grinning However, I found a small bug. I’m not sure if it’s actually a bug, but when I create a slightly larger map and walk around, then open the menu and return to the map, the fog positions don’t quite line up correctly.

I can show you an example in a GIF to demonstrate the bug and see if it’s normal: https://ibb.co/Thy7CG6 (Sorry, I'm not sure if I'm allowed to post this link.)
P.S. The GIF has German text, but you don’t need to pay attention to it. :)

Take your time if you want to check it out. ^^
I create games as a hobby. I do scripting when it almost seems impossible to code.
My games are only in German, so there is no English version. :( wah...
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Unlimited Save Files RPG Advocate 0 4,419 03-03-2008, 06:16 AM
Last Post: RPG Advocate



Users browsing this thread: 4 Guest(s)