Template:World Properties: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(World Properties Table (initial release))
 
m (Adjustment for dark themes)
Line 1: Line 1:
{| border="1" cellpadding="4" cellspacing="0" align="center"
{| border="1" cellpadding="4" cellspacing="0" align="center"
|-
|-
! scope="col" style="background:#afafaf;"|Property
! scope="col" style="background:#202122;"|Property
! scope="col" style="background:#afafaf;"|Type
! scope="col" style="background:#202122;"|Type
! scope="col" style="background:#afafaf;"|Description
! scope="col" style="background:#202122;"|Description
|-
|-
| scope="row"|'''AmbientColor'''
| scope="row"|'''AmbientColor'''

Revision as of 17:22, 13 October 2024

Property Type Description
AmbientColor RGB The color of ambient light on map objects (including custom objects)
AmbientObjColor RGB The color of ambient light on dynamically created elements (peds, vehicles)
DirectionalColor RGB The color of direct light on dynamically created elements (peds, vehicles)
Illumination FLOAT Multiplier for the directional light (DirectionalColor)
SpriteSize FLOAT Point lights corona size (traffic lights)
SpriteBrightness FLOAT Point lights corona brightness (also affects light on ground for light poles)
LightsOnGround FLOAT Point lights ground reflection brightness (traffic lights)
PoleShadowStrength INT Pole shadows alpha (used if volumetric shadows are disabled)
ShadowStrength INT Shadows alpha (all shadows)
ShadowsOffset FLOAT Shadows height
BottomCloudsColor RGB Bottom (normal) clouds color
CloudsAlpha INT Bottom (normal) clouds alpha
LowCloudsColor RGB Low (skyline) clouds color (dependent on game hours)
WetRoads FLOAT Wet roads weather effect (noticeable during driving)
Turns on lights on ground during daytime
Foggyness FLOAT Adds light fog effect for headlights and turns on lights on ground during daytime
Also affects skyline clouds and shadows visibility
Fog FLOAT Fog weather effect alpha
RainFog FLOAT Rain fog weather effect alpha (different fog; used in rain weathers) (reset is smooth)
WaterFog FLOAT Water fog alpha
Rainbow FLOAT Rainbow alpha
Sandstorm FLOAT Sandstorm sound volume (reset is smooth)