Template:KV Door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''speed'''
{{kv global}}
* '''speed'''
: <integer> Speed that the door moves in units per second.
: <integer> Speed that the door moves in units per second.
* '''wait'''
* '''wait'''
Line 8: Line 9:
: <integer> Damage to deal to objects blocking the door.
: <integer> Damage to deal to objects blocking the door.
* '''forceclosed'''
* '''forceclosed'''
: {{Boolean}} Force the door closed even if blocked.
: {{boolean}} Force the door closed even if blocked.
* '''health'''
* '''health'''
:  
: Door can be shot open if nonzero
* '''locked_sentence'''
* '''locked_sentence'''
:
: <choices> Easy alternative of locked_sound
:{|
! Literal Value || Description
|-
| 0 || None
|-
| 1 || Gen. Access Denied
|-
| 2 || Security Lockout
|-
| 3 || Blast Door
|-
| 4 || Fire Door
|-
| 5 || Chemical Door
|-
| 6 || Radiation Door
|-
| 7 || Gen. Containment
|-
| 8 || Maintenance Door
|-
| 9 || Broken Shut Door
|}
* '''unlocked_sentence'''
* '''unlocked_sentence'''
:
: <choices> Easy alternative of locked_sound
:{|
! Literal Value || Description
|-
| 0 || None
|-
| 1 || Gen. Access Granted
|-
| 2 || Security Disengaged
|-
| 3 || Blast Door
|-
| 4 || Fire Door
|-
| 5 || Chemical Door
|-
| 6 || Radiation Door
|-
| 7 || Gen. Containment
|-
| 8 || Maintenance area
|}
* '''loopmovesound'''
* '''loopmovesound'''
:
: {{boolean}}
* '''movedir'''
:
* '''globalname'''
:
* '''noise1'''
* '''noise1'''
: <path> Audio to play when the door opens.
: <sound> Plays when the door opens.
* '''noise2'''
* '''noise2'''
: <path> Audio to play when the door closes.
: <sound> Plays when the door closes.
* '''message'''
* '''message'''
:
: Done on trigger <- more info here
* '''locked_sound'''
* '''locked_sound'''
: <path> Audio to play when the player tries to open the door and it is locked.
: <sound> Audio to play when the player tries to open the door and it is locked.
* '''unlocked_sound'''
* '''unlocked_sound'''
: <path> Audio to play when the door becomes unlocked.
: <sound> Audio to play when the door becomes unlocked.
* '''_minlight'''
* '''_minlight'''
: <integer> Minimum light level.
: <integer> Minimum light level.

Revision as of 21:34, 5 August 2005

Template:Kv global

  • speed
<integer> Speed that the door moves in units per second.
  • wait
<float> Time until the door returns to the closed position. A value of 0 means the door never closes.
  • lip
<integer> This is the number of units the door is from the frame in the open position.
  • dmg
<integer> Damage to deal to objects blocking the door.
  • forceclosed
<boolean> Force the door closed even if blocked.
  • health
Door can be shot open if nonzero
  • locked_sentence
<choices> Easy alternative of locked_sound
Literal Value Description
0 None
1 Gen. Access Denied
2 Security Lockout
3 Blast Door
4 Fire Door
5 Chemical Door
6 Radiation Door
7 Gen. Containment
8 Maintenance Door
9 Broken Shut Door
  • unlocked_sentence
<choices> Easy alternative of locked_sound
Literal Value Description
0 None
1 Gen. Access Granted
2 Security Disengaged
3 Blast Door
4 Fire Door
5 Chemical Door
6 Radiation Door
7 Gen. Containment
8 Maintenance area
  • loopmovesound
<boolean>
  • noise1
<sound> Plays when the door opens.
  • noise2
<sound> Plays when the door closes.
  • message
Done on trigger <- more info here
  • locked_sound
<sound> Audio to play when the player tries to open the door and it is locked.
  • unlocked_sound
<sound> Audio to play when the door becomes unlocked.
  • _minlight
<integer> Minimum light level.