Tremulous Forum

Media => Mapping Center => Topic started by: soubok on June 16, 2006, 01:06:41 pm

Title: need help with multiple trigger_hurt
Post by: soubok on June 16, 2006, 01:06:41 pm
A trigger_hurt trigger cannot hurt more than one player/structure at the same time.
I have to make a big area (4096x4096) that damage the player.

The first solution is to split the big trigger into a lot of 32x32 triggers, however, this will result of a grid made of 16384 brushs !!!!!(!!!)...!
( more than 32x32 size will be useless with drecht that keep together )

Do you know another solution to make this ?? ( undocument flag on trigger_hurt, other trigger to dmg the player, ... )

Thanks for any help !
Title: need help with multiple trigger_hurt
Post by: soubok on June 17, 2006, 12:16:41 am
I have tried using trigger_heal with a negative heal value, but this generate an error and abort the map ( I have created Bug 2750 about this )
Title: need help with multiple trigger_hurt
Post by: Survivor on June 20, 2006, 01:43:02 am
I know trigger_hurt has that problem but i believe that the lava in q3 damaged all people at the same time. Maybe look at the shader properties of that for ideas?
Title: need help with multiple trigger_hurt
Post by: Survivor on June 20, 2006, 01:51:34 am
surfaceparm lava should do fast damage and surfaceparm slime slow?
You'd need to rewrite the outdoor texture to have one shade/undamaging one and one sun/damaging one with surfaceparm slime I suppose. Don't know how much damage it will do though. Or if timbo carried them over from q3.
And I suppose jetpacks won't have any trouble. Maybe make it like a waterbrush but try to keep movement normal so that anything in the brush gets damaged as if it were slime but the movement as if it were air? Don't think it's possible from what i remember but i'm just spouting of ideas.
Title: need help with multiple trigger_hurt
Post by: OverFlow on June 20, 2006, 03:17:27 am
There are some new entities in the next version of Trem that Timbo graciously added at my request, one of them being a 'target_hurt' entity.  Used in conjunction with a trigger_multiple, trigger_equipment, etc. it will hurt multiple things at the same time.
Title: need help with multiple trigger_hurt
Post by: Stof on June 20, 2006, 08:14:59 am
Myself, I would like having some kind of pain zone available. Lava and Slime properties make the brush water and you can swim in it when sometimes, I wanted only to cause damage to the player. And if the amount of damage per second could be configured too it would be good.
Title: need help with multiple trigger_hurt
Post by: Survivor on June 20, 2006, 02:47:32 pm
Quote from: "ERR:OverFlow"
There are some new entities in the next version of Trem that Timbo graciously added at my request, one of them being a 'target_hurt' entity.  Used in conjunction with a trigger_multiple, trigger_equipment, etc. it will hurt multiple things at the same time.


Do you know if togglable doors or any primitive logic are added as well?
Title: need help with multiple trigger_hurt
Post by: soubok on June 20, 2006, 03:41:30 pm
If you are talking about some kind of target_or and target_and, I totally agree with you !
Title: need help with multiple trigger_hurt
Post by: Vector_Matt on June 28, 2006, 01:50:10 am
Quote from: "soubok"
If you are talking about some kind of target_or and target_and, I totally agree with you !
See http://tremulous.net/phpBB2/viewtopic.php?p=9605 for some ideas on triggers etc...
Title: need help with multiple trigger_hurt
Post by: Survivor on June 28, 2006, 10:42:59 am
He wrote the topic! Good morning vector  :)
Title: need help with multiple trigger_hurt
Post by: soubok on July 06, 2006, 11:05:34 pm
it seems that target_hurt do not fix my issue  :(
With a trigger_multiple -> target_hurt system, if two players are in the same trigger_multiple, only one player is hurt.

EDIT: Good morning vector   :wink:
Title: need help with multiple trigger_hurt
Post by: Survivor on July 06, 2006, 11:16:57 pm
Of course that doesn't work since a trigger_multiple can be triggered only by one person at a time. Same way that multiple trigger_multiple will result in 1 person getting hit by several target_hurts. I think you'll really have to wait out for the new entities.
Still wonder why your target_print works with multiple people.
Title: need help with multiple trigger_hurt
Post by: soubok on July 07, 2006, 08:54:01 am
I have tried this on a server that use the new .qvm files (tremulous.bricosoft.com), but perhaps it is not enough, I will do more tests.
Title: bugzilla
Post by: soubok on July 31, 2006, 10:57:34 am
bug #2809 has been submitted about this  (https://bugzilla.icculus.org/show_bug.cgi?id=2809)