Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

[V|REL] Time Scaler


Hanneswasco
 Share

Recommended Posts

Hanneswasco

Time Scaler
A simple script mod that allows you to change the time speed ingame. Very useful for time lapses.
Made by Hanneswasco, started from Alexander Blade's Native Trainer

Features
Scale the time speed by accessing the ingame menu.
Possible speeds:

  • Normal (2s real = 1m ingame)
  • Stop Time
  • Time x 2 (1s = 1m)
  • Time x 30 (1s = 15m)
  • Time x 60 (1s = 30m)
  • Time x 120 (1s = 1h)
  • Time x 240 (1s = 2h)
  • Time x 480 (1s = 4h)
  • Time x 960 (1s = 8h)
  • Time / 2 (4s = 1m)
  • Time / 15 (30s = 1m)
  • Time / 30 (1m = 1m)
  • Time / 60 (2m = 1m)
  • Own rate
It's also possible to change the time manually:
  • Go forward 1 hour
  • Go backward 1 hour
  • Go forward 1 minute
  • Go backward 1 minute
  • Set to system time
Your settings can be remembered (= same time speed on next game start) by turning on the option in the ingame menu.
You can also set an own rate by changing the value OWNRATE in the time_scaler.ini file.
OWNRATE = x means x realtime milliseconds for 1 ingame minute to pass. Some examples:
Realtime x | Ingame time passed per second
... | ...
500 | 120s = 2m
1000 | 60s = 1m
2000 | 30s (default)
4000 | 15s
8000 | 7.5s
... | ...

Installation
Place TimeScaler.asi and time_scaler.ini in the GTA V directory where the ScriptHookV is also placed.
More info and download of ScriptHookV here.

Control Keys
You can edit the keys for the menu in the time_scaler.ini file using the Symbolic Constant Name you can find on this website.
Or set to NO_KEY if you don't want the key to work at all.

Default keys:

  • F6 to open
  • NUMPAD 5 to enter
  • NUMPAD 0 to go back
  • NUMPAD 8 for up
  • NUMPAD 2 for down

Credits
Alexander Blade: ScriptHookV and Native Trainer

Download
Latest version (1.7), released at 2 June 2015:

http://www.modmy5.com/en/mods/3abe6f0d

https://www.gta5-mods.com/scripts/time-scaler


Video

 

Screenshots

c6612170-671c-4a4d-8d2f-85640369d929_zps

(Click to enlarge)

 

Changelog

 

 

Changes in v1
Added basic time scale functions
Changes in v1.1
It's also possible to change the time manually:
Go forward 1 hour
Go backward 1 hour
Go forward 1 minute
Go backward 1 minute
Set to system time
Possible to remember your setting by changing REMEMBER_RATE in .ini-file
Current time shown in menu
Changes in v1.2
Fixed REMEMBER_RATE problem that ran both the normal time and the adjusted time, resulting in a wrong scale.
Possible to turn on the remember-option via ingame menu
Changes in v1.3
When time goes slow, it get's adjusted per (couple of) seconds instead of per minute. Resulting in smoother shadow movements.
Changes in v1.4
Fixed a bug in which 1 hour forward/backward etc. didn't work properly.
Changes in v1.5
Fixed a typo in the menu
Changes in v1.6
Added following options:
Time / 4 (8s = 1m)
Time / 8 (16s = 1m)
Changes in v1.7:
Possible to set own rate
Added NO_KEY as key possibility

 

 


This is my second scripting mod, after the Collectable Collector. There could be some bugs, so any feedback is highly appreciated!

Edited by Hanneswasco
Link to comment
Share on other sites

Hanneswasco

Please add realtime. So 1minute IRL minute is 1minute ingame.

Time / 30 is 1m = 1m, so this is realtime. ;-)

Link to comment
Share on other sites

Out of curiosity, will speeding up the time affect things like:

-How many hours I have spent wearing the Epsilon Robes?

-Affect the stock market rates?

Link to comment
Share on other sites

 

Please add realtime. So 1minute IRL minute is 1minute ingame.

Time / 30 is 1m = 1m, so this is realtime. ;-)

 

Lol, I'm damn sleepy. Awesome, thanks a lot! Finally a realtime clock without sync to system.

Link to comment
Share on other sites

EnforcerZhukov

oooh that looks awesome!!! :D i wanted a script like this, to make game's day a bit longer :p

I didn't tried yet, but just a question, the time scale has to be changed each time you enter the game, or it's saved on the ini file and be loaded automatically?

Link to comment
Share on other sites

Hanneswasco

A little question, can you also make a scripts to adjust hour and seconds?

I don't exactly understand what you mean. You mean to just say "Go 1 hour forward" and "Go 1 hour backwards"? This is already possible in the Native Trainer from Alexander Blade. But I should probably add this in this trainer as well.

