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 02-06-2006, 07:01 AM   #1 (permalink)
Forum Expert
 
Erica's Avatar
 
Join Date: Jan 2005
Location: Laramie Wyoming
Age: 43
Posts: 1,323
Send a message via ICQ to Erica Send a message via AIM to Erica Send a message via MSN to Erica Send a message via Yahoo to Erica Send a message via Skype™ to Erica
Smile Mongbat Dartboard

Just tho i share this you must be patched to latest version osi 5.0.1i to see this i am sure someone else will make it better but heres 2 Mongbat Dartboard one facing east other facing south and its animated hope you enjoy it.

heres pictures in game they are animated so they move back and forth.
Attached Files
File Type: zip MongbatDartboard.zip (472 Bytes, 118 views)

Last edited by Erica; 02-06-2006 at 02:37 PM. Reason: Added Picture request
Erica is offline  
Old 02-06-2006, 08:37 AM   #2 (permalink)
 
Join Date: Jun 2005
Location: AllworldAround
Age: 21
Posts: 8
Send a message via ICQ to ..::4B51NTH::.. Send a message via MSN to ..::4B51NTH::..
Talking

tnx very much...
..::4B51NTH::.. is offline  
Old 02-06-2006, 01:47 PM   #3 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

I do not have time to check it out, so can you please post a screenshot
XxSP1DERxX is offline  
Old 02-06-2006, 02:31 PM   #4 (permalink)
Forum Expert
 
Erica's Avatar
 
Join Date: Jan 2005
Location: Laramie Wyoming
Age: 43
Posts: 1,323
Send a message via ICQ to Erica Send a message via AIM to Erica Send a message via MSN to Erica Send a message via Yahoo to Erica Send a message via Skype™ to Erica
Default

Quote:
Originally Posted by XxSP1DERxX
I do not have time to check it out, so can you please post a screenshot
Ok look at first post added the pictures.
Erica is offline  
Old 02-06-2006, 06:20 PM   #5 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 7,279
Send a message via Yahoo to Lord_Greywolf
Default

sounds interesting
Lord_Greywolf is offline  
Old 02-08-2006, 07:54 AM   #6 (permalink)
Forum Expert
 
Join Date: Mar 2004
Location: Ireland
Age: 24
Posts: 284
Send a message via ICQ to QuIcK_FiNgErS Send a message via MSN to QuIcK_FiNgErS
Default

Does this come with darts, that work similar to snow? You throw at the board, then pick them up from it?

Double clicking it from a distance like achery butts?
QuIcK_FiNgErS is offline  
Old 02-08-2006, 10:05 AM   #7 (permalink)
Forum Expert
 
Erica's Avatar
 
Join Date: Jan 2005
Location: Laramie Wyoming
Age: 43
Posts: 1,323
Send a message via ICQ to Erica Send a message via AIM to Erica Send a message via MSN to Erica Send a message via Yahoo to Erica Send a message via Skype™ to Erica
Default

Quote:
Originally Posted by QuIcK_FiNgErS
Does this come with darts, that work similar to snow? You throw at the board, then pick them up from it?

Double clicking it from a distance like achery butts?
No its just the statue and has animation movement.
Erica is offline  
Old 02-08-2006, 02:19 PM   #8 (permalink)
Forum Expert
 
otimpyre's Avatar
 
Join Date: Apr 2003
Location: Georgia
Age: 31
Posts: 392
Default If

Cool. I could see this being a real dart board and or possibly a training mongbat hit it like a punching bag hehe Cute to bad doesnt work. Still it has its own charms as an item.
otimpyre is offline  
Old 02-08-2006, 02:30 PM   #9 (permalink)
Dream Sage
 
joshw's Avatar
 
Join Date: Jul 2003
Location: Great Northern Wisconsin
Posts: 841
Default

FROM WHAT IVE READ ON STRATICS IT IS A REAL DARTBOARD NON ANIMATED TILL YOU HIT A BULLSEYE THEN IT ANIMATES

opps sorry caps lock at work lol
__________________
To walk among the few of understanding
Admin of Geia Adventures A dead Shard no longer in existsance
joshw is offline  
Old 02-08-2006, 08:50 PM   #10 (permalink)
Forum Expert
 
otimpyre's Avatar
 
Join Date: Apr 2003
Location: Georgia
Age: 31
Posts: 392
Default Working

