Func upgradestation: Difference between revisions
Jump to navigation
Jump to search

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
m (Maybe I should make the bot not crash immediately upon encountering a spelling mistake in a page) |
m (→Keyvalues: add bug note + workaround regarding StartDisabled) |
||
(4 intermediate revisions by 4 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


![]() |
---|
CUpgrades |
![]() |
func_upgradestation
is a brush entity available in 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.
parentname
ortarget
).
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 the
Enable
input).

Enable
input, as FSOLID_TRIGGER
is not properly re-added by this input.
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.