Fog fixes

This commit is contained in:
Mind Rapist
2026-02-16 16:41:12 +02:00
parent 1efd43b59e
commit caf6476428
5 changed files with 19 additions and 10 deletions

6
.gitignore vendored
View File

@@ -1,11 +1,17 @@
syserr.txt syserr.txt
log.txt log.txt
packetdump.txt
pdlog.txt
ErrorLog.txt ErrorLog.txt
*.eix *.eix
*.epk *.epk
*.pck *.pck
/*.inf
/*.cfg /*.cfg
/*.exe /*.exe
!/config.exe !/config.exe
!/Metin2.exe !/Metin2.exe

View File

@@ -7,7 +7,8 @@ This repository contains all client-side data, including locale files, configura
## 📋 Changelog ## 📋 Changelog
### 🐛 Bug Fixes ### 🐛 Bug Fixes
- **Guild window**: Removed the clickable area for the `BASE` tab and adjusted positions and widths for all other Guild window tabs. - **Fog update**: Adjusted fog settings to work with the updated official version using the 3 classic options.
- **Fog levels**: Adjusted fog level settings for some maps.
<br> <br>
<br> <br>

View File

@@ -28,10 +28,8 @@ Group Material
Group Fog Group Fog
{ {
Enable 1 foglevel 8
NearDistance 2.000000 Color 0.674510 0.611765 0.521569 1.000000
FarDistance 30000.000000
Color 0.709804 0.513726 0.294118 1.000000
} }
Group Filter Group Filter

View File

@@ -28,9 +28,7 @@ Group Material
Group Fog Group Fog
{ {
Enable 0 foglevel 2
NearDistance 1.000000
FarDistance 20000.000000
Color 0.000000 0.000000 0.000000 1.000000 Color 0.000000 0.000000 0.000000 1.000000
} }

View File

@@ -111,7 +111,9 @@ class OptionDialog(ui.ScriptWindow):
self.__SetCurTilingMode() self.__SetCurTilingMode()
self.__ClickRadioButton(self.fogModeButtonList, constInfo.GET_FOG_LEVEL_INDEX()) # MR-14: Fog update by Alaric
self.__ClickRadioButton(self.fogModeButtonList, systemSetting.GetFogLevel())
# MR-14: -- END OF -- Fog update by Alaric
self.__ClickRadioButton(self.cameraModeButtonList, constInfo.GET_CAMERA_MAX_DISTANCE_INDEX()) self.__ClickRadioButton(self.cameraModeButtonList, constInfo.GET_CAMERA_MAX_DISTANCE_INDEX())
if musicInfo.fieldMusic==musicInfo.METIN2THEMA: if musicInfo.fieldMusic==musicInfo.METIN2THEMA:
@@ -170,7 +172,11 @@ class OptionDialog(ui.ScriptWindow):
self.__ClickRadioButton(self.cameraModeButtonList, index) self.__ClickRadioButton(self.cameraModeButtonList, index)
def __SetFogLevel(self, index): def __SetFogLevel(self, index):
constInfo.SET_FOG_LEVEL_INDEX(index) # MR-14: Fog update by Alaric
# constInfo.SET_FOG_LEVEL_INDEX(index)
systemSetting.SetFogLevel(index)
# MR-14: -- END OF -- Fog update by Alaric
self.__ClickRadioButton(self.fogModeButtonList, index) self.__ClickRadioButton(self.fogModeButtonList, index)
def __OnClickCameraModeShortButton(self): def __OnClickCameraModeShortButton(self):