User login

Navigation

Poll

I downloaded the ETQW demo and....
...I'm too busy playing for polls.
0%
...it's awesome.
60%
...it's okay, I expected better.
20%
...I'm lost in the valley, anyone have a map?
0%
...my machine won't run it. :-(
20%
Total votes: 5

Who's online

There are currently 0 users and 32 guests online.

Welcome to RUST | Gamedesign.net

Falling leaves!

Submitted by skinmaster on Wed, 2004-08-18 05:06.

Falling Leaves
by Jon Eriksson

This is a nice effect that Quake 3 Arena allows you to have, Falling leaves.


First, you need a texture that looks something like this:

Now select the "leaves", and save it. I saved mine as mytextures/le.tga. Now, over to the Scripting part.

Open notepad and type this:

textures/mytextres/leav
{
    qer_editorimage textures/mytextures/le.tga
    surfaceparm nonsolid
    surfaceparm trans
    cull none
    deformVertexes wave 30 sin 0 10 0 .2
    nopicmip
    {
        map textures/mytextures/le.tga
        tcMod scale 2 2
        blendFunc GL_ONE GL_ZERO
        alphaFunc GE128
        depthWrite
        rgbGen identity
        tcmod scroll 0 .25
    }
    {
        map $lightmap
        rgbGen identity
        blendFunc GL_DST_COLOR GL_ZERO
        depthFunc equal
    }
}

Now save it under your baseq3/scripts directory. I saved mine as "my.shader", remember to call it *.shader. Load up Qeradiant, and apply the texture "mytextures/leav" to an object, and compile.

RUST | Gamedesign.net is your source for all the latest game-editing news and tutorials. If you are seeing this message, this means that you are using a browser that does not support CSS. Please upgrade your browser and enjoy your stay at RUST and if you have any questions, comments, or suggestions, please contact a site administrator.