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

In 4.2, there is a bug that will still execute scripts bound to number keys while the radio menu is open. So, for example, if you have a script bound to 7 and you use the radio menu, pushing u (open the radio UI), 7, and 7 again, the game will execute the script bound to 7 twice while the radio menu is open.

For more information on this bug and to test it yourself, see User:Iynque/Radiobug

These scripts are meant to correct this bug by removing all binds to number keys while the radio menu is open.

by iynque —Native UI, no re-writesEdit

This script simply removes binds while the radio UI is open. It allows you to still use the game's native radio UI, but you can't rewrite what the radio calls say.

iy_radiobug.cfg

  1. //Radio bug fix
  2. //iy_radiobug.cfg
  3.  
  4. bind u "vstr iy_radio"
  5.  
  6. //////////////////////////////////////////////
  7. //When done, rebind keys to these functions.
  8. //      Rebind is triggered when a radio call is made,
  9. //      or when you cancel out of the radio menu.
  10. //
  11. //You may want to check your q3config.cfg to
  12. //      get your existing binds for 0-9 keys.
  13. //
  14. //These are just the default binds from UrT.
  15.  
  16. set iy_rebind1 "ut_weaptoggle knife"
  17. set iy_rebind2 "ut_weaptoggle grenades"
  18. set iy_rebind3 "ut_weaptoggle sidearm"
  19. set iy_rebind4 "ut_weaptoggle secondary"
  20. set iy_rebind5 "ut_weaptoggle primary"
  21. set iy_rebind6 "ut_weaptoggle bomb"
  22. set iy_rebind7 ""
  23. set iy_rebind8 ""
  24. set iy_rebind9 ""
  25. set iy_rebind0 ""
  26.  
  27. //////////////////////////////////////////////
  28. //Functions
  29. set iy_rebind   "bind 1 vstr iy_rebind1;bind 2 vstr iy_rebind2;bind 3 vstr iy_rebind3;bind 4 vstr iy_rebind4;bind 5 vstr iy_rebind5;bind 6 vstr iy_rebind6;bind 7 vstr iy_rebind7;bind 8 vstr iy_rebind8;bind 9 vstr iy_rebind9;bind 0 vstr iy_rebind0"
  30. set iy_unbind   "unbind 1;unbind 2;unbind 3;unbind 4;unbind 5;unbind 6;unbind 7;unbind 8;unbind 9;unbind 0"
  31.  
  32. //////////////////////////////////////////////
  33. //Start radio interface
  34. set iy_radio    "vstr iy_unbind;ui_radio;bind 1 vstr iy_radio1;bind 2 vstr iy_radio1;bind 3 vstr iy_radio1;bind 4 vstr iy_radio1;bind 5 vstr iy_radio1;bind 6 vstr iy_radio1;bind 7 vstr iy_radio1;bind 8 vstr iy_radio1;bind 9 vstr iy_radio1;bind 0 vstr iy_rebind"
  35. set iy_radio1   "vstr iy_unbind;bind 1 vstr iy_rebind;bind 2 vstr iy_rebind;bind 3 vstr iy_rebind;bind 4 vstr iy_rebind;bind 5 vstr iy_rebind;bind 6 vstr iy_rebind;bind 7 vstr iy_rebind;bind 8 vstr iy_rebind;bind 9 vstr iy_rebind;bind 0 vstr iy_radio"
  36.  
  37. //created by iynque
  38. ut_echo ^7[^4iy_radiobug.cfg loaded^7];echo iy_radiobug.cfg loaded

by iynque —Text UI, allows re-writesEdit

This script not only clears binds while the radio UI is open, but also allows you to rewrite the entire radio menu with custom binds.

