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
Breakout

Breakout

Snake

Snake

by iynque Edit

Play Breakout and Snake. ⇧ Shift key starts Snake, push again for Breakout. In Breakout, resets Snake, resets Breakout. Use / key to pause mini game. Use arrow keys & to play breakout, and all four arrow keys (, , & ) to play Snake.

Remember to setup rebinds: these are what the arrow keys (and / key) re-bind to when you stop playing.

iy_playgames.cfg

//PLAY BREAKOUT AND SNAKE
//  SHIFT key starts Snake, push again for Breakout.
//  In Breakout, ARROWUP resets Snake, ARROWDOWN resets Breakout.
//  Use / key to pause minigame.

//KEY TO START MINIGAMES
//  All other keys can revert when you're done, but you need
//  one dedicated bind reserved to start minigames.
bind SHIFT  "vstr iy_playtime"

//MINIGAME BINDS REVERT TO BINDS SET HERE
set iy_revertbind01 "bind DOWNARROW     vstr iy_null"  //reset minigame bind to this bind, use "vstr iy_null" for none
set iy_revertbind02 "bind UPARROW       vstr iy_null"  //reset minigame bind to this bind, use "vstr iy_null" for none
set iy_revertbind03 "bind RIGHTARROW    vstr iy_null"  //reset minigame bind to this bind, use "vstr iy_null" for none
set iy_revertbind04 "bind LEFTARROW         vstr iy_null"  //reset minigame bind to this bind, use "vstr iy_null" for none
set iy_revertbind05 "bind /                 vstr iy_null"  //reset minigame bind to this bind, use "vstr iy_null" for none

//Snake Keys
set iy_snakebind01  "bind UPARROW       snake_up"
set iy_snakebind02  "bind DOWNARROW     snake_down"
set iy_snakebind03  "bind LEFTARROW     snake_left"
set iy_snakebind04  "bind RIGHTARROW    snake_right"
set iy_snakebind05  "bind /             vstr iy_snakepause"
set iy_snakebind06  "bind SHIFT         vstr iy_playtime"

//Breakout Keys
set iy_breakbind01  "bind UPARROW       vstr iy_snakereset"
set iy_breakbind02  "bind DOWNARROW     vstr iy_breakoutreset"
set iy_breakbind03  "bind LEFTARROW     breakout_left"
set iy_breakbind04  "bind RIGHTARROW    breakout_right"
set iy_breakbind05  "bind /             vstr iy_breakoutpause"
set iy_breakbind06  "bind SHIFT         vstr iy_playtime"

//The script!
set iy_playtime         "vstr iy_playsnake"
set iy_playsnake        "vstr iy_snakebind01;   vstr iy_snakebind02;    vstr iy_snakebind03;    vstr iy_snakebind04;    vstr iy_snakebind05;    vstr iy_snakebind06;    snake_play;     play sound\items\itemon.wav;    play sound\uptown\jazz.wav; ut_echo ^7[^8S^)N^2A^5K^(E^6!^7];           set iy_playtime vstr iy_stopsnake"
set iy_stopsnake        "vstr iy_revertbind01;  vstr iy_revertbind02;   vstr iy_revertbind03;   vstr iy_revertbind04;   vstr iy_revertbind05;                   s_stop; snake_play;     play sound\items\itemoff.wav;                                                                           set iy_playtime vstr iy_playbreakout"
set iy_playbreakout     "vstr iy_breakbind01;   vstr iy_breakbind02;    vstr iy_breakbind03;    vstr iy_breakbind04;    vstr iy_breakbind05;    vstr iy_breakbind06;    breakout_play;  play sound\items\itemon.wav;    play sound\uptown\jazz.wav; ut_echo ^7[^1B^8R^3E^)A^2K^5O^4U^(T^6!^7];  set iy_playtime vstr iy_stopbreakout"
set iy_stopbreakout     "vstr iy_revertbind01;  vstr iy_revertbind02;   vstr iy_revertbind03;   vstr iy_revertbind04;   vstr iy_revertbind05;                   s_stop; breakout_play;  play sound\items\itemoff.wav;                                                                           set iy_playtime vstr iy_playsnake"
set iy_snakepause       "snake_pause;       play sound\misc\menu1.wav"
set iy_breakoutpause    "breakout_pause;    play sound\misc\menu1.wav"
set iy_snakereset       "snake_reset;       ut_echo ^7[^4Resetting Snake...^7]"
set iy_breakoutreset    "breakout_reset;    ut_echo ^7[^4Resetting Breakout...^7]"

//created by iynque
ut_echo ^7[^4iy_playgames.cfg loaded^7];    echo iy_playgames.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.