Author Topic: Tesla-spark/Power cell room  (Read 5768 times)

Mexel

  • Posts: 95
  • Turrets: +7/-3
    • My old website is BACK!
Tesla-spark/Power cell room
« 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:


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:


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]

Caveman

  • Guest
Tesla-spark/Power cell room
« Reply #1 on: August 29, 2007, 07:23:29 am »
wow! 493KB for lame pics in a signature.
You get the 1. price.

Mexel

  • Posts: 95
  • Turrets: +7/-3
    • My old website is BACK!
Tesla-spark/Power cell room
« Reply #2 on: August 29, 2007, 07:33:31 am »
/me takes a bow.

Now back to the topic at hand.

Kaleo

  • Posts: 2098
  • Turrets: +176/-220
    • KaleoDesign
Tesla-spark/Power cell room
« Reply #3 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.
Quote from: Stannum
Thou canst not kill that which doth not live,
but you can blow it into chunky kibbles!
I has a cookie, and u can has a cookie, but i no givs u mai cookie...

Mexel

  • Posts: 95
  • Turrets: +7/-3
    • My old website is BACK!
Tesla-spark/Power cell room
« Reply #4 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. :'<

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Tesla-spark/Power cell room
« Reply #5 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.

Mexel

  • Posts: 95
  • Turrets: +7/-3
    • My old website is BACK!
Tesla-spark/Power cell room
« Reply #6 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.

p0m

  • Posts: 85
  • Turrets: +1/-0
Tesla-spark/Power cell room
« Reply #7 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.
img]http://img236.imageshack.us/img236/9799/userbar475207qy4.gif[/img]

blood2.0

  • Guest
no please no telsa sound
« Reply #8 on: September 14, 2007, 04:01:39 am »
that sound is really anoing how abot just when you get zapped by it