Obj sentrygun: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: Automated text replacement (-\{\|\r +{| class=standard-table))
m (Keyvalues)
Line 34: Line 34:
: <choices> The sentry level to spawn as.
: <choices> The sentry level to spawn as.
:{| class=standard-table
:{| class=standard-table
| '''Options'''
! Literal Value !! Description
|-
|-
| Level 1
| 0 || Level 1
|-
|-
| Level 2
| 1 || Level 2
|-
|-
| Level 3
| 2 || Level 3
|}
|}



Revision as of 01:50, 17 April 2009

Template:Wrongtitle

This article is a stub. You can help by adding to it.

Entity Description

Used to place a sentry gun in your map. The sentry gun it creates is the same as a normal one erected by an engineer in-game that can be repaired, damaged, and upgraded depending on it's flag settings. There are currently no options in the obj_sentygun settings to prevent it from being sapped by spies, or running out of ammunition.

Availability

This point based entity is exclusive to Team Fortress 2.

Keyvalues

  • Name
The name that other entities refer to the sentry by.
  • Parent
The name of the sentry's parent in the movement hierarchy. Entities with parents move with their parent.
  • Team
<choices> What team the sentry will belong to.
Options
Red
Blue
  • Pitch Yaw Roll (Y Z X)
This sentry's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
  • Starting Upgrade Level
<choices> The sentry level to spawn as.
Literal Value Description
0 Level 1
1 Level 2
2 Level 3

Flags

  • Upgradeable
If checked, the sentry can be upgraded by Engineers of the same team.
  • Invulnerable
If checked, prevents the sentry from taking any damage.

Inputs

As of yet, there are no inputs for the obj_sentrygun.

Outputs