Zırh ve kostüme server logonuzu ve kanat ekleme (GM LOGOSU GİBİ)

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Merhaba Turkmmo.
Konu daha önce paylaşıldıysa kapatılsın.
veya konu yeri yanlış ise taşınsın.
Not:3d modellemeye taşınabilir ama model değil sadece python üzerinden kod düzenleme ekleme.

konuya geçelim.
lQJamb.jpg

Yukarıdaki fotoğraftada gördüğünüz gibi sadece logo arkadaşlar.
yani istediğiniz zırha kendi server logonuzu ekleyebilirsiniz gm logosu gibi karekter üzerinde görünür.

Anlatım.
logonuzu 275x150 piksel olarak boyutlandırınız ve serverlogo.tga olarak kaydedin.
sonra
Kod:
BoundingSphereRadius   50.000000 BoundingSpherePosition 0.000000 0.000000 120.000000 Group Particle {     StartTime           0.000000     List TimeEventPosition     {         0.000000 "MOVING_TYPE_DIRECT" 0.000000 0.000000 110.150993     }       Group EmitterProperty     {         MaxEmissionCount        1           CycleLength             0.500000         CycleLoopEnable         1         LoopCount               0           EmitterShape            0         EmitterAdvancedType     0         EmitterEmitFromEdgeFlag  0         EmittingDirection       0.000000 0.000000 0.000000           List TimeEventEmittingSize         {             0.000000 0.000000         }         List TimeEventEmittingAngularVelocity         {             0.000000 0.000000         }         List TimeEventEmittingDirectionX         {             0.000000 0.000000         }         List TimeEventEmittingDirectionY         {             0.000000 0.000000         }         List TimeEventEmittingDirectionZ         {             0.054286 14.948454         }         List TimeEventEmittingVelocity         {             0.000000 3.000000         }         List TimeEventEmissionCountPerSecond         {             0.000000 20.000000         }         List TimeEventLifeTime         {             0.000000 2.216495         }         List TimeEventSizeX         {             0.000000 64.000000         }         List TimeEventSizeY         {             0.000000 64.000000         }     }       Group ParticleProperty     {         SrcBlendType                 5         DestBlendType                6         ColorOperationType           4         BillboardType                1         RotationType                 0         RotationSpeed                0.000000         RotationRandomStartingBegin  0         RotationRandomStartingEnd    0           AttachEnable                 1         StretchEnable                0           TexAniType                   0         TexAniDelay                  0.029000         TexAniRandomStartFrameEnable 0           List TimeEventGravity         {             0.514286 25.000000         }         List TimeEventAirResistance         {             0.480000 0.030928         }         List TimeEventScaleX         {             0.005714 0.200000         }         List TimeEventScaleY         {             0.000000 0.400000         }         List TimeEventColorRed         {             0.000000 1.000000         }         List TimeEventColorGreen         {             0.000000 1.000000         }         List TimeEventColorBlue         {             0.000000 1.000000         }         List TimeEventAlpha         {             0.000000 0.000000             0.107692 0.771144             0.207692 1.000000             0.902564 0.792553             0.997436 0.000000         }         List TimeEventRotation         {             0.000000 0.000000         }         List TextureFiles         {             "serverlogo.tga"         }     } }
yukarıdaki kodu yeni metin belgesi açıp içerisine kaydedin ve sonra adını server_logo.msm olarak kaydedin.
sonra
msm dosyası ve serverlogo.tga dosyasını rasgele bir pack örnek root açıyoruz.
root içerisinde şu şekilde klasör oluşturarak gidiyoruz.
/ymir work/pc/common/effect/armor/
ve içerisine atıyoruz. burada işimiz bitmiş oluyor.

ve son olarak

root playersettinmodule.py
açıyoruz
sizde kodlar farklıdır bilgili arkadaşlar kolay bulacaktır.
bilmeyen arkadaşlar.
örnek olarak bunu aratabilir.
chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+18,
tam kod
chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+18, "Bip01", "D:/ymir work/pc/common/effect/armor/armor_9.mse")
bende böyle arkadaşlar sizde farklıdır.
zırhlar armordur genelde arkadaşlar "D:/ymir work/pc/common/effect/armor/armor_9.mse") armor yazan kodlardan zırhları bulabilirsiniz.

+18 mesela siyah çelik diyelim.

Kod:
chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED + 18, "Bip01", "D:/ymir work/pc/common/effect/armor/server_logo.mse")
bu kodu örnek alarak ekliyoruz

Lvk9P0.png


örnek resimdeki gibi.

ve pack kapatıp çıkıyoruz bitmiştir.


/*Tekrar'dan konu yanlış yerde ise taşınsın. paylaşıldıysa kapatılsın.*/
/*eğer paylaşılmadıysa bir teşekkürü çok görmeyin*/ :)
Huzurlu akşamlar TURKMMO Halkı.



GÜNCELLEME.
ZIRH VE KOSTÜMLERE KANAT VERMEK İÇİN.

Zırh ve Kostümlerinize kanat+logo verebilirsiniz.
gerekli açıklama rar içerisinde mevcut.

http://

Kanıt.
lQog4J.jpg


NOT: GM LOGOSU DEĞİLDİR FOTOĞRAFTA GÖRDÜGÜNÜZ GİBİ.
Zırh ve Kostüm Sunucu Logonuzu ve Kanat Ekleme Rehberi (GM Logosu Gibi)

