Author Topic: How would you go about setting precipitation particles to a skybox  (Read 833 times)

Basically what the title says

I have a bunch of gradient skies I use, and none of them have any sort of precipitation at all what so ever. I would really like to be able to have a rain skybox and a snow one as well. The skybox pack has 14 seperate skies in the .zip and each with their own text file

So TL;DR - I have alot of skyboxes and I'd like to set precipitation to it

Also if there's a way to set the density of the precipitation, how fast it falls and etc, be sure to tell me please. Thank you for your time.

For rain, add this to your ATMOSPHERE file
Code: [Select]
$Rain::dropTexture Add-Ons/Sky_Slate_Storm/rain.png
$Rain::splashTexture Add-Ons/Sky_Slate_Storm/water_splash.png
$Rain::dropSize 0.75
$Rain::splashSize 0.2
$Rain::splashMS 250
$Rain::useTrueBillboards 0
$Rain::minSpeed 1.5
$Rain::maxSpeed 2
$Rain::minMass 0.75
$Rain::maxMass 0.85
$Rain::maxTurbulence 0.1
$Rain::turbulenceSpeed 0.2
$Rain::rotateWithCamVel 1
$Rain::useTurbulence 0
$Rain::numDrops 1800
$Rain::boxWidth 80
$Rain::boxHeight 50
$Rain::doCollision 1

For snow
Code: [Select]
$Rain::dropTexture base/data/specialfx/snow.png
$Rain::splashTexture base/data/specialfx/snow.png
$Rain::dropSize 0.35
$Rain::splashSize 0.0
$Rain::splashMS 0
$Rain::useTrueBillboards 1
$Rain::minSpeed 0.3
$Rain::maxSpeed 0.5
$Rain::minMass 0.75
$Rain::maxMass 0.85
$Rain::maxTurbulence 0.3
$Rain::turbulenceSpeed 0.1
$Rain::rotateWithCamVel 1
$Rain::useTurbulence 1
$Rain::numDrops 800
$Rain::boxWidth 100
$Rain::boxHeight 100
$Rain::doCollision 1

Thanks! I'll try this out when I get home

This worked perfectly, thank you!