10/13/2026 [22:45:28] GMT Home .:. Logout
Forums
Hardmaps.com :: Forums :: Map Making Forum :: Joint Operations
 
<< Previous thread | Next thread >>
Rain in JO
Moderators: Hardmaps Administrator, *HmS*Wedge, *HmS*grunt, *HmS*Trevor, *HmS*LongBow
Author Post
*HmS*Wedge
Sat Nov 13 2004
Captain Slow

Registered Member #3
Joined: Fri Dec 19 2003
Location: Scotland
Posts: 4651
You can have rain in JO but it will cause net lag and screen lag, especialy on lower end graphics cards and dial up.

Below is the code you can edit to get rain.

if random(3) then
fxrain(Effect_WaterDrip) ;makes lots of rain
fxrain(Effect_WaterDrip)
fxrain(Effect_WaterDrip)
fxrain(Effect_WaterDrip)

if random(5) then ;1 in 20 chanch of lightning
fxrain(effect_lightning)
flash
endif

endif

This doesn't really work well, unless you move around, and it causes a performance hit to the game, you'll slowly see your FPS get lower and lower. But it gives the basics on how the fxrain and the other wac rain commands work.

[ Edited ]
Back to top
Website
Godfather
Tue Nov 10 2009
Registered Member #2482
Joined: Tue Nov 10 2009
Posts: 6
could also just use the rain command, as such.

if never then
rain(20,60)
endif

Sets the rain to 20% and it will take 60 seconds for it to reach the 20%

Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
All trademarks are copyright their respective owners.
This site is best viewed using 1280-1024 screen resolution.
{THEMEDISCLAIMER}
Render time: 0.0497 sec, 0.0118 of that for queries.