This works but I cant script it do what we want it to.
Usage [add dartboard 2 also has deeds east and south'
This is just a modified dartboard from server files.
But it works. Also I made
Code:
public override bool NeedsWall{ get{ return false;
so can place in center of room. Requires normal dagger to use it. The messages I entered for hitting dart board wont show up as that it loads the standard messages. Im a copy paste kinda guy

Code:
using System;
using Server;
using Server.Network;

namespace Server.Items
{
	public class DartBoard2 : AddonComponent
	{
		public override bool NeedsWall{ get{ return false; } }
		public override Point3D WallPosition{ get{ return this.East ? new Point3D( -1, 0, 0 ) : new Point3D( 0, -1, 0 ); } }

		public bool East{ get{ return this.ItemID == 0x1954; } }

		[Constructable]
		public DartBoard2() : this( true )
		{
		}

		[Constructable]
		public DartBoard2( bool east ) : base( east ? 0x1954 : 0x1951 )
		{
		}

		public DartBoard2( Serial serial ) : base( serial )
		{
		}

		public override void OnDoubleClick( Mobile from )
		{
			Direction dir;
			if ( from.Location != this.Location )
				dir = from.GetDirectionTo( this );
			else if ( this.East )
				dir = Direction.West;
			else
				dir = Direction.North;

			from.Direction = dir;

			bool canThrow = true;

			if ( !from.InRange( this, 4 ) || !from.InLOS( this ) )
				canThrow = false;
			else if ( this.East )
				canThrow = ( dir == Direction.Left || dir == Direction.West || dir == Direction.Up );
			else
				canThrow = ( dir == Direction.Up || dir == Direction.North || dir == Direction.Right );

			if ( canThrow )
				Throw( from );
			else
				from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 1019045 ); // I can't reach that.
		}

		public void Throw( Mobile from )
		{
			BaseKnife knife = from.Weapon as BaseKnife;

			if ( knife == null )
			{
				from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500751 ); // Try holding a knife...
				return;
			}

			from.Animate( from.Mounted ? 26 : 9, 7, 1, true, false, 0 );
			from.MovingEffect( this, knife.ItemID, 7, 1, false, false );
			from.PlaySound( 0x238 );

			double rand = Utility.RandomDouble();

			int message;
			if ( rand < 0.05 )
				message = 500752; // MONKEYSEYE! 50 points.
                        else if ( rand < 0.20 )
				message = 500753; // Just missed my eyes! 20 points.
                        else if ( rand < 0.45 )
				message = 500754; // 10 points.
			else if ( rand < 0.70 )
				message = 500755; // 5 pointer.
                        else if ( rand < 0.85 )
				message = 500756; // 1 point.  Bad throw.
                        else
				message = 500757; // Missed me!
                        
			PublicOverheadMessage( MessageType.Regular, 0x3B2, message );
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();
		}
	}

	public class DartBoard2EastAddon : BaseAddon
	{
		public override BaseAddonDeed Deed{ get{ return new DartBoard2EastDeed(); } }

		public DartBoard2EastAddon()
		{
			AddComponent( new DartBoard2( true ), 0, 0, 0 );
		}

		public DartBoard2EastAddon( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();
		}
	}

	public class DartBoard2EastDeed : BaseAddonDeed
	{
		public override BaseAddon Addon{ get{ return new DartBoard2EastAddon(); } }

		public override int LabelNumber{ get{ return 1044326; } } // dartboard2 (east)

		[Constructable]
		public DartBoard2EastDeed()
		{
		}

		public DartBoard2EastDeed( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();
		}
	}

	public class DartBoard2SouthAddon : BaseAddon
	{
		public override BaseAddonDeed Deed{ get{ return new DartBoard2SouthDeed(); } }

		public DartBoard2SouthAddon()
		{
			AddComponent( new DartBoard2( false ), 0, 0, 0 );
		}

		public DartBoard2SouthAddon( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();
		}
	}

	public class DartBoard2SouthDeed : BaseAddonDeed
	{
		public override BaseAddon Addon{ get{ return new DartBoard2SouthAddon(); } }

		public override int LabelNumber{ get{ return 1044325; } } // dartboard2 (south)

		[Constructable]
		public DartBoard2SouthDeed()
		{
		}

		public DartBoard2SouthDeed( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();
		}
	}
}

Last edited by otimpyre; 02-08-2006 at 08:55 PM.
otimpyre 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