iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

Keep an eye out for the upcoming 3rd Quarter Contest!

> ATTENTION!

Do not post questions about Ace in this section. Any and all Ace related support should be posted in the Ace section found here.

 
Closed TopicStart new topic
> Woratana's Fog Script freeze?
RivalNightmare
post Apr 2 2012, 08:26 PM
Post #1



Group Icon


Type: Designer





I think I have inserted the code correctly.. but when I start the game..

BAM. Freeze. The game doesn't crash, the music is still playing but.. the game is completely locked up. I can't move at all. Not even bring up the menus.
So uhm.. what is wrong? Is the code wrong? shouldn't it be "autorun"? did I forget a part of the code?

Please help. It'd mean a lot.
Go to the top of the page
 
+Quote Post
   
Akod
post Apr 2 2012, 09:12 PM
Post #2



Group Icon


Type: Designer
Alignment: Chaotic Neutral




This is a common issue and is fairly simple. You do want it to be Autorun, but you'll want a second tab. What Autorun does is it puts itself at top priority of everything until it determines itself complete, meaning that nothing else will change or move until it is either turned off or erased. You'll want to add another event at the end that turns a switch on and have a second event tab that activates when the switch is on, but set to action button or player touch so it does not mess with your game (too many simultaneous parallel processes will lag out the game).


--------------------


Having issues eventing something? Feel free to send me a message and I will see what I can do!





I Support
Spoiler:





Go to the top of the page
 
+Quote Post
   
RivalNightmare
post Apr 2 2012, 09:33 PM
Post #3



Group Icon


Type: Designer




Uhm.. I added self-switches but.. either they take away the sunshine or they do nothing... uhm.. What..?
Go to the top of the page
 
+Quote Post
   
Akod
post Apr 2 2012, 10:08 PM
Post #4



Group Icon


Type: Designer
Alignment: Chaotic Neutral




Hmm...I would suggest trying to set it up like before, just make it a parallel process instead of autorun. (Sorry, I've never used this script so I'm not too familiar with it)


--------------------


Having issues eventing something? Feel free to send me a message and I will see what I can do!





I Support
Spoiler:





Go to the top of the page
 
+Quote Post
   
RivalNightmare
post Apr 3 2012, 05:05 AM
Post #5



Group Icon


Type: Designer




Set it up as parallax, and make sure it ends when exiting out of the area?
Go to the top of the page
 
+Quote Post
   
Necromus
post Apr 3 2012, 05:13 AM
Post #6


is it morning already ._.
Group Icon


Type: Undisclosed
Alignment: Unaligned




You don't need to put it to either autorun or paralell, you only need to call it once.
You can do it with an autorun right before you actually want to start showing the fog.
Go to the top of the page
 
+Quote Post
   
RivalNightmare
post Apr 3 2012, 05:42 AM
Post #7



Group Icon


Type: Designer




Uhhm... What do you mean...?...
Go to the top of the page
 
+Quote Post
   
Necromus
post Apr 3 2012, 07:30 AM
Post #8


is it morning already ._.
Group Icon


Type: Undisclosed
Alignment: Unaligned




The script to set up the fog (what you already did) does not need to be in an autorun or paralell event, you only need to call that once.
Of coure you can do it like you want it here, but u need to add a selfswitch after what you already did and a 2nd page on that event, that get's active with that selfswitch.
But to simply run the fog, you don't need anything else than what you just did, no need to run it in a loop (a paralell proccess event).
Go to the top of the page
 
+Quote Post
   
RivalNightmare
post Apr 3 2012, 11:38 AM
Post #9



Group Icon


Type: Designer




Uhm... so.. add a selfwitch A on the end of page 1 and add another one on page 2?..
Go to the top of the page
 
+Quote Post
   
Necromus
post Apr 4 2012, 05:43 AM
Post #10


is it morning already ._.
Group Icon


Type: Undisclosed
Alignment: Unaligned




QUOTE (RivalNightmare @ Apr 3 2012, 01:38 PM) *
Uhm... so.. add a selfwitch A on the end of page 1 and add another one on page 2?..

Yup, one at the end of page one.
Then create a new page and check the condition there and use the selfswitch.
That way you just do the "setup" for your tint, your picture and the fog once, then the events turns it self off.
The 2nd page can be set to "action button" as activation.
Go to the top of the page
 
+Quote Post
   
RivalNightmare
post Apr 4 2012, 06:43 AM
Post #11



Group Icon


Type: Designer




Ah.... I did what you said.. but it doesn't delete the fog when exiting..

Am I doing something wrong..?
Go to the top of the page
 
+Quote Post
   
Necromus
post Apr 4 2012, 11:14 AM
Post #12


is it morning already ._.
Group Icon


Type: Undisclosed
Alignment: Unaligned




QUOTE (RivalNightmare @ Apr 4 2012, 08:43 AM) *
Ah.... I did what you said.. but it doesn't delete the fog when exiting..

Am I doing something wrong..?


No you didn't, what you describe is actually another feature in the script.
If you want the fog to be deleted once you teleport, you need to add a line in your script.

$game_map.fog_reset = true false

Just add that after what you already have, and your fog's will dissapear once you transfer your player.
Go to the top of the page
 
+Quote Post
   
RivalNightmare
post Apr 6 2012, 12:51 PM
Post #13



Group Icon


Type: Designer




When I add that I get a syntax error, I assume that I have to put "true" or "false" and not both?
Go to the top of the page
 
+Quote Post
   
Necromus
post Apr 6 2012, 02:37 PM
Post #14


is it morning already ._.
Group Icon


Type: Undisclosed
Alignment: Unaligned




QUOTE (RivalNightmare @ Apr 6 2012, 02:51 PM) *
When I add that I get a syntax error, I assume that I have to put "true" or "false" and not both?

Oh damn my bad, yea just set it to true.
Go to the top of the page
 
+Quote Post
   
RivalNightmare
post Apr 7 2012, 07:10 PM
Post #15



Group Icon


Type: Designer




It still doesn't dissapear.. I guess I have to add that to the transfer points, rather than the fog event itself..?
Go to the top of the page
 
+Quote Post
   
Necromus
post Apr 8 2012, 08:15 AM
Post #16


is it morning already ._.
Group Icon


Type: Undisclosed
Alignment: Unaligned




Ah I see now, it needs to be written slightly different.

$game_map.fog_reset = (true)
Go to the top of the page
 
+Quote Post
   
RivalNightmare
post Apr 18 2012, 06:35 AM
Post #17



Group Icon


Type: Designer




Sorry for late response, but.. it still doesn't work.. Do I need to implement it differently?
Go to the top of the page
 
+Quote Post
   
RivalNightmare
post May 4 2012, 11:36 AM
Post #18



Group Icon


Type: Designer




Now when being more used to selfswitches.. I tried to get it to work.. however.. it still refuses to dissapear.. though I probably now what the problem is..

I dunno what to write in page 2 :/ Can someone tell me..? Please, I really need it.
Go to the top of the page
 
+Quote Post
   
RivalNightmare
post May 7 2012, 07:05 PM
Post #19



Group Icon


Type: Designer




NVM what I've said, I had simply forgotten that I also used a sunshine picture with tint screen effect. >.<

Mods, it's cool. You can lock this now.
Go to the top of the page
 
+Quote Post
   

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th July 2014 - 12:54 PM

RPGMakerVX.net is an Privacy Policy, Legal.