Page 1 of 1

[ADDON] OverheadFonts 1.0

Posted: Wed Jun 19, 2024 7:35 pm
by Omegus
DOWNLOAD HERE | REPORT ISSUES HERE

With apologies to warband leaders and other named priority targets...

This add-on allows you to change the font used to display the name and the guild/title that appear over the heads of players and NPCs in the game world. Usually the game only lets you pick from two options: "Simple" and "Stylized", but WAR's add-on API actually allows for any built-in font to be used. The image below shows what can be done:

Image

To change the fonts, go to "User Settings" and then "Targeting" as before. This add-on has replaced the single drop-down box for "Simple" and "Stylized" with two drop-down boxes: one to pick a font for names, and one for guilds/titles. Please note that these are the only two options provided by the WAR add-on API. For example, it is impossible to have the guild font different from the title font.

Image

The font list is all of the font types the game comes with. It is impossible to define additional ones, so this list is all you get. The biggest ones appear to be the ones that end in "gigantic".

If this add-on is deemed problematic by any of the WAR private servers and they wish to block it, then all they need to do is hook the "SetNamesAndTitlesFont (string, string)" API function and restrict the first parameter to either "font_name_plate_names" or "font_name_plate_names_old", and the second parameter to either "font_name_plate_titles" or "font_name_plate_titles_old".

Re: [ADDON] OverheadFonts 1.0

Posted: Wed Jun 19, 2024 7:39 pm
by Omegus
In before "omg bt wat abut zolo plyrz tryin2hide frm da bluuuuurb"

Re: [ADDON] OverheadFonts 1.0

Posted: Wed Jun 19, 2024 7:49 pm
by Absinth
Is it possible to have diff font for the players and diff font for the npcs?

Re: [ADDON] OverheadFonts 1.0

Posted: Wed Jun 19, 2024 7:52 pm
by Omegus
Absinth wrote: Wed Jun 19, 2024 7:49 pm Is it possible to have diff font for the players and diff font for the npcs?
Sadly not. There are only 2 settings the client lets you change: font for names and font for guilds/titles. Those 2 settings then get applied to everything.

Re: [ADDON] OverheadFonts 1.0

Posted: Wed Jun 19, 2024 8:32 pm
by tromat
This is great! thanks

Re: [ADDON] OverheadFonts 1.0

Posted: Wed Jun 19, 2024 8:35 pm
by Gunlinger
What i need is an option to only show names and guild tags of Alliance/guild members and people on friends list

Re: [ADDON] OverheadFonts 1.0

Posted: Wed Jun 19, 2024 8:41 pm
by Omegus
Gunlinger wrote: Wed Jun 19, 2024 8:35 pm What i need is an option to only show names and guild tags of Alliance/guild members and people on friends list
Nope, those tickboxes in the settings window are all the game lets you change. There's nothing else hidden behind the scenes regarding that, unlike the fonts.

Re: [ADDON] OverheadFonts 1.0

Posted: Wed Jun 19, 2024 8:50 pm
by Gunlinger
would it not be possible to change the backend of your name, your titles, your Guild, into
your Alliance members, your Guild members, your Friends list? No sane player runs around with his own over head info anyway

Re: [ADDON] OverheadFonts 1.0

Posted: Wed Jun 19, 2024 9:03 pm
by Omegus
Gunlinger wrote: Wed Jun 19, 2024 8:50 pm would it not be possible to change the backend of your name, your titles, your Guild, into
your Alliance members, your Guild members, your Friends list? No sane player runs around with his own over head info anyway
Yes if you have access to the source code of WAR.exe to add the feature and then add new options that the UI code can change.

It's the actual engine/EXE that handles all of this as it's displaying the text in the 3D world. All the engine allows the UI code to do is turn on and off the pre-defined options and change those two specific font options. It then does its own thing based on what settings have been chosen by the UI code.

Re: [ADDON] OverheadFonts 1.0

Posted: Thu Jun 20, 2024 5:25 pm
by Templa
this is amazing! gj