Light beam

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Zip
Major
Posts: 323
Joined: Wed Apr 09, 2003 6:47 pm
Location: Belgium

Light beam

Post by Zip »

I've been doing the light beam tutorial, but this is what mine looks like:

http://members.lycos.co.uk/zip1000/

Anyone know what i did wrong?
Zip :?
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Here is and example of what I did for my shader .
textures/mybeam/test1
{
qer_editorimage textures/mybeam/dustbeam5.tga
qer_keyword utility
qer_trans .4
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
sort additive
cull none
{
map textures/common/dust.tga
blendFunc add
rgbGen constant .15 .15 .15
tcMod scroll 0 .004 // was 0 -.1
tcMod scale 200 200 // was 4 4

}

}
the rgbconstant is how transparent it is also you I find adjusting the scale helped .
or this one
textures/mybeam/my_dustbeam3
{
qer_editorimage textures/mybeam/dustbeam4.tga
qer_keyword utility
qer_trans .4
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
sort additive
cull none
{
map $whiteimage
blendFunc add
rgbGen constant .005 .005 .005 //was .15
nextbundle
map textures/common/qer_volumetric_fade.tga
}
{
map textures/mybeam/dustbeam.tga
blendFunc add
rgbGen constant .2 .2 .2
tcMod scroll 0 .004 // was 0 -.1
tcMod scale 100 100 // was 4 4
nextbundle
map textures/common/qer_volumetric_fade.tga
}
}
I made several some with my own textures I think these two are ok I choose them because the use the textures in the game .
User avatar
Zip
Major
Posts: 323
Joined: Wed Apr 09, 2003 6:47 pm
Location: Belgium

Post by Zip »

It turned out I had the wrong textures :oops:

Thanks for the scripts though :wink:
Zip :?
Post Reply