Just bind it
written by Index and GG Kid, thanks to deen, kamillentee & others
Almost all actions in TeeWorlds can be bound to a special key on your keyboard. You can quickly do a lot of things and it’s a great way to customize your TW experience. So, here are some popular binds with a short explanation, sorted by topics. The list will probably be extended and changed over time.
For further information you can also view the video tutorial (youtube.com/watch?v=sELsw2I2jj8) and a little syntax guide (/viewtopic.php?pid=120739) on the offical forums.
Also be sure, that we never gonna let you down~ (viewtopic.php?p=69050) !
To set a bind you can either open the console ingame with F1 OR you directly edit the
settings_ddnet.cfg
file in your teeworlds userdata folder (%appdata% or $HOME/.config/). All the examples use x
as a random key or even a mousebutton (and some times a number or value). If you don’t know the right description for the key (used by the client), you can bind something to it using the ddnet settings interface and then check the .cfg file. It will show you the client intern name for the specific key. The naming roughly follows an internal scheme (?). Furthermore there are some useful binds for rcon (F2). They are only work if you are logged into a console and have the permission for the command.* = Default or settable within settings, (1 = on) (0 = off)
HINT: You can add
;echo MESSAGE
to almost every bind, for visual feeback upon the keypress.Just make sure that you enclose multiple bind commands with quotes (
bind KEY "COMMAND ; echo MESSAGE"
)Client settings
Code: Select all
bind x "toggle cl_showhud 0 1"
Code: Select all
bind x "toggle gfx_high_detail 0 1"
Code: Select all
bind x "toggle cl_antiping 0 1"
Code: Select all
bind x "zoom-"
Code: Select all
bind x "zoom+"
Code: Select all
bind x "zoom"
Code: Select all
bind x "toggle cl_show_quads 0 1"
Code: Select all
bind x "toggle cl_overlay_entities 0 50"
Code: Select all
bind x "toggle cl_overlay_entities 0 100"
*Enable/Disable Entities (100%)
Chat
Code: Select all
bind slash "+show_chat; chat all /"
Code: Select all
bind x "+show_chat; chat all"
Code: Select all
bind x "+show_chat; chat team"
Code: Select all
bind x "chat all /c"
Dummy
Code: Select all
bind x "bind mouse1 \"+fire; +toggle cl_dummy_hammer 1 0\""
Code: Select all
bind x "bind mouse1 +fire"
Deep Fly On.cfg
echo Enabled Deep Fly
bind x exec "Deep Fly Off.cfg"
Deep Fly Off.cfg
echo Disabled Deep Hammer Fly
bind x exec "Deep Fly On.cfg"
Code: Select all
exec "Deep Fly On.cfg"
Code: Select all
bind x "toggle cl_dummy_hammer 0 1"
Code: Select all
bind x "toggle cl_dummy 0 1"
Code: Select all
bind X "toggle cl_dummy_resetonswitch 0 1"
Code: Select all
bind x "say /team 1; say /team 2"
Instantly joining a team with dummy
Code: Select all
bind x "cl_dummy 1; say /team 1; say /lock; cl_dummy 0; say /team 1"
Code: Select all
bind x "cl_dummy 1; say /team 1; say /team 2; say /lock; cl_dummy 0; say /team 1; say /team 2"
Mouse
Code: Select all
bind x "+showhookcoll"
Code: Select all
bind x "+toggle inp_mousesens 1 VALUE"
NOTE: To find your specific VALUE type
inp_mousesens
in F1.
Code: Select all
bind x "+toggle cl_mouse_max_distance 2 VALUE1; +toggle inp_mousesens 1 VALUE2"
NOTE: To find your specific VALUE1 type in F1 :
cl_mouse_max_distance
and for VALUE2 inp_mousesens
.More information here: viewtopic.php?p=63828#p63828
Personal customizations
Code: Select all
bind x "player_name NewName"
Code: Select all
bind x "dummy_name NewName"
Code: Select all
bind x "player_color_body XXXXXXXX; player_color_feet XXXXXXXX"
Code: Select all
bind x "dummy_color_body XXXXXXXX; dummy_color_feet XXXXXXXX"
Code: Select all
bind x "COMMAND; emote X"
;emote X
behind all instructions (e.g. +jump
).
Code: Select all
bind mouse2 "+hook; emote X"
- 0 = oops
- 1 = Exclamation
- 2 = Hearts
- 3 = Drop
- 4 = Dot-dot-dot
- 5 = Music
- 6 = Sorry
- 7 = Ghost
- 8 = Sushi
- 9 = Splatter
- 10 = Devil tee
- 11 = Omg
- 12 = Zzz
- 13 = Wtf
- 14 = ^^
- 15 = Questionmark
Rcon (remote_console)
Code: Select all
bind x "rcon_auth pw"
Code: Select all
bind x "rcon super"
Code: Select all
bind x "rcon unsuper"
Code: Select all
bind x "rcon left"
Code: Select all
bind x "rcon right"
Code: Select all
bind x "rcon up"
Code: Select all
bind x "rcon down"
Code: Select all
bind x "rcon vote yes"
Code: Select all
bind x "rcon vote no"
Do It Yourself binding
With these two configuration files you can toggle Settings & Commands. (FOO = command/setting of choice)
FOO off.cfg
echo FOO off
bind x exec "FOO on.cfg"
FOO on.cfg
echo FOO on
bind x exec "FOO off.cfg"
settings_ddnet.cfg
activate in Console (F1)
Code: Select all
exec "FOO off.cfg"