PDA

View Full Version : Diffuse light beams


smackshack180
07-02-2002, 12:32 AM
*pardon my double posting (i posted this in the general editing forum as well), but the forum seems over run by excess inquiries that i felt my thread might not get seen, so here i've doubled my chances*

Hello,

i am trying to make a beam of light that comes off of a light and spreads out la

http://www.smackshack180.8m.com/beam8.jpeg
(sorry, but it was the only example pic i could find. its from bubba's arena on planetquake)

i know the basics regarding these lights, problem is, i don't believe JO has an adequate texture for this purpose. so, i made my own, somewhat in the style used to do these things in the original JK.

here is my texture:
http://www.smackshack180.8m.com/beam.jpg

but, it doesn't show up at all how it should in game:

http://www.smackshack180.8m.com/beamscrn.jpg
(the top's a bit bright due to the entity light place near there)

I'm guessing this is due to there not being a shader for this texture, however i am extremely naive with regards to what needs to be done in shaderEd to bring about a transparent-like beam :)

Any enlightenment would be nice, thanks

Hubris
07-02-2002, 07:54 PM
Heres's an example:


textures/blahblahblah/beam
{
surfaceparm trans
surfaceparm nomarks
surfaceparm nonsolid
q3map_nolightmap
cull none
{
map textures/blahblahblah/beam
tcMod Scroll .3 0
blendFunc add
}


}

There's a bunch of maps out there now using the beam texture, download them, and take a look at their shader for an example if you don't get it from that.

RelFexive
07-04-2002, 06:33 PM
By the look of the last image, it's possible you are not in pure mode.

This is where you enter "sv_pure 1" at the console or put it in the command line of the shortcut; it makes the system use files like textures and shaders that are not in pk3 files.

This only matters when the files are not packed up in the pk3 files; when your map is sent out in it's pk3 file the textures and shaders will work properly.

Of course, if you are already doing this, then I've not been much help :)

Try looking at THIS THREAD (http://64.246.44.70/~lucasforums.com/showthread.php?s=&threadid=56778) for more help.