Func upgradestation: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 Bug:func_upgradestations disabled in this manner cannot be re-enabled with the
Bug:func_upgradestations disabled in this manner cannot be re-enabled with the 
 Workaround:Stations that should start disabled can be created by firing the
Workaround:Stations that should start disabled can be created by firing the 
		
	
| mNo edit summary | m (→Keyvalues:  add bug note + workaround regarding StartDisabled) | ||
| (5 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{LanguageBar}} | ||
| {{entity|func_upgradestation | {{CD|CUpgrades|file1=tf_upgrades.cpp}} | ||
| {{this is a|brush entity|name=func_upgradestation|game=Team Fortress 2}} | |||
| An upgrade station for the Mann vs. Machine gamemode. | An upgrade station for the Mann vs. Machine gamemode. | ||
| ==Keyvalues== | == Keyvalues == | ||
| {{KV Targetname}} | |||
| {{KV EnableDisable}} | {{KV EnableDisable}} | ||
| {{ | {{bug|hidetested=1|func_upgradestations disabled in this manner cannot be re-enabled with the <code>Enable</code> input, as <code>[[SetSolidFlags()#Flags|FSOLID_TRIGGER]]</code> is not properly re-added by this input.}} | ||
| {{Workaround|Stations that should start disabled can be created by firing the <code>Disable</code> input on the station in an <code>OnMapSpawn</code> output of a [[logic_auto]].}} | |||
| ==Inputs== | == Inputs == | ||
| {{I EnableDisable}} | {{I EnableDisable}} | ||
Latest revision as of 17:25, 12 August 2025

 
|  Class hierarchy | 
|---|
| CUpgrades | 
|  tf_upgrades.cpp | 
func_upgradestation  is a   brush entity  available in  Team Fortress 2.
 Team Fortress 2.
An upgrade station for the Mann vs. Machine gamemode.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with theEnableinput).
 Bug:func_upgradestations disabled in this manner cannot be re-enabled with the
Bug:func_upgradestations disabled in this manner cannot be re-enabled with the Enable input, as FSOLID_TRIGGER is not properly re-added by this input. Workaround:Stations that should start disabled can be created by firing the
Workaround:Stations that should start disabled can be created by firing the Disable input on the station in an OnMapSpawn output of a logic_auto.Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.























