Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Tuners
      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. GTA San Andreas

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

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

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    1. Grand Theft Auto Series

      1. 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. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    6. 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

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

[GTASA] In-game timecyc editor


fastman92
 Share

Recommended Posts

Yeah, I actually have it.

 

http://www.sendspace.com/file/2f9vok

Link to comment
Share on other sites

Good work, man. Though, the biggest problem I have with this is that I can only edit a time 30 in-game minutes later. So it has to be 6:30 for me to edit 6:00 weather.

Link to comment
Share on other sites

 

Good work, man. Though, the biggest problem I have with this is that I can only edit a time 30 in-game minutes later. So it has to be 6:30 for me to edit 6:00 weather.

It`s correct. Really 6AM isn`t meant to started at 6:00 in game.

Proof:

 

.data:008CDECC     _timeCycleStartHours db 0                  ; 0.data:008CDECC                                            ; DATA XREF: sub_5603D0:loc_56056Fr.data:008CDECC                                            ; sub_5603D0:loc_56051Br.data:008CDECC                                            ; sub_5603D0+1A6r.data:008CDECC                                            ; sub_5603D0:loc_560540r.data:008CDECC                     db 5                  ; 1.data:008CDECC                     db 6                  ; 2.data:008CDECC                     db 7                  ; 3.data:008CDECC                     db 12                  ; 4.data:008CDECC                     db 19                  ; 5.data:008CDECC                     db 20                  ; 6.data:008CDECC                     db 22                  ; 7.data:008CDECC                     db 24                  ; 8.data:008CDED5                     db    0.data:008CDED6                     db    0.data:008CDED7                     db    0.data:008CDED8    ; byte timeCycleStartMinutes[8].data:008CDED8     _timeCycleStartMinutes db 30                  ; 0.data:008CDED8                                            ; DATA XREF: sub_5603D0+FDAr.data:008CDED8                                            ; sub_5603D0+FE5r.data:008CDED8                     db 30                  ; 1.data:008CDED8                     db 30                  ; 2.data:008CDED8                     db 50                  ; 3.data:008CDED8                     db 60                  ; 4.data:008CDED8                     db 60                  ; 5.data:008CDED8                     db 50                  ; 6.data:008CDED8                     db 35                  ; 7

 

See the second (2) cycle, third cycle in game starting from 1.

Start hour = 6

Star minute = 30

Link to comment
Share on other sites

That's interesting, I did an experiment setting 6:00 sky color to pure red and 7:00 to pure green, 6:30 came out with a yellow, which would seem to suggest it is in between the two and not a key time.

user posted image

user posted image

user posted image

Edited by boxmonster
Link to comment
Share on other sites

 

That's interesting, I did an experiment setting 6:00 sky color to pure red and 7:00 to pure green, 6:30 came out with a yellow, which would seem to suggest it is in between the two and not a key time.

user posted image

user posted image

user posted image

Thank you for your contribution. Adresses that i posted apparently determine half time (50%) of cycle.

In-game Timecyc Editor 1.2 is going to be released today.

 

 

Cycle ID & name Half time Half time measured in minutes Starting time
0: Midnight 0:30 30 0:00
1: 5AM 5:30 330 5:00
2: 6AM 6:30 390 6:00
3: 7AM 7:50 470 7:00
4: Midday 12:60 780 12:00
5: 7PM 19:60 1200 19:00
6: 8PM 20:50 1250 20:00
7: 10PM 22:35 1355 22:00
Edited by fastman92
Link to comment
Share on other sites

Fastman92, I found an anoying bug with your in-game timecyc editor.

Once saved with your tool, all Illumination will be gone.

So the game becomes ugly again without Illumination.

And I have to add the Illumination manually at every end of the line confused.gif

Link to comment
Share on other sites

It's disabled until you enable it in CLEO\TimecycEditor.ini under name WriteIllumination, set it true, 1 or yes.

The reason why it's disabled by default is simple - other Timecyc editors e.g TimecycSA will crash when trying to edit generated file with saved illumination and people will complain on this.

It's not bug. It's a feature.

Link to comment
Share on other sites

 

It's disabled until you enable it in CLEO\TimecycEditor.ini under name WriteIllumination, set it true, 1 or yes.

