Quantcast

Jump to content

» «
Photo

[V] Timecycle Documentation

58 replies to this topic
IgorX
  • IgorX

    Peon

  • Members
  • Joined: 20 Aug 2009
  • None
  • Best WIP Mod 2014 [Grand Theft Auto 3D]

#1

Posted 24 November 2015 - 03:59 PM Edited by IgorX, 24 November 2015 - 04:14 PM.

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].[xml]

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.corecodin...ex-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

  • dehan, PacketOverload_x64bit, anthony and 6 others like this

tjoel2012
  • tjoel2012

    Player Hater

  • Members
  • Joined: 02 Dec 2015
  • Nicaragua

#2

Posted 11 December 2015 - 05:12 AM Edited by tjoel2012, 11 December 2015 - 05:17 AM.

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. :)


IgorX
  • IgorX

    Peon

  • Members
  • Joined: 20 Aug 2009
  • None
  • Best WIP Mod 2014 [Grand Theft Auto 3D]

#3

Posted 11 December 2015 - 11:44 AM

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.

  • tjoel2012 likes this

tjoel2012
  • tjoel2012

    Player Hater

  • Members
  • Joined: 02 Dec 2015
  • Nicaragua

#4

Posted 12 December 2015 - 01:28 AM

 

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! 


VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#5

Posted 27 March 2016 - 09:01 AM

 

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


VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#6

Posted 27 March 2016 - 02:27 PM

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].[xml]

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.corecodin...ex-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


fastman92
  • fastman92

    фастман92 | ف

  • Members
  • Joined: 28 Jul 2009
  • Poland
  • Best Conversion 2016 [GTA: Underground] [Contribution]
    Contribution Award [Mods]

#7

Posted 27 March 2016 - 02:40 PM

Someone should make In-game Timecyc Editor.


_CP_
  • _CP_

    Boss

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Most Helpful Modding 2016 [Runner-up]
    Best Vehicle 2016 [IVPack]
    Best Map 2013 "ViceCityStories PC Edition"

#8

Posted 27 March 2016 - 02:46 PM

Życzę powodzenia.
Good luck.

VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#9

Posted 27 March 2016 - 03:06 PM

Someone should make In-game Timecyc Editor.

 

won't be easy tho


FixingG00D
  • FixingG00D

    Los Santos Guerrilla Filmmaker

  • Members
  • Joined: 30 Apr 2015
  • United-Kingdom
  • [Snapmatic & R* Editor Awards 2015] Best Music Video

#10

Posted 27 March 2016 - 03:43 PM Edited by FixingG00D, 27 March 2016 - 03:43 PM.

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.


VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#11

Posted 27 March 2016 - 05:02 PM

Życzę powodzenia.
Good luck.

 

are you here to help?


VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#12

Posted 27 March 2016 - 05:47 PM

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


_CP_
  • _CP_

    Boss

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Most Helpful Modding 2016 [Runner-up]
    Best Vehicle 2016 [IVPack]
    Best Map 2013 "ViceCityStories PC Edition"

#13

Posted 27 March 2016 - 06:04 PM

@FixingG00D
Artifical light setiings are stored in models (.ydr) and we cannot open them yet.
  • PacketOverload_x64bit likes this

FixingG00D
  • FixingG00D

    Los Santos Guerrilla Filmmaker

  • Members
  • Joined: 30 Apr 2015
  • United-Kingdom
  • [Snapmatic & R* Editor Awards 2015] Best Music Video

#14

Posted 27 March 2016 - 08:04 PM

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.


VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#15

Posted 27 March 2016 - 08:43 PM

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


VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#16

Posted 01 April 2016 - 03:21 PM

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


_CP_
  • _CP_

    Boss

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Most Helpful Modding 2016 [Runner-up]
    Best Vehicle 2016 [IVPack]
    Best Map 2013 "ViceCityStories PC Edition"

#17

Posted 13 April 2016 - 09:59 AM

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.

VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#18

Posted 15 April 2016 - 01:00 PM

 

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?


_CP_
  • _CP_

    Boss

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Most Helpful Modding 2016 [Runner-up]
    Best Vehicle 2016 [IVPack]
    Best Map 2013 "ViceCityStories PC Edition"

#19

Posted 17 April 2016 - 08:46 AM

Just look what's the difference:
VZxRQmvh.jpg

BD2gS8nh.jpg

  • Fireboyd78, Mega and BlackScout like this

VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#20

Posted 22 April 2016 - 10:23 AM

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


_CP_
  • _CP_

    Boss

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Most Helpful Modding 2016 [Runner-up]
    Best Vehicle 2016 [IVPack]
    Best Map 2013 "ViceCityStories PC Edition"

#21

Posted 22 April 2016 - 10:27 AM

Night lighting is in light_artifical_ext_down and up parameters.


VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#22

Posted 22 April 2016 - 08:19 PM

 

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


_CP_
  • _CP_

    Boss

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Most Helpful Modding 2016 [Runner-up]
    Best Vehicle 2016 [IVPack]
    Best Map 2013 "ViceCityStories PC Edition"

#23

Posted 22 April 2016 - 08:23 PM

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

VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#24

Posted 22 April 2016 - 08:56 PM

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


_CP_
  • _CP_

    Boss

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Most Helpful Modding 2016 [Runner-up]
    Best Vehicle 2016 [IVPack]
    Best Map 2013 "ViceCityStories PC Edition"

#25

Posted 22 April 2016 - 09:07 PM

I changed these values to 1.400.

VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#26

Posted 22 April 2016 - 09:58 PM

I changed these values to 1.400.

 

All of them?


_CP_
  • _CP_

    Boss

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Most Helpful Modding 2016 [Runner-up]
    Best Vehicle 2016 [IVPack]
    Best Map 2013 "ViceCityStories PC Edition"

#27

Posted 22 April 2016 - 10:22 PM

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


VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#28

Posted 22 April 2016 - 10:56 PM

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?


VenomV
  • VenomV

    Player Hater

  • Members
  • Joined: 30 Jan 2016
  • Japan

#29

Posted 23 April 2016 - 03:19 PM

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

 

 

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


_CP_
  • _CP_

    Boss

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Most Helpful Modding 2016 [Runner-up]
    Best Vehicle 2016 [IVPack]
    Best Map 2013 "ViceCityStories PC Edition"

#30

Posted 23 April 2016 - 05:30 PM

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>
  • PacketOverload_x64bit and BlackScout like this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users