Author Topic: How would I make an outside area give you damage?  (Read 5894 times)

Evoc

  • Posts: 127
  • Turrets: +13/-12
How would I make an outside area give you damage?
« on: August 11, 2008, 06:30:32 am »
Hey, Evoc again. I know I am posting quite a few topics, but as all of the topics are unrelated, I'd like to keep them separate, so that each topic can stay "focused." Please, no flaming. Thanks.

How would I go about making an outside area give damage, like on Pulse? I am assuming that I would use trigger_hurt, but this may not be the case and I would like to confirm whether it is or not. If it isn't the case, please explain thoroughly what I would need to do. If I would use trigger_hurt, my questions are the following: How would I set it up (please remember to explain how to make it give X amount of damage a second)? and Is "trigger_hurt" a "noclipped" brush, and by this I mean can humans and aliens just walk through it? Thanks again.
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

n.o.s.brain

  • Posts: 339
  • Turrets: +1337/-24
    • youtube page
Re: How would I make an outside area give you damage?
« Reply #1 on: August 11, 2008, 07:12:35 am »
soubok used some triggers which don't exist in the radiant def list, here is a map file of them.
make a brush, texture it with common/trigger, then press n and make it into a trigger_multiple entity, then target the appropriate target_hurt entity from pulse for the desired damage effect.

epsy

  • Posts: 205
  • Turrets: +8/-25
    • Armagetron Advanced!
Re: How would I make an outside area give you damage?
« Reply #2 on: August 11, 2008, 01:59:56 pm »
also note that currently you can't deal damage to multiple players with the same trigger_hurt
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

Survivor

  • Posts: 1660
  • Turrets: +164/-159
Re: How would I make an outside area give you damage?
« Reply #3 on: August 11, 2008, 02:56:03 pm »
I heard a moment ago that problem has been solved serverside by ===Troy===.
I’m busy. I’ll ignore you later.

n.o.s.brain

  • Posts: 339
  • Turrets: +1337/-24
    • youtube page
Re: How would I make an outside area give you damage?
« Reply #4 on: August 11, 2008, 03:24:12 pm »
it has, he just hasn't released it yet ;)

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: How would I make an outside area give you damage?
« Reply #5 on: August 11, 2008, 03:26:31 pm »
Wait, I am confused. What do you mean it can't deal damage to multiple players? On Pulse, everyone who is outside is damaged. You're saying only one person outside is damaged? Please clarify.
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

Survivor

  • Posts: 1660
  • Turrets: +164/-159
Re: How would I make an outside area give you damage?
« Reply #6 on: August 11, 2008, 03:44:27 pm »
well we know that brain, :p. And no, in no version of pulse damage is dealt by the same trigger_hurt to more than one person.
I’m busy. I’ll ignore you later.

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: How would I make an outside area give you damage?
« Reply #7 on: August 11, 2008, 03:49:09 pm »
OHH! Because trigger_hurt can only hurt one person at a time, the person who made pulse designed the entities that Brain provided me a link to so that more than one person can be damaged at the same time.

Is this correct?

Also, how then does ATCS damage multiple players when they touch the electric fence? Or do they only damage 1 player at a time? Or do they switch off? Also, how then does the map "highrise9" use the electric fields, do they only kill 1 player at a time?
« Last Edit: August 11, 2008, 04:17:12 pm by Evoc »
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

epsy

  • Posts: 205
  • Turrets: +8/-25
    • Armagetron Advanced!
Re: How would I make an outside area give you damage?
« Reply #8 on: August 11, 2008, 07:27:44 pm »
guess that you could use more trigger_hurts as a workaround
in highrise i think these are trigger_kills
(also, note that with recent qvms trigger_hurt does not affect players in godmode, so don't use trigger_hurt in places where you don't want curious players to see it all)
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

Survivor

  • Posts: 1660
  • Turrets: +164/-159
Re: How would I make an outside area give you damage?
« Reply #9 on: August 11, 2008, 09:06:10 pm »
kills are instant and have a high refresh, no worries there. As for several trigger_hurts overlayed, normally that would only result in a single player being hit by all of them = more hurtage
I’m busy. I’ll ignore you later.

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: How would I make an outside area give you damage?
« Reply #10 on: August 11, 2008, 11:43:37 pm »
Ah, I understand. Is it the same way for trigger_heal? And all of the other triggers for that matter?

Also, I tried to get the Pulse entities (thanks Brain!) to work, but I couldn't.

Also, what is Spawnflag 29?

Thanks.
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

==Troy==

  • Posts: 440
  • Turrets: +65/-67
Re: How would I make an outside area give you damage?
« Reply #11 on: August 12, 2008, 12:43:11 am »
Most of the triggers, once they are triggered "switch off" for that server-frame. I actually do not understand why soubok was using trigger_multiple, since it will not damage everyone just as well as trigger_hurt. There is currently no simple way of damaging all players at once.

And its ==Troy== :(


And all those statements about me fixing it are just rumours. do not beleive them.
« Last Edit: August 12, 2008, 12:45:09 am by ==Troy== »

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: How would I make an outside area give you damage?
« Reply #12 on: August 12, 2008, 02:51:36 am »
Hmm...so trigger_multiple only affects one player at once, even WITH the part that hurts you as a target that is linked to the trigger (target_hurt), rather than just having it as a trigger. Hmmm...

But then how did he pull the effect off on pulse?
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

==Troy==

  • Posts: 440
  • Turrets: +65/-67
Re: How would I make an outside area give you damage?
« Reply #13 on: August 12, 2008, 03:24:43 am »
he did not. There are just multiple triggers afaik.

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: How would I make an outside area give you damage?
« Reply #14 on: August 12, 2008, 06:12:05 am »
But then what if a person was standing on two of the triggers at once? Would that person receive double the damage?
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

Survivor

  • Posts: 1660
  • Turrets: +164/-159
Re: How would I make an outside area give you damage?
« Reply #15 on: August 12, 2008, 04:42:19 pm »
yes
I’m busy. I’ll ignore you later.