This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [3.3.5a] Change player name color and remove guild names?  (Read 1546 times)

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
[3.3.5a] Change player name color and remove guild names?
« on: September 24, 2015, 10:20:50 am »
Hello,

is it possible to change the color of player names? For example i set my trinity realm to FFA and any name is red. I want to change it to blue.


The second question: Is it possible to remove the guild name (under the playername)? I know the interface option, but i want to deactivate it for every player.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
Re: [3.3.5a] Change player name color and remove guild names
« Reply #1 on: September 24, 2015, 07:02:30 pm »
Unfortunately, I dont have the answer to your question, but how did you manage to
Quote from: "Nic"
set my trinity realm to FFA
?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [3.3.5a] Change player name color and remove guild names
« Reply #2 on: September 25, 2015, 03:34:37 pm »
Quote from: "Смердокрыл"
Unfortunately, I dont have the answer to your question, but how did you manage to
Quote from: "Nic"
set my trinity realm to FFA
?
Worldserver config, obviously.... oO

I am pretty sure those are hardcoded, however, try to change the framexml in the local mpqs. Might be worth a try.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

saifi0102

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 42
    • View Profile
Re: [3.3.5a] Change player name color and remove guild names
« Reply #3 on: September 25, 2015, 09:39:57 pm »
Well if you change the zones to become sanctuary you can make their color blue. Not sure what exactly you mean by blue though. Although you'd have to modify all the zones in the DBCs.

If modifying DBC isnt an option, another way is to set forced reactions to specific factions for each player. U can find forced reactions in ReputationMgr.

If you simply want to change the color and/or retain the hostility, you'll have to modify the UI as Ascathos said.
« Last Edit: September 25, 2015, 09:55:29 pm by Admin »

saifi0102

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 42
    • View Profile
Re: [3.3.5a] Change player name color and remove guild names
« Reply #4 on: September 25, 2015, 09:51:17 pm »
About your second question, what comes to my mind is that you can do either the following

1. Disable guild registration or the whole guild system
2. Remove the packet data that sends a player's guild information to other players, you'd find this, with some searching, in visibility update packets I think.
3. Remove the guild name string from the UI by looking into FrameXML

If option 1 is possible then it'd be quite simple. However if you wanna retain the guild system, I think option 3 would be best if you are comfortable with modifying UI.

In option 2, I'm not sure exactly how guild information is sent. If it only sends a name or an ID it wouldn't cause problems with other system I presume.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
Re: [3.3.5a] Change player name color and remove guild names
« Reply #5 on: September 27, 2015, 06:35:52 pm »
Quote
Worldserver config, obviously.... oO
Yes!

Quote
Well if you change the zones to become sanctuary you can make their color blue. Not sure what exactly you mean by blue though. Although you'd have to modify all the zones in the DBCs.

If modifying DBC isnt an option, another way is to set forced reactions to specific factions for each player. U can find forced reactions in ReputationMgr.
Nah... i change all zones to open pvp. I want only change the color to blue. Red is so aggressive....

Quote
If you simply want to change the color and/or retain the hostility, you'll have to modify the UI as Ascathos said.
I try this, but i dont find the file. I look into the whole FrameXML folder.

Quote
About your second question, what comes to my mind is that you can do either the following

1. Disable guild registration or the whole guild system
2. Remove the packet data that sends a player's guild information to other players, you'd find this, with some searching, in visibility update packets I think.
3. Remove the guild name string from the UI by looking into FrameXML
Option 1 is not a possible option. I think option 3 is the simple option. Which file contains this string?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

saifi0102

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 42
    • View Profile
Re: [3.3.5a] Change player name color and remove guild names
« Reply #6 on: September 29, 2015, 01:24:14 pm »
I looked in the localized strings and couldn't actually find anything. Maybe they are hardcoded in the WorldFrame, not sure.

I guess you should use the server side approach, option 2
« Last Edit: January 01, 1970, 01:00:00 am by Admin »