Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

5 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> + [ MULTIPLE FOGS] + Version 1.0 RE-ENGINE~, * Missing feature from RMXP~!
woratana
post Feb 20 2008, 05:08 PM
Post #1


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




Multiple Fog
Version 1.0
by Woratana
Release Date: 13/05/2008


Introduction
This is one of the missing feature from RPG Maker XP.
I added feature to show more than 1 fog. wink.gif

This script (Multiple Fogs) is originally scripted in XP version by me,
and it's not that hard to convert it from XP to VX.
It's a little harder to use than XP version,
because there is a fog setting window to help you setup multiple fogs in XP.

However, I tried to come up with many methods to help you setup fog's properties here.
You can make new properties preset in the script, or set with event command to call script, or copy the properties from showing fog.

You can choose fog image's path. Choose to clear all fog when transfer player to other map.
And I also put 2 event commands for control fog from RMXP, 'Change Fog Color Tone' and 'Change Fog Opacity'.

Enjoy~! smile.gif


Features
Version 1.0
- Show 1 fog or more at a time.
- You can change fog image's path, and choose to clear all fog when transfer player to other map.
- Include 2 event commands 'Change Fog Color Tone' and 'Change Fog Opacity' from RMXP.
- 3 methods to setup fog's properties. Choose the method you want~


Screenshots




Script
Place it above main
Attached File  MultipleFogVXnew_10.txt ( 12.62K ) Number of downloads: 2179



Instruction
>> Setup the script. There are 3 short parts to setup:
CODE
    #==================================================================
    # ** MULTIPLE FOG SETUP ** SETTINGS
    #--------------------------------------------------------------
For fog's image path, and choose to clear all fog when transfer player.
CODE
    #==================================================================
    # ** MULTIPLE FOG SETUP ** FOG DEFAULT SETTING
    #--------------------------------------------------------------
For default fog properties~
and
CODE
    #==================================================================
    # ** MULTIPLE FOG SETUP ** FOG PRESET SETUP
    #--------------------------------------------------------------
For fog properties preset.


>> The complete instruction is included the script smile.gif

Here is the fog's properties you can set before show fog:
CODE
# $fog.name = 'image_name' # Image file name, must be in fog image path (setup path below).
# $fog.hue = (integer) # Fog's hue. 0 - 360, 0 for no hue.
# $fog.tone = [red, green, blue, gray] # Fog's tone color.
# $fog.opacity = (integer) # Fog's opacity. 0 - 255, you will not see fog in 0.
# $fog.blend = (0, 1, or 2) # Fog's blend type. 0 for Normal, 1 for Add, 2 for Subtract.
# $fog.zoom = (integer) # Fog's size (in %). 100 for normal size.
# $fog.sx = (+ or - integer) # Fog's horizontal move speed.
# $fog.sy = (+ or - integer) # Fog's vertical move speed.


If you have use RPG Maker XP before, this image may help you understand each properties better. smile.gif



Show fog by call script:
CODE
$fog.show(fog_id)

fog_id is ID number you want to put this fog in. If there is fog in this ID already, it will replace old fog.


>> Example of call script to show fog:
CODE
$fog.name = '001-Fog01'
$fog.hue = 0
$fog.tone = [0,0,0,0]
$fog.opacity = 64
$fog.blend = 1
$fog.zoom = 100
$fog.sx = 2
$fog.sy = 1

$fog.show(1)

or load fog from preset by:
CODE
$fog.load_preset(2)
$fog.show(1)


You can change its properties after load preset or load properties from showing fog.
CODE
$fog.load_preset(2)
$fog.opacity = 40
$fog.zoom = 200
$fog.show(1)



Author's Notes
Free for use in your project if credit is included.


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
Denko
post Feb 20 2008, 08:03 PM
Post #2


Level 4
Group Icon

Group: Member
Posts: 48
Type: None
RM Skill: Undisclosed




1)It's got everything I can think of.
2)Maybe changing the scroll speed in-game would be useful.
3)"Pictures" would be easier, but it's fine with me personally either way.
Also, I think it would be good if when you release the script, you give a simple demo so I can figure out how it works faster. My mind works in such a way that just reading how to use it is sometimes hard to me no matter how simple the instructions are. So a demo where I can look at the script working would help me, and some others, I think.
Thanks woratana! Your scripts are great.
Go to the top of the page
 
+Quote Post
   
woratana
post Feb 21 2008, 03:49 PM
Post #3


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




Well, please give me more suggestion on this smile.gif so I can release it the final script with demo~

If it seems like no one is interesting in this script, I may just sent script via PM for anyone who'd like to use it~ laugh.gif

@Denko
Thanks for suggestion!

Don't worry, it will not be hard to use. Same as when you set fog in VX, but you just have to use call script tongue.gif

New Screenshot, with 3 fogs at once:


