Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 11-12-2005, 06:05 PM   #1 (permalink)
Forum Expert
 
PappaSmurf's Avatar
 
Join Date: Mar 2005
Location: Polishing my Lightsaber
Age: 31
Posts: 2,430
Send a message via ICQ to PappaSmurf Send a message via AIM to PappaSmurf Send a message via MSN to PappaSmurf Send a message via Yahoo to PappaSmurf
Default Godly Wrappings

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 **
Attached Files
File Type: cs GodlyRobe.cs (4.0 KB, 184 views)
PappaSmurf is offline  
Old 11-12-2005, 08:36 PM   #2 (permalink)
Forum Novice
 
Join Date: Mar 2005
Age: 29
Posts: 228
Send a message via AIM to Noxih
Default

nice script
Noxih is offline  
Old 11-12-2005, 11:38 PM   #3 (permalink)
 
Join Date: Oct 2005
Location: Texas
Posts: 9
Send a message via Yahoo to skatedude834
Cool Hmm

Nice script would like to see an picture of what your talking about tho
skatedude834 is offline  
Old 11-12-2005, 11:58 PM   #4 (permalink)
Forum Expert
 
PappaSmurf's Avatar
 
Join Date: Mar 2005
Location: Polishing my Lightsaber
Age: 31
Posts: 2,430
Send a message via ICQ to PappaSmurf Send a message via AIM to PappaSmurf Send a message via MSN to PappaSmurf Send a message via Yahoo to PappaSmurf
Default Here are a couple of pics

Quote:
Originally Posted by skatedude834
Nice script would like to see an picture of what your talking about tho

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.
Attached Images
File Type: jpg GodlyWrapings.JPG (192.8 KB, 263 views)
PappaSmurf is offline  
Old 11-13-2005, 12:08 AM   #5 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

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,
WonderlandADnc is offline  
Old 11-13-2005, 11:58 AM   #6 (permalink)
Forum Expert
 
PappaSmurf's Avatar
 
Join Date: Mar 2005
Location: Polishing my Lightsaber
Age: 31
Posts: 2,430
Send a message via ICQ to PappaSmurf Send a message via AIM to PappaSmurf Send a message via MSN to PappaSmurf Send a message via Yahoo to PappaSmurf
Default

Quote:
Originally Posted by WonderlandADnc
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,
To make it work for Seers GMs and Counclers just go in and alter the access levels they will work for anyone above the access level you set.

Code:
[CommandProperty(AccessLevel.Administrator)]
and
Code:
public GodlyRobe() : base( AccessLevel.Administrator, 0x0, 0x204F )
edit these with the various access levels you want the robe to work for.

Also you might want to alter the line where I added a Hue to it that I wanted for my Admin robe.
PappaSmurf is offline  
Old 11-13-2005, 05:58 PM   #7 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

Thanks for the tips. and for the update. lol.
WonderlandADnc is offline  
Old 11-13-2005, 06:26 PM   #8 (permalink)
Account Terminated
 
Join Date: Nov 2005
Location: Effingham, Il
Age: 16
Posts: 50
Send a message via ICQ to Teh Gamer Send a message via AIM to Teh Gamer Send a message via MSN to Teh Gamer
Default

Worked like a charm!
Teh Gamer is offline  
Old 11-15-2005, 11:37 PM   #9 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

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;
				}
			}
      		}
	}
}
WonderlandADnc is offline  
Old 12-04-2005, 07:34 PM   #10 (permalink)
Smo
Forum Novice
 
Join Date: Jan 2004
Location: Steubenville, Ohio, United States
Age: 18
Posts: 841
Send a message via ICQ to Smo Send a message via AIM to Smo Send a message via MSN to Smo Send a message via Yahoo to Smo
Default

very nice, and i like how it will dissapere if anyone else will try to wear it
__________________

www.myspace.com/smo360
Quote:
Originally Posted by Ryan View Post
Thanks for playing... now go die in a fucking fire prick.
Smo is offline  
Old 12-05-2005, 10:26 PM   #11 (permalink)
Forum Expert
 
PappaSmurf's Avatar
 
Join Date: Mar 2005
Location: Polishing my Lightsaber
Age: 31
Posts: 2,430
Send a message via ICQ to PappaSmurf Send a message via AIM to PappaSmurf Send a message via MSN to PappaSmurf Send a message via Yahoo to PappaSmurf
Default

Quote:
Originally Posted by WonderlandADnc
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:
                        }
                        else if ( ItemID == 8974 || ItemID == 0x1F04 )
                        {
                               m.SendMessage( "You assume the power of the Gods." );
                               m.PlaySound( 0x57 );
                               ItemID = 0x204F;
Under ItemID = add this
Code:
Hue = ???;
make the ??? the reference numbers for any hue you want and when you raise the hood it should switch to that color

Sorry I haven't been on much lately and I'm kinda late with a reply.
PappaSmurf is offline  
Old 12-06-2005, 03:28 AM   #12 (permalink)
 
Join Date: Jul 2005
Age: 23
Posts: 39
Default

ive been trying to do this and dude u made it alot easier awesome script TY for posting it
devilman is offline  
Old 12-06-2005, 03:57 PM   #13 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

thank you your help/ thanks again
__________________
*+ MW Admin Naturescorpse +*
WonderlandADnc is offline  
Old 12-07-2005, 02:11 AM   #14 (permalink)
 
Join Date: Nov 2005
Location: MA
Age: 34
Posts: 52
Send a message via ICQ to ewalsh
Talking

Nice! I love this robe, finally I can have something that my gm's can't dupe and wear! Ha!
ewalsh is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5