Advertisement
Guest User

graphics.lua

a guest
Jul 23rd, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.10 KB | None | 0 0
  1. -- available through options.graphics
  2. Plugins =
  3. {
  4.     "DXRenderer.dll",
  5.     "ZweiBlau.dll",
  6.     "AVIMaker.dll",
  7.     "Weather.dll",
  8.     "NGModel.dll",
  9.     "edterraingraphics3.dll",
  10.     "Effects.dll",
  11. }
  12.  
  13. Precaching =
  14. {
  15.     around_camera = 50000;
  16.     around_objects = 10000;
  17.     around_types = {"world", "point"};
  18.     preload_types = {"map", "world", "mission"};
  19. }
  20.  
  21. PrecompiledEffects =
  22. {
  23.     mode = "USE_PRECOMPILED_EFFECTS_FOR_UNCHANGED_FILES";
  24.     --mode = "USE_PRECOMPILED_EFFECTS_ONLY";
  25. }
  26.  
  27. VFSTexturePaths =
  28. {
  29.     "./Bazar/TempTextures",
  30.     "./Bazar/Textures/c-130",
  31.     "./Bazar/Textures/Batumi_buildings",
  32.     "./Bazar/Effects/EffectTextures",
  33.     "./Bazar/Effects/EffectRiverTGA",
  34.     "./Bazar/Effects/WaterEffects",
  35.     "./Bazar/Effects",
  36.     "./Bazar/Textures/old_textures",
  37.     "./Bazar/Textures/f-15",
  38.     "./Bazar/Textures/e-2d",
  39.     "./Bazar/Textures/f-15e",
  40.     "./Bazar/Textures/An-26B",
  41.     "./Bazar/Textures/An-30M",
  42.     "./Bazar/Textures/Patriot",
  43.     "./Bazar/Textures/kc-135",
  44.     "./Bazar/Textures/e-3",
  45.     "./Bazar/Textures/il-76md",
  46.     "./Bazar/Textures/a-50",
  47.     "./Bazar/Textures/il-78m",
  48.     "./Bazar/Textures/uh-1",
  49.     "./Bazar/Textures/Su-27",
  50.     "./Bazar/Textures/Su-33",
  51.     "./Bazar/World/textures/TexturesBMP_weapons",
  52.     "./Bazar/World/textures/WorldTexturesBMP3",
  53.     "./Bazar/World/textures/WorldTexturesTGA3",
  54.     "./Bazar/World/textures/WorldTexturesTGA2",
  55.     "./Bazar/World/textures/WorldTexturesTGA",
  56.     "./Bazar/World/textures/WorldTexturesBMP2",
  57.     "./Bazar/World/textures/WorldTexturesBMP",
  58.     "./Bazar/World/textures/WorldTexturesBMP1",
  59.     "./Bazar/World/textures/ShipTexturesBMP",
  60.     "./Bazar/World/textures/Y_FInal_Texture",
  61.     "./Bazar/World/textures/Y2_FInal_Texture",
  62.     "./Bazar/World/textures/Y3_FInal_Texture",
  63.     "./Bazar/World/textures/Y4_FInal_Texture",
  64.     "./Bazar/World/textures/Y4_FIame",
  65.     "./Bazar/World/textures/Y5_FInal_Texture",
  66.     "./Bazar/World/textures/Y6_FInal_Texture",
  67.     "./Bazar/World/textures/Vehicles_misc",
  68.     "./Bazar/World/textures/A-10_Weapons",
  69.     "./Bazar/World/textures/AH-64_Apache",
  70.     "./Bazar/World/textures/gunners",
  71.     "./Bazar/World/textures/KA-27textures",
  72.     "./Bazar/World/textures/MI26_textures",  
  73.     "./Bazar/World/textures/UH_60_textures",
  74.     "./Bazar/World/textures/T_Textures",
  75.     "./Bazar/World/textures/Ka-50_general",
  76.     "./Bazar/World/textures/A-10",
  77.     "./Bazar/World/textures/L-39",
  78.     "./Bazar/World/textures/yak-40_tex",
  79.     "./Bazar/World/textures/NAVY_Textures",
  80.     "./Bazar/World/textures/Railroad_trains_texture",
  81.     "./Bazar/World/textures/Su-25_common_textures",
  82.     "./Bazar/World/textures/Su-25_Georgian_Skins",
  83.     "./Bazar/World/textures/Su-25_Russian_Skins",
  84.     "./Bazar/World/textures/Su-25_Ukrainian_Skins",
  85.     "./Bazar/World/textures/MI-8MT",
  86.     "./Bazar/World/textures/Mig-31",
  87.     "./Bazar/World/textures/F-18C",
  88.     "./Bazar/World/textures/P-51D",
  89.     "./Bazar/World/textures/Tu-22m3",
  90.     "./Bazar/World/textures/mq-9_reaper_textures",
  91.     "./FUI/Common/",
  92.     "./FUI/Common/Net/",   
  93.     "./Bazar/ParticleEffects/textures/",
  94.     "./Bazar/Effects/ParticleSystem2/",
  95. }
  96.  
  97. ModelPaths =
  98. {
  99.     "./Bazar/World/Shapes/",
  100.     "./Bazar/Terrain/Structures/High/EDM/",
  101. }
  102.  
  103. Camera =
  104. {
  105.     Low =
  106.     {
  107.         near_clip = 0.2;
  108.         middle_clip = 4;
  109.         far_clip = 150000;
  110.  
  111.         structures = {30, 2000};
  112.         trees = {1000, 1500};
  113.         dynamic = {300, 20000};
  114.         dynamic2 = {300, 20000,0.5};
  115.         objects = {3000, 80000};
  116.         mirage = {3000, 20000};
  117.         surface = {10000, 50000};
  118.         lights = {50, 10000};
  119.         districtobjects = {100, 100};
  120.         districts = {2000, 2000};
  121.  
  122.         lodMult = 1;
  123.         lodAdd = 100;
  124.     };
  125.     Medium =
  126.     {
  127.         near_clip = 0.2;
  128.         middle_clip = 4;
  129.         far_clip = 150000;
  130.  
  131.         structures = {35, 10000};
  132.         trees = {1000, 6000};
  133.         dynamic = {300, 20000};
  134.         dynamic2 = {300, 20000,0.5};
  135.         objects = {3000, 80000};
  136.         mirage = {3000, 20000};
  137.         surface = {14000, 80000};
  138.         lights = {100, 30000};
  139.         districtobjects = {300, 300};
  140.         districts = {6000, 6000};
  141.  
  142.         lodMult = 1.5;
  143.         lodAdd = 0;
  144.     };
  145.     High =
  146.     {
  147.         near_clip = 0.2;
  148.         middle_clip = 4;
  149.         far_clip = 150000;
  150.  
  151.         structures = {40, 20000};
  152.         trees = {1000, 12000};
  153.         dynamic = {300, 20000};
  154.         dynamic2 = {300, 20000,0.5};
  155.         objects = {5000, 80000};
  156.         mirage = {3000, 20000};
  157.         surface = {20000, 80000};
  158.         lights = {200, 80000};
  159.         districtobjects = {400, 400};
  160.         districts = {12000, 12000};
  161.  
  162.         lodMult = 1.0;
  163.         lodAdd = 0;
  164.     };
  165. }
  166.  
  167. --[[
  168. -- these params are set via options
  169. shadows = 1;
  170. lights = 0;
  171. mirrors = 0;
  172. textures = 2;
  173. water = 4;
  174. scenes = "medium";
  175. effects = 0;
  176. heatBlr = 0;
  177. MSAA = 2;
  178. HDR = 0;
  179. TranspSSAA = 1;
  180. environmentMap = 1;
  181. ambientMap = false;
  182. ]]--
  183.  
  184. DebugColoredTexture = 0;
  185. ScreenshotQuality = 90;
  186. ScreenshotExt = "jpg";
  187. FogParam1 = 6;
  188. FogParam2 = 1.1;
  189. PilotNames = false;
  190. maxfps = 20;
  191. RenderEffect = 0;
  192. render3D = false;
  193. cockpitOnly = false;
  194. treesVisibility = 1500;
  195. sync = false;
  196.  
  197. MFD_render_params =
  198. {
  199.     two_pass_always             = true;
  200.     dist_multiplier_fov_base    = 0.3;
  201.     second_pass_start_fov       = 0.1;
  202.     second_pass_far_clip        = 100;
  203.     single_pass_near_clip       = 10;
  204. }
  205.  
  206. -- настройки Ћуны
  207. Moon =
  208. {
  209.     Ktex = 1.7355; -- коэффициент, учитывающий размер луны на текстуре 512.0/295.0;
  210.     Smax = 3;  -- коэффициент размера луны при угле места равном нулю
  211.     Smin = 2.5; -- коэффициент размера луны при угле места >= Hmax
  212.     Hmax = 45; -- макс. угол места в градусах  в пределах которого луна измен¤ет свой размер
  213.     moonLightColor = {63.75, 71.4, 89.25}; -- цвет света от луны
  214. }
  215.  
  216. Stars =
  217. {
  218.     c0 = 0;
  219.     c1 = 2;
  220.     c2 = 9;
  221.     c3 = 10;
  222.     flickerEnabled = true;
  223.     tau = 15;
  224.     period = 20;
  225. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement