|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
One thing I hate is wearing an Admin Robe that dosen't show off my avatar's face and helm so I created this version of the Admin robe using the Jedi Robe posted by Lokigom92 so all props go to him/her. You can switch it between a standard Admin Robe and a regular robe with a double click it also hides your characters name behind the alais of "A Godly Avatar"
Use [add GodlyRobe to create this item and it can only be worn by Admins and will auto delete if worn by anyone else. ** Corrected name cloaking and reposted script ** |
|
|
|
|
#4 (permalink) | |
|
Forum Expert
|
Quote:
Doh and I noticed it dosen't cloak your name I'll fix that and repost the script The Attached Picture is after double clicking the equiped robe it gives the message "You assume the powers of the Gods" before the Double click it looks like a plain robe of the same color. |
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
|
i think its great, i cant wait to try the new one out. as im going to use it, as it is. but when u fix it, ill try that, as i was after a admin robe, to go from hood to without, so thanks, but i want to make how it is now, without name chaging, just plan, hood to without, and make an admin and seer and GM and couny, how would i go about doing that, thanks again,
![]() |
|
|
|
|
#6 (permalink) | |
|
Forum Expert
|
Quote:
Code:
[CommandProperty(AccessLevel.Administrator)] Code:
public GodlyRobe() : base( AccessLevel.Administrator, 0x0, 0x204F ) Also you might want to alter the line where I added a Hue to it that I wanted for my Admin robe. |
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
|
is there a way i can make this for the femailes. ie from the admin staff robe to a plain dress, itemid 8974, as i looked at yr script and it was 0x ---
also is it possable to make it have to hues. so say the admin hue 64 and the robe 45, thanks again. ------------------------------------------------------------------- ok ive got it to change into a dress. but i cant work out, how to make the dress,a diff hue. and also ive edited it so it dont change yr name and so on. is there. anything else ive forgot to remove. thanks again. Code:
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class MWAdminRobe2 : BaseSuit
{
private int m_Fame;
[CommandProperty(AccessLevel.Administrator)]
public int Fame
{
get
{
if (m_Fame < 0)
m_Fame = 0;
return m_Fame;
}
set { m_Fame = value; InvalidateProperties(); }
}
[Constructable]
public MWAdminRobe2() : base( AccessLevel.Administrator, 0x0, 0x204F ) // Blank hue
{
Hue = 1109;
Name = "MW Admin Robe";
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "You must be wearing the robe to use it!" );
}
else
{
if ( ItemID == 0x204F )
{
m.SendMessage( "You lower the hood." );
m.PlaySound( 0x57 );
ItemID = 8974;
}
else if ( ItemID == 8974 || ItemID == 0x1F04 )
{
m.SendMessage( "You assume the power of the Gods." );
m.PlaySound( 0x57 );
ItemID = 0x204F;
}
}
}
public override bool OnEquip( Mobile from )
{
if ( ItemID == 0x2683 )
{
}
return base.OnEquip(from);
}
public override void OnRemoved( Object o )
{
}
public MWAdminRobe2( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch(version)
{
case 1:
{
m_Fame = reader.ReadInt();
goto case 0;
}
case 0:
{
break;
}
}
}
}
}
|
|
|
|
|
#10 (permalink) |
|
Forum Novice
|
very nice, and i like how it will dissapere if anyone else will try to wear it
|
|
|
|
|
#11 (permalink) | |
|
Forum Expert
|
Quote:
Code:
Hue = ???; Sorry I haven't been on much lately and I'm kinda late with a reply. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|