Kendinize göre düzenleyip kullanabilirsiniz. Kendi costumewindow.py'imi rar içerisine baktım uyarlayıp kullanabilirsiniz. Slotları kendiniz açmanız gerekmekte şuanda sadece:
Kostüm-Silah Kostüm-Binek ve kuşağın slotları ayarlı gerisi sizde onların koordinatlarından yararlanarak kolaylıkla buldurursunuz
Önizleme:
Oyun İçi Görüntüsü:
Link:
Virustotal:
Kostüm Ekranı GUI Tasarımı
Metin2 özel sunucularında kullanıcı deneyimini artırmak için birçok geliştirici, özel GUI tasarımı yapmayı tercih eder. Bu yazıda Kostüm Ekranı için bir GUI tasarımı[/BR] nasıl yapılır, UIScript dosyaları ile nasıl entegre edilir, Python GUI ile nasıl çalıştırılır gibi konulara değineceğiz.
Kostüm Sistemi Nedir?
Kostüm, oyuncuların karakterlerine estetik amaçlı olarak farklı dış görünümler kazandırmasına yarayan bir özelliktir. Metin2 özel sunucularında bu sistem genellikle C++ ve Python tabanlı olarak geliştirilir. Oyuncu, kostüm eşyalarını giyerek karakterinin görünüşünü değiştirebilir ancak bu değişiklik sadece dış görünüşü etkiler.
GUI Nedir?
GUI (Graphical User Interface), yani Grafiksel Kullanıcı Arayüzü, kullanıcıların sistemle etkileşim kurduğu görsel arayüzdür. Metin2’de GUI sistemleri genellikle Python dilinde, UIScript formatında yazılır. Py Root klasöründe yer alır ve client tarafında çalışır.
Kostüm Ekranı İçin Gerekli Dosyalar
Kostüm ekranı oluşturmak için aşağıdaki dosyalara ihtiyacınız vardır:
- CostumeWindow.py
- costume_window.py
- CostumeWindow.pyd
- UIScript dosyası (costume_dialog.py)
CostumeWindow.py ve CostumeWindow.pyd, Python GUI sınıflarını içerir. UIScript ise pencerenin tasarımını tanımlar. Client tarafında bu dosyaların doğru yerleştirilmesi gerekir.
UIScript ile GUI Tasarımı
UIScript, XML benzeri yapıya sahiptir. Aşağıda örnek bir kostüm ekranı şeması verilmiştir:
Window type='expanded_image_box'
Size: Width: 300, Height: 400
Position: X: 100, Y: 100
Layer: Top
Bu yapıda bir pencere oluşturulur ve üzerine slotlar, butonlar, resimler gibi elemanlar eklenir. Her slot bir kostüm parçasını temsil eder.
Python GUI Uygulaması
Python tarafında class CostumeWindow(Window): şeklinde bir sınıf tanımlanır. Bu sınıf, Window sınıfından miras alır. OnUpdate, OnKeyDown, OnMouseOverIn gibi fonksiyonlar ile kullanıcı etkileşimi sağlanır.
Kostüm Slotları
Her slot, belirli bir kostüm parçasını gösterir. Örneğin: CostumeBodySlot, CostumeHairSlot, CostumeWeaponSlot. Bu slotlar, UIScript üzerinden tanımlanır ve Python tarafında tıklama işlemleri yönetilir.
Server Tarafında Kostüm Verisi
Sunucu tarafında DB Core üzerinde kostüm verileri tutulur. Game Server ile Auth Server arasında bu veriler senkronize edilir. Martysama veya diğer Metin2SRC çözümleri kullanılarak bu sistem kolayca entegre edilebilir.
Paketleme ve Dağıtım
Oluşturulan GUI ve Python dosyaları, pack sistemi ile derlenir. Client tarafında root klasörüne yerleştirilir. Compile işlemi tamamlandıktan sonra sistem aktif hale gelir.
Sonuç
Kostüm ekranı GUI tasarımı, Metin2 özel sunucularında kullanıcı dostu bir arayüz oluşturmak için kritik öneme sahiptir. C++ ve Python tabanlı yapılarla güçlü sistemler geliştirilebilir. UIScript ve Py Root uyumlu bir şekilde çalıştırılmalıdır. Metin2Lobby.com olarak bu tür gelişmiş sistemleri sizlere sunmaya devam ediyoruz.
Costume Screen GUI Design
To enhance user experience on Metin2 private servers, many developers prefer to create custom GUI designs. In this article, we will discuss how to design a Costume Screen, how to integrate it with UIScript files, and how it operates with Python GUI.
What is the Costume System?
The costume system allows players to apply aesthetic changes to their characters without affecting gameplay stats. On Metin2 private servers, this feature is typically developed using C++ and Python. Players can equip costume items to change their character's appearance visually only.
What is GUI?
GUI (Graphical User Interface) refers to the visual interface that allows users to interact with the system. In Metin2, GUI systems are mostly written in Python using the UIScript format. These scripts are located under the Py Root folder and run on the client side.
Required Files for Costume Screen
To create a costume screen, you need the following files:
- CostumeWindow.py
- costume_window.py
- CostumeWindow.pyd
- UIScript file (costume_dialog.py)
CostumeWindow.py and CostumeWindow.pyd contain the Python GUI classes. The UIScript defines the window layout. These files must be correctly placed on the client side.
Designing GUI with UIScript
UIScript uses an XML-like structure. Below is an example schema for a costume screen:
Window type='expanded_image_box'
Size: Width: 300, Height: 400
Position: X: 100, Y: 100
Layer: Top
In this structure, a window is created and elements like slots, buttons, and images are added. Each slot represents a costume piece.
Python GUI Implementation
In Python, a class such as class CostumeWindow(Window): is defined, inheriting from the Window class. Functions like OnUpdate, OnKeyDown, OnMouseOverIn handle user interactions.
Costume Slots
Each slot displays a specific costume part, such as CostumeBodySlot, CostumeHairSlot, or CostumeWeaponSlot. These slots are defined in UIScript and managed via Python for click events.
Costume Data on Server Side
On the server side, costume data is stored in the DB Core. The data is synchronized between Game Server and Auth Server. This system can be easily integrated using Martysama or other Metin2SRC solutions.
Packaging and Distribution[/BR]
The GUI and Python files are compiled using the pack system. They are placed in the root folder on the Client side. After compile, the system becomes active.
Conclusion
Costume screen GUI design is crucial for creating a user-friendly interface on Metin2 private servers. Strong systems can be built using C++ and Python based structures. UIScript and Py Root must work in harmony. At Metin2Lobby.com, we continue to provide such advanced systems.
Kostüm-Silah Kostüm-Binek ve kuşağın slotları ayarlı gerisi sizde onların koordinatlarından yararlanarak kolaylıkla buldurursunuz
Önizleme:
Oyun İçi Görüntüsü:
Link:
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Virustotal:
Ziyaretçiler için gizlenmiş link,görmek için üye olmalısınız!
Giriş yap veya üye ol.
Kostüm Ekranı GUI Tasarımı
Metin2 özel sunucularında kullanıcı deneyimini artırmak için birçok geliştirici, özel GUI tasarımı yapmayı tercih eder. Bu yazıda Kostüm Ekranı için bir GUI tasarımı[/BR] nasıl yapılır, UIScript dosyaları ile nasıl entegre edilir, Python GUI ile nasıl çalıştırılır gibi konulara değineceğiz.
Kostüm Sistemi Nedir?
Kostüm, oyuncuların karakterlerine estetik amaçlı olarak farklı dış görünümler kazandırmasına yarayan bir özelliktir. Metin2 özel sunucularında bu sistem genellikle C++ ve Python tabanlı olarak geliştirilir. Oyuncu, kostüm eşyalarını giyerek karakterinin görünüşünü değiştirebilir ancak bu değişiklik sadece dış görünüşü etkiler.
GUI Nedir?
GUI (Graphical User Interface), yani Grafiksel Kullanıcı Arayüzü, kullanıcıların sistemle etkileşim kurduğu görsel arayüzdür. Metin2’de GUI sistemleri genellikle Python dilinde, UIScript formatında yazılır. Py Root klasöründe yer alır ve client tarafında çalışır.
Kostüm Ekranı İçin Gerekli Dosyalar
Kostüm ekranı oluşturmak için aşağıdaki dosyalara ihtiyacınız vardır:
- CostumeWindow.py
- costume_window.py
- CostumeWindow.pyd
- UIScript dosyası (costume_dialog.py)
CostumeWindow.py ve CostumeWindow.pyd, Python GUI sınıflarını içerir. UIScript ise pencerenin tasarımını tanımlar. Client tarafında bu dosyaların doğru yerleştirilmesi gerekir.
UIScript ile GUI Tasarımı
UIScript, XML benzeri yapıya sahiptir. Aşağıda örnek bir kostüm ekranı şeması verilmiştir:
Window type='expanded_image_box'
Size: Width: 300, Height: 400
Position: X: 100, Y: 100
Layer: Top
Bu yapıda bir pencere oluşturulur ve üzerine slotlar, butonlar, resimler gibi elemanlar eklenir. Her slot bir kostüm parçasını temsil eder.
Python GUI Uygulaması
Python tarafında class CostumeWindow(Window): şeklinde bir sınıf tanımlanır. Bu sınıf, Window sınıfından miras alır. OnUpdate, OnKeyDown, OnMouseOverIn gibi fonksiyonlar ile kullanıcı etkileşimi sağlanır.
Kostüm Slotları
Her slot, belirli bir kostüm parçasını gösterir. Örneğin: CostumeBodySlot, CostumeHairSlot, CostumeWeaponSlot. Bu slotlar, UIScript üzerinden tanımlanır ve Python tarafında tıklama işlemleri yönetilir.
Server Tarafında Kostüm Verisi
Sunucu tarafında DB Core üzerinde kostüm verileri tutulur. Game Server ile Auth Server arasında bu veriler senkronize edilir. Martysama veya diğer Metin2SRC çözümleri kullanılarak bu sistem kolayca entegre edilebilir.
Paketleme ve Dağıtım
Oluşturulan GUI ve Python dosyaları, pack sistemi ile derlenir. Client tarafında root klasörüne yerleştirilir. Compile işlemi tamamlandıktan sonra sistem aktif hale gelir.
Sonuç
Kostüm ekranı GUI tasarımı, Metin2 özel sunucularında kullanıcı dostu bir arayüz oluşturmak için kritik öneme sahiptir. C++ ve Python tabanlı yapılarla güçlü sistemler geliştirilebilir. UIScript ve Py Root uyumlu bir şekilde çalıştırılmalıdır. Metin2Lobby.com olarak bu tür gelişmiş sistemleri sizlere sunmaya devam ediyoruz.
Costume Screen GUI Design
To enhance user experience on Metin2 private servers, many developers prefer to create custom GUI designs. In this article, we will discuss how to design a Costume Screen, how to integrate it with UIScript files, and how it operates with Python GUI.
What is the Costume System?
The costume system allows players to apply aesthetic changes to their characters without affecting gameplay stats. On Metin2 private servers, this feature is typically developed using C++ and Python. Players can equip costume items to change their character's appearance visually only.
What is GUI?
GUI (Graphical User Interface) refers to the visual interface that allows users to interact with the system. In Metin2, GUI systems are mostly written in Python using the UIScript format. These scripts are located under the Py Root folder and run on the client side.
Required Files for Costume Screen
To create a costume screen, you need the following files:
- CostumeWindow.py
- costume_window.py
- CostumeWindow.pyd
- UIScript file (costume_dialog.py)
CostumeWindow.py and CostumeWindow.pyd contain the Python GUI classes. The UIScript defines the window layout. These files must be correctly placed on the client side.
Designing GUI with UIScript
UIScript uses an XML-like structure. Below is an example schema for a costume screen:
Window type='expanded_image_box'
Size: Width: 300, Height: 400
Position: X: 100, Y: 100
Layer: Top
In this structure, a window is created and elements like slots, buttons, and images are added. Each slot represents a costume piece.
Python GUI Implementation
In Python, a class such as class CostumeWindow(Window): is defined, inheriting from the Window class. Functions like OnUpdate, OnKeyDown, OnMouseOverIn handle user interactions.
Costume Slots
Each slot displays a specific costume part, such as CostumeBodySlot, CostumeHairSlot, or CostumeWeaponSlot. These slots are defined in UIScript and managed via Python for click events.
Costume Data on Server Side
On the server side, costume data is stored in the DB Core. The data is synchronized between Game Server and Auth Server. This system can be easily integrated using Martysama or other Metin2SRC solutions.
Packaging and Distribution[/BR]
The GUI and Python files are compiled using the pack system. They are placed in the root folder on the Client side. After compile, the system becomes active.
Conclusion
Costume screen GUI design is crucial for creating a user-friendly interface on Metin2 private servers. Strong systems can be built using C++ and Python based structures. UIScript and Py Root must work in harmony. At Metin2Lobby.com, we continue to provide such advanced systems.
