No server
------
Link us to your HP!
The console is the closest you can get to having direct real-time access to Doom 3's engine. Through the console you can enter commands to change engine variables during the game. To open the console, start Doom 3 and then press the CTRL, ALT and ~ keys together (in some countries you will have to press CTRL, ALT and the key directly beneath the ESC key if ~ doesn't work). You will see the console come down, and you can enter text at the command prompt. A list of commands you can enter are covered in the next section. To make regular access to the console easier, enter the following line into the console:
set com_allowconsole 1
This means that you can now open and close the console by simply pressing the '~' key (the key above TAB), and not three keys at once. Note that to make this setting (and many other settings) "stick", i.e. remain enabled even after quitting and restarting Doom 3, you will need to insert it into a Config file, or in the game icon's Target line, both of which are covered below.
Although you can alter many variables by entering them into the console, most command variables need to be set each and every time you start Doom 3. This is because the game engine resets these variables to their default state as the engine initializes at startup. By default, when the game engine starts, it automatically detects the presence of, and runs the command variables from two specific files: DoomConfig.cfg and AutoExec.cfg. DoomConfig.cfg already exists in your \Doom 3\base\ directory, and you can edit it using a text editor like Windows WordPad or Notepad. However changing some of the settings in DoomConfig.cfg will see them reset to default values again the next time you restart Doom 3. So the best thing to do is create a new text file, rename it to "AutoExec.cfg" (without quotes) and place it in your \Doom 3\base\ directory. You can now enter all your custom tweaks and settings into this file, and they will come into effect automatically each and every time you start Doom 3. This makes it easier to keep track of what you have tweaked, and if at any time you want to remove all your tweaks, you can simply delete the AutoExec.cfg and DoomConfig.cfg file.
Note that there is another way of executing a config file, and that is to firstly create a config file with any name you wish, e.g. MyTweaks.cfg, place it in the \Doom 3\base\ directory, and then in the Doom 3 console at any time type:
exec MyTweaks.cfg
This will run all the command variables in your new .cfg file, however unless you actually execute this file it will not be automatically run at startup time - only DoomConfig.cfg and AutoExec.cfg are automatically detected and run by Doom 3.
Some people are still having some issues with resolutions in Doom 3... It's simple, just with some commands you can play with any resolution.
A simple way is, that you put the Cfars you need in your autoexec.cfg
r_mode -1
r_aspectRatio 2
r_customHeight XXXX (or your desired Height resolution)
r_customWidth XXXX (your desired Widht resolution)
vid_restart
*It will be aplied immediately, these two r_customHeight and Width commands you can change to your custom resolution like r_customHeight 1050 and r_customWidth 1680
Tip: After choose the graphical settings, put any resolution, but in window mode. In that mode, you can just copy and paste de comands on the console!
OBS¹: The r_aspectRatio command you can change to fit you screen, just put the numer according your screen:
r_aspectRatio 0 = 4:3
r_aspectRatio 1 = 16:9
r_aspectRatio 2 = 16:10
OBS²: The r_mode is -1 because it's the number of the custom resolution, see how works:
r_mode = -1 enables customs resolutions
r_mode 0 = 320x240
r_mode 1 = 400x300
r_mode 2 = 512x384
r_mode 3 = 640x480
r_mode 4 = 800x600
r_mode 5 = 1024x768
r_mode 6 = 1152x864
r_mode 7 = 1280x1024
r_mode 8 = 1600x1200
Examples:
Running your Doom3 in Full-HD 16:9 Monitor:
r_aspectratio 1
r_mode -1
r_customwidth 1920
r_customheight 1080
Running your Doom3 on 16:10 Monitor:
r_aspectratio 2
r_mode -1
r_customwidth 1680
r_customheight 1050
Hf playing.....!
1) Load Doom3
2) bring down the console
3) Type in: timedemo demo1 usecache
4) Watch it go!
5) Read the results
CODE
// system-type stuff
seta com_allowConsole "1" // enables the console via ~ key
seta com_fixedTic "-1" // supposedly disables the 60fps cap - optional
// seta com_showfps "1" // show fps in-game - i use keybindings further down
seta com_videoRam "256" // sometimes doom doesn't detect video ram properly - hard code it here
// seta com_showMemoryUsage "1" // displays current memory usage, interesting during section transitions, otherwise mostly useless
// seta s_showLevelMeter "1" // display sound level meter for each speaker
// resolution - uncomment the one you want
// seta r_mode "-1" // enables custom width/height
// seta r_mode "3" // 640x480
// seta r_mode "4" // 800x600
seta r_mode "5" // 1024x768
// seta r_mode "6" // 1152x864
// seta r_mode "7" // 1280x1024
// seta r_mode "8" // 1600x1200
// seta r_customWidth "960"
// seta r_customHeight "600"
// seta r_aspectRatio "0" // 0, 1, or 2 (4:3, 16:9, 16:10) - for widescreens in combination with r_customWidth/Height
seta r_displayRefresh "60" // set to your monitor's refresh rate AT THE RESOLUTION SELECTED ABOVE!
seta r_brightness "2" // brighten things up a bit
seta r_gamma "2" // ditto - but doesn't work in multiplayer
// image tweaks - here's where we get some major speedups - these next few tweaks should give you a MASSIVE increase in performance!
seta cm_backFaceCull "1" // don't render anything behind you - crashes my 5800 but works with ATI cards
seta com_machineSpec "1" // 1 = medium quality, 2 = hq, 3 = ultra hq
seta image_filter "GL_LINEAR_MIPMAP_NEAREST" // bilinear filtering
seta image_useCache "1" // default 0 - pre-caches textures to prevent stuttering/jerkyness
seta image_cacheMegs "128" // default 32 - set from 1/4 to 1/2 of your total system ram
seta image_cacheMinK "16384" // optimal setting should equal (image_cacheMegs ÷ 8) * 1024
seta image_downSizeLimit "512" // 1024 for 256mb cards. 512 for 128mb or 256 for 64mb
seta image_downSize "1" // used to enable above
seta image_downSizeBumpLimit "512" // 1024 for 256mb cards, 512 for 128mb or 256 for 64mb
seta image_downSizeBump "1" // enables above
seta image_downSizeSpecularLimit "256" // this setting controls the specular lighting light map downsample limit
seta image_downSizeSpecular "1" // enables it
seta image_preload "0" // preload images
seta r_orderIndexes "1" // reorganises indexes to optimize vertex use
seta image_anisotropy "4" // set to 0 for no anisotropy or 2, 4 or 8 - higher number = higher performance hit but better visuals
seta r_multiSamples "0" // full frame antialiasing - 0,2,4,8 or 16 - reduces jaggies on diagnal lines but at a BIG performance hit if set to anything other than 0 on a slow card - the action is Doom 3 is so fast you won't need FFA...
seta r_swapInterval "0" // enabled/disable vsync - disabling will improve FPS (especially on Nvidia cards), but tearing may occur in onscreen visuals
seta r_useShadowCulling "1" // try to cull shadows from partially visible lights
seta r_useCulling "2" // 0 = none, 1 = sphere, 2 = sphere + box
seta r_useEntityCulling "1" // 0 = none, 1 = box
seta r_useLightCulling "2" // 0 = none, 1 = box, 2 = exact clip of polyhedron faces, 3 = also areas
seta r_usePortals "1" // use portals for area culling
seta r_vertexBufferMegs "64" // mem for vertexes
// seta r_shadows "0" // disables shadows entirely - big performance gain that works in single player but now disabled in multiplayer v1.1
// this section helps optimize shadows - shadows are forced on in multiplayer servers but hits most cards hard - these will help
seta r_useShadowCulling "1"
seta r_useShadowProjectedCull "1"
seta r_useDepthBoundsTest "0" // Nvidia only
seta r_useTurboShadow "1"
seta r_useOptimizedShadows "1"
seta r_useTwoSidedStencil "1"
seta r_useShadowVertexProgram "1"
// these don't effect performance, but might give you an edge in multiplayer
seta g_fov "90" // custom field of view - default 90 - only 90 to 110 supported in multiplayer in patch v1.1
seta g_projectileLights "0" // disable projectile lights
seta g_decals "0" // don't show decals
seta g_muzzleFlash "0" // disable muzzle flashes so can see enemy better
seta g_showBrass "0" // no ejecting brass
seta g_doubleVision "0" // shakes be gone!
seta pm_runbob "0" // default is 0.4
seta pm_runpitch "0" // default is 0.002
seta pm_runroll "0" // default is 0.005
seta pm_walkbob "0" // default is 0.3
seta pm_bobpitch "0" // default is 0.002
seta pm_bobroll "0" // default is 0.002
seta pm_bobup "0" // default is 0.005
seta pm_crouchbob "0" // default is 0.5
seta ui_showGun "0" // draw weapon - set to 1 if you want to see your weapon in-game
bind F10 com_showFPS "1" // to toggle fps in-game via F10 button
bind F11 com_showFPS "0" // turn fps off via F11
Save the file. It will be executed every time you load up Doom but won't get overwritten at every game startup like DoomConfig.cfg. Good place to also enter your multi-player name and server name. Mine are:
CODE
seta si_name "^9yourname"
seta ui_name "yourname"
The ^ and the # directly after it sets the color of the word or character. Here are all available colour codes:
^1 Red
^2 Green
^3 Yellow
^4 Blue
^5 Aqua
^6 Pink
^7 White
^8 Grey
^9 Black
Save the file and be happy smile.gif I got an extra 30 FPS by making the above tweaks and a consistent, smooth 60 FPS at that.
Doom 3, the Doom 3 logo, Idsoftware, the Idsoftware logo, are trademarks and/or registered trademarks of Idsoftware.
Design by: GoD::ComCom and GoD::P.iv