defaults.cs 6.6 KB

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