RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to make a title like " Name [Guild] [Min] [Chaos] " ?

ZAKOJAKO

Page



Playermobile.cs ? or Mobile.cs ?
I could not solve this problem. :(


Order/Chaos enabled easy. but I can't make show overhead [Order] or [Chaos] title
Please let me know how to make this on Expansion.ML!

* Not T2A, It's AOS(SE/ML) Expension.
 

Attachments

  • thumb.jpg
    309.6 KB · Views: 25

daat99

Moderator
Staff member
Considering this effects players only than you need to look in PlayerMobile.cs
If you want the title for players and monsters than you can look at Mobile.cs
 

ZAKOJAKO

Page
Considering this effects players only than you need to look in PlayerMobile.cs
If you want the title for players and monsters than you can look at Mobile.cs


I know, It seems to be work on " public override string ApplyNameSuffix( string suffix ) " in playermobile.cs
But I don't know what I add the code becuz I don't know exactly how to do programming.
I think It related with GuildType.Regular;... Hmmm.. Would you help for me? I need this much better.
 

daat99

Moderator
Staff member
I'm not sure I understand what you tried to do.
Please try to write some code (even if it doesn't compile or makes no sense) and post in code tags with the errors you get.
 

zerodowned

Sorceror
I think you're looking for m_Guild.Abbreviation

Now if you look under player mobile you'll see this

string adjunct = String.Format( "[{0}]", faction.Definition.Abbreviation );

{0} is referring to the Faction name that's being added onto the player's name
if you wanted to add something to it you would next use {1} then put a comma after faction.Definition.Abbreviation and indicate what {1} references.
 
Top