Prop phone: Difference between revisions
Jump to navigation
Jump to search
Note: Disabling or killing the entity does not stop the sound of a dialed phonenumber currently playing.
SirYodaJedi (talk | contribs) No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV | {{KV Targetname}} | ||
{{KV|Disabled|integer| Should the phone be disabled?}} | {{KV|Disabled|integer| Should the phone be disabled?}} | ||
{{KV|FailSound|string| Sound played when bad phone number is entered. (recommended: common/warning.wav) }} | {{KV|FailSound|string| Sound played when bad phone number is entered. (recommended: common/warning.wav) }} | ||
Line 13: | Line 13: | ||
==Inputs== | ==Inputs== | ||
{{ | {{I|DialNumber|Dial a phone number.}} | ||
{{ | {{I|Enable|Enable the phone.}} | ||
{{ | {{I|Disable|Disable the phone.}} | ||
{{note | Disabling or killing the entity does not stop the sound of a dialed phonenumber currently playing.}} | {{note | Disabling or killing the entity does not stop the sound of a dialed phonenumber currently playing.}} | ||
==Outputs== | ==Outputs== | ||
{{ | {{O|OnUse|Fires when the <code>Use</code> input is given.}} | ||
[[Category: Sin Episodes]] | [[Category: Sin Episodes]] | ||
[[Category:Prop entities]] | [[Category:Prop entities|phone]] |
Latest revision as of 11:20, 26 September 2024
This is a point entity available in SiN Episodes. It is a telephone booth with a built-in VGUI screen where the player is capable of dialing phone numbers found throughout the world to hear funny, odd and crazy responses from the other end.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- FailSound ([todo internal name (i)]) <string>
- Sound played when bad phone number is entered. (recommended: common/warning.wav)
- PhoneBook ([todo internal name (i)]) <string>
- Key-Value file containing phone numbers and sounds. (default: scripts/phonebook.txt)
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity'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.
Inputs
- DialNumber
- Dial a phone number.
- Enable
- Enable the phone.
- Disable
- Disable the phone.

Outputs
- OnUse
- Fires when the
Use
input is given.