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

    2. News

    1. Red Dead Redemption 2

      1. News
      2. Red Dead Online
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Site Suggestions

IgorX

[V] Timecycle Documentation

Recommended Posts

IgorX

Hello! I noticed that there's no topic about timecyc research on any gta forum. It took a few hours to understand how it works.

 

There's no tools to edit gta 5 timecyc files, so we will do it manually.

 

Let's begin!

 

All timecycle files are placed in GTAV/common.rpf/data/timecycle/ w_[string].


I decided to edit w_neutral.xml file. I can see many parameters like color data and others.

 

For this documentation, I took data from <sky_azimuth_east_col> sections

  <sky_azimuth_east_col_r>0.0823 1.0020 1.0020 1.0020 0.0020 0.2527 0.0020 0.0020 0.0020 0.0020 1.0020 0.0412 0.5000</sky_azimuth_east_col_r>  <sky_azimuth_east_col_g>0.1487 1.0020 1.0020 1.0020 1.0020 0.2725 1.0020 1.0020 1.0020 1.0020 1.0020 0.1078 0.5000</sky_azimuth_east_col_g>  <sky_azimuth_east_col_b>0.2588 1.0020 1.0020 1.0020 0.0529 0.2920 0.0529 0.0529 0.0529 0.0529 1.0020 0.1902 0.5000</sky_azimuth_east_col_b>

Every entry is color data for define time period. They're separated by space.

I described time period and definition in Excel file:

MN6fEax.jpg

(Ignore 10.020 it's a negative. The positive false is 1.0200)

Let's look on the first entry of every color data:
<sky_azimuth_east_col_r> 0.0823 - Red Data color in float

<sky_azimuth_east_col_g> 0.1487 - Green Data color in float

<sky_azimuth_east_col_b> 0.2588 - Blue data color in float

 

As you know, the range of RGB is [0 to 255]. We need convert such range to the float value.

I picked up this color:

YTJsOI7.jpg

You can use paint for that.

 

The next step is conversion. You can take any value and divide it by 255 (like 178 / 255 = 0.6978) or do it automatically. Open this website http://www.corecoding.com/utilities/rgb-or-hex-to-float.php (not an adverstisment) and put RGB Values such we got in paint editor

 

We got this code.

iX6WLX8.jpg

Your code will be different.

We don't have the last character but it's not a problem. You can add any value like [0,1..9]

So when we got the code we need to replace this value:

0.9450

After this string

<sky_azimuth_east_col_r>

Do the same operation for <sky_azimuth_east_col_g> and <sky_azimuth_east_col_b> (in my case I need to put 0.7690 to sky_azimuth_east_col_g and 0.0470 to the sky_azimuth_east_col_b)

 

What we'll get:

<sky_azimuth_east_col_r>0.9450 1.0020 1.0020 1.0020 0.0020 0.2527 0.0020 0.0020 0.0020 0.0020 1.0020 0.0412 0.5000</sky_azimuth_east_col_r>  <sky_azimuth_east_col_g>0.7690 1.0020 1.0020 1.0020 1.0020 0.2725 1.0020 1.0020 1.0020 1.0020 1.0020 0.1078 0.5000</sky_azimuth_east_col_g>  <sky_azimuth_east_col_b>0.0470 1.0020 1.0020 1.0020 0.0529 0.2920 0.0529 0.0529 0.0529 0.0529 1.0020 0.1902 0.5000</sky_azimuth_east_col_b>

I made some videos. You can watch results here (include original timecyc video) (no sound)

 

 

below you can watch this timecyc without changes:

 

 

P.S If you want to do Timecyc Editor I can help you with GUI Design.

P.P.S. Section and SkySphere descriptions will come later

Edited by IgorX

Share this post


Link to post
Share on other sites
tjoel2012

Hi! Thanks for this post. I was looking for a guide to edit timecyc without any luck! Until I fund your post! You are the Best!!! Could you please tell me if there is more info about it? I wan to desaturate the sky a little and to retouch the color of the vegetation (Trees, grass, plants, etc). Again, Thank you very much! Excuse my English. :)

