Chaos Project

RPG Maker => RPG Maker Scripts => RMXP Script Database => Topic started by: LiTTleDRAgo on June 20, 2011, 02:11:30 am

Title: [XP] Multiple Fog
Post by: LiTTleDRAgo on June 20, 2011, 02:11:30 am
Multiple Fog
Authors: LiTTleDRAgo
Version: 2.31
Type: Environment Add-on
Key Term: Environment Add-on



Introduction

Too lazy to make introduction


Features




Screenshots

Spoiler: ShowHide
(http://1.bp.blogspot.com/-MAMMEE4pYl0/Tm2VZBPFhhI/AAAAAAAAACE/QkaQB97vE08/s1600/untitled.JPG)

The hud and character name is a separate script, please don't mind them



Demo

None


Script

Here (http://littledrago.blogspot.com/2011/09/rgss-multiple-fog.html)


Instructions

How to set in script call :

set_fog2('Name Fog',ox,oy,opacity,blend,zoom)


set_fog3('Name Fog',ox,oy,opacity,blend,zoom)


set_fog4('Name Fog',ox,oy,opacity,blend,zoom)



Fog must exist in folder Graphics/Fogs

to reset all fog
reset_fog




Compatibility

-----


Credits and Thanks




Author's Notes

~
Title: Re: [XP] Multiple Fog
Post by: Sin86 on April 06, 2012, 11:14:09 pm
Sorry for necroposting but apparently it isn't working. I tried setting up a script call for fog2 and I even set the ox and oy coordinates and the fog name. Nothing showed up when I did it.

Acutally, I found out what happened. You get to see more than one fog only if you are using fog3 and fog4. However, is there a way to set the opacity and the zoom of a fog? Not only that but also change the fog types between normal, add and subtract? Any way how to do that?
Title: Re: [XP] Multiple Fog
Post by: LiTTleDRAgo on April 07, 2012, 11:06:16 am
I forgot to update this script here XD

Quote from: Sin86 on April 06, 2012, 11:14:09 pm
Sorry for necroposting but apparently it isn't working. I tried setting up a script call for fog2 and I even set the ox and oy coordinates and the fog name. Nothing showed up when I did it.


fog2 is below ground (z = -400)
you can see it if your map is like this

Spoiler: ShowHide
(http://i.imgur.com/XEbKs.jpg)

look at the leaves


Quote from: Sin86 on April 06, 2012, 11:14:09 pmHowever, is there a way to set the opacity and the zoom of a fog? Not only that but also change the fog types between normal, add and subtract? Any way how to do that?


set_fog2('Name Fog',ox,oy,opacity,blend,zoom)
Title: Re: [XP] Multiple Fog
Post by: Sin86 on April 11, 2012, 06:16:18 pm
Found some bugs.

I activated the script calls and they are all saying that they are unable to find any fog files in the panoramas folder(it was the fogs folder in the previous script). I went in there and changed "panorama" to "fog" in the script to get it to be in the fogs folder. You might want to fix that in the next version, didn't know that would happen.

The other bug happened after I changed panorama to fog on the script. I then do a script call for fog2, fog3 and fog4 and none of them even display the fog but no error message shown.
Title: Re: [XP] Multiple Fog
Post by: LiTTleDRAgo on April 12, 2012, 11:57:29 pm
I'll look at it tomorrow

----

edit :

you should use >>this<< (http://forum.chaos-project.com/index.php/topic,11624.0.html) script instead
that script can create unlimited fog instead just 3 extra fog