Obj sentrygun: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 13: Line 13:


== Keyvalues ==
== Keyvalues ==
* {{kv targetname}}
* '''Name'''
* {{kv angles}}
: 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'''
* '''Starting Upgrade Level'''
: <choices> The sentry level to spawn as.
: <choices> The sentry level to spawn as.
Line 25: Line 38:
|-
|-
| Level 3
| Level 3
|}
* '''Team'''
: <choices> What team the sentry will belong to.
:{|
| '''Options'''
|-
| Red
|-
| Blue
|}
|}



Revision as of 07:27, 6 September 2008

Template:Wrongtitle This point-based entity is available in Team Fortress 2.

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.

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.
Options
Level 1
Level 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