diff --git a/ext/Client/EmitterMeshPatchDatatable.lua b/ext/Client/EmitterMeshPatchDatatable.lua index 9906a2b..a060f73 100644 --- a/ext/Client/EmitterMeshPatchDatatable.lua +++ b/ext/Client/EmitterMeshPatchDatatable.lua @@ -24,6 +24,14 @@ return { -- XP2_Skybar ['fx/dlc/xp2/ambient/levelspecific/mp_skybar/emitters/em_dlc_amb_mpskybar_bgsmog_smoke'] = true }, + -- Tried Messing with their enlightenType + -- rigidMeshs = { + -- -- MP_011 + -- ['levels/mp_011/objects/mp011_backdrop_01_mesh'] = true, + -- ['levels/mp_011/objects/mp011_backdropesplanade_01_mesh'] = true, + -- ['levels/mp_011/objects/mp011_backdropesplanade_02_mesh'] = true, + -- ['levels/mp_011/water/meshes/mp_011_watersurface01_mesh'] = true, + -- }, meshes = { -- MP_Subway ['levels/mp_subway/objects/backdrops/mp15_smokepillar_01_mesh'] = true, @@ -45,10 +53,10 @@ return { ['levels/mp_007/props/mp007_waterwash_02_mesh'] = true, -- MP_011 - ['levels/mp_011/objects/mp011_backdrop_01_mesh'] = true, - ['levels/mp_011/objects/mp011_backdropesplanade_01_mesh'] = true, - ['levels/mp_011/objects/mp011_backdropesplanade_02_mesh'] = true, - ['levels/mp_011/water/meshes/mp_011_watersurface01_mesh'] = true, + -- ['levels/mp_011/objects/mp011_backdrop_01_mesh'] = true, + -- ['levels/mp_011/objects/mp011_backdropesplanade_01_mesh'] = true, + -- ['levels/mp_011/objects/mp011_backdropesplanade_02_mesh'] = true, + -- ['levels/mp_011/water/meshes/mp_011_watersurface01_mesh'] = true, -- MP_012 ['levels/mp_012/terrain/mp012_matte_4parts_1_mesh'] = true, @@ -63,13 +71,13 @@ return { ['levels/mp_013/props/mp013_cloudlayer_mesh'] = true, -- MP_017 - ['levels/mp_017/terrain/mp_017_waves_01_mesh'] = true, + -- ['levels/mp_017/terrain/mp_017_waves_01_mesh'] = true, -- MP_018 ['levels/mp_018/terrain/mp018_mattepainting_chunk01_mesh'] = true, ['levels/mp_018/terrain/mp018_mattepainting_chunk02_mesh'] = true, ['levels/mp_018/terrain/mp018_mattepainting_chunk03_mesh'] = true, - ['levels/mp_018/terrain/mp018_wave_01_mesh'] = true, + -- ['levels/mp_018/terrain/mp018_wave_01_mesh'] = true, -- XP1_001 ['levels/xp1_001/objects/mattepainting_01_mesh'] = true, @@ -77,13 +85,14 @@ return { ['levels/xp1_001/objects/mattepainting_03_mesh'] = true, ['levels/xp1_001/objects/mattepainting_04_mesh'] = true, + -- XP1_002 - ['levels/xp1_002/objects/xp1_002__wave_01_mesh'] = true, + -- ['levels/xp1_002/objects/xp1_002__wave_01_mesh'] = true, -- XP1_004 ['xp_raw/surrounding/smokepillars/smokepillar_01_mesh'] = true, - ['levels/xp1_004/props/wake_wave_02/wake_wave_02_mesh'] = true, - ['levels/xp1_004/props/wave_01/wave_01_mesh'] = true, + -- ['levels/xp1_004/props/wake_wave_02/wake_wave_02_mesh'] = true, + -- ['levels/xp1_004/props/wave_01/wave_01_mesh'] = true, -- XP2_Palace ['xp2/objects/godrays_01/godrays_01_mesh'] = true, @@ -100,14 +109,21 @@ return { ['levels/xp3_desert/props/xp3_bandar_backdropmatte_01_mesh'] = true, -- XP4_Quake - ['levels/sp_valley/terrain/cloud_moving_mesh'] = true + ['levels/sp_valley/terrain/cloud_moving_mesh'] = true, + -- ['levels/xp4_earthquake/objects/waterpuddle_01_copy_mesh'] = true, + -- ['levels/xp4_earthquake/objects/watersplash_02_mesh'] = true, + -- ['levels/xp4_earthquake/objects/lakeedge/pondedge_01_mesh'] = true, + -- ['levels/xp4_earthquake/objects/lakeedge/pondedge_02_mesh'] = true, + -- ['levels/xp4_earthquake/objects/backdrop/backdropcity_01_mesh'] = true, + -- ['levels/xp4_earthquake/terrain/earthquakems_01_mesh'] = true, + -- ['levels/xp4_earthquake/objects/earthquakepiece_big_Mesh'] = true, }, variations = { -- MP_012 ['levels/mp_012/objects/smokestacks/smokestack_01_02'] = true, - -- MP_018 - ['levels/xp1_001/objects/wave_01_xp001'] = true, + -- XP1_001 -- this was removing the waves for karkand + -- ['levels/xp1_001/objects/wave_01_xp001'] = true, -- XP2_Skybar ['levels/xp2_skybar/objects/smokepillar_bg/smokepillar_01_xp2'] = true, @@ -115,7 +131,15 @@ return { -- XP3_Valley ['levels/xp3_valley/objects/mountainsidecloud_01_valley'] = true, ['levels/xp3_valley/objects/mountainsidecloud_02_valley'] = true, - ['levels/xp3_valley/objects/mountainsidecloud_04_vvalley'] = true + ['levels/xp3_valley/objects/mountainsidecloud_04_vvalley'] = true, + + -- XP4_Quake + -- ['levels/xp4_earthquake/objectvariations/watershadow_mp013_02_variation'] = true, + -- ['levels/xp4_earthquake/objects/backdrop/skybarbackdropcombined_big_earthquake'] = true, + -- ['levels/xp4_earthquake/objects/waterpuddle_01_copy_nodrop2'] = true, + -- ['levels/xp4_earthquake/objects/waterpuddle_01_nodrip'] = true, + -- ['levels/xp4_earthquake/objects/backdrop/skyscraper3_variation'] = true + }, effects = { -- MP_007 @@ -145,6 +169,7 @@ return { -- XP5_002 ['fx/ambient/levelspecific/sp_03/fx_amb_sp03_littlewindow_godrays'] = true }, + envmaps = { ['levels/mp_subway/lighting/ve_mp_subway_city_01'] = true, ['levels/mp_011/lighting/ve_mp_011_day01'] = true, @@ -152,5 +177,67 @@ return { ['levels/xp5_002/lighting/ve_xp5_002_01'] = true, ['levels/xp5_003/lighting/ve_xp5_003_01'] = true, ['levels/xp5_004/lighting/ve_xp5_004_02'] = true - } + }, + + -- The Shaders related to this meshes are lazy loaded. Once loaded invalidating them doesn't seem to be working. + waterAssets = { + -- XP1_001 + ['levels/xp1_001/xpack1_001_terrain.water.mesh'] = true, + + -- XP1_002 + ['levels/xp1_002/terrain_2/gulfterrain_03.water.mesh'] = true + }, + + waters = { + -- ['Levels/XP1_001/XP1_001'] = true, + -- ['Levels/XP1_002/XP1_002'] = true, + -- ['Levels/XP1_003/XP1_003'] = true, + }, + + textures = { + ['levels/xp4_earthquake/objects/lakeedge/lakeenv'] = true, + }, + + + -- Messing with the shaders doesn't seem to be doing anything visually... + -- waterShaders = { + -- -- XP1_001 Karkand + -- ['levels/xp1_001/shaders/water'] = true, + + -- -- XP1_002 Gulf of Oman + -- ['levels/xp1_002/shaders/water'] = true, + + -- -- XP1_003 Sharqi + -- ['levels/xp1_003/shaders/water'] = true + + -- } } + +-- Partition CAEA8375-0AFC-4367-D5AD-032158C1B13F +-- LakeData A7C3B316-7939-2A5C-332D-E66FE2EFC1CE +-- $::VisualVectorShapeData +-- $::VectorShapeData +-- $::BaseShapeData +-- $::GameObjectData +-- $::GameDataContainer +-- $::DataContainer +-- IsEventConnectionTarget 3 +-- IsPropertyConnectionTarget 3 +-- IndexInBlueprint 65535 +-- Points::array +-- member(0)::Vec3 +-- x -28.61029624938965 +-- y 146.45040893554688 +-- z -837.198974609375 +-- member(1)::Vec3 +-- x -146.542236328125 +-- y 146.45040893554688 +-- z -233.81307983398438 +-- Normals *nullArray* +-- Tension 0.0 +-- IsClosed True +-- AllowRoll False +-- ErrorTolerance 0.75 +-- Shader3d Levels/XP1_001/Shaders/Water/26B58BD9-8058-6A60-2013-D0E27942CFF3 +-- DrawOrderIndex 100 +-- TessellationTriangleSize 4.0 diff --git a/ext/Client/Patches.lua b/ext/Client/Patches.lua index c19c253..c7d84cf 100644 --- a/ext/Client/Patches.lua +++ b/ext/Client/Patches.lua @@ -6,16 +6,65 @@ Patches = class('Patches') local m_PatchDatatable = require('EmitterMeshPatchDatatable') ---@type VEMLogger -local m_VEMLogger = VEMLogger("Patches", false) +local m_VEMLogger = VEMLogger("Patches", true) + +local XP1_001 = { + MainPartitionGuid = Guid("FAF35F00-5263-40A3-AB4D-67384BC2AD6D") +} +local XP1_002 = { + MainPartitionGuid = Guid("D658DDB6-0B1E-4555-ABB8-5BC931C48F16") +} + function Patches:__init() m_VEMLogger:Write("Initializing Patches") -- Patch Menu Background - ResourceManager:RegisterInstanceLoadHandler(Guid("3A3E5533-4B2A-11E0-A20D-FE03F1AD0E2F"), - Guid("F26B7ECE-A71D-93AC-6C49-B6223BF424D6"), self, self._OnMenuBGLoaded) + if VEM_CONFIG.PATCH_DN_COMPONENTS then + -- ResourceManager:RegisterPartitionLoadHandlerOnce(Guid('675975D5-F74E-11E1-BE7E-D621ACDFC7F6'), + -- self, function(partition) + -- partition.primaryInstance:MakeWritable() + -- partition.primaryInstance:ReplaceReferences(nil) + -- end + -- ) + + -- This didn't work :( + + -- ResourceManager:RegisterInstanceLoadHandlerOnce(Guid('675975D5-F74E-11E1-BE7E-D621ACDFC7F6'), + -- Guid("4F45BDE8-25AA-1869-0078-DE697547B492"), + -- self, self._OnXP4LakeEnvLoaded) + ResourceManager:RegisterInstanceLoadHandler(Guid("3A3E5533-4B2A-11E0-A20D-FE03F1AD0E2F"), + Guid("F26B7ECE-A71D-93AC-6C49-B6223BF424D6"), self, self._OnMenuBGLoaded) + -- ResourceManager:RegisterInstanceLoadHandler(XP1_001.MainPartitionGuid, + -- Guid("BBA12DEB-BC7A-E7F7-5E0D-43DFAF4AFFF4"), self, self._OnKarkandOmandWaterLoaded) + -- ResourceManager:RegisterInstanceLoadHandler(XP1_002.MainPartitionGuid, + -- Guid("CAEA8375-0AFC-4367-D5AD-032158C1B13F"), self, self._OnKarkandOmandWaterLoaded) + end + -- This will REMOVE the water entierly (recommend to just remove the waves too, + -- but I don't really like how it looks, specially for Gulf... + -- I mean there is a fucking boat in it) + -- Events:Subscribe('Level:LoadResources', function(level) + -- local visual = ResourceManager:GetSettings("VisualTerrainSettings") + -- if visual ~= nil then + -- visual = VisualTerrainSettings(visual) + -- if m_PatchDatatable.waters[level] then + -- visual.drawWaterEnable = false + -- end + -- end + -- end) end +-- ---@param p_Instance DataContainer +-- function Patches:_OnXP4LakeEnvLoaded(p_Instance) +-- print("############ Removing XP4 LakeEnv #####################") +-- -- local texture = TextureAsset(p_Instance) +-- Asset(p_Instance).name = "" +-- -- texture:MakeWritable() +-- -- texture.name = "" +-- -- p_Instance:ReplaceReferences(texture) +-- print("############ Removed XP4 LakeEnv #####################") +-- end + ---@param p_Instance DataContainer local function _PatchMeshAsset(p_Instance) if m_PatchDatatable.meshes[p_Instance.partition.name] then @@ -24,8 +73,60 @@ local function _PatchMeshAsset(p_Instance) for _, l_Material in pairs(s_Mesh.materials) do l_Material:MakeWritable() l_Material.shader.shader = nil + -- print('The instance: ' .. p_Instance.partition.name) + -- print('################# Patched Mesh :) #################') end end + -- Messing with its enlightenType doesn't work either. + -- if m_PatchDatatable.rigidMeshs[p_Instance.partition.name] then + -- print("#####1################### Checking those backdrops #############################") + -- local s_Mesh = MeshAsset(p_Instance) + -- s_Mesh:MakeWritable() + -- s_Mesh.enlightenType = 0 -- 0 = Dynamic + -- end +end + +---@param p_Instance DataContainer +local function _PatchWaterAsset(p_Instance) + if m_PatchDatatable.waterAssets[p_Instance.partition.name] then + for _, instance in pairs(p_Instance.partition.instances) do + if instance:Is('LakeData') then + -- if instance.isLazyLoaded then + -- instance:RegisterLoadHandlerOnce(function(loadedInstance) + -- print('Instance has loaded!') + -- local lakeData = LakeData(loadedInstance) + -- lakeData:MakeWritable() + -- if lakeData.shader3d.isLazyLoaded then + -- lakeData.shader3d:RegisterLoadHandlerOnce(function(loadedInstance) + -- print('Instance has loaded!') + -- local shader = ShaderGraph(loadedInstance) + -- shader:MakeWritable() + -- shader.gammaCorrectionEnable = false + -- end) + -- else + -- lakeData.shader3d.gammaCorrectionEnable = false + -- end + -- end + -- ) + -- else + -- We know now that LakeData aren't lazy loaded ... + local lakeData = LakeData(instance) + lakeData:MakeWritable() + if lakeData.shader3d.isLazyLoaded then + lakeData.shader3d:RegisterLoadHandlerOnce(function(loadedInstance) + print('Instance has loaded!') + local shader = ShaderGraph(loadedInstance) + shader:MakeWritable() + shader = nil + end) + else + lakeData.shader3d.gammaCorrectionEnable = false + end + end + end + -- end + m_VEMLogger:Write("Water Assets patched") + end end ---@param p_Instance DataContainer @@ -34,6 +135,8 @@ local function _PatchMeshMaterialVariation(p_Instance) local s_Variation = MeshMaterialVariation(p_Instance) s_Variation:MakeWritable() s_Variation.shader.shader = nil + -- print('The instance: ' .. p_Instance.partition.name) + -- print('################# Patched ObjectVariation :) #################') end end @@ -137,18 +240,23 @@ end ---@param p_Partition DatabasePartition function Patches:PatchComponents(p_Partition) - -- print('The partition: ' .. tostring(p_Partition)) - -- print('The partition primaryInstance typeinfo elementType: ' .. - -- tostring(p_Partition.primaryInstance.typeInfo.elementType)) - -- print('The partition primaryInstance typeinfo name : ' .. tostring(p_Partition.primaryInstance.typeInfo.name)) - - if not VEM_CONFIG.PATCH_DN_COMPONENTS then - return - end - if p_Partition.primaryInstance:Is("MeshAsset") then + -- print('The Partition Name: ' .. p_Partition.name) + -- print('Its primary Instance name' .. p_Partition.primaryInstance.partition.name) _PatchMeshAsset(p_Partition.primaryInstance) + -- elseif p_Partition.primaryInstance:Is("WaterAsset") then + -- _PatchWaterAsset(p_Partition.primaryInstance) + elseif p_Partition.primaryInstance:Is("TextureAsset") then + if m_PatchDatatable.textures[p_Partition.primaryInstance.name] then + -- print("################ TEXTURE MATCH ###############") + local texture = TextureAsset(p_Partition.primaryInstance) + texture:MakeWritable() + texture = nil + -- print("################ ITS NIL NOW ###############") + end elseif p_Partition.primaryInstance:Is("ObjectVariation") then + -- print('The Partition Name: ' .. p_Partition.name) + -- print('Its primary Instance name' .. p_Partition.primaryInstance.partition.name) for _, l_Instance in ipairs(p_Partition.instances) do if l_Instance:Is('MeshMaterialVariation') then -- ObjectVariation is the primary instance _PatchMeshMaterialVariation(l_Instance) @@ -170,6 +278,8 @@ function Patches:PatchComponents(p_Partition) end elseif p_Partition.primaryInstance:Is("EmitterTemplateData") then _PatchEmitterTemplateData(p_Partition.primaryInstance) + -- elseif p_Partition.primaryInstance:Is("ShaderGraph") then + -- waterShaders end end @@ -184,4 +294,13 @@ function Patches:_OnMenuBGLoaded(p_Instance) m_VEMLogger:Write("Menu background patched (priority increased)") end +-- function Patches:_OnKarkandOmandWaterLoaded(waterAssets) +-- for _, lakesAndWater in pairs(waterAssets.partition.instances) do +-- lakesAndWater:MakeWritable() +-- lakesAndWater.shader.shader = nil +-- end + +-- m_VEMLogger:Write("Karkand/Oman water patched") +-- end + return Patches() diff --git a/ext/Client/Presets/DefaultEvening.lua b/ext/Client/Presets/DefaultEvening.lua index 49f5c57..98d0656 100644 --- a/ext/Client/Presets/DefaultEvening.lua +++ b/ext/Client/Presets/DefaultEvening.lua @@ -1,69 +1,49 @@ return json.decode([[ { + + "CameraParams": { + + }, "CharacterLighting": { - "CharacterLightEnable": "true", - "FirstPersonEnable": "true", - "LockToCameraDirection": "true", - "CameraUpRotation": "27.482999801636", - "CharacterLightingMode": "1", - "BlendFactor": "0.02", - "TopLight": "1:1:1:", - "BottomLight": "1:1:1:", - "TopLightDirX": "0", - "TopLightDirY": "0.0" + }, "ColorCorrection": { - "Realm": "0", - "Enable": "true", - "Brightness": "1:1:1:", - "Contrast": "1.0:1.0:1.02:", - "Saturation": "0.7275:0.7725:0.9225:", - "Hue": "0.0", - "ColorGradingEnable": "false" + }, "DynamicAO": { - "Realm": "0", - "Enable": "true", - "SsaoFade": "1.0", - "SsaoRadius": "1.0", - "SsaoMaxDistanceInner": "1.0", - "SsaoMaxDistanceOuter": "1.0", - "HbaoRadius": "1.0", - "HbaoAngleBias": "1.0", - "HbaoAttenuation": "1.0", - "HbaoContrast": "1.0", - "HbaoMaxFootprintRadius": "1", - "HbaoPowerExponent": "1.0" + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + }, "Enlighten": { "Realm": "0", "Enable": "false" }, "Fog": { - "Realm": "0", - "Enable": "true", - "FogDistanceMultiplier": "1.0", - "FogGradientEnable": "true", - "Start": "100", - "EndValue": "700.0", - "Curve": "0.4:-0.77:1.3:-0.01:", - "FogColorEnable": "true", - "FogColor": "0.02:0.05:0.11:", - "FogColorStart": "0", - "FogColorEnd": "5000", - "FogColorCurve": "6.1:-11.7:5.62:-0.18:", - "HeightFogEnable": "false", - "HeightFogFollowCamera": "0.0", - "HeightFogAltitude": "0.0", - "HeightFogDepth": "100.0", - "HeightFogVisibilityRange": "100.0" + }, "OutdoorLight": { "Realm": "0", "Enable": "true", - "SunColor": "(1, 0.3, 0.051)", - "SkyColor": "(0.08, 0.08, 0.08)", - "GroundColor": "(0.08, 0.08, 0.08)", + "SunColor": "(2.8261, 0.9783, 0.4348)", + "SkyColor": "(0.2717, 0.1087, 0.1087)", + "GroundColor": "(0.1087, 0.0543, 0.0543)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "3", + "SunShadowHeightScale":"1.0", "SunRotationX": "150.0", "SunRotationY": "150.0" }, @@ -73,7 +53,6 @@ return json.decode([[ "BrightnessScale": "0.4", "SunSize": "0.01", "SunScale": "2", - "CloudLayerSunColor": "(1, 0.3, 0.051)", "CloudLayer1Altitude": "500000.0", "CloudLayer1TileFactor": "0.25", "CloudLayer1Rotation": "223.52900695801", @@ -92,12 +71,7 @@ return json.decode([[ "CloudLayer2AmbientLightIntensity": "0", "CloudLayer2Color": "0:0:0:", "CloudLayer2AlphaMul": "0.0", - "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d", - "StaticEnvmapScale": "0", - "SkyVisibilityExponent": "1.0", - "SkyEnvmap8BitTexScale": "5", - "CustomEnvmapScale": "1", - "CustomEnvmapAmbient": "1" + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" }, "SunFlare": { "Element1Size": "0.05:0.05:", @@ -107,21 +81,10 @@ return json.decode([[ "Element5Size": "0.05:0.05:" }, "Tonemap": { - "Realm": "0", - "TonemapMethod": "2", - "MiddleGray": "0.25", - "MinExposure": "0.8", - "MaxExposure": "3.5", - "ExposureAdjustTime": "0.5", - "BloomScale": "0.3:0.3:0.3:", - "ChromostereopsisEnable": "false", - "ChromostereopsisScale": "1.0", - "ChromostereopsisOffset": "1.0" + }, "Wind": { - "Realm": "0", - "WindDirection": "211.25799560547", - "WindStrength": "1.7" + }, "Name": "DefaultEvening", "Type": "DefaultDynamic", diff --git a/ext/Client/Presets/DefaultLateNight.lua b/ext/Client/Presets/DefaultLateNight.lua index 7c366e3..a64069e 100644 --- a/ext/Client/Presets/DefaultLateNight.lua +++ b/ext/Client/Presets/DefaultLateNight.lua @@ -1,61 +1,38 @@ return json.decode([[ { + "CameraParams": { + + }, "CharacterLighting": { - "CharacterLightEnable": "true", - "FirstPersonEnable": "true", - "LockToCameraDirection": "true", - "CameraUpRotation": "27.482999801636", - "CharacterLightingMode": "1", - "BlendFactor": "0.02", - "TopLight": "1:1:1:", - "BottomLight": "1:1:1:", - "TopLightDirX": "0", - "TopLightDirY": "0.0" + }, "ColorCorrection": { - "Realm": "0", - "Enable": "true", - "Brightness": "1:1:1:", - "Contrast": "1.0:1.0:1.02:", - "Saturation": "0.7275:0.7725:0.9225:", - "Hue": "0.0", - "ColorGradingEnable": "false" + }, "DynamicAO": { - "Realm": "0", - "Enable": "true", - "SsaoFade": "1.0", - "SsaoRadius": "1.0", - "SsaoMaxDistanceInner": "1.0", - "SsaoMaxDistanceOuter": "1.0", - "HbaoRadius": "1.0", - "HbaoAngleBias": "1.0", - "HbaoAttenuation": "1.0", - "HbaoContrast": "1.0", - "HbaoMaxFootprintRadius": "1", - "HbaoPowerExponent": "1.0" + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + }, "Enlighten": { "Realm": "0", "Enable": "false" }, "Fog": { - "Enable":"true", - "FogDistanceMultiplier":"1.0", - "FogGradientEnable":"true", - "Start":"-100.0", - "EndValue":"500.0", - "Curve":"(0.40000000596046, -0.76999998092651, 1.2999999523163, -0.0099999997764826)", - "FogColorEnable":"true", - "FogColor":"(0.0020000000949949, 0.0020000000949949, 0.0020000000949949)", - "FogColorStart":"0.0", - "FogColorEnd":"1630.4348144531", - "FogColorCurve":"(6.0999999046326, -11.699999809265, 5.6199998855591, -0.18000000715256)", - "HeightFogEnable":"false", - "HeightFogFollowCamera":"0.0", - "HeightFogAltitude":"0.0", - "HeightFogDepth":"100.0", - "HeightFogVisibilityRange":"100.0" + }, "OutdoorLight": { "Realm": "0", @@ -66,9 +43,8 @@ return json.decode([[ "SunSpecularScale": "0", "SunRotationX": "150.0", "SunRotationY":"359.0", - "SkyLightAngleFactor":"0.0089999996125698", + "SkyLightAngleFactor":"0.0", "SunSpecularScale":"0.0", - "SkyEnvmapShadowScale":"0.25", "SunShadowHeightScale":"0.0" }, "Sky": { @@ -96,12 +72,7 @@ return json.decode([[ "CloudLayer2AmbientLightIntensity": "1", "CloudLayer2Color": "1:1:1:", "CloudLayer2AlphaMul": "0.3", - "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d", - "StaticEnvmapScale": "0", - "SkyVisibilityExponent": "1.0", - "SkyEnvmap8BitTexScale": "5", - "CustomEnvmapScale": "1", - "CustomEnvmapAmbient": "1" + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" }, "SunFlare": { "Enable":"false", @@ -112,21 +83,13 @@ return json.decode([[ "Element5Size": "0.0:0.0:" }, "Tonemap": { - "Realm": "0", - "TonemapMethod": "2", - "MiddleGray": "0.25", - "MinExposure": "0.8", - "MaxExposure": "3.5", - "ExposureAdjustTime": "0.5", - "BloomScale": "0.05:0.05:0.05:", - "ChromostereopsisEnable": "false", - "ChromostereopsisScale": "1.0", - "ChromostereopsisOffset": "1.0" + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" }, "Wind": { - "Realm": "0", - "WindDirection": "211.25799560547", - "WindStrength": "1.7" + }, "Name": "DefaultLateNight", "Type": "DefaultDynamic", diff --git a/ext/Client/Presets/DefaultMorning.lua b/ext/Client/Presets/DefaultMorning.lua index bd1a595..3c2c191 100644 --- a/ext/Client/Presets/DefaultMorning.lua +++ b/ext/Client/Presets/DefaultMorning.lua @@ -1,69 +1,48 @@ return json.decode([[ { + "CameraParams": { + + }, "CharacterLighting": { - "CharacterLightEnable": "true", - "FirstPersonEnable": "true", - "LockToCameraDirection": "true", - "CameraUpRotation": "27.482999801636", - "CharacterLightingMode": "1", - "BlendFactor": "0.02", - "TopLight": "1:1:1:", - "BottomLight": "1:1:1:", - "TopLightDirX": "0", - "TopLightDirY": "0.0" + }, "ColorCorrection": { - "Realm": "0", - "Enable": "true", - "Brightness": "1:1:1:", - "Contrast": "1.0:1.0:1.02:", - "Saturation": "0.7275:0.7725:0.9225:", - "Hue": "0.0", - "ColorGradingEnable": "false" + }, "DynamicAO": { - "Realm": "0", - "Enable": "true", - "SsaoFade": "1.0", - "SsaoRadius": "1.0", - "SsaoMaxDistanceInner": "1.0", - "SsaoMaxDistanceOuter": "1.0", - "HbaoRadius": "1.0", - "HbaoAngleBias": "1.0", - "HbaoAttenuation": "1.0", - "HbaoContrast": "1.0", - "HbaoMaxFootprintRadius": "1", - "HbaoPowerExponent": "1.0" + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + }, "Enlighten": { "Realm": "0", "Enable": "false" }, "Fog": { - "Realm": "0", - "Enable": "true", - "FogDistanceMultiplier": "1.0", - "FogGradientEnable": "true", - "Start": "15", - "EndValue": "600.0", - "Curve": "0.4:-0.77:1.3:-0.01:", - "FogColorEnable": "true", - "FogColor": "0.02:0.05:0.11:", - "FogColorStart": "0", - "FogColorEnd": "5000", - "FogColorCurve": "6.1:-11.7:5.62:-0.18:", - "HeightFogEnable": "false", - "HeightFogFollowCamera": "0.0", - "HeightFogAltitude": "0.0", - "HeightFogDepth": "100.0", - "HeightFogVisibilityRange": "100.0" + }, "OutdoorLight": { "Realm": "0", "Enable": "true", - "SunColor": "(1, 0.16, 0.06)", - "SkyColor": "(0.4, 0.3, 0.3)", - "GroundColor": "(0.4, 0.3, 0.3)", + "SunColor": "(5.0, 1.7, 1.0)", + "SkyColor": "(0.1, 0.1, 0.1)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "4", + "SunShadowHeightScale":"1.0", "SunRotationX": "150.0", "SunRotationY": "10.0" }, @@ -73,7 +52,6 @@ return json.decode([[ "BrightnessScale": "0.4", "SunSize": "0.01", "SunScale": "2", - "CloudLayerSunColor": "(1, 0.16, 0.06)", "CloudLayer1Altitude": "500000.0", "CloudLayer1TileFactor": "0.25", "CloudLayer1Rotation": "223.52900695801", @@ -81,7 +59,6 @@ return json.decode([[ "CloudLayer1SunLightIntensity": "0.5", "CloudLayer1SunLightPower": "0.5", "CloudLayer1AmbientLightIntensity": "0.5", - "CloudLayer1Color": "(0.3, 0.3, 0.3)", "CloudLayer1AlphaMul": "0.8", "CloudLayer2Altitude": "5000000.0", "CloudLayer2TileFactor": "0.60000002384186", @@ -92,36 +69,16 @@ return json.decode([[ "CloudLayer2AmbientLightIntensity": "0", "CloudLayer2Color": "0:0:0:", "CloudLayer2AlphaMul": "0.0", - "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d", - "StaticEnvmapScale": "0", - "SkyVisibilityExponent": "1.0", - "SkyEnvmap8BitTexScale": "5", - "CustomEnvmapScale": "1", - "CustomEnvmapAmbient": "1" + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" }, "SunFlare": { - "Element1Size": "0.10:0.10:", - "Element2Size": "0.10:0.10:", - "Element3Size": "0.10:0.10:", - "Element4Size": "0.10:0.10:", - "Element5Size": "0.10:0.10:" + }, "Tonemap": { - "Realm": "0", - "TonemapMethod": "2", - "MiddleGray": "0.25", - "MinExposure": "0.8", - "MaxExposure": "3.5", - "ExposureAdjustTime": "0.5", - "BloomScale": "0.05:0.05:0.05:", - "ChromostereopsisEnable": "false", - "ChromostereopsisScale": "1.0", - "ChromostereopsisOffset": "1.0" + }, "Wind": { - "Realm": "0", - "WindDirection": "211.25799560547", - "WindStrength": "1.7" + }, "Name": "DefaultMorning", "Type": "DefaultDynamic", diff --git a/ext/Client/Presets/DefaultNight.lua b/ext/Client/Presets/DefaultNight.lua index e7aee8e..71da8bc 100644 --- a/ext/Client/Presets/DefaultNight.lua +++ b/ext/Client/Presets/DefaultNight.lua @@ -1,61 +1,38 @@ return json.decode([[ { - "CharacterLighting":{ - "CharacterLightEnable":"false", - "FirstPersonEnable":"false", - "LockToCameraDirection":"true", - "CameraUpRotation":"27.482999801636", - "CharacterLightingMode":"0", - "BlendFactor":"1.0", - "TopLight":"(1.0, 1.0, 1.0)", - "BottomLight":"(1.0, 1.0, 1.0)", - "TopLightDirX":"0.0", - "TopLightDirY":"0.0" + "CameraParams": { + + }, + "CharacterLighting": { + }, "ColorCorrection": { - "Realm": "0", - "Enable": "true", - "Brightness": "1:1:1:", - "Contrast": "1.0:1.0:1.02:", - "Saturation": "0.7275:0.7725:0.9225:", - "Hue": "0.0", - "ColorGradingEnable": "false" + }, "DynamicAO": { - "Realm": "0", - "Enable": "true", - "SsaoFade": "1.0", - "SsaoRadius": "1.0", - "SsaoMaxDistanceInner": "1.0", - "SsaoMaxDistanceOuter": "1.0", - "HbaoRadius": "1.0", - "HbaoAngleBias": "1.0", - "HbaoAttenuation": "1.0", - "HbaoContrast": "1.0", - "HbaoMaxFootprintRadius": "1", - "HbaoPowerExponent": "1.0" + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + }, "Enlighten": { "Realm": "0", "Enable": "false" }, "Fog": { - "Enable":"true", - "FogDistanceMultiplier":"1.0", - "FogGradientEnable":"true", - "Start":"-100.0", - "EndValue":"500.0", - "Curve":"(0.40000000596046, -0.76999998092651, 1.2999999523163, -0.0099999997764826)", - "FogColorEnable":"true", - "FogColor":"(0.0020000000949949, 0.0020000000949949, 0.0020000000949949)", - "FogColorStart":"0.0", - "FogColorEnd":"1630.4348144531", - "FogColorCurve":"(6.0999999046326, -11.699999809265, 5.6199998855591, -0.18000000715256)", - "HeightFogEnable":"false", - "HeightFogFollowCamera":"0.0", - "HeightFogAltitude":"0.0", - "HeightFogDepth":"100.0", - "HeightFogVisibilityRange":"100.0" + }, "OutdoorLight": { "Realm": "0", @@ -66,9 +43,8 @@ return json.decode([[ "SunSpecularScale": "0", "SunRotationX": "90.0", "SunRotationY":"180.0", - "SkyLightAngleFactor":"0.0089999996125698", + "SkyLightAngleFactor":"0.0", "SunSpecularScale":"0.0", - "SkyEnvmapShadowScale":"0.25", "SunShadowHeightScale":"0.0" }, "Sky": { @@ -96,12 +72,7 @@ return json.decode([[ "CloudLayer2AmbientLightIntensity": "1", "CloudLayer2Color": "1:1:1:", "CloudLayer2AlphaMul": "0.3", - "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d", - "StaticEnvmapScale": "0", - "SkyVisibilityExponent": "1.0", - "SkyEnvmap8BitTexScale": "5", - "CustomEnvmapScale": "1", - "CustomEnvmapAmbient": "1" + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" }, "SunFlare": { "Enable":"false", @@ -112,21 +83,13 @@ return json.decode([[ "Element5Size": "0.0:0.0:" }, "Tonemap": { - "Realm": "0", - "TonemapMethod": "2", - "MiddleGray": "0.25", - "MinExposure": "0.8", - "MaxExposure": "3.5", - "ExposureAdjustTime": "0.5", - "BloomScale": "0.05:0.05:0.05:", - "ChromostereopsisEnable": "false", - "ChromostereopsisScale": "1.0", - "ChromostereopsisOffset": "1.0" + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" }, "Wind": { - "Realm": "0", - "WindDirection": "211.25799560547", - "WindStrength": "1.7" + }, "Name": "DefaultNight", "Type": "DefaultDynamic", diff --git a/ext/Client/Presets/DefaultNoon.lua b/ext/Client/Presets/DefaultNoon.lua index b3d61db..c93fdef 100644 --- a/ext/Client/Presets/DefaultNoon.lua +++ b/ext/Client/Presets/DefaultNoon.lua @@ -1,68 +1,48 @@ return json.decode([[ { + "CameraParams": { + + }, "CharacterLighting": { - "CharacterLightEnable": "true", - "FirstPersonEnable": "true", - "LockToCameraDirection": "true", - "CameraUpRotation": "27.482999801636", - "CharacterLightingMode": "1", - "BlendFactor": "0.02", - "TopLight": "1:1:1:", - "BottomLight": "1:1:1:", - "TopLightDirX": "0", - "TopLightDirY": "0.0" + }, "ColorCorrection": { - "Realm": "0", - "Enable": "true", - "Brightness": "1:1:1:", - "Contrast": "1.0:1.0:1.02:", - "Saturation": "0.7275:0.7725:0.9225:", - "Hue": "0.0", - "ColorGradingEnable": "false" + }, "DynamicAO": { - "Realm": "0", - "Enable": "true", - "SsaoFade": "1.0", - "SsaoRadius": "1.0", - "SsaoMaxDistanceInner": "1.0", - "SsaoMaxDistanceOuter": "1.0", - "HbaoRadius": "1.0", - "HbaoAngleBias": "1.0", - "HbaoAttenuation": "1.0", - "HbaoContrast": "1.0", - "HbaoMaxFootprintRadius": "1", - "HbaoPowerExponent": "1.0" + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + }, "Enlighten": { "Realm": "0", "Enable": "false" }, "Fog": { - "Realm": "0", - "Enable": "true", - "FogDistanceMultiplier": "1.0", - "FogGradientEnable": "true", - "Start": "300", - "EndValue": "1500.0", - "Curve": "0.4:-0.77:1.3:-0.01:", - "FogColorEnable": "true", - "FogColor": "0.02:0.05:0.11:", - "FogColorStart": "0", - "FogColorEnd": "5000", - "FogColorCurve": "6.1:-11.7:5.62:-0.18:", - "HeightFogEnable": "false", - "HeightFogFollowCamera": "0.0", - "HeightFogAltitude": "0.0", - "HeightFogDepth": "100.0", - "HeightFogVisibilityRange": "100.0" + }, "OutdoorLight": { "Realm": "0", "Enable": "true", - "SkyColor": "(0.7, 0.7, 0.7)", - "GroundColor": "(0.7, 0.7, 0.7)", + "SunColor": "(5, 3.5870, 3.0435)", + "SkyColor": "(0.3804, 0.2174, 0.2174)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "1", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", "SunRotationX": "150.0", "SunRotationY": "90.0" }, @@ -95,21 +75,10 @@ return json.decode([[ }, "Tonemap": { - "Realm": "0", - "TonemapMethod": "2", - "MiddleGray": "0.25", - "MinExposure": "0.8", - "MaxExposure": "3.5", - "ExposureAdjustTime": "0.5", - "BloomScale": "0.05:0.05:0.05:", - "ChromostereopsisEnable": "false", - "ChromostereopsisScale": "1.0", - "ChromostereopsisOffset": "1.0" + }, "Wind": { - "Realm": "0", - "WindDirection": "211.25799560547", - "WindStrength": "1.7" + }, "Name": "DefaultNoon", "Type": "DefaultDynamic", diff --git a/ext/Client/Presets/MapSpecific/MP_001/Evening.lua b/ext/Client/Presets/MapSpecific/MP_001/Evening.lua new file mode 100644 index 0000000..d5bd473 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_001/Evening.lua @@ -0,0 +1,90 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(2.8261, 0.9783, 0.4348)", + "SkyColor": "(0.2717, 0.1087, 0.1087)", + "GroundColor": "(0.1087, 0.0543, 0.0543)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "3", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "150.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.4", + "SunSize": "0.01", + "SunScale": "2", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Element1Size": "0.05:0.05:", + "Element2Size": "0.05:0.05:", + "Element3Size": "0.05:0.05:", + "Element4Size": "0.05:0.05:", + "Element5Size": "0.05:0.05:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_001_Evening", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_001/LateNight.lua b/ext/Client/Presets/MapSpecific/MP_001/LateNight.lua new file mode 100644 index 0000000..a45b0bc --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_001/LateNight.lua @@ -0,0 +1,96 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "MP_001_LateNight", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_001/Morning.lua b/ext/Client/Presets/MapSpecific/MP_001/Morning.lua new file mode 100644 index 0000000..c7c8681 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_001/Morning.lua @@ -0,0 +1,85 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5.0, 1.7, 1.0)", + "SkyColor": "(0.1, 0.1, 0.1)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "4", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "10.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.4", + "SunSize": "0.01", + "SunScale": "2", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_001_Morning", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_001/Night.lua b/ext/Client/Presets/MapSpecific/MP_001/Night.lua new file mode 100644 index 0000000..12ac4d1 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_001/Night.lua @@ -0,0 +1,96 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "MP_001_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_001/Noon.lua b/ext/Client/Presets/MapSpecific/MP_001/Noon.lua new file mode 100644 index 0000000..e204237 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_001/Noon.lua @@ -0,0 +1,85 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5, 3.5870, 3.0435)", + "SkyColor": "(0.3804, 0.2174, 0.2174)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "1", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "90.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "SunSize": "0.01", + "SunScale": "1.5", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_001_Noon", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_003/Evening.lua b/ext/Client/Presets/MapSpecific/MP_003/Evening.lua new file mode 100644 index 0000000..4219baa --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_003/Evening.lua @@ -0,0 +1,66 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(2.8261, 0.9783, 0.4348)", + "SkyColor": "(0.2717, 0.1087, 0.1087)", + "GroundColor": "(0.1087, 0.0543, 0.0543)", + "SkyLightAngleFactor": "4", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "150.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "5.5", + "SunSize": "0.01", + "SunScale": "2", + "CloudLayer1Color": "(0.3, 0.3, 0.3)" + }, + "SunFlare": { + "Element1Size": "0.05:0.05:", + "Element2Size": "0.05:0.05:", + "Element3Size": "0.05:0.05:", + "Element4Size": "0.00:0.00:", + "Element5Size": "0.00:0.00:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_003_Evening", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_003/LateNight.lua b/ext/Client/Presets/MapSpecific/MP_003/LateNight.lua new file mode 100644 index 0000000..31077c3 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_003/LateNight.lua @@ -0,0 +1,71 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "MP_003_LateNight", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_003/Morning.lua b/ext/Client/Presets/MapSpecific/MP_003/Morning.lua new file mode 100644 index 0000000..a050ad1 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_003/Morning.lua @@ -0,0 +1,57 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5.0, 1.7, 1.0)", + "SkyColor": "(0.1, 0.1, 0.1)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "4", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "10.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "5.5", + "SunSize": "0.01", + "SunScale": "2", + "CloudLayer1Color": "(0.3, 0.3, 0.3)" + }, + "SunFlare": { + "Element1Size": "0.10:0.10:", + "Element2Size": "0.10:0.10:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_003_Morning", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_003/Night.lua b/ext/Client/Presets/MapSpecific/MP_003/Night.lua new file mode 100644 index 0000000..710df10 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_003/Night.lua @@ -0,0 +1,71 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "MP_003_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_003/Noon.lua b/ext/Client/Presets/MapSpecific/MP_003/Noon.lua new file mode 100644 index 0000000..1324180 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_003/Noon.lua @@ -0,0 +1,62 @@ +-- Teheran Highway (MP_003) is already a night map, therefore it needs some more editing for its noon preset. +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5, 3.5870, 3.0435)", + "SkyColor": "(0.3804, 0.2174, 0.2174)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SunSpecularScale":"5.0", + "SkyLightAngleFactor": "4", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "90.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "SunSize": "0.01", + "SunScale": "1.5", + "BrightnessScale":"8", + "CloudLayer1Color": "0:0:0" + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_003_Noon", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +}]]) diff --git a/ext/Client/Presets/MapSpecific/MP_007/LateNight.lua b/ext/Client/Presets/MapSpecific/MP_007/LateNight.lua new file mode 100644 index 0000000..bfd6029 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_007/LateNight.lua @@ -0,0 +1,89 @@ +-- This exists to get rid of the annoying blueish background outlines for the mountains. +return json.decode([[ +{ + "Name": "MP_007_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1", + "CharacterLighting":{ + + }, + "ColorCorrection":{ + + }, + "DynamicAO":{ + + }, + "Enlighten":{ + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + "Realm": "0", + "Enable":"true", + "FogDistanceMultiplier":"1.0", + "FogGradientEnable":"true", + "Start":"-50.0", + "EndValue":"500.0", + "FogColorEnable":"true", + "FogColor":"(0.0020000000949949, 0.0020000000949949, 0.0020000000949949)", + "FogColorStart":"0.0", + "FogColorEnd":"1630.4348144531" + }, + "OutdoorLight":{ + "Enable":"true", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky":{ + "Enable":"true", + "BrightnessScale":"0.0037000000011176", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale": "0.09", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare":{ + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap":{ + + }, + "Vignette":{ + "Enable":"true", + "Scale":"(2.0, 2.0)", + "Exponent":"1.5", + "Color":"(0.0, 0.0, 0.0)", + "Opacity":"0.2039999961853" + }, + "Wind":{ + + } +}]]) diff --git a/ext/Client/Presets/MapSpecific/MP_007/Morning.lua b/ext/Client/Presets/MapSpecific/MP_007/Morning.lua new file mode 100644 index 0000000..058736d --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_007/Morning.lua @@ -0,0 +1,72 @@ +-- This exist only to add those missing SunFlares for this map. +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SkyLightAngleFactor": "4", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunColor": "(5.0, 1.7, 1.0)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SunRotationX": "150.0", + "SunRotationY": "10" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "5", + "SunSize": "0.01", + "SunScale": "2", + "CloudLayerSunColor": "(1, 0.16, 0.06)", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Element1Size": "0.10:0.10:", + "Element2Size": "0.10:0.10:", + "Element3Size": "0.10:0.10:", + "Element4Size": "0.10:0.10:", + "Element5Size": "0.10:0.10:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_007_Morning", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_007/Night.lua b/ext/Client/Presets/MapSpecific/MP_007/Night.lua new file mode 100644 index 0000000..fcb4579 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_007/Night.lua @@ -0,0 +1,88 @@ +-- This exists to get rid of the annoying blueish background outlines for the mountains. +return json.decode([[ +{ + "Name": "MP_007_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1", + "CharacterLighting":{ + + }, + "ColorCorrection":{ + + }, + "DynamicAO":{ + + }, + "Enlighten":{ + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + "Realm": "0", + "Enable":"true", + "FogDistanceMultiplier":"1.0", + "FogGradientEnable":"true", + "Start":"-50.0", + "EndValue":"500.0", + "FogColorEnable":"true", + "FogColor":"(0.0020000000949949, 0.0020000000949949, 0.0020000000949949)", + "FogColorStart":"0.0", + "FogColorEnd":"1630.4348144531" + }, + "OutdoorLight":{ + "Enable":"true", + "SunRotationX": "150.0", + "SunRotationY":"180.0", + "SunColor":"(0.0, 0.0, 0.0)", + "SkyColor":"(0.025000000372529, 0.025000000372529, 0.025000000372529)", + "GroundColor":"(0.0099999997764826, 0.0099999997764826, 0.0099999997764826)", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky":{ + "Enable":"true", + "BrightnessScale":"0.0037000000011176", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale": "0.09", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare":{ + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap":{ + + }, + "Vignette":{ + "Enable":"true", + "Scale":"(2.0, 2.0)", + "Exponent":"1.5", + "Color":"(0.0, 0.0, 0.0)", + "Opacity":"0.2039999961853" + }, + "Wind":{ + + } +}]]) diff --git a/ext/Client/Presets/MapSpecific/MP_011/LateNight.lua b/ext/Client/Presets/MapSpecific/MP_011/LateNight.lua new file mode 100644 index 0000000..492b218 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_011/LateNight.lua @@ -0,0 +1,98 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + "Enable":"true", + "FogDistanceMultiplier":"1.0", + "FogGradientEnable":"true", + "Start":"-50.0", + "EndValue":"500.0", + "FogColorEnable":"true", + "FogColor":"(0.0020000000949949, 0.0020000000949949, 0.0020000000949949)", + "FogColorStart":"0.0", + "FogColorEnd":"1630.4348144531" + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "MP_011_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_011/Night.lua b/ext/Client/Presets/MapSpecific/MP_011/Night.lua new file mode 100644 index 0000000..592fc24 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_011/Night.lua @@ -0,0 +1,95 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + "Enable":"true", + "FogDistanceMultiplier":"1.0", + "FogGradientEnable":"true", + "Start":"-50.0", + "EndValue":"500.0", + "FogColorEnable":"true", + "FogColor":"(0.0020000000949949, 0.0020000000949949, 0.0020000000949949)", + "FogColorStart":"0.0", + "FogColorEnd":"1630.4348144531" + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_011_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_012/LateNight.lua b/ext/Client/Presets/MapSpecific/MP_012/LateNight.lua new file mode 100644 index 0000000..7c67044 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_012/LateNight.lua @@ -0,0 +1,116 @@ +return json.decode([[ +{ + "CameraParams": { + + }, + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Dof": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + "Enable":"true", + "FogDistanceMultiplier":"1.0", + "FogGradientEnable":"true", + "Start":"-1000.0", + "EndValue":"1250.0", + "Curve":"(0.40000000596046, -0.76999998092651, 1.2999999523163, -0.0099999997764826)", + "FogColorEnable":"true", + "FogColor":"(0.00050000002374873, 0.00050000002374873, 0.0010000000474975)", + "FogColorStart":"0.0", + "FogColorEnd":"5000.0", + "FogColorCurve":"(6.0999999046326, -11.699999809265, 5.6199998855591, -0.18000000715256)", + "HeightFogEnable":"false", + "HeightFogFollowCamera":"0.0", + "HeightFogAltitude":"0.0", + "HeightFogDepth":"100.0", + "HeightFogVisibilityRange":"100.0" + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_012_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_012/Night.lua b/ext/Client/Presets/MapSpecific/MP_012/Night.lua new file mode 100644 index 0000000..532d39c --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_012/Night.lua @@ -0,0 +1,104 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + "Enable":"true", + "FogDistanceMultiplier":"1.0", + "FogGradientEnable":"true", + "Start":"-1000.0", + "EndValue":"1250.0", + "Curve":"(0.40000000596046, -0.76999998092651, 1.2999999523163, -0.0099999997764826)", + "FogColorEnable":"true", + "FogColor":"(0.00050000002374873, 0.00050000002374873, 0.0010000000474975)", + "FogColorStart":"0.0", + "FogColorEnd":"5000.0", + "FogColorCurve":"(6.0999999046326, -11.699999809265, 5.6199998855591, -0.18000000715256)", + "HeightFogEnable":"false", + "HeightFogFollowCamera":"0.0", + "HeightFogAltitude":"0.0", + "HeightFogDepth":"100.0", + "HeightFogVisibilityRange":"100.0" + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_012_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_Subway/LateNight.lua b/ext/Client/Presets/MapSpecific/MP_Subway/LateNight.lua new file mode 100644 index 0000000..52a6f4b --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_Subway/LateNight.lua @@ -0,0 +1,137 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + "Enable":"true", + "FogDistanceMultiplier":"1.0", + "FogGradientEnable":"true", + "Start":"-1000.0", + "EndValue":"1250.0", + "Curve":"(0.40000000596046, -0.76999998092651, 1.2999999523163, -0.0099999997764826)", + "FogColorEnable":"true", + "FogColor":"(0.00050000002374873, 0.00050000002374873, 0.0010000000474975)", + "FogColorStart":"0.0", + "FogColorEnd":"5000.0", + "FogColorCurve":"(6.0999999046326, -11.699999809265, 5.6199998855591, -0.18000000715256)", + "HeightFogEnable":"false", + "HeightFogFollowCamera":"0.0", + "HeightFogAltitude":"0.0", + "HeightFogDepth":"100.0", + "HeightFogVisibilityRange":"100.0" + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.2", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Realm": "0", + "Enable": "false", + "DebugDrawOccluder": "false", + "OccluderSize": "300.0", + "Element1Enable": "false", + "Element1RayDistance": "0.0", + "Element1Size": "0.1:0.1:", + "Element1SizeOccluderCurve": "(0.000000, 0.000000, -2.971014, 3.561449)", + "Element1SizeScreenPosCurve": "(0.000000, 0.000000, -0.468144, 1.045845)", + "Element1AlphaOccluderCurve": "(-0.169719, -0.203206, -0.130994, 0.596260)", + "Element1AlphaScreenPosCurve": "(0.000000, 0.000000, 0.000000, 0.130000)", + "Element2Enable": "false", + "Element2RayDistance": "0", + "Element2Size": "0.1:0.1:", + "Element2SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 1.005000)", + "Element2SizeScreenPosCurve": "(0.000000, 0.000000, 1.046446, 0.001858)", + "Element2AlphaOccluderCurve": "(0.000000, 0.000000, -1.125922, 0.364515)", + "Element2AlphaScreenPosCurve": "(0.000000, 0.000000, 0.016854, -0.005730)", + "Element3Enable": "false", + "Element3RayDistance": "0.0", + "Element3Size": "0.1:0.1:", + "Element3SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 1.005000)", + "Element3SizeScreenPosCurve": "(0.000000, 0.000000, 0.743084, 0.278439)", + "Element3AlphaOccluderCurve": "(0.000000, 0.000000, -0.564839, 0.343529)", + "Element3AlphaScreenPosCurve": "(0.000000, 0.000000, 0.701987, 0.365265)", + "Element4Enable": "false", + "Element4RayDistance": "0.0", + "Element4Size": "(1.000000, 1.000000)", + "Element4SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 0.985000)", + "Element4SizeScreenPosCurve": "(0.000000, 0.000000, 0.000000, 0.975000)", + "Element4AlphaOccluderCurve": "(0.000000, 0.000000, -12.026724, 0.478798)", + "Element4AlphaScreenPosCurve": "(0.000000, 0.000000, 0.000000, 1.000000)", + "Element5Enable": "false", + "Element5RayDistance": "1.0", + "Element5Size": "(0.800000, 0.800000)", + "Element5SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 1.000000)", + "Element5SizeScreenPosCurve": "(0.000000, 0.000000, 0.000000, 0.820000)", + "Element5AlphaOccluderCurve": "(0.000000, 0.000000, -0.289483, 0.029082)", + "Element5AlphaScreenPosCurve": "(0.000000, 0.000000, -0.930245, 0.629199)" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_Subway_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/MP_Subway/Night.lua b/ext/Client/Presets/MapSpecific/MP_Subway/Night.lua new file mode 100644 index 0000000..c2947ca --- /dev/null +++ b/ext/Client/Presets/MapSpecific/MP_Subway/Night.lua @@ -0,0 +1,137 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + "Enable":"true", + "FogDistanceMultiplier":"1.0", + "FogGradientEnable":"true", + "Start":"-1000.0", + "EndValue":"1250.0", + "Curve":"(0.40000000596046, -0.76999998092651, 1.2999999523163, -0.0099999997764826)", + "FogColorEnable":"true", + "FogColor":"(0.00050000002374873, 0.00050000002374873, 0.0010000000474975)", + "FogColorStart":"0.0", + "FogColorEnd":"5000.0", + "FogColorCurve":"(6.0999999046326, -11.699999809265, 5.6199998855591, -0.18000000715256)", + "HeightFogEnable":"false", + "HeightFogFollowCamera":"0.0", + "HeightFogAltitude":"0.0", + "HeightFogDepth":"100.0", + "HeightFogVisibilityRange":"100.0" + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.2", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Realm": "0", + "Enable": "false", + "DebugDrawOccluder": "false", + "OccluderSize": "300.0", + "Element1Enable": "false", + "Element1RayDistance": "0.0", + "Element1Size": "0.1:0.1:", + "Element1SizeOccluderCurve": "(0.000000, 0.000000, -2.971014, 3.561449)", + "Element1SizeScreenPosCurve": "(0.000000, 0.000000, -0.468144, 1.045845)", + "Element1AlphaOccluderCurve": "(-0.169719, -0.203206, -0.130994, 0.596260)", + "Element1AlphaScreenPosCurve": "(0.000000, 0.000000, 0.000000, 0.130000)", + "Element2Enable": "false", + "Element2RayDistance": "0", + "Element2Size": "0.1:0.1:", + "Element2SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 1.005000)", + "Element2SizeScreenPosCurve": "(0.000000, 0.000000, 1.046446, 0.001858)", + "Element2AlphaOccluderCurve": "(0.000000, 0.000000, -1.125922, 0.364515)", + "Element2AlphaScreenPosCurve": "(0.000000, 0.000000, 0.016854, -0.005730)", + "Element3Enable": "false", + "Element3RayDistance": "0.0", + "Element3Size": "0.1:0.1:", + "Element3SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 1.005000)", + "Element3SizeScreenPosCurve": "(0.000000, 0.000000, 0.743084, 0.278439)", + "Element3AlphaOccluderCurve": "(0.000000, 0.000000, -0.564839, 0.343529)", + "Element3AlphaScreenPosCurve": "(0.000000, 0.000000, 0.701987, 0.365265)", + "Element4Enable": "false", + "Element4RayDistance": "0.0", + "Element4Size": "(1.000000, 1.000000)", + "Element4SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 0.985000)", + "Element4SizeScreenPosCurve": "(0.000000, 0.000000, 0.000000, 0.975000)", + "Element4AlphaOccluderCurve": "(0.000000, 0.000000, -12.026724, 0.478798)", + "Element4AlphaScreenPosCurve": "(0.000000, 0.000000, 0.000000, 1.000000)", + "Element5Enable": "false", + "Element5RayDistance": "1.0", + "Element5Size": "(0.800000, 0.800000)", + "Element5SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 1.000000)", + "Element5SizeScreenPosCurve": "(0.000000, 0.000000, 0.000000, 0.820000)", + "Element5AlphaOccluderCurve": "(0.000000, 0.000000, -0.289483, 0.029082)", + "Element5AlphaScreenPosCurve": "(0.000000, 0.000000, -0.930245, 0.629199)" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "MP_Subway_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP1_001/LateNight.lua b/ext/Client/Presets/MapSpecific/XP1_001/LateNight.lua new file mode 100644 index 0000000..d6ede71 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP1_001/LateNight.lua @@ -0,0 +1,101 @@ +return json.decode([[ +{ + "Name": "XP1_001_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1", + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"1", + "BlendFactor":"0.69999998807907", + "TopLight":"(3.0978000164032, 4.2390999794006, 4.7283000946045)", + "BottomLight":"(5.0, 4.7825999259949, 4.4565000534058)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection":{ + "Enable":"true", + "Brightness":"(1.0, 1.0, 1.0)", + "Contrast":"(1.1000000238419, 1.1000000238419, 1.1200000047684)", + "Saturation":"(0.72750002145767, 0.77249997854233, 0.92250001430511)", + "Hue":"0.0", + "ColorGradingEnable":"false" + }, + "DynamicAO":{ + + }, + "Enlighten":{ + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + + }, + "OutdoorLight":{ + "Enable":"true", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.5919, 0.4832, 0.4288)", + "GroundColor": "(0.08, 0.08, 0.08)", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky":{ + "Enable":"true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare":{ + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap":{ + "TonemapMethod": "2", + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "0.14", + "ExposureAdjustTime": "0.5" + }, + "Vignette":{ + "Enable":"true", + "Scale":"(2.0, 2.0)", + "Exponent":"1.5", + "Color":"(0.0, 0.0, 0.0)", + "Opacity":"0.2039999961853" + }, + "Wind":{ + + } +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP1_001/Night.lua b/ext/Client/Presets/MapSpecific/XP1_001/Night.lua new file mode 100644 index 0000000..7873525 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP1_001/Night.lua @@ -0,0 +1,101 @@ +return json.decode([[ +{ + "Name": "XP1_001_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1", + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"1", + "BlendFactor":"0.69999998807907", + "TopLight":"(3.0978000164032, 4.2390999794006, 4.7283000946045)", + "BottomLight":"(5.0, 4.7825999259949, 4.4565000534058)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection":{ + "Enable":"true", + "Brightness":"(1.0, 1.0, 1.0)", + "Contrast":"(1.1000000238419, 1.1000000238419, 1.1200000047684)", + "Saturation":"(0.72750002145767, 0.77249997854233, 0.92250001430511)", + "Hue":"0.0", + "ColorGradingEnable":"false" + }, + "DynamicAO":{ + + }, + "Enlighten":{ + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + + }, + "OutdoorLight":{ + "Enable":"true", + "SunRotationX": "150.0", + "SunRotationY":"180.0", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.5919, 0.4832, 0.4288)", + "GroundColor": "(0.1, 0.1, 0.1)", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky":{ + "Enable":"true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "5", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare":{ + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap":{ + "TonemapMethod": "2", + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "0.17", + "ExposureAdjustTime": "0.5" + }, + "Vignette":{ + "Enable":"true", + "Scale":"(2.0, 2.0)", + "Exponent":"1.5", + "Color":"(0.0, 0.0, 0.0)", + "Opacity":"0.2039999961853" + }, + "Wind":{ + + } +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP1_002/LateNight.lua b/ext/Client/Presets/MapSpecific/XP1_002/LateNight.lua new file mode 100644 index 0000000..fab9f71 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP1_002/LateNight.lua @@ -0,0 +1,102 @@ +return json.decode([[ +{ + "Name": "XP1_002_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1", + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"1", + "BlendFactor":"0.69999998807907", + "TopLight":"(3.0978000164032, 4.2390999794006, 4.7283000946045)", + "BottomLight":"(5.0, 4.7825999259949, 4.4565000534058)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection":{ + "Enable":"true", + "Brightness":"(1.0, 1.0, 1.0)", + "Contrast":"(1.1000000238419, 1.1000000238419, 1.1200000047684)", + "Saturation":"(0.72750002145767, 0.77249997854233, 0.92250001430511)", + "Hue":"0.0", + "ColorGradingEnable":"false" + }, + "DynamicAO":{ + + }, + "Enlighten":{ + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + + }, + "OutdoorLight":{ + "Enable":"true", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SunColor": "(0.3745, 0.2658, 0.2658)", + "SkyColor": "(0.38, 0.38, 0.38)", + "GroundColor": "(0.1, 0.1, 0.1)", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky":{ + "Enable":"true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "5", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare":{ + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap":{ + "TonemapMethod": "2", + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "0.18", + "ExposureAdjustTime": "0.5" + }, + "Vignette":{ + "Enable":"true", + "Scale":"(2.0, 2.0)", + "Exponent":"1.5", + "Color":"(0.0, 0.0, 0.0)", + "Opacity":"0.2039999961853" + }, + "Wind":{ + + } +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP1_002/Night.lua b/ext/Client/Presets/MapSpecific/XP1_002/Night.lua new file mode 100644 index 0000000..77f6b12 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP1_002/Night.lua @@ -0,0 +1,102 @@ +return json.decode([[ +{ + "Name": "XP1_002_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1", + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"1", + "BlendFactor":"0.69999998807907", + "TopLight":"(3.0978000164032, 4.2390999794006, 4.7283000946045)", + "BottomLight":"(5.0, 4.7825999259949, 4.4565000534058)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection":{ + "Enable":"true", + "Brightness":"(1.0, 1.0, 1.0)", + "Contrast":"(1.1000000238419, 1.1000000238419, 1.1200000047684)", + "Saturation":"(0.72750002145767, 0.77249997854233, 0.92250001430511)", + "Hue":"0.0", + "ColorGradingEnable":"false" + }, + "DynamicAO":{ + + }, + "Enlighten":{ + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + + }, + "OutdoorLight":{ + "Enable":"true", + "SunRotationX": "150.0", + "SunRotationY":"180.0", + "SunColor": "(0.3745, 0.2658, 0.2658)", + "SkyColor": "(0.48, 0.48, 0.48)", + "GroundColor": "(0.12, 0.12, 0.12)", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky":{ + "Enable":"true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "5", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare":{ + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap":{ + "TonemapMethod": "2", + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "0.2", + "ExposureAdjustTime": "0.5" + }, + "Vignette":{ + "Enable":"true", + "Scale":"(2.0, 2.0)", + "Exponent":"1.5", + "Color":"(0.0, 0.0, 0.0)", + "Opacity":"0.2039999961853" + }, + "Wind":{ + + } +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP1_003/LateNight.lua b/ext/Client/Presets/MapSpecific/XP1_003/LateNight.lua new file mode 100644 index 0000000..97a96a6 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP1_003/LateNight.lua @@ -0,0 +1,101 @@ +return json.decode([[ +{ + "Name": "XP1_003_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1", + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"1", + "BlendFactor":"0.69999998807907", + "TopLight":"(3.0978000164032, 4.2390999794006, 4.7283000946045)", + "BottomLight":"(5.0, 4.7825999259949, 4.4565000534058)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection":{ + "Enable":"true", + "Brightness":"(1.0, 1.0, 1.0)", + "Contrast":"(1.1000000238419, 1.1000000238419, 1.1200000047684)", + "Saturation":"(0.72750002145767, 0.77249997854233, 0.92250001430511)", + "Hue":"0.0", + "ColorGradingEnable":"false" + }, + "DynamicAO":{ + + }, + "Enlighten":{ + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + + }, + "OutdoorLight":{ + "Enable":"true", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.48, 0.48, 0.48)", + "GroundColor": "(0.1, 0.1, 0.1)", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky":{ + "Enable":"true", + "BrightnessScale":"0.019999999552965", + "SunSize": "0.0005", + "SunScale": "80", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare":{ + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap":{ + "TonemapMethod": "2", + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "0.18", + "ExposureAdjustTime": "0.5" + }, + "Vignette":{ + "Enable":"true", + "Scale":"(2.0, 2.0)", + "Exponent":"1.5", + "Color":"(0.0, 0.0, 0.0)", + "Opacity":"0.2039999961853" + }, + "Wind":{ + + } +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP1_003/Night.lua b/ext/Client/Presets/MapSpecific/XP1_003/Night.lua new file mode 100644 index 0000000..d5bc305 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP1_003/Night.lua @@ -0,0 +1,101 @@ +return json.decode([[ +{ + "Name": "XP1_003_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1", + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"1", + "BlendFactor":"0.69999998807907", + "TopLight":"(3.0978000164032, 4.2390999794006, 4.7283000946045)", + "BottomLight":"(5.0, 4.7825999259949, 4.4565000534058)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection":{ + "Enable":"true", + "Brightness":"(1.0, 1.0, 1.0)", + "Contrast":"(1.1000000238419, 1.1000000238419, 1.1200000047684)", + "Saturation":"(0.72750002145767, 0.77249997854233, 0.92250001430511)", + "Hue":"0.0", + "ColorGradingEnable":"false" + }, + "DynamicAO":{ + + }, + "Enlighten":{ + "Realm": "0", + "Enable": "false" + }, + "Fog":{ + + }, + "OutdoorLight":{ + "Enable":"true", + "SunRotationX": "150.0", + "SunRotationY":"180.0", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.48, 0.48, 0.48)", + "GroundColor": "(0.1, 0.1, 0.1)", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky":{ + "Enable":"true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare":{ + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap":{ + "TonemapMethod": "2", + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "0.2", + "ExposureAdjustTime": "0.5" + }, + "Vignette":{ + "Enable":"true", + "Scale":"(2.0, 2.0)", + "Exponent":"1.5", + "Color":"(0.0, 0.0, 0.0)", + "Opacity":"0.2039999961853" + }, + "Wind":{ + + } +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP1_003/Noon.lua b/ext/Client/Presets/MapSpecific/XP1_003/Noon.lua new file mode 100644 index 0000000..eebf93b --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP1_003/Noon.lua @@ -0,0 +1,80 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5, 3.5870, 3.0435)", + "SkyColor": "(0.3804, 0.2174, 0.2174)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "1", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "90.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "SunSize": "0.01", + "SunScale": "1.5", + "BrightnessScale":"2.5", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP1_003_Noon", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP2_Office/Evening.lua b/ext/Client/Presets/MapSpecific/XP2_Office/Evening.lua new file mode 100644 index 0000000..2cf525c --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP2_Office/Evening.lua @@ -0,0 +1,86 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(2.8261, 0.9783, 0.4348)", + "SkyColor": "(0.2717, 0.1087, 0.1087)", + "GroundColor": "(0.1087, 0.0543, 0.0543)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "3", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "150.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.4", + "SunSize": "0.01", + "SunScale": "2", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(1, 0.3, 0.051)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Element1Size": "0.05:0.05:", + "Element2Size": "0.05:0.05:", + "Element3Size": "0.05:0.05:", + "Element4Size": "0.00:0.00:", + "Element5Size": "0.00:0.00:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP2_Office_Evening", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP2_Office/LateNight.lua b/ext/Client/Presets/MapSpecific/XP2_Office/LateNight.lua new file mode 100644 index 0000000..4514d61 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP2_Office/LateNight.lua @@ -0,0 +1,91 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP2_Office_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP2_Office/Morning.lua b/ext/Client/Presets/MapSpecific/XP2_Office/Morning.lua new file mode 100644 index 0000000..35d0b1f --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP2_Office/Morning.lua @@ -0,0 +1,77 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5.0, 1.7, 1.0)", + "SkyColor": "(0.1, 0.1, 0.1)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "4", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "10.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.4", + "SunSize": "0.01", + "SunScale": "2", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(1, 0.16, 0.06)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Element1Size": "0.10:0.10:", + "Element2Size": "0.10:0.10:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP2_Office_Morning", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP2_Office/Night.lua b/ext/Client/Presets/MapSpecific/XP2_Office/Night.lua new file mode 100644 index 0000000..3573097 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP2_Office/Night.lua @@ -0,0 +1,91 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP2_Office_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP2_Office/Noon.lua b/ext/Client/Presets/MapSpecific/XP2_Office/Noon.lua new file mode 100644 index 0000000..4f5ba5c --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP2_Office/Noon.lua @@ -0,0 +1,81 @@ +-- Teheran Highway (MP_003) is already a night map, therefore it needs some more editing for its noon preset. +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5, 3.5870, 3.0435)", + "SkyColor": "(0.3804, 0.2174, 0.2174)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "4", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "90.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "SunSize": "0.01", + "SunScale": "1.5", + "BrightnessScale":"5", + "StaticEnvmapScale":"0.0", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP2_Office_Noon", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +}]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Alborz/LateNight.lua b/ext/Client/Presets/MapSpecific/XP3_Alborz/LateNight.lua new file mode 100644 index 0000000..557c000 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Alborz/LateNight.lua @@ -0,0 +1,83 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SkyEnvmapShadowScale":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.01", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP3_Alborz_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Alborz/Night.lua b/ext/Client/Presets/MapSpecific/XP3_Alborz/Night.lua new file mode 100644 index 0000000..cee88f8 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Alborz/Night.lua @@ -0,0 +1,83 @@ +return json.decode([[ +{ + "CharacterLighting":{ + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SkyEnvmapShadowScale":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.01", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP3_Alborz_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Desert/Evening.lua b/ext/Client/Presets/MapSpecific/XP3_Desert/Evening.lua new file mode 100644 index 0000000..c7571c2 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Desert/Evening.lua @@ -0,0 +1,68 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(2.8261, 0.9783, 0.4348)", + "SkyColor": "(0.2717, 0.1087, 0.1087)", + "GroundColor": "(0.1087, 0.0543, 0.0543)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "150.0", + "CloudShadowEnable": "false" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.4", + "SunSize": "0.01", + "SunScale": "2", + "CloudLayerSunColor": "(1, 0.3, 0.051)", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8" + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP3_Desert_Evening", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Desert/LateNight.lua b/ext/Client/Presets/MapSpecific/XP3_Desert/LateNight.lua new file mode 100644 index 0000000..fde18a4 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Desert/LateNight.lua @@ -0,0 +1,89 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SkyEnvmapShadowScale":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0", + "CloudShadowEnable": "false" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.01", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP3_Desert_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Desert/Morning.lua b/ext/Client/Presets/MapSpecific/XP3_Desert/Morning.lua new file mode 100644 index 0000000..803f424 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Desert/Morning.lua @@ -0,0 +1,59 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5.0, 1.7, 1.0)", + "SkyColor": "(0.1, 0.1, 0.1)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "10.0", + "CloudShadowEnable": "false" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.4", + "SunSize": "0.01", + "SunScale": "2", + "CloudLayerSunColor": "(1, 0.16, 0.06)", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8" + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP3_Desert_Morning", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Desert/Night.lua b/ext/Client/Presets/MapSpecific/XP3_Desert/Night.lua new file mode 100644 index 0000000..ef9009d --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Desert/Night.lua @@ -0,0 +1,89 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SkyEnvmapShadowScale":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0", + "CloudShadowEnable": "false" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.01", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP3_Desert_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Desert/Noon.lua b/ext/Client/Presets/MapSpecific/XP3_Desert/Noon.lua new file mode 100644 index 0000000..061301c --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Desert/Noon.lua @@ -0,0 +1,62 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5, 3.5870, 3.0435)", + "SkyColor": "(0.3804, 0.2174, 0.2174)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "1", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "90.0", + "CloudShadowEnable": "false" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "SunSize": "0.01", + "SunScale": "1.5", + "BrightnessScale": "5" + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP3_Desert_Noon", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Shield/LateNight.lua b/ext/Client/Presets/MapSpecific/XP3_Shield/LateNight.lua new file mode 100644 index 0000000..c1735fe --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Shield/LateNight.lua @@ -0,0 +1,91 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.01", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP3_Shield_LateNight", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Shield/Night.lua b/ext/Client/Presets/MapSpecific/XP3_Shield/Night.lua new file mode 100644 index 0000000..661328a --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Shield/Night.lua @@ -0,0 +1,91 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.01", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP3_Shield_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Valley/Evening.lua b/ext/Client/Presets/MapSpecific/XP3_Valley/Evening.lua new file mode 100644 index 0000000..e0e7f82 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Valley/Evening.lua @@ -0,0 +1,66 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(2.8261, 0.9783, 0.4348)", + "SkyColor": "(0.2717, 0.1087, 0.1087)", + "GroundColor": "(0.1087, 0.0543, 0.0543)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "150.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "7", + "SunSize": "0.01", + "SunScale": "2", + "CloudLayer1Color": "1:1:1" + }, + "SunFlare": { + "Element1Size": "0.05:0.05:", + "Element2Size": "0.05:0.05:", + "Element3Size": "0.05:0.05:", + "Element4Size": "0.00:0.00:", + "Element5Size": "0.00:0.00:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP3_Valley_Evening", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Valley/LateNight.lua b/ext/Client/Presets/MapSpecific/XP3_Valley/LateNight.lua new file mode 100644 index 0000000..edebad7 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Valley/LateNight.lua @@ -0,0 +1,71 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0089999996125698", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP3_Valley_LateNight", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Valley/Morning.lua b/ext/Client/Presets/MapSpecific/XP3_Valley/Morning.lua new file mode 100644 index 0000000..3cdc3cf --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Valley/Morning.lua @@ -0,0 +1,57 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5.0, 1.7, 1.0)", + "SkyColor": "(0.3, 0.3, 0.3)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "10.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "8", + "SunSize": "0.01", + "SunScale": "2", + "CloudLayer1Color": "1:1:1" + }, + "SunFlare": { + "Element1Size": "0.10:0.10:", + "Element2Size": "0.10:0.10:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP3_Valley_Morning", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Valley/Night.lua b/ext/Client/Presets/MapSpecific/XP3_Valley/Night.lua new file mode 100644 index 0000000..772028f --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Valley/Night.lua @@ -0,0 +1,71 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0089999996125698", + "SunSpecularScale":"0.0", + "SkyEnvmapShadowScale":"0.25", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP3_Valley_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP3_Valley/Noon.lua b/ext/Client/Presets/MapSpecific/XP3_Valley/Noon.lua new file mode 100644 index 0000000..1ce6844 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP3_Valley/Noon.lua @@ -0,0 +1,52 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(6, 5.5870, 5.0435)", + "SkyColor": "(0.6804, 0.4174, 0.4174)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SunSpecularScale":"5.0", + "SkyLightAngleFactor": "4", + "SunShadowHeightScale":"1.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "SunSize": "0.05", + "SunScale": "5", + "BrightnessScale":"10", + "CloudLayer1Color": "1:1:1" + + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "Name": "XP3_Valley_Noon", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP4_FD/LateNight.lua b/ext/Client/Presets/MapSpecific/XP4_FD/LateNight.lua new file mode 100644 index 0000000..6ab1a21 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP4_FD/LateNight.lua @@ -0,0 +1,98 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0", + "SkyEnvmapShadowScale": "0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.09", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Enable": "false", + "Element5RayDistance": "0.0", + "Element5Size": "(0.0, 0.0)", + "Element5SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 1.000000)", + "Element5SizeScreenPosCurve": "(0.000000, 0.000000, 0.000000, 0.820000)", + "Element5AlphaOccluderCurve": "(0.000000, 0.000000, -0.289483, 0.029082)", + "Element5AlphaScreenPosCurve": "(0.000000, 0.000000, -0.930245, 0.629199)" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP4_FD_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP4_FD/Night.lua b/ext/Client/Presets/MapSpecific/XP4_FD/Night.lua new file mode 100644 index 0000000..0f60b9a --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP4_FD/Night.lua @@ -0,0 +1,98 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0", + "SkyEnvmapShadowScale": "0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.09", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Enable": "false", + "Element5RayDistance": "0.0", + "Element5Size": "(0.0, 0.0)", + "Element5SizeOccluderCurve": "(0.000000, 0.000000, 0.000000, 1.000000)", + "Element5SizeScreenPosCurve": "(0.000000, 0.000000, 0.000000, 0.820000)", + "Element5AlphaOccluderCurve": "(0.000000, 0.000000, -0.289483, 0.029082)", + "Element5AlphaScreenPosCurve": "(0.000000, 0.000000, -0.930245, 0.629199)" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP4_FD_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP4_Parl/LateNight.lua b/ext/Client/Presets/MapSpecific/XP4_Parl/LateNight.lua new file mode 100644 index 0000000..5a07afa --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP4_Parl/LateNight.lua @@ -0,0 +1,92 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0", + "SkyEnvmapShadowScale": "0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.02", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP4_Parl_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP4_Parl/Night.lua b/ext/Client/Presets/MapSpecific/XP4_Parl/Night.lua new file mode 100644 index 0000000..1b17e8c --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP4_Parl/Night.lua @@ -0,0 +1,92 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0", + "SkyEnvmapShadowScale": "0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.02", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP4_Parl_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP4_Quake/Evening.lua b/ext/Client/Presets/MapSpecific/XP4_Quake/Evening.lua new file mode 100644 index 0000000..fc1a7bb --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP4_Quake/Evening.lua @@ -0,0 +1,93 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(2.8261, 0.9783, 0.4348)", + "SkyColor": "(0.2717, 0.1087, 0.1087)", + "GroundColor": "(0.1087, 0.0543, 0.0543)", + "SkyLightAngleFactor": "4", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "150.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.4", + "SunSize": "0.01", + "SunScale": "2", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(1, 0.3, 0.051)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Element1Size": "0.05:0.05:", + "Element2Size": "0.05:0.05:", + "Element3Size": "0.05:0.05:", + "Element4Size": "0.00:0.00:", + "Element5Size": "0.00:0.00:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "ShaderParams": { + "Name": "RimLightGradient", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightDirection", + "Value": "(0.0, -2.0, -0.5, 0.0)" + }, + "ShaderParams": { + "Name": "RimLightExponent", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightColor", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "Name": "XP4_Quake_Evening", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP4_Quake/LateNight.lua b/ext/Client/Presets/MapSpecific/XP4_Quake/LateNight.lua new file mode 100644 index 0000000..9dd2e60 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP4_Quake/LateNight.lua @@ -0,0 +1,100 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.5919, 0.4832, 0.4288)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0", + "SkyEnvmapShadowScale": "0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "TonemapMethod": "2", + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "0.07", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "ShaderParams": { + "Name": "RimLightGradient", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightDirection", + "Value": "(0.0, -2.0, -0.5, 0.0)" + }, + "ShaderParams": { + "Name": "RimLightExponent", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightColor", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "Name": "XP4_Quake_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP4_Quake/Morning.lua b/ext/Client/Presets/MapSpecific/XP4_Quake/Morning.lua new file mode 100644 index 0000000..3e1cc91 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP4_Quake/Morning.lua @@ -0,0 +1,93 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5.0, 1.7, 1.0)", + "SkyColor": "(0.1, 0.1, 0.1)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "2", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "10.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.4", + "SunSize": "0.01", + "SunScale": "2", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(1, 0.16, 0.06)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Element1Size": "0.10:0.10:", + "Element2Size": "0.10:0.10:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + + }, + "Wind": { + + }, + "ShaderParams": { + "Name": "RimLightGradient", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightDirection", + "Value": "(0.0, -2.0, -0.5, 0.0)" + }, + "ShaderParams": { + "Name": "RimLightExponent", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightColor", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "Name": "XP4_Quake_Morning", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP4_Quake/Night.lua b/ext/Client/Presets/MapSpecific/XP4_Quake/Night.lua new file mode 100644 index 0000000..d59a9a2 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP4_Quake/Night.lua @@ -0,0 +1,100 @@ +return json.decode([[ +{ + "CharacterLighting":{ + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.5919, 0.4832, 0.4288)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0", + "SkyEnvmapShadowScale": "0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "TonemapMethod": "2", + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "0.07", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "ShaderParams": { + "Name": "RimLightGradient", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightDirection", + "Value": "(0.0, -2.0, -0.5, 0.0)" + }, + "ShaderParams": { + "Name": "RimLightExponent", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightColor", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "Name": "XP4_Quake_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP4_Quake/Noon.lua b/ext/Client/Presets/MapSpecific/XP4_Quake/Noon.lua new file mode 100644 index 0000000..24e47e7 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP4_Quake/Noon.lua @@ -0,0 +1,87 @@ +return json.decode([[ +{ + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(5, 3.5870, 3.0435)", + "SkyColor": "(0.3804, 0.2174, 0.2174)", + "GroundColor": "(0.0, 0.0, 0.0)", + "SkyLightAngleFactor": "1", + "SunSpecularScale": "5", + "SunShadowHeightScale":"1.0", + "SunRotationX": "150.0", + "SunRotationY": "90.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "SunSize": "0.01", + "SunScale": "1.5", + "StaticEnvmapScale":"0.0", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.5", + "CloudLayer1SunLightPower": "0.5", + "CloudLayer1AmbientLightIntensity": "0.5", + "CloudLayer1Color": "(0.3, 0.3, 0.3)", + "CloudLayer1AlphaMul": "0.8", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "0", + "CloudLayer2SunLightPower": "0", + "CloudLayer2AmbientLightIntensity": "0", + "CloudLayer2Color": "0:0:0:", + "CloudLayer2AlphaMul": "0.0", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + + }, + "Tonemap": { + + }, + "Wind": { + + }, + "ShaderParams": { + "Name": "RimLightGradient", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightDirection", + "Value": "(0.0, -2.0, -0.5, 0.0)" + }, + "ShaderParams": { + "Name": "RimLightExponent", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "ShaderParams": { + "Name": "RimLightColor", + "Value": "(2.0, 2.0, 2.0, 2.0)" + }, + "Name": "XP4_Quake_Noon", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP5_001/LateNight.lua b/ext/Client/Presets/MapSpecific/XP5_001/LateNight.lua new file mode 100644 index 0000000..534dfa0 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP5_001/LateNight.lua @@ -0,0 +1,103 @@ +return json.decode([[ +{ + "CameraParams": { + + }, + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Dof": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP5_001_LateNight", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP5_001/Night.lua b/ext/Client/Presets/MapSpecific/XP5_001/Night.lua new file mode 100644 index 0000000..7995596 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP5_001/Night.lua @@ -0,0 +1,103 @@ +return json.decode([[ +{ + "CameraParams": { + + }, + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Dof": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP5_001_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP5_002/LateNight.lua b/ext/Client/Presets/MapSpecific/XP5_002/LateNight.lua new file mode 100644 index 0000000..0d7e2ec --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP5_002/LateNight.lua @@ -0,0 +1,103 @@ +return json.decode([[ +{ + "CameraParams": { + + }, + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Dof": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.05", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP5_002_LateNight", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP5_002/Night.lua b/ext/Client/Presets/MapSpecific/XP5_002/Night.lua new file mode 100644 index 0000000..c05a4fd --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP5_002/Night.lua @@ -0,0 +1,103 @@ +return json.decode([[ +{ + "CameraParams": { + + }, + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Dof": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.05", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP5_002_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP5_003/LateNight.lua b/ext/Client/Presets/MapSpecific/XP5_003/LateNight.lua new file mode 100644 index 0000000..56073d5 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP5_003/LateNight.lua @@ -0,0 +1,92 @@ +return json.decode([[ +{ + "CharacterLighting": { + "CharacterLightEnable": "true", + "FirstPersonEnable": "true", + "LockToCameraDirection": "true", + "CameraUpRotation": "27.482999801636", + "CharacterLightingMode": "1", + "BlendFactor": "0.02", + "TopLight": "1:1:1:", + "BottomLight": "1:1:1:", + "TopLightDirX": "0", + "TopLightDirY": "0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SkyEnvmapShadowScale":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.01", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP5_003_Late_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP5_003/Night.lua b/ext/Client/Presets/MapSpecific/XP5_003/Night.lua new file mode 100644 index 0000000..88ab0fb --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP5_003/Night.lua @@ -0,0 +1,92 @@ +return json.decode([[ +{ + "CharacterLighting":{ + "CharacterLightEnable":"false", + "FirstPersonEnable":"false", + "LockToCameraDirection":"true", + "CameraUpRotation":"27.482999801636", + "CharacterLightingMode":"0", + "BlendFactor":"1.0", + "TopLight":"(1.0, 1.0, 1.0)", + "BottomLight":"(1.0, 1.0, 1.0)", + "TopLightDirX":"0.0", + "TopLightDirY":"0.0" + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SkyEnvmapShadowScale":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.01", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP5_003_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP5_004/LateNight.lua b/ext/Client/Presets/MapSpecific/XP5_004/LateNight.lua new file mode 100644 index 0000000..81c210e --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP5_004/LateNight.lua @@ -0,0 +1,103 @@ +return json.decode([[ +{ + "CameraParams": { + + }, + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Dof": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.04, 0.04, 0.07)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.03, 0.03, 0.03)", + "SunSpecularScale": "0", + "SunRotationX": "150.0", + "SunRotationY":"359.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP5_004_LateNight", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/MapSpecific/XP5_004/Night.lua b/ext/Client/Presets/MapSpecific/XP5_004/Night.lua new file mode 100644 index 0000000..231adf4 --- /dev/null +++ b/ext/Client/Presets/MapSpecific/XP5_004/Night.lua @@ -0,0 +1,103 @@ +return json.decode([[ +{ + "CameraParams": { + + }, + "CharacterLighting": { + + }, + "ColorCorrection": { + + }, + "DynamicAO": { + + }, + "Dof": { + + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + + }, + "Enlighten": { + "Realm": "0", + "Enable": "false" + }, + "Fog": { + + }, + "OutdoorLight": { + "Realm": "0", + "Enable": "true", + "SunColor": "(0.05, 0.05, 0.09)", + "SkyColor": "(0.01, 0.01, 0.01)", + "GroundColor": "(0.04, 0.04, 0.04)", + "SunSpecularScale": "0", + "SunRotationX": "90.0", + "SunRotationY":"180.0", + "SkyLightAngleFactor":"0.0", + "SunSpecularScale":"0.0", + "SunShadowHeightScale":"0.0" + }, + "Sky": { + "Realm": "0", + "Enable": "true", + "BrightnessScale": "0.004", + "SunSize": "0.0005", + "SunScale": "80", + "StaticEnvmapScale":"0.0", + "CloudLayerSunColor": "(0, 0, 0)", + "CloudLayer1Altitude": "500000.0", + "CloudLayer1TileFactor": "0.25", + "CloudLayer1Rotation": "223.52900695801", + "CloudLayer1Speed": "-0.001", + "CloudLayer1SunLightIntensity": "0.1", + "CloudLayer1SunLightPower": "0.1", + "CloudLayer1AmbientLightIntensity": "0.1", + "CloudLayer1Color": "(0.1, 0.1, 0.1)", + "CloudLayer1AlphaMul": "0.5", + "CloudLayer2Altitude": "5000000.0", + "CloudLayer2TileFactor": "0.60000002384186", + "CloudLayer2Rotation": "237.07299804688", + "CloudLayer2Speed": "-0.0010000000474975", + "CloudLayer2SunLightIntensity": "1.0", + "CloudLayer2SunLightPower": "5.0", + "CloudLayer2AmbientLightIntensity": "1", + "CloudLayer2Color": "1:1:1:", + "CloudLayer2AlphaMul": "0.3", + "CloudLayer2Texture": "levels/testrange_lighting/sky/sky_07_starlayer_d" + }, + "SunFlare": { + "Enable":"false", + "Element1Size": "0.0:0.0:", + "Element2Size": "0.0:0.0:", + "Element3Size": "0.0:0.0:", + "Element4Size": "0.0:0.0:", + "Element5Size": "0.0:0.0:" + }, + "Tonemap": { + "MiddleGray": "0.5", + "MinExposure": "0.0", + "MaxExposure": "1", + "ExposureAdjustTime": "0.5" + }, + "Wind": { + + }, + "Name": "XP5_004_Night", + "Type": "DefaultDynamic", + "Priority": "10", + "Visibility": "1" +} +]]) diff --git a/ext/Client/Presets/Vanilla.lua b/ext/Client/Presets/Vanilla.lua index ff1e210..de01700 100644 --- a/ext/Client/Presets/Vanilla.lua +++ b/ext/Client/Presets/Vanilla.lua @@ -1,5 +1,8 @@ return json.decode([[ { + "CameraParams": { + + }, "CharacterLighting": { }, @@ -8,6 +11,21 @@ return json.decode([[ }, "DynamicAO": { + }, + "DynamicEnvmap": { + + }, + "MotionBlur":{ + + }, + "PlanarReflection":{ + + }, + "ScreenEffect":{ + + }, + "ShaderParams":{ + }, "Enlighten": { diff --git a/ext/Client/Time.lua b/ext/Client/Time.lua index 2e4644e..22c444a 100644 --- a/ext/Client/Time.lua +++ b/ext/Client/Time.lua @@ -58,6 +58,9 @@ function Time:_OnPresetsLoaded() end function Time:OnLevelDestroy() + if self._SyncEvent then + self._SyncEvent:Unsubscribe() + end -- With this we get rid of carrying old presets when the map changes. self:_ResetForcedValues() self:RegisterVars() @@ -459,7 +462,7 @@ function Time:_Run() m_VisualEnvironmentHandler:SetVisibility(l_Preset['presetID'], s_Factor) if s_Factor ~= 0 then -- hardcode for now - m_VisualEnvironmentHandler:SetSingleValue(l_Preset['presetID'], 'sky', 'cloudLayer1Speed', -0.0001) + m_VisualEnvironmentHandler:SetSingleValue(l_Preset['presetID'], 'sky', 'cloudLayer1Speed', self._CloudSpeed) end end @@ -482,6 +485,8 @@ function Time:_Run() MathUtils:Round(s_CurrentPresetVisibilityFactor * 100) .. "%) -> " .. tostring(s_NextPresetID) .. " (" .. MathUtils:Round(s_NextPresetVisibilityFactor * 100) .. "%)") end + -- This allows us to know exactly the hour of the day for other mods (for example for Darkness Unleashed) + Events:Dispatch('TimeServer:TimeInform', s_Hour) end return Time() diff --git a/ext/Client/VisualEnvironmentHandler.lua b/ext/Client/VisualEnvironmentHandler.lua index 2a84763..4a7ef94 100644 --- a/ext/Client/VisualEnvironmentHandler.lua +++ b/ext/Client/VisualEnvironmentHandler.lua @@ -249,6 +249,7 @@ function VisualEnvironmentHandler:FadeTo(p_ID, p_VisibilityStart, p_VisibilityEn ---@type LerpProperties local s_LerpProperties = { enabled = true, + pulsing = false, transitionFunctionName = p_TransitionType or "linear", transitionFunction = s_TransitionFunction, transitionTime = p_FadeTime, diff --git a/ext/Client/__init__.lua b/ext/Client/__init__.lua index 89017be..24d34a7 100644 --- a/ext/Client/__init__.lua +++ b/ext/Client/__init__.lua @@ -4,7 +4,7 @@ VEManagerClient = class 'VEManagerClient' ---@type VEMLogger -local m_VEMLogger = VEMLogger("VEManagerClient", true) +local m_VEMLogger = VEMLogger("VEManagerClient", false) --#region Imports require "Types/VisualEnvironmentObject" @@ -39,7 +39,9 @@ function VEManagerClient:RegisterVars() end function VEManagerClient:RegisterEvents() - Events:Subscribe('Partition:Loaded', self, self._OnPartitionLoaded) + if VEM_CONFIG.PATCH_DN_COMPONENTS then + Events:Subscribe('Partition:Loaded', self, self._OnPartitionLoaded) + end Events:Subscribe('Level:Loaded', self, self._OnLevelLoaded) Events:Subscribe('Level:Destroy', self, self._OnLevelDestroy) Events:Subscribe('UpdateManager:Update', self, self._OnUpdateManager) @@ -70,6 +72,114 @@ end function VEManagerClient:_OnLevelLoaded(p_LevelName, p_GameModeName, p_IsDedicatedServer) LEVEL_LOADED = true m_Patches:OnLevelLoaded(p_LevelName, p_GameModeName, p_IsDedicatedServer) + -- MP_003 (Teheran Highway) Is already a Night map, so it requires a different preset. + if string.find(p_LevelName, 'MP_001') then + self._RawPresets.DefaultMorning = require("Presets/MapSpecific/MP_001/Morning") + self._RawPresets.DefaultNoon = require("Presets/MapSpecific/MP_001/Noon") + self._RawPresets.DefaultEvening = require("Presets/MapSpecific/MP_001/Evening") + self._RawPresets.DefaultNight = require("Presets/MapSpecific/MP_001/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/MP_001/LateNight") + end + if string.find(p_LevelName, 'MP_003') then + self._RawPresets.DefaultMorning = require("Presets/MapSpecific/MP_003/Morning") + self._RawPresets.DefaultNoon = require("Presets/MapSpecific/MP_003/Noon") + self._RawPresets.DefaultEvening = require("Presets/MapSpecific/MP_003/Evening") + self._RawPresets.DefaultNight = require("Presets/MapSpecific/MP_003/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/MP_003/LateNight") + end + if string.find(p_LevelName, 'MP_007') then + self._RawPresets.DefaultMorning = require("Presets/MapSpecific/MP_007/Morning") + self._RawPresets.DefaultNight = require("Presets/MapSpecific/MP_007/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/MP_007/LateNight") + end + if string.find(p_LevelName, 'MP_011') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/MP_011/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/MP_011/LateNight") + end + if string.find(p_LevelName, 'MP_012') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/MP_012/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/MP_012/LateNight") + end + if string.find(p_LevelName, 'MP_Subway') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/MP_Subway/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/MP_Subway/LateNight") + end + if string.find(p_LevelName, 'XP1_001') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP1_001/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP1_001/LateNight") + end + if string.find(p_LevelName, 'XP1_002') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP1_002/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP1_002/LateNight") + end + if string.find(p_LevelName, 'XP1_003') then + self._RawPresets.DefaultNoon = require("Presets/MapSpecific/XP1_003/Noon") + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP1_003/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP1_003/LateNight") + end + if string.find(p_LevelName, 'XP2_Office') then + self._RawPresets.DefaultMorning = require("Presets/MapSpecific/XP2_Office/Morning") + self._RawPresets.DefaultNoon = require("Presets/MapSpecific/XP2_Office/Noon") + self._RawPresets.DefaultEvening = require("Presets/MapSpecific/XP2_Office/Evening") + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP2_Office/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP2_Office/LateNight") + end + if string.find(p_LevelName, 'XP3_Valley') then + self._RawPresets.DefaultMorning = require("Presets/MapSpecific/XP3_Valley/Morning") + self._RawPresets.DefaultNoon = require("Presets/MapSpecific/XP3_Valley/Noon") + self._RawPresets.DefaultEvening = require("Presets/MapSpecific/XP3_Valley/Evening") + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP3_Valley/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP3_Valley/LateNight") + end + if string.find(p_LevelName, 'XP3_Alborz') then + -- self._RawPresets.DefaultMorning = require("Presets/MapSpecific/XP3_Alborz/Morning") + -- self._RawPresets.DefaultNoon = require("Presets/MapSpecific/XP3_Alborz/Noon") + -- self._RawPresets.DefaultEvening = require("Presets/MapSpecific/XP3_Alborz/Evening") + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP3_Alborz/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP3_Alborz/LateNight") + end + if string.find(p_LevelName, 'XP3_Desert') then + self._RawPresets.DefaultMorning = require("Presets/MapSpecific/XP3_Desert/Morning") + self._RawPresets.DefaultNoon = require("Presets/MapSpecific/XP3_Desert/Noon") + self._RawPresets.DefaultEvening = require("Presets/MapSpecific/XP3_Desert/Evening") + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP3_Desert/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP3_Desert/LateNight") + end + if string.find(p_LevelName, 'XP3_Shield') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP3_Shield/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP3_Shield/LateNight") + end + if string.find(p_LevelName, 'XP4_FD') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP4_FD/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP4_FD/LateNight") + end + if string.find(p_LevelName, 'XP4_Quake') then + -- self._RawPresets.DefaultMorning = require("Presets/MapSpecific/XP4_Quake/Morning") + -- self._RawPresets.DefaultNoon = require("Presets/MapSpecific/XP4_Quake/Noon") + -- self._RawPresets.DefaultEvening = require("Presets/MapSpecific/XP4_Quake/Evening") + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP4_Quake/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP4_Quake/LateNight") + end + if string.find(p_LevelName, 'XP4_Parl') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP4_Parl/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP4_Parl/LateNight") + end + if string.find(p_LevelName, 'XP5_001') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP5_001/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP5_001/LateNight") + end + if string.find(p_LevelName, 'XP5_002') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP5_002/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP5_002/LateNight") + end + if string.find(p_LevelName, 'XP5_003') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP5_003/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP5_003/LateNight") + end + if string.find(p_LevelName, 'XP5_004') then + self._RawPresets.DefaultNight = require("Presets/MapSpecific/XP5_004/Night") + self._RawPresets.DefaultLateNight = require("Presets/MapSpecific/XP5_004/LateNight") + end self:_LoadPresets() end diff --git a/ext/Server/TimeServer.lua b/ext/Server/TimeServer.lua index 9e4d068..11efce3 100644 --- a/ext/Server/TimeServer.lua +++ b/ext/Server/TimeServer.lua @@ -44,6 +44,7 @@ function TimeServer:RegisterEvents() Events:Subscribe('TimeServer:Pause', self, self._OnPauseUnpause) Events:Subscribe('TimeServer:Disable', self, self._OnDisable) + NetEvents:Subscribe('VEManager:PresetsLoaded', self, self.__OnPresetsLoaded) NetEvents:Subscribe('TimeServer:PlayerSync', self, self._OnPlayerSync) end @@ -51,12 +52,24 @@ function TimeServer:_OnLevelDestroy() self:RegisterVars() end +function TimeServer:__OnPresetsLoaded() + local levelName = SharedUtils:GetLevelName():match('/[^/]+'):sub(2) + if VEM_CONFIG.TIME.ENABLED and not self.m_SystemRunning then + self:_OnEnable(MAPS_CONFIG[levelName].START_HOUR or VEM_CONFIG.TIME.DEFAULT_START_HOUR, + MAPS_CONFIG[levelName].DAY_DURATION or VEM_CONFIG.TIME.DEFAULT_DAY_DURATION, + VEM_CONFIG.TIME.ONLY_DYNAMIC_PRESETS, false) + end +end + ---@param p_StartingTime number ----@param p_LengthOfDayInMinutes number -function TimeServer:_OnEnable(p_StartingTime, p_LengthOfDayInMinutes, p_OnlyDynamicPresets) - if self.m_SystemRunning then +---@param p_LengthOfDayInMinutes number|nil +---@param p_OnlyDynamicPresets boolean +---@param isChatCommand boolean +function TimeServer:_OnEnable(p_StartingTime, p_LengthOfDayInMinutes, p_OnlyDynamicPresets, isChatCommand) + if self.m_SystemRunning and not isChatCommand then -- reset - self:RegisterVars() + -- self:RegisterVars() + return end if p_OnlyDynamicPresets then @@ -112,6 +125,7 @@ end ---@param p_Player Player function TimeServer:_OnPlayerSync(p_Player) if self.m_SystemRunning == true or self.m_IsStatic == true then + -- m_VEMLogger:Write('The player ' .. p_Player.name .. ' wants to sync !!!!!!!!!!! ') m_VEMLogger:Write('Syncing Player with Server') NetEvents:SendTo('VEManager:AddTimeToClient', p_Player, self.m_ServerDayTime, self.m_IsStatic, self.m_TotalDayLength, self.m_OnlyDynamicPresets) @@ -154,19 +168,19 @@ function TimeServer:ChatCommands(p_PlayerName, p_RecipientMask, p_Message) m_VEMLogger:Write('Time Event called by ' .. p_PlayerName) - self:_OnEnable(hour, duration) + self:_OnEnable(hour, duration, nil, true) elseif p_Message == '!setnight' then m_VEMLogger:Write('Time Event called by ' .. p_PlayerName) - self:_OnEnable(0, nil) + self:_OnEnable(0, nil, nil, true) elseif p_Message == '!setmorning' then m_VEMLogger:Write('Time Event called by ' .. p_PlayerName) - self:_OnEnable(9, nil) + self:_OnEnable(9, nil, nil, true) elseif p_Message == '!setnoon' then m_VEMLogger:Write('Time Event called by ' .. p_PlayerName) - self:_OnEnable(12, nil) + self:_OnEnable(12, nil, nil, true) elseif p_Message == '!setafternoon' then m_VEMLogger:Write('Time Event called by ' .. p_PlayerName) - self:_OnEnable(15, nil) + self:_OnEnable(15, nil, nil, true) elseif p_Message == '!pausetime' or p_message == '!resumetime' then m_VEMLogger:Write('Time Pause called by ' .. p_PlayerName) self:_OnPauseUnpause() diff --git a/ext/Shared/Config.lua b/ext/Shared/Config.lua index e2c2a0f..fb66283 100644 --- a/ext/Shared/Config.lua +++ b/ext/Shared/Config.lua @@ -15,8 +15,162 @@ VEM_CONFIG = { -- SERVER -- SERVER_SYNC_CLIENT_EVERY_TICKS = 2, -- Sync clients with the correct time ever X ticks + TIME = { + ENABLED = true, + DEFAULT_START_HOUR = 5, + DEFAULT_DAY_DURATION = 1, -- For testing purposes. + ONLY_DYNAMIC_PRESETS = false -- If we only want to use Dynamic Presets and avoid de DefaultDynamics ( meaning: use some other presets being registered from another mod.) + }, -- DEV -- ADMINS = { "GreatApo", "IllustrisJack", "FoolHen", "Beschutzer", "Dumpy" }, -- Players that can use the VEM chat commands DEV_ENABLE_CHAT_COMMANDS = true, -- Enables the use of VEM Internal Chat Commands } + +MAPS_CONFIG = { + -- Grand Bazaar + ['MP_001'] = { + START_HOUR = 5, + DAY_DURATION = 28, + }, + -- Teheran Highway + ['MP_003'] = { + START_HOUR = 17, + DAY_DURATION = 28, + }, + -- Caspian Border + ['MP_007'] = { + START_HOUR = 9, + DAY_DURATION = 28, + }, + -- Seine Crossing + ['MP_011'] = { + START_HOUR = 14, + DAY_DURATION = 28, + }, + -- Operation Firestorm + ['MP_012'] = { + START_HOUR = 20, + DAY_DURATION = 28, + }, + -- Damavand Peak + ['MP_013'] = { + START_HOUR = 3, + DAY_DURATION = 28, + }, + -- Noshahr Canals + ['MP_017'] = { + START_HOUR = 7, + DAY_DURATION = 28, + }, + -- Kharg Island + ['MP_018'] = { + START_HOUR = 13, + DAY_DURATION = 28, + }, + -- Operation Metro + ['MP_Subway'] = { + START_HOUR = 22, + DAY_DURATION = 28, + }, + -- Strike at Karkand + ['XP1_001'] = { + START_HOUR = 5, + DAY_DURATION = 28, + }, + -- Gulf of Oman + ['XP1_002'] = { + START_HOUR = 16, + DAY_DURATION = 28, + }, + -- Sharqi Peninsula + ['XP1_003'] = { + START_HOUR = 19, + DAY_DURATION = 28, + }, + -- Wake Island + ['XP1_004'] = { + START_HOUR = 11, + DAY_DURATION = 28, + }, + -- Donya Fortress + ['XP2_Palace'] = { + START_HOUR = 4, + DAY_DURATION = 28, + }, + -- Operation 928 + ['XP2_Office'] = { + START_HOUR = 8, + DAY_DURATION = 28, + }, + -- Scrapmetal + ['XP2_Factory'] = { + START_HOUR = 0, + DAY_DURATION = 28, + }, + -- Ziba Tower + ['XP2_Skybar'] = { + START_HOUR = 23, + DAY_DURATION = 28, + }, + -- Alborz Mountains + ['XP3_Alborz'] = { + START_HOUR = 15, + DAY_DURATION = 28, + }, + -- Armored Shield + ['XP3_Shield'] = { + START_HOUR = 2, + DAY_DURATION = 28, + }, + -- Bandar Desert + ['XP3_Desert'] = { + START_HOUR = 21, + DAY_DURATION = 28, + }, + -- Death Valley + ['XP3_Valley'] = { + START_HOUR = 10, + DAY_DURATION = 28, + }, + -- Azadi Palace + ['XP4_Parl'] = { + START_HOUR = 5, + DAY_DURATION = 28, + }, + -- Epicenter + ['XP4_Quake'] = { + START_HOUR = 12, + DAY_DURATION = 28, + }, + -- Markaz Monolith + ['XP4_FD'] = { + START_HOUR = 1, + DAY_DURATION = 28, + }, + -- Talah Market + ['XP4_Rubble'] = { + START_HOUR = 18, + DAY_DURATION = 28, + }, + -- Operation Riverside + ['XP5_001'] = { + START_HOUR = 9, + DAY_DURATION = 28, + }, + -- Nebandan Flats + ['XP5_002'] = { + START_HOUR = 7, + DAY_DURATION = 28, + }, + -- Kiasar Railroad + ['XP5_003'] = { + START_HOUR = 16, + DAY_DURATION = 28, + }, + -- Sabalan Pipeline + ['XP5_004'] = { + START_HOUR = 11, + DAY_DURATION = 28, + } +} diff --git a/mod.json b/mod.json index 406596b..ccfcf40 100644 --- a/mod.json +++ b/mod.json @@ -9,7 +9,7 @@ ], "Description": "Handles VE", "URL": "https://github.com/BF3RM/VEManager", - "Version": "0.5.8", + "Version": "0.5.9", "HasWebUI": false, "HasVeniceEXT": true } \ No newline at end of file