Difference between revisions of "Talk:Trigger hurt"

From Valve Developer Community
Jump to: navigation, search
m
(Damage from player)
 
Line 28: Line 28:
 
:: I managed to figure it out, actually. It doesn't really register the kills as yours, but it adds a point to counter the suicide of those in jail and gives the user a point for each kill. It was complicated, therefore I provided a prefab for those who come across this and want to implicate this. --[[User:Blackquaza|Quaza]] 23:28, 13 Dec 2008 (PST)
 
:: I managed to figure it out, actually. It doesn't really register the kills as yours, but it adds a point to counter the suicide of those in jail and gives the user a point for each kill. It was complicated, therefore I provided a prefab for those who come across this and want to implicate this. --[[User:Blackquaza|Quaza]] 23:28, 13 Dec 2008 (PST)
 
::[http://142.22.117.14/students/2009/dakotablackwell/TK/kill_jail.zip PREFAB HERE]
 
::[http://142.22.117.14/students/2009/dakotablackwell/TK/kill_jail.zip PREFAB HERE]
 +
:::Link is dead. Anyone ever refigured it out?[[User:Loudslappingsounds|Loudslappingsounds]] ([[User talk:Loudslappingsounds|talk]]) 04:51, 12 September 2019 (UTC)
  
 
== TF2 ==
 
== TF2 ==
  
 
LoL, trigger_hurt is on of the names of BOTs in Team Fortress 2)) --[[User:Max30335|★Fatal_Error★]] ([[User talk:Max30335|talk]]) 07:47, 30 May 2017 (UTC)
 
LoL, trigger_hurt is on of the names of BOTs in Team Fortress 2)) --[[User:Max30335|★Fatal_Error★]] ([[User talk:Max30335|talk]]) 07:47, 30 May 2017 (UTC)

Latest revision as of 04:51, 12 September 2019

Negative damage

Trigger_hurt doesn't seem to work when a negative damage value is set. I tested this on Counter-Strike: Source. Is there any other way to heal players? --JJ45

I remember a way to do it in Goldsource was to use a func_door with a negative crush damage. But trigger_hurt essentially does work...it works the same way as an item_healthkit—ts2do 22:32, 26 Jun 2006 (PDT)

Well, the problem is that I cannot really use a moving door in a healing oasis, in a sensible way. It would have to be able to heal multiple players at once. Trigger_hurt does NOT work with negative damage, and item_healthkit doesn't seem to exist in CSS. --JJ45

Negative damage with trigger_hurt doesn't work

I'm mapping with Ep2 and I don't think negative values work - with trigger_hurt OR point_hurt - which is pretty frustrating. Why remove that functionality? --Campaignjunkie (talk) 19:00, 16 Aug 2008 (PDT)

Err, never mind. As soon as I complain about it, it starts working. Funny how that works. --Campaignjunkie (talk) 20:29, 16 Aug 2008 (PDT)

TF2 and Uber

Would a trigger_hurt set to FALLING damage be able to counteract an Ubercharge in Team Fortress 2? I.e. if you wanted to create a bottomless pit which would kill anyone who fell in it, even if they were invincible at the time. —Yar Kramer 23:13, 30 Aug 2008 (PDT)

You could have a trigger_multiple at the bottom of the pit, triggers a point_clientcommand that causes the player to essentially type kill in console. Complicated, but guarenteed to kill you even if you are in noclip or god. --Quaza 23:35, 13 Dec 2008 (PST)

Damage from player

I'm planning on making a Surf map, and like any good surf, it has a jail. Most jails have a FREE and a KILL button, but the trigger_hurt deals damage from "world". Is there any way of setting the damage to show that player1 killed player2? --Quaza 21:34, 11 Dec 2008 (PST)

I don't think there is one; at least, not without implementing some sort of custom code, and if you're just making a map as opposed to an entire mod, that's still a categorical "no." —Yar Kramer 11:27, 13 Dec 2008 (PST)
I managed to figure it out, actually. It doesn't really register the kills as yours, but it adds a point to counter the suicide of those in jail and gives the user a point for each kill. It was complicated, therefore I provided a prefab for those who come across this and want to implicate this. --Quaza 23:28, 13 Dec 2008 (PST)
PREFAB HERE
Link is dead. Anyone ever refigured it out?Loudslappingsounds (talk) 04:51, 12 September 2019 (UTC)

TF2

LoL, trigger_hurt is on of the names of BOTs in Team Fortress 2)) --★Fatal_Error★ (talk) 07:47, 30 May 2017 (UTC)