Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   Dungeon Craft - RPG Game Maker (http://www.ironworksforum.com/forum/forumdisplay.php?f=20)
-   -   Elegant way of passing time? (http://www.ironworksforum.com/forum/showthread.php?t=99449)

Jadefang 07-25-2008 05:09 AM

Elegant way of passing time?
 
Let's say I want to set the game clock to the next day, exactly 1 am in the morning (or at the very least, force it to go to nighttime). Is there a way to do this (without, for the latter case, making a massive stack of Pass Time events until it's detected as night)? The Pass Time event has a Set Game Clock To These Values option, but it doesn't seem to work.

manikus 07-25-2008 06:05 PM

Re: Elegant way of passing time?
 
Setting the time to the values indicated only works if that time hasn't occurred yet. So, if there is a 0 in the days slot, it will never work b/c the game starts on day 1. But if the day is set to a time in the future, it will work.
I don't know that this helps that much though. Sorry about that.
I'm guess the way that this has to be done is though the logic block event. I don't know how, at the moment, but I'll poke around some. :)

Funky Dynamite 07-28-2008 07:46 PM

Re: Elegant way of passing time?
 
I was wondering abouyt that myself.

SilentThief 07-28-2008 10:02 PM

Re: Elegant way of passing time?
 
Quote:

Originally Posted by Jadefang (Post 1210816)
Let's say I want to set the game clock to the next day, exactly 1 am in the morning (or at the very least, force it to go to nighttime). Is there a way to do this (without, for the latter case, making a massive stack of Pass Time events until it's detected as night)?

Logic Block Event:
ignore ALL settings except under the "first action" box. click the "always" button (you can set conditionals on another page), select "GPDL Function" from the drop down box below the always button, then click the button next to the box below this, the "..." button. This opens the GDPL environ, and put this in it exactly as typed:

$SET_PARTY_HOURS("01");
$SET_PARTY_DAYS($PLUS ($GET_PARTY_DAYS(), "1"));

This will set the clock @ 1 and advance to the next day. By playing around with these you can set the time/date to whatever you want (remember military time: any time after noon add 12 to it)

$SET_PARTY_DAYS( String )
$SET_PARTY_HOURS( String )
$SET_PARTY_MINUTES( String )

Quote:

Originally Posted by Jadefang (Post 1210816)
The Pass Time event has a Set Game Clock To These Values option, but it doesn't seem to work.

I've not tried this, but seems like a bug

ST

manikus 07-28-2008 11:30 PM

Re: Elegant way of passing time?
 
Quote:

Originally Posted by SilentThief (Post 1211057)

I've not tried this, but seems like a bug

ST

See my post above. It's not a bug, it just won't take you back in time. :)

SilentThief 07-29-2008 09:34 AM

Re: Elegant way of passing time?
 
Whaddya mean we can't travel back in time? ;)

ST

manikus 07-29-2008 09:52 AM

Re: Elegant way of passing time?
 
You can't travel back in time with this event. :) You have to use the spell "Invoke Marty McFly", which is an 8th level mage spell. :D:D:D

Jadefang 07-30-2008 04:05 PM

Re: Elegant way of passing time?
 
Works great. Thanks SilentThief!

Arminius 08-03-2008 10:59 AM

Re: Elegant way of passing time?
 
Quote:

Originally Posted by manikus (Post 1211087)
You can't travel back in time with this event. :) You have to use the spell "Invoke Marty McFly", which is an 8th level mage spell. :D:D:D

Or if you have a Technologist class in your game have him build you a flux capacitor. Only problem is finding a source capable of producing the 1.21 gigawatts of power necessary to break the time-space barrier. In a fantasy realm a magic user could produce a bolt of lightning for you. In a modern setting the party may have to embark on a dangerous quest to steal some plutonium from a group of Libyan terrorists.

If your party are regular time travelers they may already possess knowledge of when and where lightning will strike an old clock tower or something [perhaps they have a list of times and places they googled while visiting the 21st century].

And of course there is the modification they could have had done if they've been to the future - adding an alternative power conversion kit which runs on banana peels and half-empty beer cans.

manikus 08-03-2008 11:35 AM

Re: Elegant way of passing time?
 
:)
The weirdest time travel experience I ever had was while visiting London. I was being harassed by some thugs and stepped into a police call box...and the next thing I know I'm with some bloddy academician with his Ph.D fighting giant salt and pepper shakers just so that humans 30,000 years from now can have bad hair-dos. Though, this bloke did have a rather cute, young blonde assistant...was she a grad student? Hmmm.... :D

SilentThief 08-03-2008 03:21 PM

Re: Elegant way of passing time?
 
Quote:

Originally Posted by Arminius (Post 1211499)
Or if you have a Technologist class in your game have him build you a flux capacitor. Only problem is finding a source capable of producing the 1.21 gigawatts of power necessary to break the time-space barrier. In a fantasy realm a magic user could produce a bolt of lightning for you. In a modern setting the party may have to embark on a dangerous quest to steal some plutonium from a group of Libyan terrorists.

As familiar as this sounds, seems like you could make a mod where the point is preventing the "bad guys" from changing the past to change the present/future.

ST

manikus 08-03-2008 04:21 PM

Re: Elegant way of passing time?
 
...but it's the good guys changing the past to make a better future...unless the nuclear terrorists are all McFlys...


All times are GMT -4. The time now is 09:40 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved