hurt player

hurt player

Re: hurt player Posted by Koa on Sat Apr 3rd 2004 at 4:29pm
Koa
27 posts
Posted 2004-04-03 4:29pm
Koa
member
27 posts 3 snarkmarks Registered: Feb 24th 2004
Two questions here.

First, I wanted to make a laser, and found this tut here. http://www.snarkpit.com/editing.php?page=tutorials&game=HL&id=51

1. How can you make a laser hurt a player?

Second, Ive noticed you can fall an extemly long distance in TFC with little consiquence to your health.
I'm looking for a way to hurt a player by touching a brush. Didnt there use to be a trigger_hurt? My fgd doesnt seem to have that. I could use this a lot of ways, for example, i want a fall down a dark elevator shaft to kill you. Maybe this is answered with my first question?

2. How do you hurt a player?

TIA
Re: hurt player Posted by fraggard on Sat Apr 3rd 2004 at 4:33pm
fraggard
1110 posts
Posted 2004-04-03 4:33pm
fraggard
member
1110 posts 220 snarkmarks Registered: Jul 8th 2002 Occupation: Student Location: Bangalore, India
Koa said:
1. How can you make a laser hurt a player?

2. How do you hurt a player?
1) Set the damage/second value in the env_beam entity to some value other than 0.

2) Trigger_hurt should be available even in TFC. If your FGD doesn't have it, try copy-pasting it from your HL FGD. It can't hurt :/
Re: hurt player Posted by Orpheus on Sat Apr 3rd 2004 at 4:33pm
Orpheus
13860 posts
Posted 2004-04-03 4:33pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Koa said:
Two questions here.

First, I wanted to make a laser, and found this tut here. http://www.snarkpit.com/editing.php?page=tutorials&game=HL&id=51

1. How can you make a laser hurt a player?

Second, Ive noticed you can fall an extemly long distance in TFC with little consiquence to your health.
I'm looking for a way to hurt a player by touching a brush. Didnt there use to be a trigger_hurt? My fgd doesnt seem to have that. I could use this a lot of ways, for example, i want a fall down a dark elevator shaft to kill you. Maybe this is answered with my first question?

2. How do you hurt a player?

TIA
post it twice then :rolleyes:

but the answer to both, is a trigger brush set to func_hurt i think it is..

whatever the entities name, you can set the damage from a tickle, to instafrag..
Re: hurt player Posted by Koa on Sat Apr 3rd 2004 at 4:39pm
Koa
27 posts
Posted 2004-04-03 4:39pm
Koa
member
27 posts 3 snarkmarks Registered: Feb 24th 2004
You know, Its funny how actually posting gets your mind going. As soon as I wrote something about an FGD, I remembered I had edited mine a week or so ago, to accomodate switchable text lights. So, I went and looked, and I evidently corrupted it slighlty. Trigger_hurt wasnt showing up in the menu as a brush based entity. (it is now) Thanks

And ok, In the future I'll post seperate questions as seperate threads. I thought I was conserving space. :smile:

Thanks
Re: hurt player Posted by Leperous on Sun Apr 4th 2004 at 4:57am
Leperous
3382 posts
Posted 2004-04-04 4:57am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Well both questions are on pretty much the same topic, so yes it's more 'concise' this way for everyone :smile: