Victor Sant 273 Posted December 19, 2011 (edited) Victor Engine - Fog and Overlay This script allows to add varied of effects to the maps. Fos are picutres placed above the player layer and loops. Differently from pictures the fog follows the map movement instead of the screen (this behavior can be changed). You can add various fogs to the map. Download: Victor Engine - Fog and Overlay Credits: Author: Victor Sant Terms of Use Edited June 22, 2012 by Victor Sant 1 Share this post Link to post Share on other sites
Rosenblack 79 Posted December 19, 2011 *Added to the Master Script List* Share this post Link to post Share on other sites
Knightmare 170 Posted December 20, 2011 This is going to make many people happy Vic, nice job. Share this post Link to post Share on other sites
Michael Ponder Jr 36 Posted December 20, 2011 This reminds me of a script i love using in XP, it lets me have either multiple fogs or panoramas, or both... and this one looks to do the exact same things! Nice. Share this post Link to post Share on other sites
~NeXy~ 6 Posted January 10, 2012 When I transfer my character from one map to another, the fog effect creates in that map as well, even thought I didn't put anything in that map's notebox. So my question is: How do I make my fog appear only in certain maps, and not in every one I transfer to? Thanks Share this post Link to post Share on other sites
Ascen 5 Posted January 10, 2012 According to the comments on Victors site, that error was fixed on the 2nd. Double check you have the latest version (v1.03) Share this post Link to post Share on other sites
~NeXy~ 6 Posted January 10, 2012 Yay! That fixed it, thanks! Share this post Link to post Share on other sites
ma5amune 6 Posted January 10, 2012 Guys, help plz. Where I can find the fog id?? I am noob in this! I have a picture with fog from rpg maker xp called 002-Clouds01.png So i did an event on map who call script and in this event I putt this id: x : fog ID name: “002-Clouds01.png†: fog graphic filename (“filenameâ€) opacity: x : fog opacity (0-255) move: x : fog screen movement (32 = fog follows the map) zoom: x : fog zoom (100 = default size) hue: x : fog hue (0-360) blend: x : fog blend type (0: normal, 1: add, 2: subtract) depth: x : fog Z axis (300 = default value) sorry for my english and stupid question! help plz! Share this post Link to post Share on other sites
Jasonicus 62 Posted January 10, 2012 Go here and read the instructions: http://victorscripts.wordpress.com/rpg-maker-vx-ace/field-scripts/fog-effects/ Share this post Link to post Share on other sites
ma5amune 6 Posted January 10, 2012 (edited) Go here and read the instructions: http://victorscripts...ts/fog-effects/ Ok I just paste that on map propries note <fog effect> settings </fog effect> and in script I added info about ID and fog file name (now I know the ID is the id of the map =))) id = info =~ /ID: (\d+)/i ? $1.to_i : 010 name = info =~ /NAME: \"(.*)\"/i ? $1.dup : "fog01.png" op = info =~ /OPACITY: (\d+)/i ? $1.to_i : 70 move = info =~ /MOVE: (\d+)/i ? $1.to_i : 17 zoom = info =~ /ZOOM: (\d+)/i ? $1.to_f : 100.0 hue = info =~ /HUE: (\d+)/i ? $1.to_i : 0 blend = info =~ /BLEND: (\d+)/i ? $1.to_i : 0 depth = info =~ /DEPTH: (\-?\d+)/i ? $1.to_i : 300 So it work now! But can I do the fog move automaticly?Not only then the player move? Edited January 10, 2012 by ma5amune Share this post Link to post Share on other sites
Victor Sant 273 Posted January 11, 2012 (edited) the "x" aren't to be added, they must to be replaced, and any other not used value must be removed. so this is wrong: <fog effect>id: x : fog ID name: “002-Clouds01.png†: fog graphic filename (“filenameâ€) opacity: x : fog opacity (0-255) move: x : fog screen movement (32 = fog follows the map) zoom: x : fog zoom (100 = default size) hue: x : fog hue (0-360) blend: x : fog blend type (0: normal, 1: add, 2: subtract) depth: x : fog Z axis (300 = default value) </fog effect> this is right: <fog effect> id: 1 name: “002-Clouds01†opacity: 160 </fog effect> add only the vaules that you want really to change, the values that will stay the same must be omitted, as stated on the instructions, you must add a filename and id. (and in your example you didn't) Also there's no need to add the file extension. (now I know the ID is the id of the map =))) Wrong to, the ID has nothing to do with the map ID, the id is an arbitrary value used as indentifier, so you can manage the fogs if you use more than one fog at same time. And i highly suggest to not mess with the script itself, since it's looks that you don't really know what you're doing. Edited January 11, 2012 by Victor Sant Share this post Link to post Share on other sites
ma5amune 6 Posted January 11, 2012 And i highly suggest to not mess with the script itself, since it's looks that you don't really know what you're doing. Well. So u mean I must just load the script and put this <fog effect> id: 1 name: "Fog01" opacity: 77 </fog effect> (in my case) in Map Properties > Notes? it should work? without any changes in the script? I did it with your default script and don't work!!! Share this post Link to post Share on other sites
Victor Sant 273 Posted January 11, 2012 (edited) Well. So u mean I must just load the script and put this <fog effect> id: 1 name: "Fog01" opacity: 77 </fog effect> (in my case) in Map Properties > Notes? it should work? without any changes in the script? I did it with your default script and don't work!!! You didn't do this exactly as you posted, because if you did, it would work, unless you don't have a "Fog01" on the fogs folder.I just copy/pasted this code you posted and it worked fine. to add fog movement add the code after the fog effect <fog move id: x, y> BTW.: there was a bug with movement, that was only moving horizontally, so you should update the script. Edited January 11, 2012 by Victor Sant Share this post Link to post Share on other sites
ma5amune 6 Posted January 11, 2012 Well. So u mean I must just load the script and put this <fog effect> id: 1 name: "Fog01" opacity: 77 </fog effect> (in my case) in Map Properties > Notes? it should work? without any changes in the script? I did it with your default script and don't work!!! You didn't do this exactly as you posted, because if you did, it would work, unless you don't have a "Fog01" on the fogs folder.I just copy/pasted this code you posted and it worked fine. to add fog movement add the code after the fog effect <fog move id: x, y> BTW.: there was a bug with movement, that was only moving horizontally, so you should update the script. Victor its WORK! And movement too!! Thank you for your patience Share this post Link to post Share on other sites
Zoke 0 Posted January 31, 2012 (edited) I get this error on line 242 wrong number of arguments (1 for 8) my note looks like this <fog effect> id: 1 name: "001-Fog01" </fog effect> Edited January 31, 2012 by Zoke Share this post Link to post Share on other sites
Victor Sant 273 Posted January 31, 2012 I get this error on line 242 wrong number of arguments (1 for 8) my note looks like this <fog effect> id: 1 name: "001-Fog01" </fog effect> Line 242 is "def scroll_down(distance)So it's surely a compatibility issue, not a problem with the script. Share this post Link to post Share on other sites
Lysa 0 Posted June 28, 2012 the web site is not working!!! Share this post Link to post Share on other sites
Victor Sant 273 Posted June 28, 2012 It working fine -.-' Share this post Link to post Share on other sites
Rhayvie1978 1 Posted July 25, 2012 (edited) It says "Page not Found". Somebody help me, i need this script but i cant open the download link. EDIT: Sorry, I found it! Thanks Victor Sant! Edited July 25, 2012 by Rhayvie1978 Share this post Link to post Share on other sites
Victor Sant 273 Posted July 25, 2012 Wordpress.com sometimes can be tricky with some ISP. Sometimes I also have problems to open wordpress.com page, just wait about 5 minutes and it will be back. Share this post Link to post Share on other sites
sbethune81 1 Posted July 27, 2012 I'm getting an error 404 for this script. I've tried coming back to it at different times, but still no luck. Looks like a great script. Share this post Link to post Share on other sites
Vanjoss 0 Posted July 27, 2012 to put multi fog like it should? Because I have like this in the picture but I get only 1 and the other does not come out, just "mist" reads the script but forestshade not appear in the map? Share this post Link to post Share on other sites
sbethune81 1 Posted July 27, 2012 to put multi fog like it should? Because I have like this in the picture but I get only 1 and the other does not come out, just "mist" reads the script but forestshade not appear in the map? You are using the same id for both fogs...make one of them 1 and the other 2. Share this post Link to post Share on other sites
Vanjoss 0 Posted July 27, 2012 to put multi fog like it should? Because I have like this in the picture but I get only 1 and the other does not come out, just "mist" reads the script but forestshade not appear in the map? You are using the same id for both fogs...make one of them 1 and the other 2. thnks for help me!! ^^ Share this post Link to post Share on other sites
Non ya 1 Posted December 1, 2012 Hey Victor! I didnt notice this earlier but is this a bug on the fog overlay and map battle... well, when i set the fog to move, it moves but when entering the map battle, the fog stops moving but resumes after battle. Did I forget to set something? I read through the tuts and script but doesnt say anything to remedy the situation, please help! =) Share this post Link to post Share on other sites