env_message (Half-Life)
Last edited 6 years ago2018-10-11 13:55:26 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
This article was converted from a previous version of TWHL and may need to be reviewed
- The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
- Some information may be out of date
- After the article is re-formatted and updated, remove this notice and the Review Required category.
- Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Point EntityThis entity allows you to display preset text messages for the player.
Attributes
- Name (targetname) - Property used to identify entities.
- Target (target) - When an entity is activated, it triggers the entity with the name specified by Target.
- Message Name (message) - The name of the message (see note below)
- path/filename.wav of WAV (messagesound)
- Volume 0-10 (messagevolume)
- Sound Radius (messageattenuation) - Options are:
- 0 = Small Radius
- 1 = Medium Radius
- 2 = Large Radius
- 3 = Play Everywhere
Flags
- Play Once (1)
- All Clients (2)
Notes
- This entity only allows the use of predefined text messages. These are found in the 'titles.txt' file in the root of 'pak0.pak', in your 'Half-Life/valve' folder. Browse the PAK with a PAK viewer (like PakExplorer), and open the 'titles.txt' file.
- This entity is only really useful for mods, where a custom 'titles.txt' file is distributed, either in the PAK, or in the mod's root folder. To see how to construct your own file, read through Valve's comments in their one.
- Use the game_text entity for easier messaging that doesn't require distribution of anything but the map itself.
Comments
You must log in to post a comment.
You can login or register a new account.