Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      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. Forum Support

    3. Suggestions

In-game 24h TimeCycle Editor


GuruGuru
 Share

Recommended Posts

Now that we have a nice plugin that enables support for 24h timecycs, it was time to have a nice editor to edit them.

So, here it is: 

SqIywte.png

A Moonloader  script powered by Dear ImGui.

 

Features:

  • Supports Compact and Hoodlum exes
  • Supports default 8h and extended 24h timecycs.
  • Edit TimeCycle values while in-game.
  • Nice and easy to use UI.
  • Autosave function, timecyc.dat gets saved at /moonloader/ after a while.
  • Directional Multiplier (aka Illumination) can have any value between 0.0 and 2.55

Usage:

  • Press  CTRL +  T to open/close the menu.

Requires:

 

Download it here

Edited by GuruGuru
updaet
Link to comment
Share on other sites

One question, how do I open the menu? I edited the main script to just have it enabled by default but every time it (auto)saves it closes the window and I can't get it back xD

Link to comment
Share on other sites

spartaque12

cant understand why it doesnt works 4 me :(
ive installed moonloader and moongui to root folder , put timecyc-editor.lua to lib folder inside moonloader and nothing
i cant even see him in log , wtf
https://pastebin.com/egkmLpBp

Link to comment
Share on other sites

This is a very nice tool!

 

I got one suggestion: having the ability to move the camera while the editor is open. So hold a key to move the camera? Like hold X.

Edited by SilverRST
  • Like 1
Link to comment
Share on other sites

@SilverRST yeah, that would be nice. I have no idea how to manipulate the camera,so it will take a while.

 

In the meantime, you can use the debug camera before bringing up the menu

Link to comment
Share on other sites

4 hours ago, guru_guru said:

@SilverRST yeah, that would be nice. I have no idea how to manipulate the camera,so it will take a while.

 

In the meantime, you can use the debug camera before bringing up the menu

Fastman has added that feature to use the camera while editing the timecyc. You could ask him.

Link to comment
Share on other sites

Tools that evolve and adapt to new features are really what makes the best of this community, great work, especially as a lot of people wanted to do full 24hr timecycs but didn't quite grasp how in the original thread.

Link to comment
Share on other sites

updaet: Now you can rotate the camera while the menu is open. Download link updated

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...

fixed something that annoyed me for days: now you can move around while the menu is active.

 

also fixed a crash, no big deal.
dl

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...
  • 2 months later...

I have a problem, a really annoying one. Every time i edit a single hour i save and copy the edited timecycle with his adecuated name (timecycle_24h.dat) the problem comes when i start the game again. all the alpha values of color correction section of all weather are dropped down to 0, including the ones that i didn't touched at all.

 

the only thing i notice is if i put a value of 220+ on the alpha of color correction sometimes when i reload the game it got reduced almost half of the value, but it is the same issue because if i save the timecyc in that value (the half) it will be 0 the next time i start the game. can you fix this please?

 

i have done some test of compatibility leavin the game almost on vanilla, but same result.

 

Link to comment
Share on other sites

@Dexshon120 I just tried what you said and everything seems to be working fine. I updated the script anyway so the timecyc generated has better readability, check there if the values are correct.

Also you can use modloader to load your new timecyc,that's why I incorrectly named the file.

Link to comment
Share on other sites

  • 2 months later...
On 4/19/2019 at 4:37 AM, GuruGuru said:

@Borkerando same place where the script is, at /moonloader

 

Also, I just fixed the download link, turns out I never updated it. :)

Sorry, I found this one minute after I wrote this message but there is no DELETE option..

This mod is amazing! Best ingame editor I ever seen! Now I can create best timecyc for me!

 

ISSUE FOUND!

Please, fix the problem with trying to choose a color. When I try to choose the perfect timbre, the one in the main RGB value goes up to the red one. Sorry for my english but I hope you understand what I mean.

Link to comment
Share on other sites

  • 2 weeks later...
Borkerando

How to get my timecyc to SA-MP? I made my own Timecyc but is not working in Multiplayer..

Link to comment
Share on other sites

MISSINGSTRING

That has nothing to do with the editor.

 

Also samp in 2019 V:

Link to comment
Share on other sites

Borkerando

Then how to make Timecyc for SA-MP? What to do if my normal timecyc.dat not working with multiplayer?

Link to comment
Share on other sites

Borkerando

I got it. You need to use specific type of gta_sa.exe crack.

One you can get here: [redacted]

Edited by Silent
Link to comment
Share on other sites

@Borkerando

DO NOT LINK CRACK GAME FILES (LIKE .EXES, PIRATED FILES/COPIES ETC...) EVER AGAIN IN THIS FORUM!!!

