Difference between revisions of "Time cycle"

From GTAMods Wiki
Jump to navigation Jump to search
(TimeCyc.dat Structure (Section Name, Section Type))
(WaterRGBA (Color4))
Line 80: Line 80:
 
===WaterRGBA (Color4)===
 
===WaterRGBA (Color4)===
 
Controls the color of the water. On the pc version of the game, the water texture is greenish-blue. It needs to be converted to grayscale to fully see the effect of changing the water color in the timecyc.dat, as the colors defined in this file, are multiplied by the water texture color ingame.
 
Controls the color of the water. On the pc version of the game, the water texture is greenish-blue. It needs to be converted to grayscale to fully see the effect of changing the water color in the timecyc.dat, as the colors defined in this file, are multiplied by the water texture color ingame.
 +
The last part of RGBA, the A, is the alpha channel and it controls the level of transparency for the water. 0, will make the water totally transparent, while 255 will make the water as opaque as the game will allow.
  
 
[[Category:Map Formats]] [[Category:GTA 3]] [[Category:GTA VC]]
 
[[Category:Map Formats]] [[Category:GTA 3]] [[Category:GTA VC]]

Revision as of 22:57, 20 August 2006

Introduction

This document only covers gta3 and vice city at the moment.

The timecyc.dat file contains the information for how to display the sky, weather effects and time of day. It is broken into the many sections. There is one line of data per hour in the game, per weather type. In the Vice City timecyc.dat, there is an extra section at the bottom of the file named "EXTRACOLOURS". These extra colours are used for building interiors, but should function the same.

Note: A comment in the timecyc.dat file is preceded by a series of slashes ("//") and they will precede each type of weather, and time of day in the file.

TimeCyc.dat Structure (Section Name, Section Type)

Amb (Color)

Coming soon.

Amb_Obj (Color)

Controls the amount of ambient light on dynamic objects, like streetlamps and mailboxes.

Amb_Bl (Color)

Coming soon.

Amb_Obj_bl (Color)

Coming soon.

Dir (Color)

Coming soon.

Sky top (Color)

Coming Soon.

Sky bot (Color)

Coming Soon.

SunCore (Color)

Coming Soon.

SunCorona

Coming Soon.

Sky top

Coming Soon.

SunSz

Coming Soon.

SprSz

Coming Soon.

SprBght

Coming Soon.

Shdw

Coming Soon.

LightShd

Coming Soon.

PoleShd

Coming Soon.

FarClp

Coming Soon.

FogSt

Coming Soon.

LightOnGround

Coming Soon.

LowCloudsRGB (Color)

Coming Soon.

TopCloudRGB (Color)

Coming Soon.

BottomCloudRGB (Color)

Coming Soon.

BlurRGB (Color)

Coming Soon.

WaterRGBA (Color4)

Controls the color of the water. On the pc version of the game, the water texture is greenish-blue. It needs to be converted to grayscale to fully see the effect of changing the water color in the timecyc.dat, as the colors defined in this file, are multiplied by the water texture color ingame. The last part of RGBA, the A, is the alpha channel and it controls the level of transparency for the water. 0, will make the water totally transparent, while 255 will make the water as opaque as the game will allow.