Tremulous Forum
Media => Mapping Center => Topic started by: Mexel on August 29, 2007, 04:59:49 am
-
Interesting idea this is. "Tehpaper" over on the MG IRC had a light bulb moment when i showed him this pic:
(http://www.the-deft.com/siggies/Factorysneek.png)
Upon showing him this, he said it would be a great idea to have the tesla generator spark/trigger_hurt involved in that room. Which would be a sweet idea.
I looked at the shader, and trail for the tesla, and this idea proves to be somewhat complicated for me. So if anyone could help me getting 1) the shader to work right. 2) getting the trigger_hurt to work in sync with the tesla spark would be awesome!
[edit]Here's the shader for the tesla_bolt.jpg:
models/ammo/tesla/tesla_bolt
{
cull disable
{
map models/ammo/tesla/tesla_bolt.tga
blendfunc add
rgbGen vertex
tcMod scroll 0.2 0
}
{
map models/ammo/tesla/tesla_bolt.tga
blendfunc add
rgbGen wave sin 0 1 0 5
tcMod scroll 0.5 0
tcMod scale -1 1
}
}
and the bolt:
(http://www.the-deft.com/siggies/tesla_bolt.jpg)
For now I'd just like to get the shader to work right.
Any and all help is greatly appreciated. Thanks, Mexel.
PM me for contact information.[/code]
-
wow! 493KB for lame pics in a signature.
You get the 1. price.
-
/me takes a bow.
Now back to the topic at hand.
-
So I'm guessing that you want to have a lightning blot in that room... I'd actually make it a particle system.
-
See if i could get some help on a partcle system, even a mapping buddy to help me. Then i would do that. But i don't know the first thing about particle systems. :'<
-
No. Use the shader.
Make a brush that goes from one point to the other. Move it so one of the sides is in the center of where you want the bolt. Make that side set to the shader. Make all the other sides the Nodraw/Nonsolid shader.
Done. Add effects like tesla coil ambient sound to the room.
-
No. Use the shader.
Make a brush that goes from one point to the other. Move it so one of the sides is in the center of where you want the bolt. Make that side set to the shader. Make all the other sides the Nodraw/Nonsolid shader.
Done. Add effects like tesla coil ambient sound to the room.
Thanks Odin. I was tinkering with the particle systems, and i just can't get it to do what I'm thinking of. So I'll be using the shader.
-
No. Use the shader.
Make a brush that goes from one point to the other. Move it so one of the sides is in the center of where you want the bolt. Make that side set to the shader. Make all the other sides the Nodraw/Nonsolid shader.
Done. Add effects like tesla coil ambient sound to the room.
Thanks Odin. I was tinkering with the particle systems, and i just can't get it to do what I'm thinking of. So I'll be using the shader.
http://tremmapping.pbwiki.com/Trail+System is what you're looking for.
-
that sound is really anoing how abot just when you get zapped by it