Tremulous Forum

Media => Mapping Center => Topic started by: Mexel on August 29, 2007, 04:59:49 am

Title: Tesla-spark/Power cell room
Post 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:
Code: [Select]
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]
Title: Tesla-spark/Power cell room
Post by: Caveman on August 29, 2007, 07:23:29 am
wow! 493KB for lame pics in a signature.
You get the 1. price.
Title: Tesla-spark/Power cell room
Post by: Mexel on August 29, 2007, 07:33:31 am
/me takes a bow.

Now back to the topic at hand.
Title: Tesla-spark/Power cell room
Post by: Kaleo on August 29, 2007, 10:29:46 am
So I'm guessing that you want to have a lightning blot in that room... I'd actually make it a particle system.
Title: Tesla-spark/Power cell room
Post by: Mexel on August 30, 2007, 01:48:06 am
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. :'<
Title: Tesla-spark/Power cell room
Post by: Odin on August 30, 2007, 06:36:10 am
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.
Title: Tesla-spark/Power cell room
Post by: Mexel on August 30, 2007, 06:34:45 pm
Quote from: "Odin"
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.
Title: Tesla-spark/Power cell room
Post by: p0m on August 31, 2007, 11:50:13 am
Quote from: "Mexel"
Quote from: "Odin"
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.
Title: no please no telsa sound
Post by: blood2.0 on September 14, 2007, 04:01:39 am
that sound is really anoing how abot just when you get zapped by it