Edited by tjoel2012

Share this post


Link to post
Share on other sites
IgorX

Hi! Thanks for this post. I was looking for a guide to edit timecyc without any luck! Until I fund your post! You are the Best!!! Could you please tell me if there is more info about it? I wan to desaturate the sky a little and to retouch the color of the vegetation (Trees, grass, plants, etc). Again, Thank you very much! Excuse my English. :)

I'm not sure what kind of sections could desaturate the color of vegetations. I need to check some Ambient things and others.

Share this post


Link to post
Share on other sites
tjoel2012

 

Hi! Thanks for this post. I was looking for a guide to edit timecyc without any luck! Until I fund your post! You are the Best!!! Could you please tell me if there is more info about it? I wan to desaturate the sky a little and to retouch the color of the vegetation (Trees, grass, plants, etc). Again, Thank you very much! Excuse my English. :)

I'm not sure what kind of sections could desaturate the color of vegetations. I need to check some Ambient things and others.

 

OK, I am playing with it, making some changes. Thanks to you now i understand what does the numbers mean!

Share this post


Link to post
Share on other sites
VenomV

 

Hi! Thanks for this post. I was looking for a guide to edit timecyc without any luck! Until I fund your post! You are the Best!!! Could you please tell me if there is more info about it? I wan to desaturate the sky a little and to retouch the color of the vegetation (Trees, grass, plants, etc). Again, Thank you very much! Excuse my English. :)

I'm not sure what kind of sections could desaturate the color of vegetations. I need to check some Ambient things and others.

 

 

Thank you so much that you are the only one investigating what those lines means, maybe there's hope for my mod

Share this post


Link to post
Share on other sites
VenomV

Hello! I noticed that there's no topic about timecyc research on any gta forum. It took a few hours to understand how it works.

 

There's no tools to edit gta 5 timecyc files, so we will do it manually.

 

Let's begin!

 

All timecycle files are placed in GTAV/common.rpf/data/timecycle/ w_[string].


I decided to edit w_neutral.xml file. I can see many parameters like color data and others.

 

For this documentation, I took data from <sky_azimuth_east_col> sections

  <sky_azimuth_east_col_r>0.0823 1.0020 1.0020 1.0020 0.0020 0.2527 0.0020 0.0020 0.0020 0.0020 1.0020 0.0412 0.5000</sky_azimuth_east_col_r>  <sky_azimuth_east_col_g>0.1487 1.0020 1.0020 1.0020 1.0020 0.2725 1.0020 1.0020 1.0020 1.0020 1.0020 0.1078 0.5000</sky_azimuth_east_col_g>  <sky_azimuth_east_col_b>0.2588 1.0020 1.0020 1.0020 0.0529 0.2920 0.0529 0.0529 0.0529 0.0529 1.0020 0.1902 0.5000</sky_azimuth_east_col_b>

Every entry is color data for define time period. They're separated by space.

I described time period and definition in Excel file:

MN6fEax.jpg

