defaults.tscript 6.6 KB

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