This article's documentation is for the "GoldSrc" engine. Click here for more information.

Radio sentence (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{entity|radio_sentence|<!--sprite=1-->|type=point|engine=gldsrc|game=Paranoia}} Which displays radio icon and corresponding wav-file.
{{this is a|point entity|name=radio_sentence|engine=GoldSrc|game=Paranoia}} Which displays radio icon and corresponding wav-file.




==Keyvalues==
==Keyvalues==
{{KV|WAV Name (message)|sound|Name of sound}}
{{KV|WAV Name|intn=message|sound|Name of sound}}
{{KV|Talker's name (netname)|string|The name that will appear next to the speaker on the icon on the right (It is possible to write it directly, but it is better to refer to titles.txt - so that it can be both in Russian and in English. That is, if the name of the entry in titles.txt is called "TALKER", then enter "#TALKER" in this field)}}
{{KV|Talker's name|intn=netname|string|The name that will appear next to the speaker on the icon on the right (It is possible to write it directly, but it is better to refer to titles.txt - so that it can be both in Russian and in English. That is, if the name of the entry in titles.txt is called "TALKER", then enter "#TALKER" in this field)}}
{{KV|Hold time (health)|integer|How many seconds the icon will be on the screen (i.e. how long the sound lasts)}}
{{KV|Hold time|intn=health|integer|How many seconds the icon will be on the screen (i.e. how long the sound lasts)}}
{{KV|Label color - R G B (rendercolor)|color255|Icon background color. Different characters can have different colors.}}
{{KV|Label color - R G B|intn=rendercolor|color255|Icon background color. Different characters can have different colors.}}
{{KV|Transparency (renderamt)|integer|::Background transparency}}
{{KV|Transparency|intn=renderamt|integer|Background transparency}}
[[Category:GoldSrc]]
[[Category:GoldSrc]]

Latest revision as of 20:28, 17 May 2024

radio_sentence is a point entity available in Paranoia Paranoia. Which displays radio icon and corresponding wav-file.


Keyvalues

WAV Name (message) <sound>
Name of sound
Talker's name (netname) <string>
The name that will appear next to the speaker on the icon on the right (It is possible to write it directly, but it is better to refer to titles.txt - so that it can be both in Russian and in English. That is, if the name of the entry in titles.txt is called "TALKER", then enter "#TALKER" in this field)
Hold time (health) <integer>
How many seconds the icon will be on the screen (i.e. how long the sound lasts)
Label color - R G B (rendercolor) <color255>
Icon background color. Different characters can have different colors.
Transparency (renderamt) <integer>
Background transparency