Author Topic: How do you set the hour via DM commands in the game?  (Read 511 times)

Legacy_brgjoe

  • Jr. Member
  • **
  • Posts: 66
  • Karma: +0/-0
How do you set the hour via DM commands in the game?
« on: June 28, 2012, 12:44:59 pm »


               I am in a module (Enigma Island 2) where I am supposed to meet someone at a certain time (apparently).  If I sleep and advance time, sometimes I am too early and nobody answers the door.  Sometimes I am too late and the person is in, but wants to sleep.

I can't seem to get the time right by resting.  Is there any command that just lets me set the hour so I can be done with it?

I tried the dm_settime command, but it doesn't seem to set it how I want it to be set.  Or at least I can't figure out how to use that command.

Any other suggestions?

Thanks!

Joe C.
               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
How do you set the hour via DM commands in the game?
« Reply #1 on: June 28, 2012, 01:46:39 pm »


               dm_settime 5  should set the hour to be 5am etc

There are things to take into consideration too.

Setting the time in this manner, actually progresses the ingame timers by that amount of time.
So..
If you do

DelayCommand(3600,SpeakString("blah"));

And then forwarded the time in your module via dm_settime 23
and kept doing that, it would actually make DelayedCommands  fire, thinking that the amount of time has actually passed.

Sometimes - this can be game breaking - be careful.
               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
How do you set the hour via DM commands in the game?
« Reply #2 on: June 28, 2012, 01:54:46 pm »


               I am looking at this and it does appear that dm_settime does not function.
               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
How do you set the hour via DM commands in the game?
« Reply #3 on: June 28, 2012, 02:20:10 pm »


               im nearly certain the dm commands for setting time has worked for me

its either dm_Settime
or dm_sethour etc or something like that

if that fails - then I would recommend installing simtools
I believe there is time setting chat commands in that.
               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
How do you set the hour via DM commands in the game?
« Reply #4 on: June 28, 2012, 08:18:54 pm »


               

Baaleos wrote...

im nearly certain the dm commands for setting time has worked for me

its either dm_Settime
or dm_sethour etc or something like that

if that fails - then I would recommend installing simtools
I believe there is time setting chat commands in that.


I've got it to work.  Here are the issues with dm_settime

1): Does nothing if the game is paused (same issue with the script command SetTime())
2): arguments not provided are assigned a very large value, thus dm_settime 5 will add over 14 years due to how high the other parameters default (the effect on the hour when this happens is that it will be three higher than expected).
3) A minute is the equivalent of a turn (by default 2 minutes per hour).


There are four parameters and all must be included to avoid weird behavior

dm_settime 5 0 0 0

is the way to advance the time till it reaches  the 5th hour.
               
               

               
            

Legacy_brgjoe

  • Jr. Member
  • **
  • Posts: 66
  • Karma: +0/-0
How do you set the hour via DM commands in the game?
« Reply #5 on: June 29, 2012, 07:09:08 am »


               Thanks for the replies, all!

So just wondering, if I do the following command:

dm_settime 17 0 0 0    

That above would set the time to 5 PM, then?  

Thanks a bunch for helping me out with this.  Saves me a lot of frustration.  '<img'>