The way I use to call multiple fogs is set parallel event in map, and put command like this:
- Call Script:
CODE
$fog.id = 1
$fog.name = "fog"
$fog.opacity = 60
$fog.blend = 1
$fog.ox = 0
$fog.oy = -10
$fog.zoom = 100
$fog.tone = [200,0,20,0]
$fog.show

- Call Script:
CODE
$fog.id = 2
$fog.name = "fog"
$fog.opacity = 60
$fog.blend = 2
$fog.ox = 10
$fog.oy = 0
$fog.zoom = 100
$fog.tone = [0,0,0,0]
$fog.show

- Call Script:
CODE
$fog.id = 3
$fog.name = "1"
$fog.opacity = 40
$fog.blend = 1
$fog.ox = -5
$fog.oy = 0
$fog.zoom = 100
$fog.tone = [0,0,0,0]
$fog.show

- Erase Event

----------------------
Basically, just copy and paste the template to call fog, and change its ID and picture name smile.gif


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
Dainreth
post Feb 22 2008, 06:18 AM
Post #4


Level 2
Group Icon

Group: Member
Posts: 16
Type: None
RM Skill: Undisclosed




The script seems really nice..more than one fog, huh? Nice idea, I really like it smile.gif
I'm really looking forward to this one, you're the best wora!
Go to the top of the page
 
+Quote Post
   
woratana
post Feb 28 2008, 07:58 PM
Post #5


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




Script released!! tongue.gif



Check the first post for demo~


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
hegerp
post Feb 28 2008, 11:12 PM
Post #6


Level 2
Group Icon

Group: Member
Posts: 25
Type: Developer
RM Skill: Advanced




I'm sooo happy for this.

I tried it and I'm more than happy with it!


Thank you, Wortana!

This post has been edited by hegerp: Feb 28 2008, 11:20 PM
Go to the top of the page
 
+Quote Post
   
Elighja
post Feb 28 2008, 11:18 PM
Post #7


Graphics Designer/Programmer
Group Icon

Group: Revolutionary
Posts: 202
Type: Developer
RM Skill: Advanced




Oh yes, I really needed this for my game. Thanks allot for releasing this mate. biggrin.gif
Go to the top of the page
 
+Quote Post
   
karim ghazal
post Mar 2 2008, 10:22 AM
Post #8


Level 3
Group Icon

Group: Member
Posts: 30
Type: Developer
RM Skill: Undisclosed




Hello every one .. i am karim from iraq .. i have the script but there is a problem when i add the script for the big face ( it was your script ) the faces doesn't shows front of the message box but behind it .. please i want the answer ..
Go to the top of the page
 
+Quote Post
   
woratana
post Mar 2 2008, 10:43 AM
Post #9


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




@Karim

You can get support about Neo-Face directly from Neo-Face topic wink.gif

Wait for NMS 2 (Neo Message System 2) out, you will be able to use Neo-Face with Message System and not buggy tongue.gif (hopefully...)

p.s. What version of Neo Face are you using? Version 3 is released *O*


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
ardarkmoon
post Mar 2 2008, 10:15 PM
Post #10


Level 6
Group Icon

Group: Banned
Posts: 88
Type: Event Designer
RM Skill: Advanced




On the map I have the fog set to trigger on, the fog doesnt move. but if I change maps, and dont have a script call to disable the fog, ((meaning the fog remains in play))

the fog moves....then I walk back onto the map with the call script for the fog....and it stops moving again

Any reason why?

On the map I have the fog set to trigger on, the fog doesnt move. but if I change maps, and dont have a script call to disable the fog, ((meaning the fog remains in play))

the fog moves....then I walk back onto the map with the call script for the fog....and it stops moving again

Any reason why?


__________________________
Don't declare jihad on RRR like I did!
This message brought to you by the management of RRR.
Go to the top of the page
 
+Quote Post
   
woratana
post Mar 2 2008, 11:40 PM
Post #11


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




Sorry, I'm not really understand what do you mean by that.

Upload some demo to show your problem would be appreciate smile.gif


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
ardarkmoon
post Mar 3 2008, 09:13 AM
Post #12


Level 6
Group Icon

Group: Banned
Posts: 88
Type: Event Designer
RM Skill: Advanced




What I mean is... ((since I cant upload a demo just yet))


Is this: Map A has the call script event, to start the fog (I used clouds) .....now, when I go to that map...the clouds are there but they do not move...

HOWEVER: if I go to Map B....the clouds move... but if I go back to map A: the clouds do nothing but sit there...


I just want to know why that may be the case...


__________________________
Don't declare jihad on RRR like I did!
This message brought to you by the management of RRR.
Go to the top of the page
 
+Quote Post
   
karim ghazal
post Mar 3 2008, 10:18 AM
Post #13


Level 3
Group Icon

Group: Member
Posts: 30
Type: Developer
RM Skill: Undisclosed




Okay , it's seems i'm using the first version of Neo-Face .. okay , i'm going to check the topic my friend , tnx alot .
Go to the top of the page
 
+Quote Post
   
ardarkmoon
post Mar 3 2008, 09:28 PM
Post #14


Level 6
Group Icon

Group: Banned
Posts: 88
Type: Event Designer
RM Skill: Advanced




OK!

I fixed MOST of my problem!..

NO MORE ERRORS!


My errors were caused by trying to test the script out from a previous saved game. I had to start a new game in order for changes to be made; woups!



Now, heres my problem; just as before, the map that is SUPPOSED to START the fog, starts it fine, but they dont move at all...

HOWEVER if I go to another map, without removing the fog, it moves then!...but then I go BACK to the map that originally HAD the flag....and bam, not moving again...

suggestions?

This post has been edited by ardarkmoon: Mar 3 2008, 11:10 PM


__________________________
Don't declare jihad on RRR like I did!
This message brought to you by the management of RRR.
Go to the top of the page
 
+Quote Post
   
woratana
post Mar 3 2008, 11:20 PM
Post #15


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




You may want to show me the image of event commands you use for call fog smile.gif

Thx


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
Ty
post Mar 3 2008, 11:27 PM
Post #16


Level 38
Group Icon

Group: +Gold Member
Posts: 1,007
Type: Scripter
RM Skill: Undisclosed




Good job, it looks nice and useful ^^


__________________________
My Script Demo link broken? Looking for old scripts? Go here:
http://synthesize.4shared.com
Go to the top of the page
 
+Quote Post
   
ardarkmoon
post Mar 4 2008, 12:00 PM
Post #17


Level 6
Group Icon

Group: Banned
Posts: 88
Type: Event Designer
RM Skill: Advanced




Hokai!


I took a screen shot of my fog event..

PLEASE tell me if there is anything I messed up on, even though I am quite certain I copied and pasted the method in YOUR demo directly from what it was.


If there is any OTHER information you require to assist me, let me know, as I would like to have this issue resolved ASAP~


Thanks for your time in helping me with this Woratana~

Ash~


[attachment=185:Fog_issue.jpg]



PLEASE NOTE: I also tried using the event WITHOUT the "clear.fog = false" script too, and neither worked, so I'm sure that isnt the case....especially because even with that, the fog APPEARS...it just doesnt move... ><;~

This post has been edited by ardarkmoon: Mar 4 2008, 12:04 PM
Attached File(s)
Attached File  Fog_issue.jpg ( 123.46K ) Number of downloads: 316
 


__________________________
Don't declare jihad on RRR like I did!
This message brought to you by the management of RRR.
Go to the top of the page
 
+Quote Post
   
Ryoku
post Mar 4 2008, 01:14 PM
Post #18


Level 9
Group Icon

Group: Revolutionary
Posts: 135
Type: Event Designer
RM Skill: Beginner




I just had a similar problem, ardarkmoon. Hopefully this cures your predicament as it did mine.

*drumroll*

Add the 'Event elimination' command after the fog has been set. Event Commands -> Tab 2 -> Animation Commands -> Delete Event


__________________________
Grr... gotta get to work on that RPG, neh?

Go to the top of the page
 
+Quote Post
   
ardarkmoon
post Mar 4 2008, 01:24 PM
Post #19


Level 6
Group Icon

Group: Banned
Posts: 88
Type: Event Designer
RM Skill: Advanced




WOOOWWW~!


THANK YOU! It worked!


NOW......erm.....if I could just get the clouds to STOP working inside of towns and caves... -animefall- ><;!


EDIT::

Ok, I got it, Just had to use the $fog.delete 1 script call..

WOOW, thanks for the help everyone, now I can finally continue my project~ ;p

This post has been edited by ardarkmoon: Mar 4 2008, 01:35 PM


__________________________
Don't declare jihad on RRR like I did!
This message brought to you by the management of RRR.
Go to the top of the page
 
+Quote Post
   
alex_trenton
post Mar 5 2008, 12:03 PM
Post #20


Level 1
Group Icon

Group: Member
Posts: 6
Type: None
RM Skill: Skilled




1 is too fast for me, is their any way to slow it down even more then what 1 does?
I have clouds rolling by on my overworld and they are going too fast.. they need to drift by slower.
Can anyone help?

Also when you move, the scrolling acts funny.. it should not try and fallow the main characters movements, take a look at an old script for XP by dube alex for a better idea of what im talking about, it was called the multi pan script and could be used for either backgrounds or fogs.. their is auto scrolling and map scrolling... you only have one kind of scrolling implamented and thats auto scroll..

Just trying to give you ideas..
My only main complaint is the speed.. 1 or even -1 which is going in a different direction is too fast.

This post has been edited by alex_trenton: Mar 5 2008, 12:12 PM
Go to the top of the page
 
+Quote Post
   

5 Pages V   1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th May 2013 - 05:51 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker