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

Tf ammo pack: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{TF2 topicon}}
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{TF2 topicon}}
{{lang|title=tf_ammo_pack}}
{{lang}}{{Ent not in fgd}}
{{Ent not in fgd}}
{{this is a|e0|name=tf_ammo_pack|game=Team Fortress 2}} It is a medium ammo pack, Halloween {{tfwiki|Halloween_pumpkin|"crumpkin"}}, or Smissmas present dropped by player on death.
{{entity|tf_ammo_pack|type=e0|game=Team Fortress 2}} 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.]]
[[Image:TF2_Crumpkin.png|thumb|right|180px|A dropped crumpkin.]]
[[Image:TF2_Crumpkin.png|thumb|right|180px|A dropped crumpkin.]]

Revision as of 13:02, 4 January 2024

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

tf_ammo_pack is an e0 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" []