Addcon help

TravisTouchdown

L2: Junior Member
Apr 15, 2013
68
5
I would like to give my TF 2 buddys a taste of what I grew up with in quake. So I rebuilt the 4 quake buffs as addcon items in my map. I need some help with what to do next.

The pentagram of protection was 30 seconds of invincibility so I set it to TF_COND_INVULNERABLE
The ring of shadows was 30 seconds of invisibility so I set it to TF_COND_STEALTHED

Now quake had 2 more. Quad damage which was 30 seconds of 4x damage and Mega health was a double health boost that counted down to normal like an overheal.

My question is this. What can I use to give out the
 

Werewolf

Probably not a real Werewolf
aa
Apr 12, 2011
873
309
Quad damage would have to be crits (TF_COND_CRITBOOSTED) and the health you'd actually want to use TF_COND_MEGAHEAL for the effect, with the follwing additional output:
Code:
Output named: OnStartTouch
Targets named: !activator
Via this input: AddOutput
Parameter: Health 500
Delay: 0.00
 

Izotope

Sourcerer
aa
May 13, 2013
698
764
Code:
Output named: OnStartTouch
Targets named: !activator
Via this input: AddOutput
Parameter: Health 500
Delay: 0.00

Correct me if I'm wrong, but I'm pretty sure the health value is clamped to the max_health KeyVal.
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,257
999
It is if you use !sethealth, @Izotope, but not if you use health. health lets you overheal someone to whatever you want, or just set them to a specific health. Useful if you want to try to make an arena minigame in a Deathrun map feel a bit more fair by setting the juggernaut/activator's health to a sensible value for the number of remaining runners.
 

TravisTouchdown

L2: Junior Member
Apr 15, 2013
68
5
Quad damage would have to be crits (TF_COND_CRITBOOSTED) and the health you'd actually want to use TF_COND_MEGAHEAL for the effect, with the follwing additional output:
Code:
Output named: OnStartTouch
Targets named: !activator
Via this input: AddOutput
Parameter: Health 500
Delay: 0.00


So my trigger_add_tf_player_condition is called Mega health.
I set it to TF_COND_MEGAHEAL

now where you say to use !activator, does that mean I select the name of my entity or do I type in !activator?

The parameter box also says none so i typed in health 500 but when im in game testing is it just shows my health as 125 cause i was scout.
 

Werewolf

Probably not a real Werewolf
aa
Apr 12, 2011
873
309
now where you say to use !activator, does that mean I select the name of my entity or do I type in !activator?
You type in !activator, because in this case the activator is a player, so we have to use the generic !activator command. Otherwise you'd have to type each players name which is just impossible.
 
Last edited:

henke37

aa
Sep 23, 2011
2,075
515
Not the player name, the name of the player entity. Which has no relation to the screen name of the player.