Jump to content
Joyce

Untested [6.2] Display character level and class (Configurable + Language/Colour support)

Recommended Posts

[6.2] Display character level and class (Configurable + Language/Colour support)

 

Description:

This patch adds some new configuration options to do the following:

 

0. Not change the way player names are displayed.

1. Show the player's level next to the character name.

2. Show the player's class and level above the character name.

 

These options are configured through the server options.

There's full language support for both changed use cases, so you can tweak what it should say exactly as well as the layout of it.

There's also custom colour support for the newly added class display line, so you can tweak that too if you'd like.

 

Note, this isn't the prettiest method of doing it. The nice way would be to make a new method that renders the additional label.

But I just sort of abused the draw name method. It works, but it won't win any beauty contests.

 

Media:

8d923730aab6ded539786123326b4d5a.png

 

Git Patch:

 

[Download]

Supported Build: 0.6.2.421

 

Updates:

  1. [Download] - Displays NPC levels as well when displaying Player classes and levels. It would only do this when displaying only levels before.

 

Setup:

 

The following steps are REQUIRED before this will work properly!

 

  1. Download and install the main patch file for the branch you are using.
  2. Download and install any update patches IN THE ORDER THEY ARE LISTED for the branch you are using.
  3. Compile and run the server and client, it should automatically generate the new configuration/language entries.
  4. Log in and see your class and level displayed!

 

Optionally, you could set the server config setting to the following switches:

0. Not change the way player names are displayed.

1. Show the player's level next to the character name.

2. Show the player's class and level above the character name.

 

As well as change the client's language file and some custom colours related to this if you'd like. 

But that's up to you.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...