(Ignore 10.020 it's a negative. The positive false is 1.0200)

Let's look on the first entry of every color data:

<sky_azimuth_east_col_r> 0.0823 - Red Data color in float

<sky_azimuth_east_col_g> 0.1487 - Green Data color in float

<sky_azimuth_east_col_b> 0.2588 - Blue data color in float

 

As you know, the range of RGB is [0 to 255]. We need convert such range to the float value.

I picked up this color:

YTJsOI7.jpg

You can use paint for that.

 

The next step is conversion. You can take any value and divide it by 255 (like 178 / 255 = 0.6978) or do it automatically. Open this website http://www.corecoding.com/utilities/rgb-or-hex-to-float.php (not an adverstisment) and put RGB Values such we got in paint editor

 

We got this code.

iX6WLX8.jpg

Your code will be different.

We don't have the last character but it's not a problem. You can add any value like [0,1..9]

So when we got the code we need to replace this value:

0.9450

After this string

<sky_azimuth_east_col_r>

Do the same operation for <sky_azimuth_east_col_g> and <sky_azimuth_east_col_b> (in my case I need to put 0.7690 to sky_azimuth_east_col_g and 0.0470 to the sky_azimuth_east_col_b)

 

What we'll get:

<sky_azimuth_east_col_r>0.9450 1.0020 1.0020 1.0020 0.0020 0.2527 0.0020 0.0020 0.0020 0.0020 1.0020 0.0412 0.5000</sky_azimuth_east_col_r>  <sky_azimuth_east_col_g>0.7690 1.0020 1.0020 1.0020 1.0020 0.2725 1.0020 1.0020 1.0020 1.0020 1.0020 0.1078 0.5000</sky_azimuth_east_col_g>  <sky_azimuth_east_col_b>0.0470 1.0020 1.0020 1.0020 0.0529 0.2920 0.0529 0.0529 0.0529 0.0529 1.0020 0.1902 0.5000</sky_azimuth_east_col_b>

I made some videos. You can watch results here (include original timecyc video) (no sound)

 

 

below you can watch this timecyc without changes:

 

 

could you give us info about how take away all that fog and the clouds?

 

P.S If you want to do Timecyc Editor I can help you with GUI Design.

P.P.S. Section and SkySphere descriptions will come later

Share this post


Link to post
Share on other sites
fastman92

Someone should make

.

Share this post


Link to post
Share on other sites
_CP_

Życzę powodzenia.

Good luck.

Share this post


Link to post
Share on other sites
VenomV

Someone should make

.

 

won't be easy tho

Share this post


Link to post
Share on other sites
FixingG00D

I enquired about this in the other time sync topic. How complex a task would it be to manipulate the time point in which all the light textures / lighting appear for buildings, street lamps, neon signs, etc?

 

They are triggered in game when past a certain time at night, so not sure if there would be a way to trigger this earlier on, or for example lights stay on all day? It's like the reverse of "blackout mode", used in various mods.

Edited by FixingG00D

Share this post


Link to post
Share on other sites
VenomV

Życzę powodzenia.

Good luck.

 

are you here to help?

Share this post


Link to post
Share on other sites
VenomV

I enquired about this in the other time sync topic. How complex a task would it be to manipulate the time point in which all the light textures / lighting appear for buildings, street lamps, neon signs, etc?

 

They are triggered in game when past a certain time at night, so not sure if there would be a way to trigger this earlier on, or for example lights stay on all day? It's like the reverse of "blackout mode", used in various mods.

 

Welcome my friend to the documentation of timecycle finally! we have found one

Share this post


Link to post
Share on other sites
_CP_

@FixingG00D

Artifical light setiings are stored in models (.ydr) and we cannot open them yet.

Share this post


Link to post
Share on other sites
FixingG00D

Cheers CP. Maybe i'm thinking about it the wrong way. Is it possible to "enhance" the sky or underwater lighting at night so it appeared much lighter / bluer? Would this achieve the result, as time would be set to night e.g 23:00, so the artificial lighting of buildings would trigger?

 

I'm not sure if this is what your VisualV mod touches on?

 

Basically the requirement I have is that to make underwater appear lighter and bluer e.g extra sunny daytime, I would obviously need to set these as such, however I'm trying to also get some neon signs to light up / glow, which only does so at dark night time.

 

I get a feeling what i'm trying to figure might not yet be possible.

Share this post


Link to post
Share on other sites
VenomV

Cheers CP. Maybe i'm thinking about it the wrong way. Is it possible to "enhance" the sky or underwater lighting at night so it appeared much lighter / bluer? Would this achieve the result, as time would be set to night e.g 23:00, so the artificial lighting of buildings would trigger?

 

I'm not sure if this is what your VisualV mod touches on?

 

Basically the requirement I have is that to make underwater appear lighter and bluer e.g extra sunny daytime, I would obviously need to set these as such, however I'm trying to also get some neon signs to light up / glow, which only does so at dark night time.

 

I get a feeling what i'm trying to figure might not yet be possible.

 

if you have already found out about some lines and parameters what they do and how to understand them could you add them here in the forum

Share this post


Link to post
Share on other sites
VenomV

Cheers CP. Maybe i'm thinking about it the wrong way. Is it possible to "enhance" the sky or underwater lighting at night so it appeared much lighter / bluer? Would this achieve the result, as time would be set to night e.g 23:00, so the artificial lighting of buildings would trigger?

 

I'm not sure if this is what your VisualV mod touches on?

 

Basically the requirement I have is that to make underwater appear lighter and bluer e.g extra sunny daytime, I would obviously need to set these as such, however I'm trying to also get some neon signs to light up / glow, which only does so at dark night time.

 

I get a feeling what i'm trying to figure might not yet be possible.

 

Looks like this Documentation died out great :(, i think i am useless, no timecycle documentation, i used my damn life for it! i think i used my time on something useles and ruined my life and i think its time to say goodbye to this world and escape from hell, bye guys see you in the other dimensional reality of the dead people

Share this post


Link to post
Share on other sites
_CP_

Cheers CP. Maybe i'm thinking about it the wrong way. Is it possible to "enhance" the sky or underwater lighting at night so it appeared much lighter / bluer? Would this achieve the result, as time would be set to night e.g 23:00, so the artificial lighting of buildings would trigger?

 

Night lighting is in light_artifical_ext_down and up parameters. I didn't modify underwater, but game is using a time cycle modifier too.

Share this post


Link to post
Share on other sites
VenomV

 

Cheers CP. Maybe i'm thinking about it the wrong way. Is it possible to "enhance" the sky or underwater lighting at night so it appeared much lighter / bluer? Would this achieve the result, as time would be set to night e.g 23:00, so the artificial lighting of buildings would trigger?

Night lighting is in light_artifical_ext_down and up parameters. I didn't modify underwater, but game is using a time cycle modifier too.

 

 

Ok Thanks but how do i make only the streetlights white?

Share this post


Link to post
Share on other sites
_CP_

Just look what's the difference:
VZxRQmvh.jpg

BD2gS8nh.jpg

Share this post


Link to post
Share on other sites
VenomV

Just look what's the difference:

VZxRQmvh.jpg

BD2gS8nh.jpg

 

Thats how i exactly want it, but i don't really know how to change those parameters i have zero experience with those so far

Share this post


Link to post
Share on other sites
_CP_

Night lighting is in light_artifical_ext_down and up parameters.

Share this post


Link to post
Share on other sites
VenomV

 

Night lighting is in light_artifical_ext_down and up parameters.

 

 

In timecycle 1 or 2 or 3? or in weather files, can you give me your parameters like an example of what to change and not to change

Share this post


Link to post
Share on other sites
_CP_

w_*.xml files (e.g. w_extrasunny.xml)

Share this post


Link to post
Share on other sites
VenomV

w_*.xml files (e.g. w_extrasunny.xml)

 

Ok thanks but can you show me your parameters I just want to compare yours to the old timecycle, so i can see what you made different, and what i can make different with another numbers

Share this post


Link to post
Share on other sites
_CP_

I changed these values to 1.400.

Share this post


Link to post
Share on other sites
VenomV

I changed these values to 1.400.

 

All of them?

Share this post


Link to post
Share on other sites
_CP_

Nope, only related to night, so it's first, second, twelve and thirteen value.

Share this post


Link to post
Share on other sites
VenomV

Nope, only related to night, so it's first, second, twelve and thirteen value.

 

 

Uh sorry if i am stupid and really bad at understanding and asking so many questions, I hope you are ok with that i am so sorry if i waste your time :(, anyway where's the night parameter and the one that are day parameter?

Share this post


Link to post
Share on other sites
VenomV

Nope, only related to night, so it's first, second, twelve and thirteen value.

 

 

Where's First, Second,Twelve, Thirteen Value?

Share this post


Link to post
Share on other sites
_CP_

First two values and last two values:

<light_artificial_ext_down_col_r> 1.0000 1.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 1.0000</light_artificial_ext_down_col_r>      <light_artificial_ext_down_col_g> 0.2800 0.2800 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.2800 0.2800</light_artificial_ext_down_col_g>      <light_artificial_ext_down_col_b> 0.0600 0.0600 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0600 0.0600</light_artificial_ext_down_col_b>

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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