User:Phenomenon: Difference between revisions
Jump to navigation
Jump to search
Phenomenon (talk | contribs) |
Phenomenon (talk | contribs) |
||
| Line 17: | Line 17: | ||
===== Installation ===== | ===== Installation ===== | ||
:Download the LUA script ''[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]'' to your etpro folder | :*Download the LUA script ''[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]'' to your etpro folder | ||
:Add the following command to your server.cfg to call the script on server start | :*Add the following command to your server.cfg to call the script on server start | ||
<pre> | <pre> | ||
| Line 25: | Line 25: | ||
</pre> | </pre> | ||
:Restart your server | :*Restart your server | ||
===== Usage ===== | ===== Usage ===== | ||
Revision as of 20:39, 25 July 2006
personal profile
personal bla bla later ...
lua script - playsoundcmd.lua
Description
- This script adds new console commands "playsound" and "playsound_env" to the server.
Requirements
- Wolfenstein - Enemy Territory (patched to v2.60b) - splashdamage.com
- ET Pro 3.2.6 or higher - etpro.anime.net
Installation
- Download the LUA script playsoundcmd.lua to your etpro folder
- Add the following command to your server.cfg to call the script on server start
set lua_modules "playsoundcmd.lua"
- Restart your server
Usage
- playsound [sound] will play sound for all clients
- playsound [name/slot#] [sound] will play sound for that client only
- playsound_env [name/slot#] [sound] will play sound for that client and surrounding players only