info_player_teamspawn (Team Fortress Classic) Last edited 1 month ago2024-09-04 13:23:50 UTC

This article was converted from a previous version of TWHL and may need to be reviewed

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Point Entity

The info_player_teamspawn (abbreviation: i_p_t) entity is the TFC equivalent of info_player_deathmatch for HLDM # that is, the location where players will initially spawn after selecting their team and class. In most cases, info_player_teamspawn entities should be placed in a sheltered location # usually a respawn room, but this might vary depending on the type of map being designed.

info_player_teamspawn controls the teams available for players to select when they join the game as well # each team you want to be able to spawn must have at least one info_player_teamspawn entity with its Team value set to that team.<BR>
The bounding box of the info_player_teamspawn is the same size as the bounding box of the player that will spawn there, so make that the info_player_teamspawn doesn't overlap any brushes (or the player will get stuck).

Attributes

Flags

Notes

1 Comment

Commented 2 years ago2022-07-29 00:30:37 UTC Comment #104694
There are actually more properties available for info_player_teamspawn than are listed here.
If you look at the changelog for the Team Fortress Classic.fgd entity definition file at https://developer.valvesoftware.com/wiki/Team_Fortress_Classic.fgd there's a change which reads
"Removed TFCriteria and TFEffects5 from info_player_teamspawn and moved relevant properties to TFSpawnInfo."
I'm not sure what the owner of that comment considered relevant, but TFEffects5 includes things like...
health (Add/Subtract health)
armorvalue (Armor Value %)
a_s (Add/Subtract shells)
a_n (Add/Subtract nails)
a_r (Add/Subtract rockets)
a_c (Add/Subtract cells)
ammo_detpack (Add/Subtract detpack)
no_grenades_1 (Add/subtract grenades #1)
no_grenades_2 (Add/subtract grenades #2)
and more, but those are the especially relevant ones I saw. These are all available and will work just fine on info_player_teamspawn, but since the TFEffects5 associated was removed in the .fgd they won't show up by default in mapping tools like JACK or TrenchBroom.

You must log in to post a comment. You can login or register a new account.