Advertisement
Guest User

Teschmacher's high.lua

a guest
Jul 14th, 2015
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.61 KB | None | 0 0
  1. distance =
  2. {
  3.     distance10x10 = 90000.0; --60000.0
  4.     distanceLevel0 = 90000.0; --38000.0
  5.     uniqueSceneFarDistance = 90000.0; --10000.0
  6.     smokesSceneFarDistance = 90000.0; --10000.0
  7.     minimalSquareOnScreen = 50; --50
  8.     minimalSquareOnScreenFull = 100; --100
  9.    
  10.     mapLodDistance0 = 8000; --2000
  11.     mapLodDistance1 = 16000; --4000
  12.     mapLodDistance2 = 24000; --6000
  13.     mapLodDistance3 = 32000; --8000
  14.     smallShitDimention = 100; --400
  15. }
  16. distanceBlend =
  17. {
  18.     townNearDistance  = 90000.0; --20000.0
  19.     townFarDistance   = 90000.0; --60000.0
  20.     fieldNearDistance = 90000.0; --10000.0
  21.     fieldFarDistance  = 90000.0; --60000.0
  22.     waterNearDistance = 90000.0;  --6000.0
  23.     waterFarDistance  = 90000.0; --12000.0
  24.     townLightNearDistance  = 90000.0; --9000.0
  25.     townLightFarDistance  = 90000.0; --60000.0
  26.     subforest = {80000, 100000}; --8000, 30000
  27.     beach = {80000, 100000}; --8000, 13000
  28.     road = {80000, 100000};  --8000, 13000
  29. }
  30.  
  31. --Old Noise
  32. land_noise =
  33. {
  34.     noisemin = 0.0; --0.1 -- the weight of a noise texture in a distance shot (вес текстуры шума на дальнем плане)
  35.     noisemax = 0.4; --0.5 -- the weight of a noise texture in a close shot (вес текстуры шума на ближнем плане)
  36.     noise1front = 1000.0; --1000 -- the range of close shot for noise (дальность ближнего плана для шума)
  37.     noise1back = 30000.0; --18000 -- the range of distance shot for noise (дальность дальнего плана для шума)
  38.     noise1top = 2500.0;
  39.     noise1bottom = 2000.0;
  40.     noise1PerSquare = 5.0;
  41.     noise2PerSquare = 150.0;
  42. }
  43.  
  44. land_detailNoise=
  45. {
  46.     Height = 100.0; --300.0
  47.     Slope = 0.0; --0.0 
  48. }
  49.  
  50. district =
  51. {
  52.     maxDistrictsAround = 100000; --100000
  53.  
  54.     farDistance = 100000.0; --10000.0
  55.     farFullRenderDistance = 90000.0; --6000.0
  56.     nearFullRenderDistance = 2000.0; --800.0
  57.     nearDistance = 1000.0; --560.0
  58.    
  59.     treesFarDistance = 100000.0; --1500.0  
  60.     treesFarFullBlendRenderDistance = 80000.0; --1200.0
  61.     treesFarFullRenderDistance = 80000.0; --1000.0
  62.     treeslodDistance = 600.0; --600.0
  63.     heightFactor = 0; --0
  64.     heightRandomFactor = 0; --0
  65.     ajastfactor = 1; --1
  66.    
  67.    
  68.     lampFarDistance = 30000.0; --10000.0
  69.     splineBlockFarDistance = 500.0;
  70.  
  71. --  renderType = "texture"; -- simple, texture, instance
  72.     renderType = "simple"; -- simple, texture, instance
  73.    
  74.     lamp =
  75.     {
  76.         lampOn = 1;
  77.         maxSize = 8.4;
  78.         staticSize = 4.0;
  79.         spriteScale = 0.001;
  80.         minDistance = 150.0;
  81.         maxDistance = 10000.0;
  82.         maxAlphaDistance = 400.0;
  83.         minAlphaDistance = 0.0;
  84.         minAlpha = 0.0;
  85.         maxAlpha = 1.0;
  86.         minBrightnessDistance = 0.0;
  87.         maxBrightnessDistance = 8000.0;     -- must be <= lampFarDistance
  88.         dsLightRadius = 60;
  89.         dsLightBrightness = 4;
  90.     };
  91. }
  92.  
  93. flat_shadow =
  94. {
  95.     farDistance = 30000.0; --8000
  96.     fullFarDistance = 30000; --6000
  97. }
  98.  
  99. fog =
  100. {
  101.     front = 500.0; --1000.0;
  102.     back  = 9000.0; --70000.0;
  103. }
  104.  
  105. layerfog =
  106. {
  107.     fog_begin = 0.0;
  108.     fog_end = 1000.0;
  109.     fog_strength = 10000.0;
  110.     fog_color = {1.0, 1.0, 1.0};
  111. }
  112.  
  113. infrared =
  114. {
  115.     landDetail = 1.0; --0.8
  116.     landDarkness = 1.0;
  117.     riverDarkness = 0.7;
  118.     roadDarkness = 1.5;
  119.     runwayDarkness = 1.7;
  120. }
  121.  
  122. noise =
  123. {
  124.     noiseStartDistance = 10000.0; --3000.0
  125.     noiseEndDistance = 200.0;
  126.     noiseMaxBlend = 0.7;
  127.     noiseScale = 15.0;
  128.     rampNoisePower = 0.8;
  129.     rampNoiseScale = 17.0;
  130.     smallNoiseStartDistance = 80.0;
  131.     smallNoiseEndDistance = 1.0;
  132.     smallNoiseMaxBlend = 0.6;
  133.     smallNoiseScale = 450.0;       
  134. }
  135.  
  136. lamp31 =
  137. {
  138.     lampOn = 1;
  139.     maxSize = 8.4;
  140.     staticSize = 4.0;
  141.     spriteScale = 0.001;
  142.     minDistance = 150.0;
  143.     maxDistance = 10000.0;
  144.     maxAlphaDistance = 400.0;
  145.     minAlphaDistance = 0.0;
  146.     minAlpha = 0.0;
  147.     maxAlpha = 1.0;
  148.     minBrightnessDistance = 0.0;
  149.     maxBrightnessDistance = 10000.0;
  150.     dsLightRadius = 60;
  151.     dsLightBrightness = 4;
  152. }
  153.  
  154. lamp =
  155. {
  156.     lampOn = 1;
  157.     maxSize = 5.4;
  158.     staticSize = 2.9;
  159.     spriteScale = 0.0012; --0.0025
  160.     minDistance = 100.0;
  161.     maxDistance = 3385.0;
  162.     maxAlphaDistance = 1300.0;
  163.     minAlphaDistance = 250.0;
  164.     minAlpha = 0.0; --0.36
  165.     maxAlpha = 1.0; --0.26
  166.     minBrightnessDistance = 0.0;
  167.     maxBrightnessDistance =24000.0; --15000
  168. }
  169.  
  170. fan =
  171. {
  172.     read = 0; -- читать настройки из этого конфига (для отладки)
  173.    
  174.     pos = {-117, 0.3, 120};
  175.     dir = {0, -1, 0};
  176.     power = 8000;
  177.     radius = 30;
  178.    
  179.     oscillator = 0.2;
  180.     frequency = 15;
  181. };
  182.  
  183. --hiddensemantics={0, 2, 5, 7, 9, 23, 26};
  184. hiddensemantics={
  185. --  "Sea",
  186. --  "Lake",
  187. --  "Island",
  188. --  "Land",
  189. --  "Field",
  190. --  "Beach",
  191. --  "Plant",
  192. --  "Town",
  193. --  "River",
  194. --  "Channel",
  195. --  "Road",
  196. --  "Rail",
  197. --  "Runway",
  198. --  "Building",
  199. --  "ELT",
  200. --  "SmallShit",
  201. --  "Trees",
  202. --  "Lamp",
  203.     };
  204. hiddenlayer={
  205. --  0,
  206. --  1,
  207. --  2,
  208. --  3,
  209. --  4,
  210. --  5,
  211. --  6,
  212. --  18,
  213. --  19,     -- flat_shadows    
  214. --  20,     -- houses
  215. --  21,     -- trees
  216. --  22,     -- pole
  217. --  23,     -- lights
  218. --  24
  219. };
  220. hiddenlevels={
  221. --  0,
  222. --  1,
  223. --  2
  224.     };
  225. hiddencameras={
  226. --  0, --near,
  227. --  1, --far
  228.     };
  229. debug =
  230. {
  231.     switchoffDrawRoutine = 0;
  232.     switchoffEdm = 0;
  233.     switchoffFetchSurface = 0;
  234.     switchoffFetchUniqueScenes = 0;
  235.     switchoffFetchDistricts = 0;
  236.     switchoffFetchSmokes = 0;
  237.     switchoffFetchLights = 0;
  238.     switchoffRenderLights = 0;
  239. }
  240.  
  241.    
  242.  
  243. function UpdateCamera( height, civillights)
  244.     if civillights>0 then
  245. --      district.treesFarDistance = 900;
  246. --      district.treesFarFullBlendRenderDistance = 850.0;
  247. --      district.treesFarFullRenderDistance = 800.0;
  248. --      district.treeslodDistance = 0.0;
  249.         else
  250. --      district.treesFarDistance = 1500;
  251. --      district.treesFarFullBlendRenderDistance = 1200.0;
  252. --      district.treesFarFullRenderDistance = 1000.0;
  253. --      district.treeslodDistance = 600.0;
  254.         end
  255. --  distance.uniqueSceneFarDistance = distance.uniqueSceneFarDistance - 1
  256. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement