Precipitation question

For all topics related to using or installing radiant
Post Reply
RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Precipitation question

Post by RedSnappa »

Tell me if I am reasoning correctly here.

For precipitation, we know that enablePrecip 0 is off, enablePrecip 1 is rain and enablePrecip 2 is snow. I would reason that there are two binary values here, one for rain and one for snow. So 00 is off, 01 is rain and 10 is snow. 11 should turn on rain and snow. Therefore enablePrecip 3 should be a wintry mix of rain and snow. Values higher than 3 would invoke a third binary value which would have unknown effects.
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

User avatar
theRipper
Posts: 223
Joined: Tue Aug 30, 2011 1:57 pm
Contact:

Re: Precipitation question

Post by theRipper »

have you tested?
Image

RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Re: Precipitation question

Post by RedSnappa »

Just tested. enablePrecip 3 seems to just make snow.
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

bludshot
Posts: 111
Joined: Fri Sep 23, 2011 12:12 am

Re: Precipitation question

Post by bludshot »

enablePrecip is likely just an integer, not some kind of bitwise thing. Less than 1 equals off, 1 equals rain, greater than 1 equals snow (Most likely, you could test).

User avatar
Rayne
Site Admin
Posts: 624
Joined: Wed Aug 17, 2011 5:22 pm

Re: Precipitation question

Post by Rayne »

Blud is right.
Just take a look at _cs and _rs entity keys.

User avatar
Delirium
Posts: 366
Joined: Sat Aug 27, 2011 8:37 am
Location: Auckland, New Zealand

Re: Precipitation question

Post by Delirium »

0 = none
1 = rain
2< = snow
Image

User avatar
ValkoVer
Posts: 176
Joined: Mon Aug 22, 2011 11:01 am
Location: Poland

Re: Precipitation question

Post by ValkoVer »

For some crazy weather effects, You can use particle studio (it could be laggy though)

Post Reply