defaults.cs 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. $pref::Player::Name = "Visitor";
  2. $pref::Player::defaultFov = 75;
  3. $pref::Player::zoomSpeed = 0;
  4. $pref::Net::LagThreshold = 400;
  5. $pref::Net::Port = 28000;
  6. $pref::HudMessageLogSize = 40;
  7. $pref::ChatHudLength = 1;
  8. $pref::Input::LinkMouseSensitivity = 1;
  9. // DInput keyboard, mouse, and joystick prefs
  10. $pref::Input::KeyboardEnabled = 1;
  11. $pref::Input::MouseEnabled = 1;
  12. $pref::Input::JoystickEnabled = 0;
  13. $pref::Input::KeyboardTurnSpeed = 0.1;
  14. $pref::Input::invertVerticalMouse = false;
  15. $pref::Input::VertMouseSensitivity = 1;
  16. $pref::Input::HorzMouseSensitivity = 1;
  17. $pref::Input::RollMouseSensitivity = 1;
  18. $pref::Input::ZoomVertMouseSensitivity = 0.3;
  19. $pref::Input::ZoomHorzMouseSensitivity = 0.3;
  20. $sceneLighting::cacheSize = 20000;
  21. $sceneLighting::purgeMethod = "lastCreated";
  22. $sceneLighting::cacheLighting = 1;
  23. $pref::Video::displayDevice = "D3D11";
  24. $pref::Video::disableVerticalSync = 1;
  25. $pref::Video::Resolution = "1024 768";
  26. $pref::Video::FullScreen = false;
  27. $pref::Video::BitDepth = "32";
  28. $pref::Video::RefreshRate = "60";
  29. $pref::Video::AA = "4";
  30. $pref::Video::defaultFenceCount = 0;
  31. $pref::Video::screenShotSession = 0;
  32. $pref::Video::screenShotFormat = "PNG";
  33. /// This disables the hardware FSAA/MSAA so that
  34. /// we depend completely on the FXAA post effect
  35. /// which works on all cards and in deferred mode.
  36. ///
  37. /// Note the new Intel Hybrid graphics on laptops
  38. /// will fail to initialize when hardware AA is
  39. /// enabled... so you've been warned.
  40. ///
  41. $pref::Video::disableHardwareAA = true;
  42. $pref::Video::disableNormalmapping = false;
  43. $pref::Video::disablePixSpecular = false;
  44. $pref::Video::disableCubemapping = false;
  45. ///
  46. $pref::Video::disableParallaxMapping = false;
  47. $pref::Video::Gamma = 2.2;
  48. $pref::Video::Contrast = 1.0;
  49. $pref::Video::Brightness = 0;
  50. /// The perfered light manager to use at startup. If blank
  51. /// or if the selected one doesn't work on this platfom it
  52. /// will try the defaults below.
  53. $pref::lightManager = "";
  54. /// This is the default list of light managers ordered from
  55. /// most to least desirable for initialization.
  56. $lightManager::defaults = "Advanced Lighting";
  57. /// A scale to apply to the camera view distance
  58. /// typically used for tuning performance.
  59. $pref::camera::distanceScale = 1.0;
  60. /// Causes the system to do a one time autodetect
  61. /// of an SFX provider and device at startup if the
  62. /// provider is unset.
  63. $pref::SFX::autoDetect = true;
  64. /// The sound provider to select at startup. Typically
  65. /// this is DirectSound, OpenAL, or XACT. There is also
  66. /// a special Null provider which acts normally, but
  67. /// plays no sound.
  68. $pref::SFX::provider = "";
  69. /// The sound device to select from the provider. Each
  70. /// provider may have several different devices.
  71. $pref::SFX::device = "OpenAL";
  72. /// If true the device will try to use hardware buffers
  73. /// and sound mixing. If not it will use software.
  74. $pref::SFX::useHardware = false;
  75. /// If you have a software device you have a
  76. /// choice of how many software buffers to
  77. /// allow at any one time. More buffers cost
  78. /// more CPU time to process and mix.
  79. $pref::SFX::maxSoftwareBuffers = 16;
  80. /// This is the playback frequency for the primary
  81. /// sound buffer used for mixing. Although most
  82. /// providers will reformat on the fly, for best
  83. /// quality and performance match your sound files
  84. /// to this setting.
  85. $pref::SFX::frequency = 44100;
  86. /// This is the playback bitrate for the primary
  87. /// sound buffer used for mixing. Although most
  88. /// providers will reformat on the fly, for best
  89. /// quality and performance match your sound files
  90. /// to this setting.
  91. $pref::SFX::bitrate = 32;
  92. /// The overall system volume at startup. Note that
  93. /// you can only scale volume down, volume does not
  94. /// get louder than 1.
  95. $pref::SFX::masterVolume = 0.8;
  96. /// The startup sound channel volumes. These are
  97. /// used to control the overall volume of different
  98. /// classes of sounds.
  99. $pref::SFX::channelVolume1 = 1;
  100. $pref::SFX::channelVolume2 = 1;
  101. $pref::SFX::channelVolume3 = 1;
  102. $pref::SFX::channelVolume4 = 1;
  103. $pref::SFX::channelVolume5 = 1;
  104. $pref::SFX::channelVolume6 = 1;
  105. $pref::SFX::channelVolume7 = 1;
  106. $pref::SFX::channelVolume8 = 1;
  107. $pref::SFX::channelVolume[1] = 1;
  108. $pref::SFX::channelVolume[2] = 1;
  109. $pref::SFX::channelVolume[3] = 1;
  110. $pref::SFX::channelVolume[4] = 1;
  111. $pref::PostEffect::PreferedHDRFormat = "GFXFormatR8G8B8A8";
  112. /// This is an scalar which can be used to reduce the
  113. /// reflection textures on all objects to save fillrate.
  114. $pref::Reflect::refractTexScale = 1.0;
  115. /// This is the total frame in milliseconds to budget for
  116. /// reflection rendering. If your CPU bound and have alot
  117. /// of smaller reflection surfaces try reducing this time.
  118. $pref::Reflect::frameLimitMS = 10;
  119. /// Set true to force all water objects to use static cubemap reflections.
  120. $pref::Water::disableTrueReflections = false;
  121. // A global LOD scalar which can reduce the overall density of placed GroundCover.
  122. $pref::GroundCover::densityScale = 1.0;
  123. /// An overall scaler on the lod switching between DTS models.
  124. /// Smaller numbers makes the lod switch sooner.
  125. $pref::TS::detailAdjust = 1.0;
  126. ///
  127. $pref::Decals::enabled = true;
  128. ///
  129. $pref::Decals::lifeTimeScale = "1";
  130. /// The number of mipmap levels to drop on loaded textures
  131. /// to reduce video memory usage.
  132. ///
  133. /// It will skip any textures that have been defined as not
  134. /// allowing down scaling.
  135. ///
  136. $pref::Video::textureReductionLevel = 0;
  137. ///
  138. $pref::Shadows::textureScalar = 1.0;
  139. ///
  140. $pref::Shadows::disable = false;
  141. /// Sets the shadow filtering mode.
  142. ///
  143. /// None - Disables filtering.
  144. ///
  145. /// SoftShadow - Does a simple soft shadow
  146. ///
  147. /// SoftShadowHighQuality
  148. ///
  149. $pref::Shadows::filterMode = "SoftShadow";
  150. ///
  151. $pref::Video::defaultAnisotropy = 1;
  152. /// Radius in meters around the camera that ForestItems are affected by wind.
  153. /// Note that a very large number with a large number of items is not cheap.
  154. $pref::windEffectRadius = 25;
  155. /// AutoDetect graphics quality levels the next startup.
  156. $pref::Video::autoDetect = 1;
  157. $PostFXManager::Settings::EnableDOF = "0";
  158. $PostFXManager::Settings::DOF::BlurCurveFar = "";
  159. $PostFXManager::Settings::DOF::BlurCurveNear = "";
  160. $PostFXManager::Settings::DOF::BlurMax = "";
  161. $PostFXManager::Settings::DOF::BlurMin = "";
  162. $PostFXManager::Settings::DOF::EnableAutoFocus = "";
  163. $PostFXManager::Settings::DOF::EnableDOF = "";
  164. $PostFXManager::Settings::DOF::FocusRangeMax = "";
  165. $PostFXManager::Settings::DOF::FocusRangeMin = "";
  166. $PostFXManager::Settings::EnableLightRays = "0";
  167. $PostFXManager::Settings::LightRays::brightScalar = "0.75";
  168. $PostFXManager::Settings::LightRays::decay = "1.0";
  169. $PostFXManager::Settings::LightRays::density = "0.94";
  170. $PostFXManager::Settings::LightRays::numSamples = "40";
  171. $PostFXManager::Settings::LightRays::weight = "5.65";
  172. $PostFXManager::Settings::EnableDOF = 1;
  173. $pref::PostFX::EnableVignette = 1;
  174. $pref::PostFX::EnableLightRays = 1;
  175. $pref::PostFX::EnableHDR = 1;
  176. $pref::PostFX::EnableSSAO = 1;