-
Notifications
You must be signed in to change notification settings - Fork 225
Tracks – Conditions
Some info on conditions (incomplete)
-
TIME
: time in seconds from 00:00. -
SUN
: sun angle in degress (0 for sun in zenith, 90 for sun at the horizon). -
YEAR_PROGRESS
: year progress from 0 to 1. -
YEAR_DAY
: day of the year from 1 to 356 (29 of Febuary is skipped, so you can bind certain dates after it without having to worry about it).If you need to bind a certain day, use lut:
[CONDITION_...] INPUT = YEAR_DAY LUT = (| 1=0 | 184=0 | 185=1 | 186=0 | 356=0 | ) ; 184th day is 4th of July
TODO: Add a better alternative to map certain values.
-
WEEK_DAY
: day of the week from 1 to 7. -
AMBIENT
: ambient-based brightness multiplier for lights (TODO: check why is it here). -
FOG
: fog intensity (TODO: check, might not work properly). -
RAIN
: rain intensity. -
FLAG_TYPE
: -
SPECTATORS
: percentage of spectators on a track, from 0 to 1. -
ONE
: always returns 1. -
HOLIDAY
: type of current holiday for fireworks and other festive effects.Could be of three main types:
- Global: trigger by system time, work everywhere;
- Regional: trigger by system time according to region in Windows settings, in some regions might not trigger at all;
- Track-based: trigger by time in-game if track is set to be in a certain region.
Currently supported holidays:
- 0: None;
- 1: New year (global);
- 2: Christmas (regional);
- 3: Victory Day (regional);
- 4: Independence Day (regional and track-based);
- 5: Halloween (regional and track-based);
- 6: Japan Fireworks Festival (regional and track-based);
- 7: Chinese New Year (regional and track-based);
- 8: Eid Al Adha (regional and track-based);
- 9: Guy Fawkes Night (regional and track-based).
Japan Fireworks Festival takes time in August, by default from 1st to 3rd of August. To change dates according to track’s prefecture, use
[PARTICLES_FX] JAPAN_AUGUST_FESTIVALS_INTERVAL = 1, 3
(default values).Let me know if there are other holidays you would want to see.
If you have any question or suggestions, please feel free to add a new issue.
- Enabling Extended Physics
- Aerodynamics
- Body Flex
- Custom Suspension Joints
- Driver Weight Shift for Karts
- Extra Turbo Options
- More Clutch Damage
- New Inputs for Dynamic Controllers
- Physics Scripts
- Setup Items Driven By Controllers
- Suspension
- Cosmic Suspension
- Tyre Types
- Enabling Extended Physics
- General Options
- Custom Raycasting
- Collision Parameters
- Dynamic Physics Objects
- Geometric colliders
- Surface Tweaks
- Extra FX Flags
- Extra FX Emissive
- Mesh Adjustments
- Model Replacements
- Shader Replacements
- Scene Queries
- UV2
- General Options
- Analog Instruments
- Animations
- Digital Instruments
- Emissive Objects
- Extra Switches
- Inputs
- LED panels
- Multichannel Emissives
- Vintage Tachometers
- Audio
- Brake Disc FX
- Deforming Bonnets
- Driver Model
- Exhaust Smoke
- Exhaust Flames
- Extra Lights
- Fake Shadows FX
- Local Cubemaps
- Mesh Splitting
- Miscellaneous Options
- Neck FX
- Node Adjustments
- Smart Mirror
- Sparks
- Tyres FX
- Visually Adjustable Wings
- Wheels
- Wobbly Bits
- Wobbly Wipers