The reason why it's disabled by default is simple - other Timecyc editors e.g TimecycSA will crash when trying to edit generated file with saved illumination and people will complain on this.

It's not bug. It's a feature.

Ah, so that's why TimeCycSA is crashing when opening a timecyc with Illumination.

Never knew about that.

Thank you very much for clearing that up.

 

Tho' I have never complained about this.

In the end after reinstalled Windows, I copied and paste the timecyc with that generated Illumination.

Before I added that, it opened fine.

I had some suspicion since I added it.

Edited by Jacko427
Link to comment
Share on other sites

Version 1.3 released:

- added indicators for intensity of taken values from current and next cycle the way interpolation works.

When it`s start of time - 100% intensity of current cycle values, 0% intensity of next cycle values

- fixed stopping of time - time wasn`t stopped according to icon, but in fact it was, caused by cmp dword ptr [_IsTimeStopped], 0

instead of cmp byte ptr [_IsTimeStopped], 0

Edited by fastman92
Link to comment
Share on other sites

  • 2 weeks later...

This is amazing! I hope you will make it compatible with CLEO 3 and compact.EXE in the future as I would like to be able to use it too. biggrin.gif

Link to comment
Share on other sites

 

This is amazing!  I hope you will make it compatible with CLEO 3 and compact.EXE in the future as I would like to be able to use it too.  biggrin.gif

Perhaps.

 

Version 1.4 released.

Changes:

- added possibility to rotate around player/vehicle using X key (configurable within .ini file),

it took a lot of time to get it finally working, part of ASM code had to be written for that

 

You can rotate camera of player/vehicle, just hold X and rotate it using mouse.

Mouse cursor will be temporarily locked and camera will move around. Release X to unlock cursor. Very simple to understand.

Now camera won`t be messed up and also you can rotate it freely. As always my project is

 

Fully compatible with GTA San Andreas v1.0 [uS] HOODLUM No-CD Fixed EXE & GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE

 

Download:

http://www.mediafire.com/?fyebx2dad8u64r4

Edited by fastman92
Link to comment
Share on other sites

I have found out which parameters is used to make the weathers more bright or less bright.

It's the Alpha of the Color Corrections.

The higher the number, the brighter the weather will be.

I suggest:

 

Color Correction 1

Alpha 80

 

Color Correction 2

Alpha 40

 

Of course it depends on anyone's taste.

Link to comment
Share on other sites

  • 3 weeks later...

I released version 1.6, it`s compatible with CLEO3, but TimecycEditor.ini won`t be read on CLEO3. Static configuration will be applied:

 

 

   else   RotateCameraKey = 220   // slash   EnablePossibilityToStopTime = true   gosub @Patch_CClock__Update   WriteIllumination = true   end

 

Link to comment
Share on other sites

Nice! Are you have a plan to move it into IV.

Edited by City_Poke912

HHnErXC.png


Link to comment
Share on other sites

Your English is not good.

 

I`m currently working on In-game Timecyc Editor 1.0 for GTA VC, it`s in early stages and will take some time.

I have a GTA IV and i plan to make it .NET script soon.

Link to comment
Share on other sites

The mod is so much cool. Especially the interface. biggrin.gif

Would be possible to allow things such as those into objects so that it would be usable through some external scripts. Making forms, windows, labels, Buttons inside the game itself?

 

Well, I think Hazard has already done this, but I cant conform cause I dont have IV

Link to comment
Share on other sites

The mod is so much cool. Especially the interface. biggrin.gif

Would be possible to allow things such as those into objects so that it would be usable through some external scripts. Making forms, windows, labels, Buttons inside the game itself?

 

Well, I think Hazard has already done this, but I cant conform cause I dont have IV

These buttons are simply textures in version for GTA SA.

To detect whether user has clicked on button simple math is used.

Rectangle texture has position XY and size XY.

There is mouse position XY too.

So it does size x and size y divides / 2.

Checks if distance between X of texture and mouse is lower than texture sizeX / 2

Checks distance between Y of texture and mouse is lower than texture sizeY / 2.

If so - cursor is on texture.

 

There is source in archive.

 

Regarding IV i don`t have experience to answer your question.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

