Page 1 of 1

Moving trigger_hurt

Posted: Sat Jul 14, 2018 4:35 am
by Ganemi
Is it possible to do this in idtech3? Have, say, a moving gas that is represented by a box move and do damage to players?

Re: Moving trigger_hurt

Posted: Sat Jul 14, 2018 6:54 am
by KittenIgnition
You can't move a trigger_hurt, for the obvious reason that it's already an entity. However, you can move a lava or slime shader, and those are the only shaders that can cause damage. They also cause damage in a specific way that cannot be modified (simply): if you are completely submerged, you take significantly more damage. And you can't choose how much damage is dealt.

So... sort of?

Re: Moving trigger_hurt

Posted: Sat Jul 14, 2018 8:08 am
by Obsessed
However, you can move a lava
+1, notorious q2dm3 ("The Frag Pipe") for example.

Re: Moving trigger_hurt

Posted: Sat Jul 14, 2018 12:41 pm
by Eraser
KittenIgnition wrote: However, you can move a lava or slime shader, and those are the only shaders that can cause damage
This can't be done.
Any surfaceparm shader instructions that define the contents of the brush are hard baked into the map at compile time. That means the area that hurts the players (and added effects like sounds played when entering the liquid or leaving it or the view warping effect while submerged in a liquid) isn't actually moving with the brush itself. It stays in the area the brush originally covered before moving (sort of, the player-hurting effect itself appears to become disabled once the brush moves).

I once tried to create a pool of water where the water level can be raised and lowered once, but I gave up on that because of these oddities.

Re: Moving trigger_hurt

Posted: Sat Jul 14, 2018 12:50 pm
by Eraser
Obsessed wrote:However, you can move a lava
+1, notorious q2dm3 ("The Frag Pipe") for example.
Quake 2 isn't Quake 3 though :(

Re: Moving trigger_hurt

Posted: Sat Jul 14, 2018 1:30 pm
by Obsessed
@ Eraser, yep, you're right! :miffed: :q2: != :q3:

Re: Moving trigger_hurt

Posted: Sat Jul 14, 2018 10:33 pm
by KittenIgnition
Alright yeah, all my testing is done in Defrag, and I often forget just how much it changes. Movers can be lava or acid, and they work as you would think. Baseq3 seems to not, sadly :(

Re: Moving trigger_hurt

Posted: Sun Jul 15, 2018 4:14 am
by LDAsh
These kind of things can be faked with the "shooter" entities, but requires a custom (invisible/silent) projectile, which I don't remember being too hard to set up.

Re: Moving trigger_hurt

Posted: Sat Jul 21, 2018 8:19 am
by Ganemi
If anyone else can confirm or demonstrate that it could be faked I'd be into trying my hand at making a new map asap.

Re: Moving trigger_hurt

Posted: Mon Aug 27, 2018 3:14 am
by RojaN Returned
If you search downthread to 2016, you'll see a map I posted called "Outrage.(an ancient version of it, anyway)" This has a func_button that goes to a trigger_hurt (among other things, via a trigger_multiple), which is set to start_off as well as toggle.

It doesn't move, but it does at least activate and deactivate. You might be able to get a few "frames" of pseudo-animation by a couple of these triggers setting off the hurts in different places. So long as you don't need anything too fancy. The apparent motivating "cloud" you would create separately in the same space.

Just a thought.