Difference between revisions of "TCYC"

From GTAMods Wiki
Jump to navigation Jump to search
m
(Corrected and completed documentation)
Line 8: Line 8:
  
 
This section applies a weather ID and certain modifiers to a zone.
 
This section applies a weather ID and certain modifiers to a zone.
The format:
+
The format of SA:
  
X1, Y1, Z1, X2, Y2, Z2, unknown, Weather ID (1 = extra color ID 1, 2 = extra color ID 2), brightness/opacity (-1 to disable), time (makes the zone use a specified time, e.g 1000 would be 10 AM, -1 to disable), draw distance (0 is short draw distance, 1 is normal draw distance)
+
X1, Y1, Z1, X2, Y2, Z2, farClip extraColor extraColorIntensity falloffDist [unused] lodDistMult
  
This can also be used to apply SF weather onto certain areas.
+
The first six values define the box in which these modifications are used.
 +
 
 +
extraColor selects one of the timecycle's extra colors.
 +
 
 +
extraColorIntensity is an interpolation value between the specified extraColor and the current weather (0 means no extraColor).
 +
 
 +
falloffDist is the size of the region around the box in which to interpolate between the box' and the outside weather (default 100.0).
 +
 
 +
The second to last value is ignored by the game and can even be omitted between falloffDist and lodDistMult (default 1.0).
 +
 
 +
lodDistMult is a multiplier for the low LOD draw distance (default 1.0).
 +
 
 +
The last three values are optional. If they're omitted, the default values are used.
  
 
==External link==
 
==External link==

Revision as of 08:40, 16 July 2017

TCYC (IPL section)
Short description:Modifies time cycle
Supported games:San Andreas GTA IV
IPL Sections:
2DFX AUZO BLOK CARS CULL ENEX GRGE
INST JUMP LINK LODM MLO+ MULT OCCL
PATH PICK RTFX SLOW TCYC VNOD ZONE

TCYC is a section in the item placement file in San Andreas and GTA IV.

This section applies a weather ID and certain modifiers to a zone. The format of SA:

X1, Y1, Z1, X2, Y2, Z2, farClip extraColor extraColorIntensity falloffDist [unused] lodDistMult

The first six values define the box in which these modifications are used.

extraColor selects one of the timecycle's extra colors.

extraColorIntensity is an interpolation value between the specified extraColor and the current weather (0 means no extraColor).

falloffDist is the size of the region around the box in which to interpolate between the box' and the outside weather (default 100.0).

The second to last value is ignored by the game and can even be omitted between falloffDist and lodDistMult (default 1.0).

lodDistMult is a multiplier for the low LOD draw distance (default 1.0).

The last three values are optional. If they're omitted, the default values are used.

External link