Main Menu
  • Welcome to The RPG Maker Resource Kit.

Raining "SCRIPT"

Started by Jakexxx, January 02, 2006, 04:59:42 AM

0 Members and 1 Guest are viewing this topic.

Jakexxx

Well i've got a question.. I have the advanced day/night system with the clock, and all that jazz... what I am wondering if someone would be willing to make a 'script' to make random rain come in? What would be helpful if it was like the day/night, except with raining. When I use the events it works, until I enter a house. When I enter a house, I have to put a event to make it stop. And then when I go back outside, it doesnt re-start. I am wondering if there is a way like the day/night thing where I could put another * or something at the end of the map name to tell that it is a raining map? If someone could help me with this I would be VERY thankful!

Sophist

You need a common event+variable.And the random raining wouldnt seem to help,as It would proabably start while you were inside a building,randomly.Not a great idea,but go for it if you REALLY need it,just used common events and variables.
Thats my 4 cents.
-
Black
-EDIT-Also,it would have to know the names of your maps,so It could do it,and that seems a bit too hassleesh...hassleish.Really,just have it transition rain,and have it go off.Use the weather like normal.It just seems easier to do that then make a RGSS that would comply with the Night/Day scripts.
[fright]you awoke in a burning paperhouse
from the infinite fields of dreamless sleep
[/fright]

Jakexxx

yes, i figures that out already. i did the events, and its all good now. i got it to work entering buildings, etc using variables, thanx anyways

Jakexxx

Quote from: Jakexxxyes, i figures that out already. i did the events, and its all good now. i got it to work entering buildings, etc using variables, thanx anyways

NEW PROBLEM.
I decided to use events to make it rain, and couldnt get it so when I go inside of a building it wouild stop, and if i were to go ourside it would still be going. I tried using variables, but i dont know.

Saber

I don't know exactly how you have it set up, but what I would do is have the event have a conditional branch in the 'random rain event' that checked for a switch that I would call "Indoors?".

Whenever you have a transition that would take a character 'indoors', set the Indoors? to 'On'. Whenever you have a transition that would take a character 'outdoors', set it to 'Off'. As long as your conditional branch is set up right, this should solve your problem.

Good luck!
Project(s):
Dragonblade: First Awakening - Demo not yet available
Dragonblade: The Forum game - Join now!

Jesse 015

it may sound confusing, but use the rain event on the outside, and when entering a building, the door event put it on none, and when leaving the buildingjust put the evnt in the doorway out
Badass, and a do'er not a thinker

Jakexxx

Quote from: Jesse 015it may sound confusing, but use the rain event on the outside, and when entering a building, the door event put it on none, and when leaving the buildingjust put the evnt in the doorway out


well problem with that is that if it wasnt raining when I went inside, it wouldnt work when i went out. I think the switch idea was the best

SiR_VaIlHoR

a great idea!
maybe we can add it to day and night! that woulb be wonderful!
I'm the Alpha and the Omega, the First and the Last, the Beginning and the End.

http://qualquek.miniville.fr/
http://www.dailymotion.com/bookmarks/ojah/video/x27l78_jake-simpson-stevie-wonder-isnt-she_music

My padawan (Tsunokiette) and me :p
http://www.team-aaa.com/root/profile.php?enter_id=614556
http://www.esl.eu/fr/player/2609080/
I'm French so forgive my bad english!

Jakexxx

Quote from: SiR_VaIlHoRa great idea!
maybe we can add it to day and night! that woulb be wonderful!
haha if i could do it myself I would. I have level 0 scripting skills :D

I cant sit and read something to learn to script, i get hyper and move around haha.

SiR_VaIlHoR

i'm trying but that's not easy at all lol
I'm the Alpha and the Omega, the First and the Last, the Beginning and the End.

http://qualquek.miniville.fr/
http://www.dailymotion.com/bookmarks/ojah/video/x27l78_jake-simpson-stevie-wonder-isnt-she_music

My padawan (Tsunokiette) and me :p
http://www.team-aaa.com/root/profile.php?enter_id=614556
http://www.esl.eu/fr/player/2609080/
I'm French so forgive my bad english!

Jakexxx

i see. whatever you can do is fine.