Tf ragdoll: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
[[File:tf2_scout_ragdoll.jpg|thumb|right|300px|Scout ragdoll.]]
[[File:tf2_scout_ragdoll.jpg|thumb|right|300px|Scout ragdoll.]]


{{this is a|e0|game=tf2|name=tf_ragdoll}}
{{this is a|point entity|game=Team Fortress 2|name=tf_ragdoll}}


{{code class|CTFRagdoll|tf_player.cpp}}
{{code class|CTFRagdoll|tf_player.cpp}}

Revision as of 19:49, 17 May 2024

Scout ragdoll.

tf_ragdoll is a point entity available in Team Fortress 2 Team Fortress 2.

C++ In code, it is represented by theCTFRagdollclass, defined in thetf_player.cppfile.

Entity Description

This entity is used for ragdolls of dead players in TF2.

Keyvalues

TeamNum:
Initial Team (TeamNum) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator/Halloween Souls Team Fortress 2
  • 2: RED Team Fortress 2
  • 3: BLU/Robots Team Fortress 2
  • 5: Halloween Bosses (only in Team Fortress 2) !FGD
Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history


Inputs

SetTeam <integerRedirectInput/integer>
Changes the entity's team.
Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history


Outputs

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