Parti Rolü Simge Konumu

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 29

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Konunun temeli Sonitex'e aittir. Bu eğitim, metin2'de parti rolü simge konumunun ayarlanmasını açıklamak içindir.

Bir parti üyesine bir rol atandığında, başlangıçta önceden tanımlanmış pozisyon yerine küçük simgesi görüntülenecektir.


Öncesi _______________________ Sonrası

before.gif
after.gif

uiparty.py içinde SetAffect işlevini aşağıdakilerle değiştirin:

Kod:
def SetAffect(self, affectSlotIndex, affectValue):         if affectSlotIndex >= len(self.partyAffectImageList):             return         if affectValue > 0:             self.partyAffectImageList[affectSlotIndex].Show()         else:             self.partyAffectImageList[affectSlotIndex].Hide()         self.affectValueDict[affectSlotIndex] = affectValue                 self.__ArrangeAffectPosition()

Bu işlevi ekleyin:

Kod:
def __ArrangeAffectPosition(self):         x_pos = 22         y_pos = 24         affectIndex = 0         for image in self.partyAffectImageList:             if image.IsShow():                 image.SetPosition(x_pos + 14 * affectIndex, y_pos)                 affectIndex += 1

Umarım açıklayıcı bir rehber olmuştur. Bir sorununuz veya sorunuz varsa, mesaj göndermekten çekinmeyin. İyi forumlar!
Parti Rolü Simge Konumu Nedir?

Metin2 özel sunucularında oyun deneyimini zenginleştirmek için geliştirilen sistemlerden biri olan 'Parti Rolü Simge Konumu', oyuncuların birlikte oynadıkları partide hangi rolde olduklarını görsel olarak belirtmelerini sağlar. Bu özellik, özellikle PvP odaklı sunucularda takım içi koordinasyonu artırmak amacıyla geliştirilmiştir. Bu sistem sayesinde her oyuncu, partideki diğer üyelerin rolünü simgelerle hızlıca anlayabilir ve buna göre strateji geliştirebilir.

Parti Rolü Sistemi Nasıl Çalışır?

Bu sistem genellikle C++ tabanlı sunucu tarafında geliştirilerek oyuncu verilerine entegre edilir. Parti menüsüne entegre edilen simgeler, oyuncunun seçtiği role göre dinamik olarak değişir. Örneğin, bir oyuncu 'Destek' rolünü seçerse, partide onun isminin yanında bir kalp ya da yıldız simgesi görünebilir. 'Saldırgan' rolü seçildiğinde ise kılıç ya da yılan gibi semboller partide diğerlerine açık hâlde yer alır.

Python GUI Entegrasyonu

Parti rolü simgeleri genellikle UI Script (uiscript) dosyalarıyla düzenlenir. Python GUI (Py Root) dosyaları aracılığıyla bu simgelerin konumları, stilleri ve görünürlüğü ayarlanabilir. Bu tür özelleştirme işlemleri, Metin2 özel sunucu geliştiricileri için oldukça yaygın bir yöntemdir. Py GUI kullanılarak parti penceresine özel butonlar, simgeler ve metin alanları eklenebilir.

Neden Parti Rolü Simge Konumu Kullanmalısınız?

Bu sistem özellikle büyük partilerde faydalıdır. Herkesin rolü belirlendiğinde, PvE ve PvP senaryolarında daha verimli hareket edilebilir. Ayrıca, takım içi iletişim eksikliğini giderir. Parti lideri, rolleri dağıtarak stratejik planlamayı kolaylaştırabilir. Bu tür sistemler Metin2 geliştirme (metin2dev) sürecinde çokça kullanılır.

Kurulum ve Geliştirme

Parti rolü simgesi sistemi genellikle Martysama veya benzeri kaynaklardan alınan C++ scriptlerle geliştirilir. DB Core ile oyuncu verilerine kaydedilerek, her kullanıcı kendi rolünü seçebilir. Game Core üzerinde çalışan bu sistem, hem Auth hem de Game Server tarafında çalışır. Geliştiriciler, bu sistemi kendi özel sunucularına entegre edebilmek için client src dosyalarında değişiklik yapabilir.

Özel Sunucular İçin Önemli Bilgi

Metin2 Lobby gibi platformlarda sunulan özel sunucular, bu tür gelişmiş sistemleri kullanarak oyuncu çekiciliğini artırır. Parti rolü sistemi gibi detaylar, oyuncuların daha fazla zaman harcamasına ve sunucuda kalmaya istek duymasına neden olur. Bu da sunucunuzun popülerliğini doğrudan etkiler.


What is Party Role Icon Position?

The 'Party Role Icon Position' is one of the systems developed to enrich the gameplay experience on Metin2 private servers, allowing players to visually indicate their role within the party they are playing with. This feature is especially useful on PvP-focused servers to enhance team coordination. With this system, each player can quickly identify other members' roles through icons and develop strategies accordingly.

How Does the Party Role System Work?

This system is typically developed on the server-side using C++ and integrated into the player data. Icons integrated into the party menu dynamically change based on the role selected by the player. For example, if a player selects the 'Support' role, a heart or star icon may appear next to their name in the party. When the 'Attacker' role is chosen, symbols such as a sword or snake might appear visible to others in the party.

Python GUI Integration

Party role icons are usually customized via UI Script (uiscript) files. Through Python GUI (Py Root) files, their positions, styles, and visibility can be adjusted. Such customizations are very common among Metin2 private server developers. Special buttons, icons, and text fields can be added to the party window using Py GUI.

Why Should You Use Party Role Icon Position?

This system is especially beneficial in large parties. Once everyone's role is defined, more efficient actions can be taken in both PvE and PvP scenarios. Additionally, it helps reduce communication gaps within the team. The party leader can distribute roles to simplify strategic planning. Such systems are frequently used during Metin2 development (metin2dev).

Installation and Development

The party role icon system is generally developed using C++ scripts obtained from sources like Martysama. Saved in the DB Core and integrated into the player data, every user can choose their own role. Running on the Game Core, this system operates on both the Auth and Game Server sides. Developers can modify client src files to integrate this system into their own private servers.

Important Information for Private Servers

Private servers featured on platforms like Metin2 Lobby increase their appeal to players by using advanced systems like the party role system. Details like these encourage players to spend more time and stay longer on the server, directly affecting its popularity.
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Geri
Üst Alt