ITS CLEARLY AGAINST THE FORUM RULES!

  • Like 1
Link to comment
Share on other sites

  • 2 months later...
On 5/8/2019 at 5:18 PM, SHIFAAU9 / SHIFAAH9 said:

@Borkerando

DO NOT LINK CRACK GAME FILES (LIKE .EXES, PIRATED FILES/COPIES ETC...) EVER AGAIN IN THIS FORUM!!!

ITS CLEARLY AGAINST THE FORUM RULES!

Sorry, my bad.

Link to comment
Share on other sites

  • 3 months later...

When will you fix the issue of not working on the new version of ImGui?

  • Like 1
  • KEKW 2
Link to comment
Share on other sites

On 11/4/2019 at 1:55 AM, Junior_Djjr said:

When will you fix the issue of not working on the new version of ImGui?

Can you tell more about the issue?

Link to comment
Share on other sites

  • 1 month later...
Quote

Developers: FYP, hnnssy, EvgeN 1137

Copyright (c) 2016, BlastHack Team
http://blast.hk/moonloader/

[14:34:46.561622] (info)    Working directory: C:\Users\MSX\Desktop\GTA\moonloader
[14:34:46.561622] (debug)    FP Control: 0009001F
[14:34:46.561622] (debug)    Game: GTA SA 1.0.0.0 US
[14:34:46.561622] (system)    Installing pre-game hooks...
[14:34:46.561622] (system)    Hooks installed.
[14:34:48.198010] (debug)    Initializing opcode handler table
[14:34:48.198010] (debug)    package.path = C:\Users\MSX\Desktop\GTA\moonloader\lib\?.lua;C:\Users\MSX\Desktop\GTA\moonloader\lib\?\init.lua;C:\Users\MSX\Desktop\GTA\moonloader\?.lua;C:\Users\MSX\Desktop\GTA\moonloader\?\init.lua;.\?.lua;C:\Users\MSX\Desktop\GTA\moonloader\lib\?.luac;C:\Users\MSX\Desktop\GTA\moonloader\lib\?\init.luac;C:\Users\MSX\Desktop\GTA\moonloader\?.luac;C:\Users\MSX\Desktop\GTA\moonloader\?\init.luac;.\?.luac
[14:34:48.198010] (debug)    package.cpath = C:\Users\MSX\Desktop\GTA\moonloader\lib\?.dll;
[14:34:48.202891] (system)    Loading script 'C:\Users\MSX\Desktop\GTA\moonloader\cheat-menu.lua'...
[14:34:48.202891] (debug)    New script: 0561533C
[14:34:48.272238] (system)    Cheat Menu: Loaded successfully.
[14:34:48.272238] (system)    Loading script 'C:\Users\MSX\Desktop\GTA\moonloader\colisão na porta.lua'...
[14:34:48.282492] (debug)    New script: 05614D0C
[14:34:48.285420] (system)    col nas ports de veiculos: Loaded successfully.
[14:34:48.285420] (system)    Loading script 'C:\Users\MSX\Desktop\GTA\moonloader\timecyc-editor.lua'...
[14:34:48.285420] (debug)    New script: 0703FD44
[14:34:48.420197] (system)    timecyc-24h-editor: Loaded successfully.
[14:35:04.327482] (system)    Installing post-load hooks...
[14:35:04.327482] (system)    Hooks installed.

[14:35:20.679632] (error)    timecyc-24h-editor: C:\Users\MSX\Desktop\GTA\moonloader\timecyc-editor.lua:322: stack index 2, expected userdata, received sol.ImVec4: value at this index does not properly reflect the desired type (bad argument into 'bool(const char*, ImArray<float,3>*, sol::optional<int>)')
stack traceback:
    [C]: in function 'ColorEdit3'
    C:\Users\MSX\Desktop\GTA\moonloader\timecyc-editor.lua:322: in function 'ProcessTimecycData'
    C:\Users\MSX\Desktop\GTA\moonloader\timecyc-editor.lua:258: in function 'OnDrawFrame'
    C:\Users\MSX\Desktop\GTA\moonloader\lib\imgui.lua:1378: in function <C:\Users\MSX\Desktop\GTA\moonloader\lib\imgui.lua:1367>
[14:35:20.680610] (error)    timecyc-24h-editor: Script died due to an error. (0703FD44)

[14:36:14.192087] (system)    Unloading...
[14:36:14.193535] (system)    Cheat Menu: Script terminated. (0561533C)
[14:36:14.229183] (system)    col nas ports de veiculos: Script terminated. (05614D0C)
[14:36:14.270689] (system)    Session terminated.
 

It works for a couple of seconds,

I even tried different Moonloader versions and ImGui

Edited by Lixus
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.