Author Topic: need help with multiple trigger_hurt  (Read 8380 times)

soubok

  • Posts: 81
  • Turrets: +6/-0
    • http://soubok.googlepages.com/
need help with multiple trigger_hurt
« 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 !
 soubok -

soubok

  • Posts: 81
  • Turrets: +6/-0
    • http://soubok.googlepages.com/
need help with multiple trigger_hurt
« Reply #1 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 )
 soubok -

Survivor

  • Posts: 1660
  • Turrets: +164/-159
need help with multiple trigger_hurt
« Reply #2 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?
I’m busy. I’ll ignore you later.

Survivor

  • Posts: 1660
  • Turrets: +164/-159
need help with multiple trigger_hurt
« Reply #3 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.
I’m busy. I’ll ignore you later.

OverFlow

  • Posts: 386
  • Turrets: +44/-1
    • http://bobbin.vilkacis.net
need help with multiple trigger_hurt
« Reply #4 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.

Stof

  • Posts: 1343
  • Turrets: +1/-1
need help with multiple trigger_hurt
« Reply #5 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.
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

Survivor

  • Posts: 1660
  • Turrets: +164/-159
need help with multiple trigger_hurt
« Reply #6 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?
I’m busy. I’ll ignore you later.

soubok

  • Posts: 81
  • Turrets: +6/-0
    • http://soubok.googlepages.com/
need help with multiple trigger_hurt
« Reply #7 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 !
 soubok -

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
need help with multiple trigger_hurt
« Reply #8 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...

Survivor

  • Posts: 1660
  • Turrets: +164/-159
need help with multiple trigger_hurt
« Reply #9 on: June 28, 2006, 10:42:59 am »
He wrote the topic! Good morning vector  :)
I’m busy. I’ll ignore you later.

soubok

  • Posts: 81
  • Turrets: +6/-0
    • http://soubok.googlepages.com/
need help with multiple trigger_hurt
« Reply #10 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:
 soubok -

Survivor

  • Posts: 1660
  • Turrets: +164/-159
need help with multiple trigger_hurt
« Reply #11 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.
I’m busy. I’ll ignore you later.

soubok

  • Posts: 81
  • Turrets: +6/-0
    • http://soubok.googlepages.com/
need help with multiple trigger_hurt
« Reply #12 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.
 soubok -

soubok

  • Posts: 81
  • Turrets: +6/-0
    • http://soubok.googlepages.com/
bugzilla
« Reply #13 on: July 31, 2006, 10:57:34 am »
bug #2809 has been submitted about this  (https://bugzilla.icculus.org/show_bug.cgi?id=2809)
 soubok -