Jump to content

CaptainChar

Members
  • Posts

    699
  • Joined

  • Last visited

Posts posted by CaptainChar

  1. Entities 220: Lesson 4

    Rain and Snow (fx_rain, fx_snow)

    Outdoor maps are often complimented by a rain or snow effect. To create it, draw a brush that encompasses your entire outdoor area - you can use multiple brushes if you want. Then texture those brushes completely in system/outside. Then place an fx_rain or fx_snow within each system/outside brush. That's all there is to it! Rain! Snow!

    You can also edit the intensity of the rain or snow by adding the key count and a value. This could be useful if you want a specific area of your map to have extremely heavy rains...

    It is also important to note that weather effects do not work in MP.

     

     

    You will notice when you play that the rain seems very strange without any rain sounds. I guess that means you need to find an ambient rain mp3 somewhere, now doesn't it? (:

  2. I generally converted my PNG's to TGA's

     

    example of the shader I used, however if you open the TGA in photoshop, if there is black, it will show black, for my shader to work, the black must not be present and show a checkerboard pattern, this means the alpha is present in the actual texture. figured i'd share the Shader I used:

     

    textures/cvrace/fence

    {

    Cull none

    qer_editorimage textures/cvrace/fence.tga

    {

    map textures/cvrace/fence.tga

    blendFunc blend

    alphaFunc GT0

    depthWrite

    rgbGen identity

    }

    {

    map $lightmap

    rgbGen identity

    blendFunc GL_DST_COLOR GL_ZERO

    depthFunc equal

    }

    }

×
×
  • Create New...