Metin2 özel sunucularında benzersiz bir deneyim yaratmak istiyorsanız, oyuncularınızın zırh veya kostüm giydiği zaman logonuzun ve kanat efektlerinin görünmesi harika bir estetik katkı sağlar. Bu işlem genellikle C++ sistem ve client src üzerinde yapılan değişikliklerle sağlanır. Bu rehberde, nasıl zırh ve kostüme server logosu ve kanat efekti ekleyebileceğinizi adım adım anlatacağız.

Zırh ve Kostümlere Özel Logo ve Kanat Sistemi Nedir?

Bu sistem sayesinde, belirli zırh veya kostümleri giyen oyuncular özel bir logo ve kanat efektiyle öne çıkar. Özellikle GM (Game Master) logoları gibi bu efektler, yetkili oyuncuların daha kolay tanınmasını sağlar. Aynı zamanda özel zırh setlerine özel görsel efektlerle Metin2 özel sunucularınızda daha özgün bir atmosfer yaratılır.

Gerekli Araçlar ve Ortam

Client SRC dosyaları
Python bilgisi (özellikle py root ve uiscript tarafında)
Martysama veya benzeri editörler
Py GUI veya Python GUI araçları
Pack dosyası düzenleyici
Texture ve effect dosyaları için grafik editörü

Adım Adım Uygulama

1. Logo ve kanat efektlerini hazırlayın. Bunlar genellikle .gr2 (effect) ve .dds (texture) formatında olmalıdır.
2. Hazırladığınız efekt ve texture dosyalarını client klasörü altındaki doğru dizinlere yerleştirin. Örneğin: root/effect veya locale/texture.
3. Python tarafında uiscript dosyalarını düzenlemek suretiyle, belirli zırh veya kostüm numaralarına özel efekt atamaları yapın.
4. C++ tarafında game server src üzerinde, belirli item ID’lere özel efekt tetiklemeleri yazın.
5. Oyuncu belirli bir zırh veya kostüm giydiğinde otomatik olarak logo ve kanat efekti görünecek şekilde ayarlayın.

Sunucu Tarafında Entegrasyon

Game ve Auth sunucularında da bazı değişiklikler gerekebilir. Özellikle db core üzerinden item bilgilerine özel efekt atamaları yapabilirsiniz. Bu, hem server src hem de source edit bilgisi gerektirir. Metin2 lobby gibi platformlarda bu konuda birçok örnek bulabilir ve mevcut sistemleri uyarlayabilirsiniz.

Özel Efekt ve Logo Tasarımı

Oyuncuların dikkatini çekecek logolar ve kanat efektleri için tasarımı profesyonel tutmak önemlidir. Renk uyumu, animasyon kalitesi ve pozisyonlama gibi unsurlar görsel etkiyi artırır. Core sistem üzerinden bu efektlerin pozisyonlarını ayarlamak mümkündür. Ayrıca, her zırh veya kostüm için farklı efekt atamak isterseniz, pack dosyası üzerinden de bu işlemi yönetebilirsiniz.

Sonuç

Zırh ve kostümlere özel logo ve kanat efekti eklemek, Metin2 özel sunucularında kullanıcı deneyimini ciddi anlamda artırır. Hem C++ hem de Python tarafında yapılan bu entegre sistem, hem estetik hem de işlevsel açıdan sunucunuzu diğerlerinden ayırır. Metin2 development ve Metin2dev alanlarında yetkinlik kazanmak isteyen geliştiriciler için bu tür sistemler temel beceriler arasında yer alır.


Adding Server Logos and Wings to Armor and Costumes (Like GM Logo)

If you want to create a unique experience on your Metin2 private server, having your logo and wings appear when players wear certain armor or costumes provides a great aesthetic enhancement. This process is usually achieved through modifications on C++ system and client src. In this guide, we will explain step by step how to add server logos and wing effects to specific armors and costumes.

What Is the Custom Logo and Wing System for Armors and Costumes?

With this system, players wearing certain armors or costumes can stand out with special logos and wing effects. Especially like GM (Game Master) logos, these effects allow staff members to be recognized more easily. Additionally, custom visual effects for exclusive armor sets help create a more original atmosphere on your Metin2 private servers.

Required Tools and Environment

Client SRC files
• Knowledge of Python (especially py root and uiscript)
Martysama or similar editors
Py GUI or Python GUI tools
Pack file editor
• Graphic editor for texture and effect files

Step-by-Step Implementation

1. Prepare your logos and wing effects. These are generally in .gr2 (effect) and .dds (texture) formats.
2. Place the prepared effect and texture files into the correct directories within the client folder. For example: root/effect or locale/texture.
3. Modify the uiscript files on the Python side to assign custom effects to specific armor or costume IDs.
4. On the C++ side, within the game server src, write triggers that activate effects based on specific item IDs.
5. Configure the system so that when a player equips a certain armor or costume, the logo and wing effects appear automatically.

Integration on the Server Side

Some changes may also be needed on Game and Auth servers. Particularly via the db core, you can assign custom effects to specific items. This requires knowledge of both server src and source edit. Platforms like Metin2 lobby offer many examples and ready-to-use systems you can adapt.

Custom Effect and Logo Design

To capture players' attention, keep the design of logos and wing effects professional. Color harmony, animation quality, and positioning enhance visual impact. You can adjust the positions of these effects via the core system. Furthermore, if you wish to assign different effects for each armor or costume, you can manage them via the pack file.

Conclusion

Adding custom logos and wing effects to armors and costumes significantly improves the user experience on Metin2 private servers. This integrated system, involving both C++ and Python, stands out visually and functionally, distinguishing your server from others. For developers looking to gain expertise in Metin2 development and Metin2dev, such systems are among the fundamental skills.
 

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

Geri
Üst Alt