|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Newbie
Join Date: Jun 2005
Location: Alabama
Age: 29
Posts: 35
|
i take no credit for this script mod all i did was add the new levels of access.
it works and has been tested. all you do is add the part in red on the line after base.GetProperties around line 2782 in your playermobile.cs all props go to Joeku for the fix all i did was add 2 lines for 2.0 Code:
public override void GetProperties( ObjectPropertyList list )
{
base.GetProperties( list );
if (AccessLevel > AccessLevel.Player)
{
string color = "";
switch ( AccessLevel )
{
case AccessLevel.Counselor: color = "#00BFFF"; break; //Deep Sky Blue
case AccessLevel.GameMaster: color = "#FF0000"; break; //Red
case AccessLevel.Seer: color = "#00FF00"; break; //Green
case AccessLevel.Administrator: color = "#FFD700"; break; //Gold
case AccessLevel.Developer: color = "#FFD700"; break; //Gold
case AccessLevel.Owner: color = "#FFD700"; break; //Gold
}
list.Add( 1060658, "{0}\t{1}", "Staff", String.Format("<BASEFONT COLOR={0}>{1}", color, AccessLevel) );
}
when its done it should say Staff : (access level) under the players name
__________________
:) Last edited by Joeda; 06-26-2006 at 03:01 PM. |
|
|
|
|
#4 (permalink) |
|
Forum Newbie
Join Date: Jun 2005
Location: Alabama
Age: 29
Posts: 35
|
here's the link to it for runuo 1.0 it was posted by Joeku all props go to him. post #11 is his fix
http://forums.runuo.com/showthread.p...3956&highlight lol its still there Joeku
__________________
:) Last edited by Joeda; 06-26-2006 at 03:04 PM. |
|
|
|
|
#6 (permalink) |
|
Forum Newbie
Join Date: Jun 2005
Location: Alabama
Age: 29
Posts: 35
|
the link in my last post was to the thread i got my mod from. i did have to edit it a lil to make it work on 1.0.if you are using 1.0 just comment out the line for developer and owner.if you are using 2.0, use what i have posted
__________________
:) |
|
|
|
|
#7 (permalink) |
|
Newbie
Join Date: Jun 2006
Posts: 95
|
You are very welcome for that snippet... It is in the archives still, but the thread's content has been removed. I will be making a similar update to the script where it is still supported.
Btw, I am only here because of the merge from ConnectUO's forums. Last edited by Kamron; 06-26-2006 at 04:53 PM. |
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|