Jump to content

Home

And the rays of light poured through the window


Smart_Saber

Recommended Posts

Posted

I don't know where, but somehwhere in the game, there was a window, and there little rays of light coming from it. Not actual light, I'm almost certain it was just a texture, but I can't find the texture!If any one has used this on their map, could the direct my to the texture? Thanks.

 

--Smart_saber

Posted

Yeah, right. Last time I made something for someone I didn't know yet got pissed because it wasn't exactly what they wanted. You help someone, and they get demanding like that. I hate it.

Posted

Heh, um, so how does one make a shader? I certainly hope it's not with shaderEd (or whatever it's called. The one that's included in the package), because for some reason, it says I can't view the shaders if I don't have NT or 2000 (neither of which I have) and I don't think it will work if I try to make one.

Posted

You could just make it by hand, or use the Q3 Shader Editor. Problem with that is it doesn't support some of the new stuff that's added from the SOF2 code base.

Posted

bump. . .

 

also if anyone reads this i am using textures from a mvie that my friend gave me. they are bitmaps. when i changethem to jpegs they wont show up in radiant (it says that my textures have a space in them). thx fo rthe help

:sweating:

Posted

first use a paint program and make a gradient that fades from light gray (or some other color) to black. give it dimensions that are powers of two and name it beam.jpg and save it in textures/yourmap

 

and here's the shader:

 

textures/yourmap/lightbeam

{

qer_editorimage textures/yourmap/beam.jpg

q3map_nolightmap

surfaceparm nonopaque

surfaceparm nomarks

surfaceparm trans

surfaceparm nonsolid

 

{

map textures/yourmap/beam

blendFunc GL_ONE GL_ONE

rgbGen wave sin 0.05 0 0 0.2

tcMod turb 1 0.02 0 0.2

}

}

 

Alter the number in bold to get the right brightness you want (and you don't have to recompile each time you change it.)

 

This is a shader from my map, Yavin Twilight (there's a post about it.) Now that you've gained from my help, I fully expect you to download my map when it comes out. ;)

Posted

sorry silverwest but i dont use any paint program very much. how do you make a gradient (do you mean a grayscale)? and i guess microsoft paint wont be able to make a beam texture will it?

 

also can anyone help me with my other problem two posts up

Posted

I don't beleive you can make a gradiant with mspaint , its very limited and if I had to make anything with it ,other then something when I'm bored in class, I'd prolly kill myself

Posted

Well--actually--do you know what the two best things about XP are? (sarcastic post)

 

Paint and Notepad--really!--They have been re-amped and are MUCH more powerful than before.

Posted

rex i cant get this to work i put the texture on where i want the beam to go but it just shows up as the texture repeated. do i need to have all surfaces of the beam be covered? and will this only work on light emitting surfaces? and i feel dum :3headed:

 

 

just explain a little bit about whati do next and i would REALLY appreciate it.

Posted

ok i figured a lot out on my own but when i load the map fortesting it just comes out as a black shader with white lines all over it. it isnt solid so i know the shader text is right i just cant see it. any thoughts or help.

Posted

ok use the red and black shader, not the beam texture.

you will need to modify the shader in notepad so it shows the name of your map. Also, put the textures in a .PK3

Posted

i changed the shader file already. and like i said in my map it only shows up as a blackshader with little white lines on it.

 

it doent look like the black and white texture you gave (i hink thats what you think) it comes out like this when shaders dont show up (all black with white lines) so basically everything works but it wont show up in my map.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...