Tf ammo pack: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (updated template usage.)
(added example FGD entry.)
Line 1: Line 1:
{{lang|Tf ammo pack}}
{{lang|Tf ammo pack}}
{{Ent not in fgd}}
{{Tf2 point|tf_ammo_pack}} It is a medium ammo pack, Halloween {{tfwiki|Halloween_pumpkin|"crumpkin"}}, or Smissmas present dropped by player on death.
{{Tf2 point|tf_ammo_pack}} It is a medium ammo pack, Halloween {{tfwiki|Halloween_pumpkin|"crumpkin"}}, or Smissmas present dropped by player on death.
[[Image:Mediumammo.png|thumb|right|200px|A dropped ammo box.]]
[[Image:Mediumammo.png|thumb|right|200px|A dropped ammo box.]]
Line 14: Line 15:
==Outputs==
==Outputs==
{{O BaseEntity}}
{{O BaseEntity}}
==FGD Code==
@PointClass base(Targetname, EnableDisable, Toggle, Angles, RenderFields, Studiomodel, FadeDistance)
    studio("models/items/ammopack_medium.mdl")
    sphere(fademindist)
    sphere(fademaxdist)
    = tf_ammo_pack : "Dropped Ammo Pack" []

Revision as of 12:06, 12 October 2022

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

Team Fortress 2 tf_ammo_pack is a point entity available in Team Fortress 2 Team Fortress 2. It is a medium ammo pack, Halloween Tfwiki favicon.png "crumpkin", or Smissmas present dropped by player on death.

A dropped ammo box.
A dropped crumpkin.

Keyvalues

Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history

Inputs

Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history

Outputs

FGD Code

@PointClass base(Targetname, EnableDisable, Toggle, Angles, RenderFields, Studiomodel, FadeDistance)
    studio("models/items/ammopack_medium.mdl")
    sphere(fademindist)
    sphere(fademaxdist)
    = tf_ammo_pack : "Dropped Ammo Pack" []