Guest Posted March 28, 2008 Share Posted March 28, 2008 Hey. It would be nice if we could use realtime for the clock or just stop the clock and game time so that we are able to manage it ourselves Cheers, Crazy Link to comment
Morelli Posted March 28, 2008 Share Posted March 28, 2008 That can be done with scripting. Check the time functions and the game clock functions on the Wiki. Link to comment
Guest Posted March 28, 2008 Share Posted March 28, 2008 It can't be done. Read the thread on the forums. If you try to let set the clock every second (for a realtime clock), the sky will start to flicker cause of the weather changes or what ever Link to comment
DiSaMe Posted March 28, 2008 Share Posted March 28, 2008 Sky won't be flickering if minutes are always set to 0. Link to comment
Morelli Posted March 28, 2008 Share Posted March 28, 2008 It can't be done.Read the thread on the forums. If you try to let set the clock every second (for a realtime clock), the sky will start to flicker cause of the weather changes or what ever Then don't set the GTA clock every second. Have the GTA clock show in the following format (it's kind of obvious that an hour hand will refer to the 'hour' and the 'minute' hand will refer to the minutes) Hours:Minutes. Have the timer which updates the clock go every 10 or so seconds, and only change it when there is a change in the new minute/hour real time to the gta time. It is very much possible, all it takes is a few lines of coding and some foreign ingenuity. EDIT: Another suggestion would be to get the real time when the resource starts, then make a timer which adds + 1 minute to the minute hand, each 60 seconds. When the minute hand >59; set the hour hand + 1 and reset the minute hand to 0. That gets rid of the need to constantly sync it with the real time. I haven't tested out the whole sky flickering thing, so I'm not sure if it'll work graphically, but theoretically, it should. Link to comment
Mr.Hankey Posted March 28, 2008 Share Posted March 28, 2008 hm... i thought you could just remove the gta clock with showPlayerHudComponent and make your own but when i finished my script everything seems to work perfect except that you cannot remove the gta clock for some reason... Link to comment
neozuki Posted March 31, 2008 Share Posted March 31, 2008 I was just trying this last night I couldn't hide the clock either. I thought hiding the clock, then updating game time once per minute would make flickering less noticeable without too much of a lighting change. Link to comment
Ransom Posted April 3, 2008 Share Posted April 3, 2008 hiding the clock is an arg in dp3 I've opened an issue requesting frozen time for real time in the dev reports, but its low priority so no guarentees. Link to comment
Recommended Posts