Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 06:02

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to make name with source

Discussion on How to make name with source within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2015
Posts: 21
Received Thanks: 0
How to make name with source

Hello all

In client source/usrinterface/InstancebasEffect
Whe can change color to levels or gm or mobs or npc and other

Can i make text to one character with name

[GM]metin2 = xxxx
[GM]king2 = programmer

And other

Can. I make it ??

Thank you all
Sorry for bad english
xsonicx201888 is offline  
Old 01/19/2017, 13:43   #2
 
Mr.Donron's Avatar
 
elite*gold: 98
The Black Market: 129/0/0
Join Date: Dec 2015
Posts: 518
Received Thanks: 424
How to edit the color of Player-Level

Open InstanceBaseEffect.cpp (Client Binary-Source)

Search for
Code:
static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

Now you can change the following line:
152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f

R = 152, G = 255, B = 51
Mr.Donron is offline  
Thanks
1 User
Old 01/20/2017, 16:36   #3
 
elite*gold: 0
Join Date: Dec 2015
Posts: 21
Received Thanks: 0
Quote:
Originally Posted by Mr.Donron View Post
How to edit the color of Player-Level

Open InstanceBaseEffect.cpp (Client Binary-Source)

Search for
Code:
static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

Now you can change the following line:
152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f

R = 152, G = 255, B = 51




i don't need to change color .. i need to make a system like it


void CInstanceBase::UpdateTextTailLevel(DWORD level)
{
//static D3DXCOLOR s_kLevelColor = D3DXCOLOR(119.0f/255.0f, 246.0f/255.0f, 168.0f/255.0f, 1.0f);
static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

char szText[256];
if (IsGameMaster())
sprintf(szText, "|cffff0000[GM-Lv] %d|r", level); // Playeri
else if (IsEnemy())
sprintf(szText, "|cffff0000Lv %d|r", level); // Mobi
else if (IsStone())
sprintf(szText, "|cffffffffLv %d|r", level); // Pietre Metin
else if (IsPC())
sprintf(szText, "|cff00ff00Lv %d|r", level); // Playeri
else if (IsNewPet())
sprintf(szText, "|cffffff00Lv %d|r", level); // Insotitor
else if (level == 120)
sprintf(szText, "|cFFFFFFFFLv %d|r", level);
else
return;
CPythonTextTail::Instance().AttachLevel(GetVirtual ID(), szText, s_kLevelColor);
}


i need to make name to SGM / GM / Pro / Admin / TGM
Instead of -- IsGameMaster --
i need to make name like these

if (IsGameMaster([Admin]Metin2))
sprintf(szText, "|cffff0000[Admin]Lv %d|r", level); // Playeri


if (IsGameMaster([Pro]Metin2))
sprintf(szText, "|cffff0000[Programmer]Lv %d|r", level); // Playeri

with make it to player not GM

can i make it ?


sorry for my bad english
xsonicx201888 is offline  
Reply


Similar Threads Similar Threads
How to make an D:/ (5165) Source to a C:/ Source easily
04/21/2012 - CO2 PServer Guides & Releases - 6 Replies
OK make sure its 5165 ... go to OldCODB open Config.ini Make sure ur D:/OldCODB/ is changed to C:\OldCODB\ then f5 save then restart your server and there you go! easily server C:/ now... this was very simple and for
How to make npc in HellmouthCo source?
03/11/2011 - CO2 Private Server - 1 Replies
Hello there, I have a question. How to add a npc in hellmouthco? I added it first to npcdialog and where do I need to add the rest? Kind regards, warzie005
[Help]how to make Source..!
01/07/2010 - EO PServer Hosting - 8 Replies
how to make my server in one file(.EXE) mean a setup file of my server..any help plz ?
[Release]How To Make Tq Source Work + Working Source + Server ByBass + Commands
12/08/2008 - CO2 PServer Guides & Releases - 15 Replies
1: How To Make The Server Work In fact, before other people did not just let ACC now with hi EACC Columbia landing on the settlement of the issue, and the rest is our own how to improve the content of those interested can improve the next. MY MY set and the same. INI MAP INI files and MAP with the client-to-date coverage of the account. server.dat ! And then as long as the client will be able to modify server.dat! 127.0.0.1 192.168.0.1 192.168.1.1 IP。 Please do generally use...



All times are GMT +1. The time now is 06:02.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.