Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes

 
Day/Night
Reply
Posted 2004-01-23, 10:12 AM
HI! I made a Day/night event that works fine for me but could someone please tell me how to halt it happening inside, But i still want it to be night if it was night when you entered, day if it was day when you entered etc. I attached a shot of the common event incase it helps. Yeah I did go back to using rm2k tho i still dont have a game in mind I have a few ideas.
Attached Images
File Type: bmp thevent.bmp (278.1 KB, 90 views)
"Try not! Do or do not, there is, no try!" Quote Yoda.

Last edited by 05thouldm; 2004-01-23 at 10:22 AM.
Old
Profile PM WWW Search
05thouldm is neither ape nor machine; has so far settled for the in-between05thouldm is neither ape nor machine; has so far settled for the in-between
 
 
05thouldm
 



 
Reply
Posted 2004-01-23, 10:29 AM in reply to 05thouldm's post "Day/Night"
First thing's first - insert another Fork as the first line, with a switch being the condition (xxxx:TimeInEffect). Now, you'll need to move all of the other forks into that first fork statement. The best way to do that is to select the first statement you need to copy, hold shift, and then click the last line to copy (while still holding shift, obviously). That'll select everything so you can right-click + cut, then paste the lines into the fort statement.

On any "Outside" to "Inside" teleportation events, disable the xxxx:TimeInEffect switch. In any "Inside" to "Outside" events, enable that switch. Any event where you stay inside or outside, you won't need to add anything.

The screen will still be whatever color you have it set at, it'll still be "morning", etc - it'll just stop time from moving.

Edit: 
Ahh, you attached it. I forgot that branches are called forks in RM2k..

Last edited by BlueCube; 2004-01-23 at 10:36 AM. Reason: Ahh, you fixed the screenshot.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2004-01-23, 10:34 AM in reply to BlueCube's post starting "First thing's first - insert another..."
I think you have to wait a little while before it shows up. Takes a minute or two with me. I dont really understand your post so... Please could you wait a little while to see if it works? Thanks.
"Try not! Do or do not, there is, no try!" Quote Yoda.
Old
Profile PM WWW Search
05thouldm is neither ape nor machine; has so far settled for the in-between05thouldm is neither ape nor machine; has so far settled for the in-between
 
 
05thouldm
 



 
Reply
Posted 2004-01-23, 10:49 AM in reply to 05thouldm's post starting "I think you have to wait a little while..."
Basically, if you want time to stop, disable the "TimeInEffect" switch. If you want time to go, enable "TimeInEffect".

The structure is something like it is below, with your forks instead of the comments..
Attached Images
File Type: jpg simple.JPG (8.2 KB, 88 views)
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2004-01-23, 10:57 AM in reply to BlueCube's post starting "Basically, if you want time to stop,..."
Ok I get that but my system has waits in it not timers, does that matter?
"Try not! Do or do not, there is, no try!" Quote Yoda.
Old
Profile PM WWW Search
05thouldm is neither ape nor machine; has so far settled for the in-between05thouldm is neither ape nor machine; has so far settled for the in-between
 
 
05thouldm
 



 
Try this..
Reply
Posted 2004-01-23, 11:16 AM in reply to 05thouldm's post starting "Ok I get that but my system has waits..."
CODE HAS CHANGED AFTER A QUICK RUN-THROUGH IN MY HEAD.

After reviewing the code, I wonder if the "waits" will simply advance one time period and THEN stop. Not what you want.

It might be best to do something like this: (Pseudocode time!)

<>Branch: TimeInEffect is ON
...<>Add 1 to "0024:Hour" variable
...<>Branch: Hour = 6
......<>Branch: Hour = 11
.........<>Branch: Hour = 15
............<>Branch: Hour = 20
...............<>Branch: Hour = 24
..................<>Set Hour to 0
..................<>
...............:End
...............<>Set screen as Night
...............<>
............:End
............<>Set screen as Afternoon
............<>
.........:End
.........<>Set screen as Mid-Day
.........<>
......:End
......<>Set screen as Morning
......<>
...:End
...<>Wait x seconds
...<>
:End


It's color-coded so you can see where the branches are nested. Change the hours to whatever you feel are appropriate.

This one's based on a 24-hour model I once used... the bonus is, you can have events that are based on the hours of the day! So you can have, say, a door to a shop that's disabled when Hour > 18 (6pm) or Hour < 6 (6am) or something.

And, of course, a "watch" item might come in handy to tell the time. You'll just use it to call a common event, that only consists of this line:

<>Message: "The time is \v[24] o'clock."

Change the 24 to whatever your "Hour" variable number is.. if it's [0001:Hour] then you'd change it to 1, for example.

Last edited by BlueCube; 2004-01-23 at 11:43 AM.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:09 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.