Configuration file options: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m Mapster32.cfg
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 29: Line 29:
<ins>'''5:'''</ins> Wheel Up
<ins>'''5:'''</ins> Wheel Up


====MouseAnalogAxes0-1====
====MouseAnalogAxes0====
''analog_turning''
 
====MouseAnalogAxes1====
''analog_moving'' (must be empty for mouse aiming)


====MouseAnalogScale0-1====
====MouseAnalogScale0-1====
Line 43: Line 47:
====RunKeyBehaviour====
====RunKeyBehaviour====
[[binary switch]]<br />
[[binary switch]]<br />
Note the British spelling of “Behavio<ins>u</ins>r”.
Note the British spelling of "Behavio<ins>u</ins>r".


====AutoAim====
====AutoAim====
Line 134: Line 138:


====GLAnisotropy====
====GLAnisotropy====
This is the setting which controls the level of anisotropic filtering applied in 16 and 32 bit rendering modes.
This is the setting which controls the level of anisotropic filtering applied in 16 and 32 bit rendering modes. The Duke3D.cfg counterpart is r_textureanisotropy and the max value for both is 16.


====GLProjectionFix====
====GLProjectionFix====
Line 384: Line 388:


===gltexfiltermode===
===gltexfiltermode===
Same as its '''''Duke3D.cfg''''' counterpart.
Same as its '''''Duke3D.cfg''''' counterpart, r_texturemode.


===maxrefreshfreq===
===maxrefreshfreq===

Latest revision as of 23:41, 30 March 2012

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.

Duke3D.cfg Settings

[Controls]

MouseSensitivity

ControllerType

MouseAiming

binary switch

MouseButton0-5

A single click.

MouseButtonClicked0-3

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

MouseAnalogAxes0

analog_turning

MouseAnalogAxes1

analog_moving (must be empty for mouse aiming)

MouseAnalogScale0-1

MouseDigitalAxes0-1_0-1

MouseAimingFlipped

binary switch

AimingFlag

binary switch

RunKeyBehaviour

binary switch
Note the British spelling of "Behaviour".

AutoAim

binary switch

JoystickButton0-35

JoystickButtonClicked0-35

JoystickAnalogAxes0-7

JoystickDigitalAxes0-7_0-1

JoystickAnalogScale0-7

JoystickAnalogDead0-7

JoystickAnalogSaturate0-7

WeaponSwitchMode

MouseBias

binary switch

MouseFilter

binary switch

SmoothInput

binary switch

UseJoystick

binary switch

UseMouse

binary switch

Mouse_Sensitivity

[Misc]

AutoMsg

AutoVote

Color

Crosshairs

DemoCams

Executions

IDPlayers

MPMessageDisplayTime

RunMode

ShowFPS

ShowLevelStats

ShowOpponentWeapons

ShowViewWeapon

StatusBarMode

StatusBarScale

Team

UsePrecache

WeaponChoice0-9

[Setup]

ForceSetup

This is used to designate whether or not the game setup dialog will appear at game startup. It uses the binary switch.

[Screen Setup]

Detail

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

GLAnisotropy

This is the setting which controls the level of anisotropic filtering applied in 16 and 32 bit rendering modes. The Duke3D.cfg counterpart is r_textureanisotropy and the max value for both is 16.

GLProjectionFix

GLTextureMode

GLUseCompressedTextureCache

This is the flag for enabling the compressed on-disk texture cache. It uses the binary switch.

GLUseTextureCacheCompression

This is the flag for on-disk texture cache compression. It uses the binary switch.

GLUseTextureCompr

This is the flag for texture compression. It uses the binary switch.

GLWidescreen

This is the flag for widescreen mode. It uses the binary switch.

MaxRefreshFreq

This is the maximum refresh rate. It defaults at 60.

Messages

This is the flag for the whether or not to display messages. It uses the binary switch.

Out

This is the flag for the parental lock. It uses the binary switch.

Password

This is the parental lock password.

ScreenBPP

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.

ScreenGamma

ScreenHeight

This is the height of the screen. It is recommended to change this in-game or in the setup utilities provided.

ScreenMode

ScreenSize

This is the size of the screen and\or status bar. It defaults at 4.

ScreenWidth

This is the width of the screen. It is recommended to change this in-game or in the setup utilities provided.

Shadows

This is the flag for enabling shadows. It uses the binary switch. See spriteshadow.

Tilt

This is the flag for enabling screen tilting. It uses the binary switch. See wackplayer and rotscrnang.

UseHightile

This is the flag for enabling high-resolution textures and sprites. It uses the binary switch.

UseModels

This is the flag for 3D Models. It uses the binary switch.

[Sound Setup]

AmbienceToggle

FXVolume

MusicToggle

MusicVolume

ReverseStereo

SoundToggle

VoiceToggle

[KeyDefinitions]

All of these follow this format:

<function> <P1 key> <P2 key>

Move_Forward

Move_Backward

Turn_Left

Turn_Right

Strafe

Fire

Open

Run

AutoRun

Jump

Crouch

Look_Up

Look_Down

Look_Left

Look_Right

Strafe_Left

Strafe_Right

Aim_Up

Aim_Down

Weapon_1

Weapon_2

Weapon_3

Weapon_4

Weapon_5

Weapon_6

Weapon_7

Weapon_8

Weapon_9

Weapon_10

Inventory

Inventory_Left

Inventory_Right

Holo_Duke

Jetpack

NightVision

MedKit

TurnAround

SendMessage

Map

Shrink_Screen

Enlarge_Screen

Center_View

Holster_Weapon

Show_Opponents_Weapon

Map_Follow_Mode

See_Coop_View

Mouse_Aiming

Toggle_Crosshair

Steroids

Quick_Kick

Next_Weapon

Previous_Weapon

Show_Console

Other

There is no function called “Other”. This is where functions as defined by the definegamefuncname parameter are located.

[Comm Setup]

PlayerName

This is the player's name, which defaults to "Duke". It is recommended to change this, either here or in the Player Setup menu.

RTSName

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".

CommbatMacro#0-9

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!!!"

[Gamevars]

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.


Build.cfg\Mapster32.cfg Settings

forcesetup

Same as above.

fullscreen

This is the flag for fullscreen mode. Default is 0. Here is the scale:

0: Windowed
1: Fullscreen
2+: INVALID

xdim2d

The height of the screen in 2D mode. Default is 640.

ydim2d

The width of the screen in 2D mode. Default is 480.

xdim3d

Same as xdim2d, but for 3D mode.

ydim3d

Same as ydim2d, but for 3D mode.

bpp

Same as ScreenBPP. This is for 3D mode only.

glusetexcache

Same as its Duke3D.cfg counterpart.

glusetexcachecompression

Same as its Duke3D.cfg counterpart.

gltexfiltermode

Same as its Duke3D.cfg counterpart, r_texturemode.

maxrefreshfreq

Same as its Duke3D.cfg counterpart.

brightness

This is the value for the 3D mode brightness. Default is 0. It ranges from 0 (darkest) to 15 (brightest).

samplerate

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

music

This is the flag for enabling music. Default is 0. It uses the binary switch.

mouse

This is the flag for enabling the mouse. Default is 0. It uses the binary switch.

mousesensitivity

The sensitivity of the mouse. Default is 1.

Key Settings

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