Radio sentence (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 7: Line 7:
{{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 (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 (rendercolor)|color255|Icon background color. Different characters can have different colors.}}
{{KV|Transparency (renderamt)|integer|::Background transparency}}
{{KV|Transparency (renderamt)|integer|Background transparency}}
[[Category:GoldSrc]]
[[Category:GoldSrc]]

Revision as of 05:11, 21 August 2023

Template:Entity Which displays radio icon and corresponding wav-file.


Keyvalues

WAV Name (message) ([todo internal name (i)]) <sound>
Name of sound
Talker's name (netname) ([todo internal name (i)]) <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) ([todo internal name (i)]) <integer>
How many seconds the icon will be on the screen (i.e. how long the sound lasts)
Label color - R G B (rendercolor) ([todo internal name (i)]) <color255>
Icon background color. Different characters can have different colors.
Transparency (renderamt) ([todo internal name (i)]) <integer>
Background transparency