FANDOM


This page includes script files for Urban Terror.

Copy the script and paste it into a text editor. Then save it with a .cfg extension in your Game path. To execute, type /exec <script name> in Console.
For more information, see Installing Scripts.

See Category:Scripts & Configs for more information about scripts, scripting, and additional sample scripts.

File-script

by Delirium Edit

Push F8 to turn sound off, push again to turn back on.

  1. //~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 
  2. //              Sound Toggle
  3. //~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 
  4.  
  5. bind F8 "vstr sound_toggle"
  6.  
  7. set sound_toggle "vstr sound_off"
  8.  
  9. set sound_off "set sound_toggle vstr sound_on; s_volume 0; s_musicvolume 0; ut_echo ^7sound turned ^1OFF"
  10. set sound_on "set sound_toggle vstr sound_off; s_musicvolume 0.281250; s_volume 1.416666; ut_echo ^7sound turned ^2ON"

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.