Team Fortress 2/Player Destruction
What is Player Destruction?
Player Destruction is a spin on the Robot Destruction entities which focuses on bringing team objectives to a deathmatch foundation. In this gamemode players will drop flags if they were killed or ‘finished off’ by another player. The objective is to bring these flags to the capturezone to score. Whoever has the most amount of flags on each team is given a dispenser, an outline, and a number above their heads indicating the number of flags they are carrying. The captuezone can be toggled on and off, and in Watergate it scrolls across the map shown on a timer on the HUD.
Entities needed to set up the gamemode:
In order to set up the player destruction gamemode, the following entities are needed:
tf_logic_player_destruction
Name: pd_logic
logic_auto
My Output > | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnMultiNewRound | pd_logic | EnableMaxScoreUpdating | 0.00 | No | |
![]() |
OnMultiNewRound | pd_logic | DisableMaxScoreUpdating | 30.00 | No |
func_capturezone
Team: Red
My Output > | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnCapTeam1_PD | pd_logic | ScoreRedPoints | 0.00 | No |
func_capturezone
Team: Blue
My Output > | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnCapTeam2_PD | pd_logic | ScoreBluePoints | 0.00 | No |
Other things you can do with Player Destruction:
tf_logic_player_destruction:
Inputs:
SetCountdownTimer <integer> Set the countdown time and start the timer.
SetCountdownImage <string> Set the countdown image.
Outputs:
OnRedScoreChanged <float> Send when score changes, and is a value representing total progress from [0..1].
OnBlueScoreChanged <float> Send when score changes, and is a value representing total progress from [0..1].
OnCountdownTimerExpired Sent when the countdown timer expires.
Download the prefab:
http://tf2maps.net/resources/pd-prefab.858/