-
Notifications
You must be signed in to change notification settings - Fork 223
Cars – Exhaust smoke
Ilja Jusupov edited this page May 10, 2020
·
3 revisions
Exhaust smoke template (incomplete)
Usable parameters:
SPREAD, GROW, STARTING_SIZE, SPAWN_OFFSET, LIFE, SPEED, INTENSITY, SPEED_THRESHOLD
Use two values rather than one. First one is for coasting, and second is for gas fully pressed (after GAS_LAG is applied)
[BASIC]
DIESEL_ENGINE = 0 ; or 1
[PARTICLES_FX_EXHAUST_...]
POSITION = -0.56, 0.28, -2.1 ; self explanatory
DIRECTION = 0, 0.3, -1 ; self explanatory
COLOR = 0.75,0.8,1 ; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 ; how long particles last in the air before disappearing
SPEED = 0.5, 1 ; how fast smoke particles fly from the exhaust
SPREAD = 0.25 ; initial spread of particles
STARTING_SIZE = 0.04 ; initial size of particles
SPAWN_OFFSET = 0.02 ; initial spawn point offset (length-wise)
INTENSITY = 0.3, 0.5 ; smoke intensity
TEMPERATURE_LAG = 1 ; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 ; speed at which the smoke disappears
Default values:
float2 p_spread_k = {0.25f};
float2 p_grow_k = {-0.4f};
float2 p_starting_size = {0.03f};
float2 p_spawn_offset = {0.02f};
float2 p_life = {1.6f, 2.f};
float2 p_speed = {0.4f, 0.8f};
float2 p_intensity = {0.2f, 0.4f};
float2 p_temperature_threshold = {40.f, 60.f};
float2 p_speed_threshold = {5.f, 20.f};```
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