Multiple Fog
Authors: LiTTleDRAgo
Version: 2.31
Type: Environment Add-on
Key Term: Environment Add-on
IntroductionToo lazy to make introduction
Features
Screenshots(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
DemoNone
ScriptHere (http://littledrago.blogspot.com/2011/09/rgss-multiple-fog.html)
InstructionsHow 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
Compatibility-----
Credits and Thanks
Author's Notes~
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?
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
(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)
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.
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