The Dink Network

Keycodes

May 11th, 2011
v1.00
Score : 7.0 good
spike.gif
scratcher
Bard Male Finland bloop
cigarette bonca 
This is a list of the key-### codes that are used to make scripts correspond with a certain keyboard button. The info can be gleaned by playing Dink with debug mode turned on, but having it all laid out in a simple text file is much convenient.

Unfortunately the file includes only part of all keycodes that exist in the game. The main buttons like Control, Space, Alt, etc. are missing, as are any more exotic buttons that aren't found on a basic US keyboard. For that matter, some of the symbol keys are actually different on different keyboard layouts, a fact an author needs to be aware of as using such keys could mean the buttons are nigh unusable for people with different keyboard layouts in different countries.

Furthermore, at the time of this writing, some keycodes connect to different keys in FreeDink than in regular v108... This is a file that would really benefit from being a tutorial as much as a listing, but the most notable flaw remains the fact that the list is incomplete.

Nonetheless, Keycodes is a very handy summary to have around if you plan on adding new buttons into a dmod.
August 24th, 2003
v1.00
Score : 9.0 exceptional
custom_simon.gif
SimonK
Peasant Male Australia
 
This is a handy resource for those authors who plan to use extra keyboard commands in their DMOD. It lets you know which number accesses which keys in version 1.06+ of the Dink Engine.

It has a sample script.

Keys not covered are the default action keys such as SHIFT and CNTRL etc... if this document covered how these keys worked in relation to the wait_for_button() command it would truley be a complete document.

9 out of 10
January 27th, 2003
v1.00
Score : 9.6 exceptional
fish.gif
Binirit
Peasant Female
 
This file gives a list of key codes you can use in any D-mod.

It works the same as pressing M for the map, but you can use any key on the keyboard for any purpose.

Explained is not only what the key codes are, but also how to make it work in a D-mod, since a script is included.

This file however is also handy if you have downloaded a file that works with a certain key code but you find that that one does not work for you for whatever reason or if you play a D-mod that uses a key but that key does not work on your computer. You can then easily check this file, choose a key and rename the script and check if that one will work. It worked for me!

Overall an outstanding file.
April 18th, 2002
v1.00
Score : 9.9 exceptional
knightg.gif
WC
Peasant Male United States
Destroying noobs since 1999. 
If you wana make great d-mods, this is a must have file. When dink 1.06 came out it had he features to attach a script to any key making authors able to do powerful thigns with the keyboard, and bring a whole new level to dink. This file lists all the key and key codes that you will need to attach scripts to the key board.