Tf ragdoll: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added image.)
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
[[Image:tf2_scout_ragdoll.jpg|thumb|right|300px|TF2 Scout ragdoll.]]
[[Image:tf2_scout_ragdoll.jpg|thumb|right|300px|TF2 Scout ragdoll.]]


{{tf2 point|tf_ragdoll}}
{{this is a|e0|game=tf2|name=tf_ragdoll}}


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

Revision as of 09:33, 7 January 2024

TF2 Scout ragdoll.

tf_ragdoll is an e0 available in Team Fortress 2 Team Fortress 2.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
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