Difference between revisions of "TCYC"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by 2 users not shown)
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)
+
The second to last value is ignored by the game and can even be omitted between falloffDist and lodDistMult (default 1.0)
 +
The last three values are optional. If they're omitted, the default values are used.
 +
{{Pre|
 +
tcyc
 +
X1, Y1, Z1, X2, Y2, Z2, farClip, extraColor, extraColorIntensity, falloffDist, unused, lodDistMult
 +
end
 +
}}
 +
 
 +
{|class="wikitable center-col-1 center-col-2" style="width: 100%;"
 +
!style="width: 3em;"|{{Icon|SA}}
 +
!style="width: 12em;"|Identifier
 +
!style="width: 6em;" |Type
 +
!Description
 +
|-
 +
| A, B, C, D, F, G || X1, Y1, Z1, X2, Y2, Z2 || float[6] || The first six values define the box in which these modifications are used.
 +
|-
 +
| H || farClip || integer || This basically overrides the farclip from the current cycle.
 +
|-
 +
| I || extraColor || integer || Selects one of the timecycle's extra colors.
 +
|-
 +
| J || extraColorIntensity || float || an interpolation value between the specified extraColor and the current weather (0 means no extraColor).
 +
|-
 +
| K || falloffDist || float || is the size of the region around the box in which to interpolate between the box' and the outside weather (default 100.0).
 +
|-
 +
| L || [unused] || float ||
 +
|-
 +
| M || lodDistMult || float || A multiplier for the low LOD draw distance (default 1.0).
 +
|}
  
This can also be used to apply SF weather onto certain areas.
 
  
 
==External link==
 
==External link==

Latest revision as of 14:50, 16 April 2021

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:

The second to last value is ignored by the game and can even be omitted between falloffDist and lodDistMult (default 1.0) The last three values are optional. If they're omitted, the default values are used.

tcyc
X1, Y1, Z1, X2, Y2, Z2, farClip, extraColor, extraColorIntensity, falloffDist, unused, lodDistMult
end
San Andreas Identifier Type Description
A, B, C, D, F, G X1, Y1, Z1, X2, Y2, Z2 float[6] The first six values define the box in which these modifications are used.
H farClip integer This basically overrides the farclip from the current cycle.
I extraColor integer Selects one of the timecycle's extra colors.
J extraColorIntensity float an interpolation value between the specified extraColor and the current weather (0 means no extraColor).
K falloffDist float is the size of the region around the box in which to interpolate between the box' and the outside weather (default 100.0).
L [unused] float
M lodDistMult float A multiplier for the low LOD draw distance (default 1.0).


External link