Files

> > CS2D > Lua Scripts > ⛅Dynamic Clouds System v1.0.1
Files overviewCS2D overviewLua Scripts overview

English ⛅Dynamic Clouds System v1.0.1 >

2 comments52 kb, 10 Downloads

old ⛅Dynamic Clouds System v1.0.1

_Lima_
User Off Offline

INFO
An advanced, fully customizable Lua engine that adds real-time cloud and sky dynamics to CS2D. From light scattered clouds to dense overcast skies and thunderous storms, it delivers rich atmospheric depth and full day/night cycle integration.

🌩️ Cloud Modes
• Clear: Full visibility with clear skies.
• Wind: Light, fast-moving scattered clouds.
• Cloudy: Dense clouds spawning in singles, clusters, and fronts.
• Fog: Low-altitude fog tracking active player positions.
• Storm: Dark skies, rapid wind gusts, lightning strikes, and thunder audio.

⚙️ Features & Mechanics
• Seamless Fading: Cloud types transition smoothly with crossfading opacity.
• Wind System: Wind continuously changes direction and boosts speed during gusts.
• Storm Effects: Spawns cloud/ground lightning, delayed thunder sound, and rare ball lightning.
• Day/Night Cycle: Clouds and ground shadows automatically adapt to sv_daylighttime.
• Player Visibility: Fog and clouds turn transparent when players walk under them.

🎛️ Full Customization
Everything is easily tuned via a clean setup block at the top of the script:
• Assets: Custom sprite paths (clouds, lightning, flare) and thunder sound files.
• Timers: Duration for cloud modes and crossfade speeds.
• Limits: Min/Max cloud and fog spawning counts per mode.
• Atmosphere: Wind speed ranges, gust intervals, and storm multipliers.
• Lightning: Strike frequencies, ball lightning chance, and flash settings.
• F2 Menu: Toggleable in-game menu for testing modes and daylight time.

🆕 Latest Update Highlights (v1.0.1)
ADDED
Shadows-Only Mode: Config option (renderOnlyShadows) to render ground shadows exclusively, hiding cloud sprites while preserving atmospheric dynamics.
ADDED
Storm Palette Variance: Configurable storm tinting with custom chances for classic dark, purple, and indigo-blue clouds.
CHANGED
Smooth Wind Transitions: Wind direction and speed now transition smoothly and naturally during mode changes.

Created by Lima • Developed with Gemini (2026)
edited 9×, last 20.08.26 12:12:16 pm
Approved by BcY

Download Download

52 kb, 10 Downloads

Comments

2 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

BcY
Reviewer Off Offline

Wow! A decent idea!
I like it!

old

Masea
Super User Off Offline

Nice. A boolean setting to render only shadows would also be useful.
I like it!
To the start Previous 1 Next To the start