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 iynque Edit

Push - to open drop menu, then number keys to drop specified item. Push 0 to cancel.


Requires Script: iy_numbinds.cfg saved in the same location.


iy_drop.cfg

  1. //item dropper
  2.  
  3. bind - "vstr iy_drop"
  4. bind = "vstr iy_null"
  5.  
  6. //////////////////////////////////////////////
  7. //Includes
  8. exec iy_numbinds.cfg //iy_rebind and iy_unbind commands for clearing and restoring number-key binds
  9.  
  10. //////////////////////////////////////////////
  11. //Start interface
  12. set iy_drop	"vstr iy_unbind;bind 1 vstr iy_drop1;bind 2 vstr iy_drop2;bind 3 vstr iy_drop3;bind 4 vstr iy_drop4;bind 5 vstr iy_drop5;bind 6 vstr iy_drop6;bind 7 vstr iy_drop7;bind 8 vstr iy_drop8;bind 9 vstr iy_drop9;bind 0 vstr iy_cancel;ut_echo ^7[^4Item Drop^7] ^71-^-Medkit ^72-^-Kevlar ^73-^-Helmet ^74-^-Tacs ^75-^-Weapon ^70-^-Cancel;play sound\misc\menu2.wav"
  13.  
  14. //////////////////////////////////////////////
  15. //Drop
  16. set iy_drop1 "vstr iy_unbind; vstr iy_rebind; ut_echo ^7[^4Dropping ^1Medkit^7]; ut_itemdrop medkit"
  17. set iy_drop2 "vstr iy_unbind; vstr iy_rebind; ut_echo ^7[^4Dropping ^1Kevlar^7]; ut_itemdrop kevlar"
  18. set iy_drop3 "vstr iy_unbind; vstr iy_rebind; ut_echo ^7[^4Dropping ^1Helmet^7]; ut_itemdrop helmet"
  19. set iy_drop4 "vstr iy_unbind; vstr iy_rebind; ut_echo ^7[^4Dropping ^1Tacs^7]; ut_itemdrop nvg"
  20. set iy_drop5 "vstr iy_unbind; vstr iy_rebind; ut_echo ^7[^4Dropping ^1Weapon^7]; ut_weapdrop"
  21. set iy_drop6 "vstr iy_unbind; vstr iy_rebind; ut_echo ^7[^4Dropping ^1Silencer^7]; ut_itemdrop silencer"
  22. set iy_drop7 "vstr iy_unbind; vstr iy_rebind; ut_echo ^7[^4Dropping ^1Laser^7]; ut_itemdrop laser"
  23. set iy_drop8 "vstr iy_unbind; vstr iy_rebind; ut_echo ^7[^1N/A^7];play sound\misc\menu4.wav"
  24. set iy_drop9 "vstr iy_unbind; vstr iy_rebind; ut_echo ^7[^1N/A^7];play sound\misc\menu4.wav"
  25.  
  26. //created by iynque
  27. ut_echo ^7[^4iy_drop.cfg loaded^7];echo iy_drop.cfg loaded
  28.  
  29.  
  30. //ut_itemdrop accepts "medkit" "kevlar" "silencer" "helmet" "flag" "laser" "nvg" (nvg=night vision goggles)

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.