oooh that looks awesome!!! :D i wanted a script like this, to make game's day a bit longer :p

I didn't tried yet, but just a question, the time scale has to be changed each time you enter the game, or it's saved on the ini file and be loaded automatically?

You need to change it each time. But it's a good idea to remember your decision, I will add this in the next version!

 

Out of curiosity, will speeding up the time affect things like:

-How many hours I have spent wearing the Epsilon Robes?

-Affect the stock market rates?

I don't know, haven't tested it yet and my savegame progression isn't very far yet so it's hard to test. You can test this yourself and let me know if you want. :)

Link to comment
Share on other sites

This will be of great use for timelapse videos! Cool!

 

Video of it in action!

 

 

Edited by ubtri
Link to comment
Share on other sites

i am on mobile now so typing might be skewed up

 

hanneswasco yes back and forward hour but also minutes.

i made a typo and i meant adjusting hour and minutes so not just only back and forward hour but also back and forward minute.

Link to comment
Share on other sites

Unfortunately, set time scale lower than normal (like Time/2) makes the shadows moves step by step and not smoothly..

Edited by lexo1000
Link to comment
Share on other sites

This is pretty cool, I'm currently working on a timelapse and this will help a lot :)

 

Is it possible to make the vehicles speed up with the time of day? I'm guessing it's not possible but if it was it would be awesome.

 

Also will this work in director mode with no HUD?

Link to comment
Share on other sites

Hanneswasco

I made a new version (1.1) in which I added a few new things:

 

It's also possible to change the time manually:
  • Go forward 1 hour
  • Go backward 1 hour
  • Go forward 1 minute
  • Go backward 1 minute
  • Set to system time
If you want your settings to be remembered, edit the value REMEMBER_RATE in the time_scaler.ini file.
If this value is 0, your settings will NOT be remembered. If it is 1, it will be.
Downloadlink to most recent version in first post.
Screenshot of this version:
TimeScalerv1-1_zps4x0vpquv.png
Edited by Hanneswasco
Link to comment
Share on other sites

dontfandango

Nice mod thanks. One small issue, when I start a new game, it shows "Time / 30 (1m = 1m) NOW ACTIVE", as I have set it to remember, but the clock is still running at normal GTA time at the top rather than one to one real time.

 

I have Alexanders ScriptHook installed and SweetFX installed but they should not be affecting this?

Link to comment
Share on other sites

That remember time thingy doesn't work really. How do I have to do that? Set like 18:30 in .ini file?

It's best to have that option ingame, so if you have a time that you really like, open the Time Scaler in-game and press on Remember time.

Link to comment
Share on other sites

Hanneswasco

I indeed looked over this issue, when the remember_rate option was turned on both the normal clock AND the scaled clock are running. So if you are running 1 hour per second, you will not notice this.

 

I fixed this in the newest version. Also now you can turn on the remember option via the ingame menu. Downloadlink in first post.

  • Like 1
Link to comment
Share on other sites

EnforcerZhukov

Woah nice improvements with this new version!!! :D

Link to comment
Share on other sites

Any update to this? I could never get it work

 

The latest update works great for me, see above video!

Edited by ubtri
Link to comment
Share on other sites

Hanneswasco

Any update to this? I could never get it work :(

I updated this last night. Does it still not work for you? What exactly doesn't work then?

Link to comment
Share on other sites

alteredbeast

It works well with the new update. Thanks a lot, it's cool to play in real time without sync to system !

Link to comment
Share on other sites

manu90mala

what value do I have to put in REMEMBER RATE if want, for example, 15s=1m (or are we forced to use the scales in the ingame menu?)

Link to comment
Share on other sites

Hanneswasco

what value do I have to put in REMEMBER RATE if want, for example, 15s=1m (or are we forced to use the scales in the ingame menu?)

REMEMBER_RATE should only be 1 or 0, which says your setting will be remembered on game start or not.

The value UPDATERATE does represent the speed. 2000 is the default in GTA V, and says 2000ms = 1m. If you want 15s = 1m than you should put 15000 as the UPDATERATE. I didn't test it with values that are not in the ingame menu, but I don't see a reason why it shouldn't work. Try, and let me know if it works?

Link to comment
Share on other sites

manu90mala

I tried what you suggest but it looks like it doesn't recognize custom timerates in the .ini? something between /2 and /15 would be perfect for me!

Link to comment
Share on other sites

Hanneswasco

I will take a look at it.

 

Last night I also fixed a bug, it's strange that nobody noticed it before but the 1 hour forward, 1 hour backward etc. were all messed up. Now that is fixed. ^^

Link to comment
Share on other sites

manu90mala

cool, thanks! also, it looks like the timescale is resetting everytime even if I set rememberrate to 1 and for example to 30000

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.