I've just tried to use v1.6 but it keeps on saying that "TimecycEditor.ini has not been read". My UAC settings are at its lowest and I've got full admin rights to my SA directory. Version 1 works fine, I haven't tried any other version.

I'm back..

Link to comment
Share on other sites

I've just tried to use v1.6 but it keeps on saying that "TimecycEditor.ini has not been read". My UAC settings are at its lowest and I've got full admin rights to my SA directory. Version 1 works fine, I haven't tried any other version.

You must use CLEO4 and make sure that all of following statemens are true:

- CLEO\GxtHook.cleo doesn't exist (CLEO4 doesn't need it, timecyc editor checks for its existence)

- CLEO\IniFiles.cleo exists

- CLEO\TimecycEditor.ini exists

 

3 statements must be true.

I think you probably didn't remove GxtHook.cleo and that is why.

Link to comment
Share on other sites

Yup its CLEO4, GxtHook.cleo doesn't exist, IniFiles.cleo exists & TimecycEditor.ini exists. Still getting the problem (did have GxtHook.cleo but tried without it and still getting the error)

I'm back..

Link to comment
Share on other sites

 

Yup its CLEO4, GxtHook.cleo doesn't exist, IniFiles.cleo exists & TimecycEditor.ini exists. Still getting the problem (did have GxtHook.cleo but tried without it and still getting the error)

Show me your CLEO directory (screenshot or dir >> dump.txt in command prompt)

Do you use MPACK?

What happens if you put to GTA San Andreas User Files:

- CLEO\IniFiles.cleo

- CLEO\TimecycEditor.ini

Link to comment
Share on other sites

user posted image

 

Yeah I use MPACK, tried that and now its telling me the ini has been read, but I can't click on anything (adjust parameters etc)

I'm back..

Link to comment
Share on other sites

Can you e.g scroll in menu. Can you use arrow keys. Is clicking right everything what you can't do?

Is cursor drawn in screen?

It's late at the mine and i'll log on GTAF tommorow. I can send you testing scripts to find out the essence of the problem as well.

 

Btw. you have a nice WinMacX biggrin.gif

Edited by fastman92
Link to comment
Share on other sites

Yup I can use the up/down arrow keys. The cursor appears on the screen, its just left clicking with the mouse that is the problem. Thanks for the help, appreciate it!

 

lol Thanks! A theme for sad people like me biggrin.gif

I'm back..

Link to comment
Share on other sites

In-game Timecyc Editor 1.7 is out.

There are many minor changes.

 

** 1.7 version:

- Fully compatible with CLEO3 now.

- I noticed that ColourAdd2 incorrectly pointed red, to ColourCorrect1. Fixed

- fixed possible problem with timers

- added cominuque whether timecyc.dat has been saved successfully or failure happened

- In-game Timecyc Editor has been Integrated with GTA Palette & Mouse SCM API

- added possibility to write a custom nick(name) to timecyc.dat. Configurable in .ini file

 

@nWo51289, i want to fix this problem that might occur for more end-users. Please cooperate with me soon.

Link to comment
Share on other sites

  • 2 weeks later...

Excellent work fastman92 cookie.gifcookie.gifcookie.gif

have tested 1.7 on cleo3

one little problem remains:

I loaded timecyc.dat which have on options STATIC, DYNAMIC, SKY..., HSV: value: 5%

then i click into color field and then HSV: value changes to 100%

ok, i decrease HSV: value to 5%

but when i click then again into color field, the HSV: value changes again to 100%

very difficult to make proper settings when HSV: value always changes again to 100%

Link to comment
Share on other sites

 

Excellent work fastman92  cookie.gif  cookie.gif  cookie.gif

have tested 1.7 on cleo3

one little problem remains:

I loaded timecyc.dat which have on options STATIC, DYNAMIC, SKY...,  HSV: value: 5%

then i click into color field and then HSV: value changes to 100%

ok, i decrease HSV: value to 5%

but when i click then again into color field, the HSV: value changes again to 100%

very difficult to make proper settings when HSV: value always changes again to 100%

That's what red/green voting button is made for.

If it's GREEN - clicking on palette will change Value into 100%, else RED - value won't changed.

 

user posted image

or

user posted image

 

Color field? Actually it's called circular color palette.

 

Thanks for testing.

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