Jump to content

Home

electric effects? how do i make them?


stuna213

Recommended Posts

strobes lights can be just lights with the right style setting i think or you could script them turning on/off

laser a .efx file would be best or a func_useable with the right kinda shader applied

something like this:(an unused shader from my map)

 

textures/vas_party/blue_gradient

{

qer_editorimage textures/vas_party/gradient

qer_trans 0.5

surfaceparm noimpact

surfaceparm nomarks

surfaceparm nonsolid

surfaceparm nonopaque

surfaceparm trans

q3map_nolightmap

{

clampmap textures/common/gradient

blendFunc GL_ONE GL_ONE

rgbGen const ( 0.000000 0.000000 1.000000 )

}

}

 

i think there are several electric style .efx files already ingame check them out

Link to comment
Share on other sites

uho now ive got another prob. okay when i make a fxrunner and give it a key of fxfile and a value of lasermp(one of the .efx files i found) it doesnt work. ive tried giving it a target_position and it still doesnt work! i also made sure the start off spawnflag isnt checked. thanks

Link to comment
Share on other sites

oh good im not alone! okay so to get the script to afffect the fx_runner would i just give it a key of script_targetname and a value of somethin like laser1 and then tell the script to effect laser1? i think that might work.

Link to comment
Share on other sites

ah no i think its where you clamp the texture so when the shader gets bigger and smaller (dunno why i made the shader do that i made it a bit back) so when it moves it doesnt repeat the shader it just streches it

Link to comment
Share on other sites

ah if you want to change the color of the effect just open the .efx file in notepad then to get the right RGB balue you can open up radient then make any entity and hit K to bring up the color thing, you then choose the color you want and then if you open up the entity properties you will see the key "_color" the value for that will be the RGB you want...

then you just find the right bracket in the .efx file it should look like this

 

rgb

{

start 0.0 0.2 0.6

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...