This article relates to the game "Team Fortress 2". Click here for more information.

Item currencypack medium: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Inputs: {{I BaseEntity|base=1}})
m (Classifying as model entity)
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{stub}}
{{TF2 topicon}}
{{ent not in fgd|nolink=1|because=it doesn't remove itself when picked up}}
{{LanguageBar}}
{{Stub}}
{{Ent not in fgd|nolink=1|because=it doesn't remove itself when picked up}}
[[File:Mediumcredits.png|right|thumb]]
[[File:Mediumcredits.png|right|thumb]]
{{tf2 point|item_currencypack_medium}} A medium pile of money for the Mann vs. Machine gamemode. When collected, it awards $15 to the defending players. {{confirm}}
{{this is a|model entity|name=item_currencypack_medium|game=Team Fortress 2}} A medium pile of money for the Mann vs. Machine gamemode. When collected, it awards $10 to the defending players.


== Keyvalues ==
== Keyvalues ==
Line 9: Line 11:


== Inputs ==
== Inputs ==
{{I BaseEntity|base=1}}
{{I EnableDisable}}
{{I EnableDisable}}
== Outputs ==
{{O BaseEntity}}


== FGD Code ==
== FGD Code ==
Line 22: Line 20:
@PointClass base(Targetname, EnableDisable) studio("models/items/currencypack_large.mdl") = item_currencypack_large : "MvM Money (Large)" [ ]</pre>
@PointClass base(Targetname, EnableDisable) studio("models/items/currencypack_large.mdl") = item_currencypack_large : "MvM Money (Large)" [ ]</pre>


== See Also ==
== See also ==
* {{ent|item_currencypack_small}}
* {{ent|item_currencypack_small}}
* {{ent|item_currencypack_large}}
* {{ent|item_currencypack_large}}
* {{ent|item_currencypack_custom}}
* {{ent|item_currencypack_custom}}

Latest revision as of 05:57, 19 May 2025

English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it doesn't remove itself when picked up.
Mediumcredits.png

item_currencypack_medium is a model entity available in Team Fortress 2 Team Fortress 2. A medium pile of money for the Mann vs. Machine gamemode. When collected, it awards $10 to the defending players.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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).

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

FGD Code

//MvM cash piles
@include "base.fgd"
@PointClass base(Targetname, EnableDisable) studio("models/items/currencypack_small.mdl") = item_currencypack_small : "MvM Money (Small)" [ ]
@PointClass base(Targetname, EnableDisable) studio("models/items/currencypack_medium.mdl") = item_currencypack_medium : "MvM Money (Medium)" [ ]
@PointClass base(Targetname, EnableDisable) studio("models/items/currencypack_large.mdl") = item_currencypack_large : "MvM Money (Large)" [ ]

See also