stuna213 Posted June 5, 2004 Share Posted June 5, 2004 okay im making a flight map and i thought it would be really cool to have lasers, strobe lights, and other electric effects. could anyone tell me how to make these effects. Link to comment Share on other sites More sharing options...
zag Posted June 5, 2004 Share Posted June 5, 2004 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 More sharing options...
stuna213 Posted June 5, 2004 Author Share Posted June 5, 2004 thanks, the .efx files would be in my assets1.pk3 file right? Link to comment Share on other sites More sharing options...
stuna213 Posted June 6, 2004 Author Share Posted June 6, 2004 ok i found em there in the assetse1.pk3 file. Link to comment Share on other sites More sharing options...
stuna213 Posted June 6, 2004 Author Share Posted June 6, 2004 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 More sharing options...
wedge2211 Posted June 6, 2004 Share Posted June 6, 2004 give it key: fxFile and value: effects/env/whatever.efx Link to comment Share on other sites More sharing options...
stuna213 Posted June 6, 2004 Author Share Posted June 6, 2004 oh thank you ill try that now Link to comment Share on other sites More sharing options...
stuna213 Posted June 6, 2004 Author Share Posted June 6, 2004 YES IT WORKS WOOT. okay it looks soo cool thanks Link to comment Share on other sites More sharing options...
stuna213 Posted June 6, 2004 Author Share Posted June 6, 2004 okay now how do i make the lasers move? is it possible? if i scripted it what would i do to make the script affect the actual laser and not a func_static? thanks for the help. Link to comment Share on other sites More sharing options...
zag Posted June 6, 2004 Share Posted June 6, 2004 hmmm im not sure you can script an fx_runner to move... i guess you want a brush with the right shader instead and script that as a func_static Link to comment Share on other sites More sharing options...
stuna213 Posted June 6, 2004 Author Share Posted June 6, 2004 oh ok yeah i guess a brush with the right shader. hmmmm i dont know how to make shaders. could you point me in the direction of a nice tutorial? thanks Link to comment Share on other sites More sharing options...
RoxStar Posted June 6, 2004 Share Posted June 6, 2004 Try to give the fx_runner and function_train value. Link to comment Share on other sites More sharing options...
stuna213 Posted June 6, 2004 Author Share Posted June 6, 2004 ummmmm could you explain that in english plz? thanks Link to comment Share on other sites More sharing options...
wedge2211 Posted June 6, 2004 Share Posted June 6, 2004 I don't know what he's talking about, but you can't mix two kinds of entities. I think a moving fx_runner could be scripted, though. Link to comment Share on other sites More sharing options...
stuna213 Posted June 7, 2004 Author Share Posted June 7, 2004 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 More sharing options...
RoxStar Posted June 7, 2004 Share Posted June 7, 2004 Originally posted by wedge2211 I don't know what he's talking about, but you can't mix two kinds of entities. I think a moving fx_runner could be scripted, though. Thats what I meant. Link to comment Share on other sites More sharing options...
stuna213 Posted June 8, 2004 Author Share Posted June 8, 2004 okay where would i find the shader that is on the saber blades? where would it be, and can i use it? thanks Link to comment Share on other sites More sharing options...
lauser Posted June 8, 2004 Share Posted June 8, 2004 { clampmap textures/common/gradient blendFunc GL_ONE GL_ONE rgbGen const ( 0.000000 0.000000 1.000000 ) } } Wth is clampmap Zag? I know map.....but clampmap? Is that a typo? Link to comment Share on other sites More sharing options...
zag Posted June 8, 2004 Share Posted June 8, 2004 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 More sharing options...
stuna213 Posted June 8, 2004 Author Share Posted June 8, 2004 hmmm i guess noone knows about the saber shaders. Link to comment Share on other sites More sharing options...
zag Posted June 9, 2004 Share Posted June 9, 2004 arent sabers effects? i assumed they were shaders with that 360 rotate view thing Link to comment Share on other sites More sharing options...
stuna213 Posted June 9, 2004 Author Share Posted June 9, 2004 yeah i guess maybe they are effects. oh well. okay so i can make a blue laser(like the one on the tripmines) but how do i make other colored lasers? can it be done? Link to comment Share on other sites More sharing options...
wedge2211 Posted June 9, 2004 Share Posted June 9, 2004 You could use the program EffectsEd that came with the JA SDK to directly edit the tripmine laser and make it a different color. I've never done that though, so I'm not precisely sure how. Just poke around in EffectsEd. Link to comment Share on other sites More sharing options...
stuna213 Posted June 10, 2004 Author Share Posted June 10, 2004 thanks ill try that Link to comment Share on other sites More sharing options...
zag Posted June 10, 2004 Share Posted June 10, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.