Lots of settings exist in the Duke3D.cfg and Build.cfg\Mapster32.cfg files. This is a guide to make it easier to change them. Most of these can be changed either in-game, with setup utilities, or in the startup screen.
A single click.
A double click.
Here are the values for MouseButton0-5 and MouseButtonClicked0-3.
0: Right
1: Left
2: Middle\Wheel Click
3: Thumb
4: Wheel Down
5: Wheel Up
binary switch
Note the British spelling of “Behaviourâ€.
This is used to designate whether or not the game setup dialog will appear at game startup. It uses the binary switch.
This is used to designate if the detail of the graphics is high or low. You can also change it in the Game Setup menu. It uses a variation of the binary switch, with the following values:
0: Low 1: High 2+: INVALID
This is the setting which controls the level of anisotropic filtering applied in 16 and 32 bit rendering modes.
This is the flag for enabling the compressed on-disk texture cache. It uses the binary switch.
This is the flag for on-disk texture cache compression. It uses the binary switch.
This is the flag for texture compression. It uses the binary switch.
This is the flag for widescreen mode. It uses the binary switch.
This is the maximum refresh rate. It defaults at 60.
This is the flag for the whether or not to display messages. It uses the binary switch.
This is the flag for the parental lock. It uses the binary switch.
This is the parental lock password.
This is the setting for the amount of colors diplayed on screen at once, measured in BPP (bits per pixel). Valid values are 8, 16, 24, and 32.
This is the height of the screen. It is recommended to change this in-game or in the setup utilities provided.
This is the size of the screen and\or status bar. It defaults at 4.
This is the width of the screen. It is recommended to change this in-game or in the setup utilities provided.
This is the flag for enabling shadows. It uses the binary switch. See spriteshadow.
This is the flag for enabling screen tilting. It uses the binary switch. See wackplayer and rotscrnang.
This is the flag for enabling high-resolution textures and sprites. It uses the binary switch.
This is the flag for 3D Models. It uses the binary switch.
All of these follow this format:
<function> <P1 key> <P2 key>
There is no function called “Otherâ€. This is where functions as defined by the definegamefuncname parameter are located.
This is the player's name, which defaults to "Duke". It is recommended to change this, either here or in the Player Setup menu.
This is the name of the remote ridicule file. It defaults to "DUKE.RTS", and most players will not need to change this as this file already exists. To play the sounds press "ALT+F1-F10".
These are the text macros used to send messages with "SHIFT+F1-F10", and yes, it is spelled that way. Here are the defaults:
CommbatMacro#0 = "An inspiration for birth control." CommbatMacro#1 = "You're gonna die for that!" CommbatMacro#2 = "It hurts to be you." CommbatMacro#3 = "Lucky Son of a Bitch." CommbatMacro#4 = "Hmmm....Payback time." CommbatMacro#5 = "You bottom dwelling scum sucker." CommbatMacro#6 = "Damn, you're ugly." CommbatMacro#7 = "Ha ha ha...Wasted!" CommbatMacro#8 = "You suck!" CommbatMacro#9 = "AARRRGHHHHH!!!"
This section is used to store gamevars with savegamevar in order to preserve things between EDuke32 sessions. In order to put the contents of the gamevar stored here back into memory, use readgamevar.
Same as above.
This is the flag for fullscreen mode. Default is 0. Here is the scale:
0: Windowed 1: Fullscreen 2+: INVALID
The height of the screen in 2D mode. Default is 640.
The width of the screen in 2D mode. Default is 480.
Same as xdim2d, but for 3D mode.
Same as ydim2d, but for 3D mode.
Same as ScreenBPP. This is for 3D mode only.
Same as its Duke3D.cfg counterpart.
Same as its Duke3D.cfg counterpart.
Same as its Duke3D.cfg counterpart.
Same as its Duke3D.cfg counterpart.
This is the value for the 3D mode brightness. Default is 0. It ranges from 0 (darkest) to 15 (brightest).
This is the value for the sound sample rate. Default is 0. Here is the scale:
0 - 6 KHz 1 - 8 KHz 2 - 11.025 KHz 3 - 16 KHz 4 - 22.05 KHz 5 - 32 KHz 6 - 44.1 KHz
This is the flag for enabling music. Default is 0. It uses the binary switch.
This is the flag for enabling the mouse. Default is 0. It uses the binary switch.
The sensitivity of the mouse. Default is 1.
Here's a map of all the keyboard scan codes: NOTE: values are listed in hex!
+---------------------------------------------------------------------------------------------+ | 01 3B 3C 3D 3E 3F 40 41 42 43 44 57 58 46 | |ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 SCROLL | | | |29 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E D2 C7 C9 45 B5 37 4A | | ` '1' '2' '3' '4' '5' '6' '7' '8' '9' '0' - = BACK INS HOME PGUP NUMLK KP/ KP* KP- | | | | 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 2B D3 CF D1 47 48 49 4E | |TAB Q W E R T Y U I O P [ ] \ DEL END PGDN KP7 KP8 KP9 KP+ | | | | 3A 1E 1F 20 21 22 23 24 25 26 27 28 1C 4B 4C 4D | |CAPS A S D F G H J K L ; ' ENTER KP4 KP5 KP6 9C | | KPENTER| | 2A 2C 2D 2E 2F 30 31 32 33 34 35 36 C8 4F 50 51 | |LSHIFT Z X C V B N M , . / RSHIFT UP KP1 KP2 KP3 | | | | 1D 38 39 B8 9D CB D0 CD 52 53 | |LCTRL LALT SPACE RALT RCTRL LEFT DOWN RIGHT KP0 KP. | +---------------------------------------------------------------------------------------------+
Here are the defaults. Note that quite a few of them are useless, like "keyfire".
keyforward = C8 keybackward = D0 keyturnleft = CB keyturnright = CD keyrun = 2A keystrafe = 9D keyfire = 1D keyuse = 39 keystandhigh = 1E keystandlow = 2C keylookup = D1 keylookdown = C9 keystrafeleft = 47 keystraferight = 49 key2dmode = 9C keyviewcycle = 1C key2dzoomin = D key2dzoomout = C keychat = F keyconsole = 29