Radio sentence (GoldSrc): Difference between revisions

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


==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]]

Revision as of 06:24, 21 August 2023

Template:Entity 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