KFMOD TUTORIAL - WEATHER  (Read 4926 times)

Veica

  • 1337
  • *
  • Posts: 712
  • Country: ca
  • \m/
    • xS0NARx
    • VeicaNoriceia
KFMOD TUTORIAL - WEATHER
« on: March 28, 2012, 03:05 »
I will begin this tutorial assuming you at least have 2 subtracted brushes in your map, a light, textures for inside/outside areas, and that you want to add Rain to your map. Note: you can click the images to see them full-size.

BEFORE YOU START: Make sure you have WeatherEffects turned on in your Editor before you try this, as I had to do this my first time as well :D

Just go to (menu on top) View > Advanced Options > Display and set WeatherEffects to true

Just dumping this here, so that the thread gets frontpage on Google.
Code: [Select]
General protection fault!

History: AActor::SetZone <- Finishing <- ULevelFactory::FactoryCreateText
<- UUnrealEdEngine::edactPasteSelected <- UUnrealEdEngine::Exec_Edit
<- UUnrealEdEngine::Exec <- WEditorFrame::OnCommand <- WWindow::WndProc
<- WWindow::StaticProc <- MessagePump <- MainLoop


First thing you will want to do is go to Actors > xWeatherEffect, and place one in your map.







Next, open the Texture Browser and open EmitterTextures.utx.







Under the MultiFrame group, select the FinalBlend RainFB texture.







Next, open the properties for the xWeatherEffect, go to Display > Skins > click "Add," then click "Use." It should now show a layer with the RainFB texture selected, and you should now see beautiful floating blobs. You've pretty well already won the battle :)
(Note: you can use whatever textures you want, and whatever settings you want from this step onwards)







Now, still in the Properties window, go to xWeatherEffect and change these settings, depending on what weather effect you're using (WT_Rain, WT_Snow, WT_Dust). You may copy my settings (as I copied others :D ) for a general Rain effect.







Finally, to exclude the xWeatherEffect from certain areas: Make a normal Volume surrounding the space in which you want no weather (generally somewhere with a roof). Then under the Volume's properties, go to Event > Event, Tag and Volume > AssociatedActorTag and set them to NoRain. Then, open the xWeatherEffect properties one last time, and go to Event > set both Event and Tag to NoRain. Make sure the Event, Tag, and AssociatedActorTag of the volume are the same thing, otherwise this won't work. Note: I enhanced the area outside of the volume (where the sky is). The rain is still visible outside the volume, but not on the inside.




« Last Edit: April 11, 2012, 02:37 by Sonar »
Previously known as: xS0NARx, Njordr, Latte, or whatever the "name of the week" was.

Snipe34

  • 1337
  • *
  • Posts: 945
  • Country: au
Re: KFMOD TUTORIAL - WEATHER
« Reply #1 on: March 29, 2012, 00:06 »
I'm impressed,  great rain tutorial!