Author Topic: [XP] Multiple Fog  (Read 4633 times)

Offline LiTTleDRAgo

  • Astral Trancist
  • *****
  • Posts: 841
  • LV: 514
  • Gender: Male
    • View Profile
    • ~
[XP] Multiple Fog
« on: June 20, 2011, 08: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

  • Can use 3 additional fog

Screenshots

(click to show/hide)

Demo

None

Script

Here

Instructions

How to set in script call :

Code: [Select]
set_fog2('Name Fog',ox,oy,opacity,blend,zoom)
Code: [Select]
set_fog3('Name Fog',ox,oy,opacity,blend,zoom)
Code: [Select]
set_fog4('Name Fog',ox,oy,opacity,blend,zoom)

Fog must exist in folder Graphics/Fogs

to reset all fog
Code: [Select]
reset_fog

Compatibility

-----

Credits and Thanks

  • LiTTleDRAgo

Author's Notes

~
« Last Edit: April 07, 2012, 05:08:22 PM by LiTTleDRAgo »

Offline Sin86

  • Transcended Spirit
  • ***
  • Posts: 151
  • LV: 1
    • View Profile
Re: [XP] Multiple Fog
« Reply #1 on: April 07, 2012, 05:14:09 AM »
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?
« Last Edit: April 07, 2012, 05:35:57 AM by Sin86 »

Offline LiTTleDRAgo

  • Astral Trancist
  • *****
  • Posts: 841
  • LV: 514
  • Gender: Male
    • View Profile
    • ~
Re: [XP] Multiple Fog
« Reply #2 on: April 07, 2012, 05:06:16 PM »
I forgot to update this script here XD

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

(click to show/hide)

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?

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

Offline Sin86

  • Transcended Spirit
  • ***
  • Posts: 151
  • LV: 1
    • View Profile
Re: [XP] Multiple Fog
« Reply #3 on: April 12, 2012, 12:16:18 AM »
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.

Offline LiTTleDRAgo

  • Astral Trancist
  • *****
  • Posts: 841
  • LV: 514
  • Gender: Male
    • View Profile
    • ~
Re: [XP] Multiple Fog
« Reply #4 on: April 13, 2012, 05:57:29 AM »
I'll look at it tomorrow

----

edit :

you should use >>this<< script instead
that script can create unlimited fog instead just 3 extra fog
« Last Edit: April 13, 2012, 05:58:51 AM by LiTTleDRAgo »