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

tf_ammo_pack

From Valve Developer Community
Jump to navigation Jump to search

English (en)Translate (Translate)
Info.png
This entity is not in the FGD by default.
See below for instructions on making it available.
Class hierarchy
CTFAmmoPack
CItem
CBaseAnimating
CBaseEntity
tf_ammo_pack.cpp

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.

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" []