User:Phenomenon: Difference between revisions
Jump to navigation
Jump to search
Phenomenon (talk | contribs) |
Phenomenon (talk | contribs) |
||
| Line 18: | Line 18: | ||
===== Description ===== | ===== Description ===== | ||
:This script adds new console commands ''<font color=gray>playsound</font>'' and ''<font color=gray>playsound_env</font>'' to your server. The difference to the already existing ''[[User:RoadKillPuppy|playsound.lua]]'' is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior). | :This script adds new console commands ''<font color=gray>playsound</font>'' and ''<font color=gray>playsound_env</font>'' to your server. The difference to the already existing ''[[User:RoadKillPuppy|playsound.lua]]'' is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly [http://et.tjw.org/etpub ETPub] behavior). | ||
===== Requirements ===== | ===== Requirements ===== | ||
Revision as of 07:50, 26 July 2006
Personal profile
Homepage
- www.force-opponents.de - Home of the Force Opponents Clan
IRC
- #force-opponents - channel on QuakeNet
LUA script - playsoundcmd.lua
Description
- This script adds new console commands playsound and playsound_env to your server. The difference to the already existing playsound.lua is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).
Requirements
- Wolfenstein - Enemy Territory (patched to v2.60b) - splashdamage.com
- ETPro >= 3.2.6 installed - etpro.anime.net
Installation
- Download the LUA script playsoundcmd.lua to your etpro folder
- Add the following command to your server.cfg
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