radio.cfg

  1. //Radio re-writer
  2. //radio.cfg
  3. //      Allows customization of the UrT radio menu
  4. //      Push u to activate (or change the two lines below
  5. //      to bind any key you like). Then use number keys
  6. //      as usual. So, u,1,1 would say "Affirmative."
  7.  
  8. bind u "vstr iy_radio"
  9.  
  10. //////////////////////////////////////////////
  11. //When done, rebind keys to these functions.
  12. //      Rebind is triggered when a radio call is made,
  13. //      or when you cancel out of the radio menu.
  14. //
  15. //You may want to check your q3config.cfg to
  16. //      get your existing binds for 0-9 keys.
  17. //
  18. //These are just the default binds from UrT.
  19.  
  20. set iy_rebind1 "ut_weaptoggle knife"
  21. set iy_rebind2 "ut_weaptoggle grenades"
  22. set iy_rebind3 "ut_weaptoggle sidearm"
  23. set iy_rebind4 "ut_weaptoggle secondary"
  24. set iy_rebind5 "ut_weaptoggle primary"
  25. set iy_rebind6 "ut_weaptoggle bomb"
  26. set iy_rebind7 ""
  27. set iy_rebind8 ""
  28. set iy_rebind9 ""
  29. set iy_rebind0 ""
  30.  
  31. //////////////////////////////////////////////
  32. //Functions
  33. set iy_rebind   "bind 1 vstr iy_rebind1;bind 2 vstr iy_rebind2;bind 3 vstr iy_rebind3;bind 4 vstr iy_rebind4;bind 5 vstr iy_rebind5;bind 6 vstr iy_rebind6;bind 7 vstr iy_rebind7;bind 8 vstr iy_rebind8;bind 9 vstr iy_rebind9;bind 0 vstr iy_rebind0"
  34. set iy_cancel   "vstr iy_rebind;ut_echo ^7[^4Radio ^1cancelled^7];play sound\misc\menu4.wav"
  35.  
  36. set iy_radio1   "bind 1 vstr iy_radio11;bind 2 vstr iy_radio12;bind 3 vstr iy_radio13;bind 4 vstr iy_radio14;bind 5 vstr iy_radio15;bind 6 vstr iy_radio16;bind 7 vstr iy_radio17;bind 8 vstr iy_radio18;bind 9 vstr iy_radio19;ut_echo ^7[^/RADIO ^71 ^4Responses^7] ^71-^-Affirmative ^72-^-Negative ^73-^-I'm on it ^74-^-Area Secured ^75-^-Base is Secure ^76-^-Medic on the way, hang in there ^77-^-I've got your back ^78-^-Enemy Terminated ^79-^/N/A ^70-^-Cancel;play sound\misc\menu2.wav"
  37. set iy_radio2   "bind 1 vstr iy_radio21;bind 2 vstr iy_radio22;bind 3 vstr iy_radio23;bind 4 vstr iy_radio24;bind 5 vstr iy_radio25;bind 6 vstr iy_radio26;bind 7 vstr iy_radio27;bind 8 vstr iy_radio28;bind 9 vstr iy_radio29;ut_echo ^7[^/RADIO ^72 ^4Orders^7] ^71-^-Move in ^72-^-Fall back and regroup ^73-^-Hold your position ^74-^-Stick with me ^75-^-Cover me ^76-^-Requesting backup ^77-^-Go for the objective ^78-^-Flank them ^79-^-Double time, let's move ^70-^-Cancel;play sound\misc\menu2.wav"
  38. set iy_radio3   "bind 1 vstr iy_radio31;bind 2 vstr iy_radio32;bind 3 vstr iy_radio33;bind 4 vstr iy_radio34;bind 5 vstr iy_radio35;bind 6 vstr iy_radio36;bind 7 vstr iy_radio37;bind 8 vstr iy_radio38;bind 9 vstr iy_radio39;ut_echo ^7[^/RADIO ^73 ^4Conditions^7] ^71-^-I'm moving in ^72-^-Awaiting orders ^73-^-I need a medic ^74-^-Objective in sight ^75-^-Objective is clear ^76-^-I'm attacking ^77-^-I'm defending ^78-^-I'm flanking ^79-^-Holding here ^70-^-Cancel;play sound\misc\menu2.wav"
  39. set iy_radio4   "bind 1 vstr iy_radio41;bind 2 vstr iy_radio42;bind 3 vstr iy_radio43;bind 4 vstr iy_radio44;bind 5 vstr iy_radio45;bind 6 vstr iy_radio46;bind 7 vstr iy_radio47;bind 8 vstr iy_radio48;bind 9 vstr iy_radio49;ut_echo ^7[^/RADIO ^74 ^4Queries^7] ^71-^-Status ^72-^-Objective status ^73-^-Base status ^74-^-Where's the enemy ^75-^-Where are the medics ^76-^-Anyone need support ^77-^-Anyone need a medic ^78-^-Who's ya daddy ^79-^-How the hell are ya ^70-^-Cancel;play sound\misc\menu2.wav"
  40. set iy_radio5   "bind 1 vstr iy_radio51;bind 2 vstr iy_radio52;bind 3 vstr iy_radio53;bind 4 vstr iy_radio54;bind 5 vstr iy_radio55;bind 6 vstr iy_radio56;bind 7 vstr iy_radio57;bind 8 vstr iy_radio58;bind 9 vstr iy_radio59;ut_echo ^7[^/RADIO ^75 ^4Enemy Activity^7] ^71-^-Enemy spotted ^72-^-Enemy heard ^73-^-Enemy is flanking ^74-^-Enemy headed your way ^75-^-Incoming ^76-^/N/A ^77-^/N/A ^78-^/N/A ^79-^-Objective in danger ^70-^-Cancel;play sound\misc\menu2.wav"
  41. set iy_radio6   "bind 1 vstr iy_radio61;bind 2 vstr iy_radio62;bind 3 vstr iy_radio63;bind 4 vstr iy_radio64;bind 5 vstr iy_radio65;bind 6 vstr iy_radio66;bind 7 vstr iy_radio67;bind 8 vstr iy_radio68;bind 9 vstr iy_radio69;ut_echo ^7[^/RADIO ^76 ^4Directional^7] ^71-^-North ^72-^-East ^73-^-South ^74-^-West ^75-^-Base ^76-^-High ^77-^-Low ^78-^-Water ^79-^-Here ^70-^-Cancel;play sound\misc\menu2.wav"
  42. set iy_radio7   "bind 1 vstr iy_radio71;bind 2 vstr iy_radio72;bind 3 vstr iy_radio73;bind 4 vstr iy_radio74;bind 5 vstr iy_radio75;bind 6 vstr iy_radio76;bind 7 vstr iy_radio77;bind 8 vstr iy_radio78;bind 9 vstr iy_radio79;ut_echo ^7[^/RADIO ^77 ^4Capture the Flag^7] ^71-^-I've got the flag ^72-^-I'm going for the flag ^73-^-They have our flag ^74-^-Base is being overrun ^75-^-Recover the flag ^76-^-Flag exiting left ^77-^-Flag exiting right ^78-^-Flag exiting front ^79-^-Flag exiting back ^70-^-Cancel;play sound\misc\menu2.wav"
  43. set iy_radio8   "bind 1 vstr iy_radio81;bind 2 vstr iy_radio82;bind 3 vstr iy_radio83;bind 4 vstr iy_radio84;bind 5 vstr iy_radio85;bind 6 vstr iy_radio86;bind 7 vstr iy_radio87;bind 8 vstr iy_radio88;bind 9 vstr iy_radio89;ut_echo ^7[^/RADIO ^78 ^4Bomb^7] ^71-^-Heading to Bombsite A ^72-^-Heading to Bombsite B ^73-^-Enemy at Bombsite A ^74-^-Enemy at Bombsite B ^75-^-I have the bomb ^76-^-The bomb is loose ^77-^/N/A ^78-^/N/A ^79-^/N/A ^70-^-Cancel;play sound\misc\menu2.wav"
  44. set iy_radio9   "bind 1 vstr iy_radio91;bind 2 vstr iy_radio92;bind 3 vstr iy_radio93;bind 4 vstr iy_radio94;bind 5 vstr iy_radio95;bind 6 vstr iy_radio96;bind 7 vstr iy_radio97;bind 8 vstr iy_radio98;bind 9 vstr iy_radio99;ut_echo ^7[^/RADIO ^79 ^4Miscellaneous^7] ^71-^-Good job, team ^72-^-Nice one ^73-^-Check your fire ^74-^-Sorry about that ^75-^-Whatever ^76-^-No problem ^77-^-Oh, you idiot ^78-^-What the f***, over ^79-^-Thanks ^70-^-Cancel;play sound\misc\menu2.wav"
  45.  
  46. //////////////////////////////////////////////
  47. //RESPONSES
  48. set iy_radio11  "vstr iy_rebind;ut_radio 1 1 Affirmative."
  49. set iy_radio12  "vstr iy_rebind;ut_radio 1 2 Negative."
  50. set iy_radio13  "vstr iy_rebind;ut_radio 1 3 I'm on it!"
  51. set iy_radio14  "vstr iy_rebind;ut_radio 1 4 Area secure."
  52. set iy_radio15  "vstr iy_rebind;ut_radio 1 5 Base is secure."
  53. set iy_radio16  "vstr iy_rebind;ut_radio 1 6 Medic on the way, hang in there!"
  54. set iy_radio17  "vstr iy_rebind;ut_radio 1 7 I've got your back."
  55. set iy_radio18  "vstr iy_rebind;ut_radio 1 8 Enemy terminated."
  56. set iy_radio19  "vstr iy_rebind;say_team " //There is no radio 1 9, but you can still add a message here.
  57. //ORDERS
  58. set iy_radio21  "vstr iy_rebind;ut_radio 2 1 Move in."
  59. set iy_radio22  "vstr iy_rebind;ut_radio 2 2 Fall back and regroup!"
  60. set iy_radio23  "vstr iy_rebind;ut_radio 2 3 Hold your position."
  61. set iy_radio24  "vstr iy_rebind;ut_radio 2 4 Stick with me."
  62. set iy_radio25  "vstr iy_rebind;ut_radio 2 5 Cover me!"
  63. set iy_radio26  "vstr iy_rebind;ut_radio 2 6 Requesting backup."
  64. set iy_radio27  "vstr iy_rebind;ut_radio 2 7 Go for the objective."
  65. set iy_radio28  "vstr iy_rebind;ut_radio 2 8 Flank 'em!"
  66. set iy_radio29  "vstr iy_rebind;ut_radio 2 9 Double time, let's move!"
  67. //CONDITIONS
  68. set iy_radio31  "vstr iy_rebind;ut_radio 3 1 I'm moving in."
  69. set iy_radio32  "vstr iy_rebind;ut_radio 3 2 Awating orders."
  70. set iy_radio33  "vstr iy_rebind;ut_radio 3 3 I need a medic!"
  71. set iy_radio34  "vstr iy_rebind;ut_radio 3 4 Objective in sight."
  72. set iy_radio35  "vstr iy_rebind;ut_radio 3 5 Objective is clear."
  73. set iy_radio36  "vstr iy_rebind;ut_radio 3 6 I'm attacking."
  74. set iy_radio37  "vstr iy_rebind;ut_radio 3 7 I'm defending."
  75. set iy_radio38  "vstr iy_rebind;ut_radio 3 8 I'm flanking."
  76. set iy_radio39  "vstr iy_rebind;ut_radio 3 9 Holding here."
  77. //QUERIES
  78. set iy_radio41  "vstr iy_rebind;ut_radio 4 1 Status?"
  79. set iy_radio42  "vstr iy_rebind;ut_radio 4 2 Objective status?"
  80. set iy_radio43  "vstr iy_rebind;ut_radio 4 3 Base status?"
  81. set iy_radio44  "vstr iy_rebind;ut_radio 4 4 Where's the enemy?"
  82. set iy_radio45  "vstr iy_rebind;ut_radio 4 5 Where are the medics?"
  83. set iy_radio46  "vstr iy_rebind;ut_radio 4 6 Anyone need support?"
  84. set iy_radio47  "vstr iy_rebind;ut_radio 4 7 Anyone need a medic?"
  85. set iy_radio48  "vstr iy_rebind;ut_radio 4 8 Who's your daddy?"
  86. set iy_radio49  "vstr iy_rebind;ut_radio 4 9 How the hell are ya?"
  87. //ENEMY ACTIVITY
  88. set iy_radio51  "vstr iy_rebind;ut_radio 5 1 Enemy spotted."
  89. set iy_radio52  "vstr iy_rebind;ut_radio 5 2 Enemy heard."
  90. set iy_radio53  "vstr iy_rebind;ut_radio 5 3 Enemy is flanking."
  91. set iy_radio54  "vstr iy_rebind;ut_radio 5 4 Enemy headed your way!"
  92. set iy_radio55  "vstr iy_rebind;ut_radio 5 5 Incoming!"
  93. set iy_radio56  "vstr iy_rebind;say_team " //There is no radio 5 6, but you can still add a message here.
  94. set iy_radio57  "vstr iy_rebind;say_team " //There is no radio 5 7, but you can still add a message here.
  95. set iy_radio58  "vstr iy_rebind;say_team " //There is no radio 5 8, but you can still add a message here.
  96. set iy_radio59  "vstr iy_rebind;ut_radio 5 9 Objective in danger!"
  97. //DIRECTIONAL
  98. set iy_radio61  "vstr iy_rebind;ut_radio 6 1 North"
  99. set iy_radio62  "vstr iy_rebind;ut_radio 6 2 South"
  100. set iy_radio63  "vstr iy_rebind;ut_radio 6 3 East"
  101. set iy_radio64  "vstr iy_rebind;ut_radio 6 4 West"
  102. set iy_radio65  "vstr iy_rebind;ut_radio 6 5 Base"
  103. set iy_radio66  "vstr iy_rebind;ut_radio 6 6 High"
  104. set iy_radio67  "vstr iy_rebind;ut_radio 6 7 Low"
  105. set iy_radio68  "vstr iy_rebind;ut_radio 6 8 Water"
  106. set iy_radio69  "vstr iy_rebind;ut_radio 6 9 Here"
  107. //CAPTURE THE FLAG
  108. set iy_radio71  "vstr iy_rebind;ut_radio 7 1 I've got the flag!"
  109. set iy_radio72  "vstr iy_rebind;ut_radio 7 2 I'm going for the flag."
  110. set iy_radio73  "vstr iy_rebind;ut_radio 7 3 They have our flag!"
  111. set iy_radio74  "vstr iy_rebind;ut_radio 7 4 Base is in trouble!"
  112. set iy_radio75  "vstr iy_rebind;ut_radio 7 5 Get our flag back!"
  113. set iy_radio76  "vstr iy_rebind;ut_radio 7 6 Flag exiting left."
  114. set iy_radio77  "vstr iy_rebind;ut_radio 7 7 Flag exiting right."
  115. set iy_radio78  "vstr iy_rebind;ut_radio 7 8 Flag exiting front."
  116. set iy_radio79  "vstr iy_rebind;ut_radio 7 9 Flag exiting back."
  117. //BOMB
  118. set iy_radio81  "vstr iy_rebind;ut_radio 8 1 Heading to Bombsite A"
  119. set iy_radio82  "vstr iy_rebind;ut_radio 8 2 Heading to Bombsite B"
  120. set iy_radio83  "vstr iy_rebind;ut_radio 8 3 Enemy at Bombsite A"
  121. set iy_radio84  "vstr iy_rebind;ut_radio 8 4 Enemy at Bombsite B"
  122. set iy_radio85  "vstr iy_rebind;ut_radio 8 5 I have the bomb!"
  123. set iy_radio86  "vstr iy_rebind;ut_radio 8 6 The bomb is loose!"
  124. set iy_radio87  "vstr iy_rebind;say_team " //There is no radio 8 7, but you can still add a message here.
  125. set iy_radio88  "vstr iy_rebind;say_team " //There is no radio 8 8, but you can still add a message here.
  126. set iy_radio89  "vstr iy_rebind;say_team " //There is no radio 8 9, but you can still add a message here.
  127. //MISCELLANEOUS
  128. set iy_radio91  "vstr iy_rebind;ut_radio 9 1 Good job, team."
  129. set iy_radio92  "vstr iy_rebind;ut_radio 9 2 Nice one!"
  130. set iy_radio93  "vstr iy_rebind;ut_radio 9 3 Check your fire!"
  131. set iy_radio94  "vstr iy_rebind;ut_radio 9 4 Sorry about that."
  132. set iy_radio95  "vstr iy_rebind;ut_radio 9 5 Whatever."
  133. set iy_radio96  "vstr iy_rebind;ut_radio 9 6 No problem!"
  134. set iy_radio97  "vstr iy_rebind;ut_radio 9 7 Oh, you idiot!"
  135. set iy_radio98  "vstr iy_rebind;ut_radio 9 8 What the f***, over?"
  136. set iy_radio99  "vstr iy_rebind;ut_radio 9 9 Thanks!"
  137.  
  138. //created by iynque
  139. ut_echo ^7[^4radio.cfg loaded^7];echo radio.cfg loaded

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.