// Autoexec.cfg for Prey !

//bind "F5" 		"g_armorProtection 0.5; savegame quick"
bind "e" 		"toggle pm_walkspeed 240 140; toggle pm_walkbob 0.6 0.3"
bind "f" 		"_impulse54"
bind "TAB" 		"toggle g_Fov 75 90"
bind "KP_STAR" 	"toggle r_cubemapNormalize; toggle r_normalizeBumpmap"	//; toggle r_lightScale 1.75 2.0"
bind "KP_SLASH" "toggle r_normalizeBumpmap; toggle r_cubemapNormalize"	//; toggle r_lightScale 1.75 2.0"
bind "KP_PGDN" "modulateLights .9 .9 .9"
bind "KP_PGUP" "modulateLights 1.1 1.1 1.1"

seta gui_mediumFontLimit "0.54"		//"0.60"
seta gui_smallFontLimit "0.24"		//"0.30"

seta com_allowconsole "1"
seta com_preloadDemos "1"		// def. 0
seta com_compressDemos "1"
seta com_showFPS "0"
seta g_MPweaponAngleScale "-1"
seta g_showplayershadow "1"
seta pm_crouchbob "0.3"
seta pm_walkbob "0.4"
seta pm_runbob "0.5"
seta si_teamDamage "1"
seta si_map ""				// was "games/mp/d3dm2"
seta si_gameType "singleplayer"
seta si_pure "0"
seta win_noTaskKeys "1"
seta net_allowCheats "1"
seta net_serverAllowServerMod "1"
seta image_cacheMegs "96"		// def. "20"
seta image_cacheMinK "2048"	// def. "200"
seta image_useCache "0"
seta image_preload "1"
seta image_roundDown "0"
seta image_forceDownSize "0"
seta image_downSize "0"
seta image_lodbias "-2"
seta image_ignoreHighQuality "0"
seta r_useTwoSidedStencil "1"			// ATI9200 o menys té que esser 0 !!!
seta r_displayRefresh "85"
seta com_videoRam "256" //512
seta com_machineSpec "3"
seta r_finish "1"
//seta r_mode "5"
seta r_multiSamples "2"
seta r_useIndexBuffers "0"		// imprescindible a 0 !!!
seta r_useVertexBuffers "1"
seta r_vertexBufferMegs "48"
seta r_useTripleTextureARB "1"		// def. 1
seta r_renderer "best"
seta r_cgFragmentProfile "best"
seta r_cgVertexProfile "best"
seta r_forceLoadImages "1"		// def. 0
seta r_shadows "1"
seta r_megaTextureLevel "-2"		// def. 0.0
seta r_stereo "1"		// default 0
seta r_lowParticleDetail "0"
seta r_lowWorldDetail "0"
seta r_useFastSkinning "0"
seta image_anisotropy "16"
seta cm_drawNormals "1"
seta cm_drawFilled "1"
//seta s_useOpenAL "0"		// té que esser 0 !!!
//seta s_libOpenAL "openal32.dll"
seta s_numberOfSpeakers "6"
seta s_doorDistanceAdd "300"		// "150"

//seta r_bloom 0
//seta r_bloom_Contrast "0"
//seta r_bloom_Blur_Mult "0.25"
//seta r_bloom_Src_Mult "1.0"

//seta z_bloom 0
//seta z_bloomIterations "0.25"			// def. 12
//seta z_bloomBufferSize "4"			// def. 2

//seta r_testARBProgram "0"			// def. 0
//seta r_useSimpleInteraction "0"
seta r_cubemapNormalize "1"
seta r_normalizeBumpmap "0"
//seta r_flareSize "1.125"
seta r_gamma "1.5"
//seta r_brightness "1.5"
seta r_lightWholeMesh "1"
seta r_lightSourceRadius "0.0025"
seta r_lightScale "2.5"			// def. 2.0
seta r_lightDetailLevel "-2"			// def. 0.0
seta image_useHighRes "1"
seta image_usePrecompressedTextures "0"
//seta image_useNormalCompression "0"
//seta image_useAllFormats "1"
//seta image_useCompression "1"

//image_filter "GL_LINEAR"

//seta s_quadraticFalloff "0"	// def. 1
seta s_volume_dB "-8"
seta s_musicVolume_dB "-8"

vid_Restart

seta gui_mediumFontLimit "0.60"		//"0.54"
seta gui_smallFontLimit "0.10"		//"0.24"

echo "Autoexec.cfg for Prey ok."
