PlayerMobile.cs, OnSingleClick, you should add it to the prefix. Just above the base.OnSingleClick( from );

Edit: Nope, that would be to add a new line.

Title.cs

Code:
public static string ComputeFameTitle(Mobile beheld)
        {
            int fame = beheld.Fame;
            int karma = beheld.Karma;

            for (int i = 0; i < m_FameEntries.Length; ++i)
            {
                FameEntry fe = m_FameEntries[i];

                if (fame <= fe.m_Fame || i == (m_FameEntries.Length - 1))
                {
                    KarmaEntry[] karmaEntries = fe.m_Karma;

                    for (int j = 0; j < karmaEntries.Length; ++j)
                    {
                        KarmaEntry ke = karmaEntries[j];

                        if (karma <= ke.m_Karma || j == (karmaEntries.Length - 1))
                        {
                            return String.Format(ke.m_Title, beheld.Name, beheld.Female ? "Lady" : "Lord");
                        }
                    }

                    return String.Empty;
                }
            }
            return String.Empty;
        }

PlayerMobile.cs:

Code:
[CommandProperty(AccessLevel.Decorator)]
        public override string TitleName
        {
            get
            {
                string title = Titles.ComputeFameTitle(this);
                return title.Length > 0 ? title : RawName;
            }
        }
 
Last edited:
Haha yes,, i use runuo 2.2.

What i would like to do is add a hued suffix next to the name based on the value of some Xmlattachment. Not sure if its possible to hue it, probably not.
it has to be a preffix or suffix, because i have 3 titles above head players already, it wont show another one


thanks
 
Last edited:

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back