Go Back   RunUO - Ultima Online Emulation > RunUO > Modification Suggestions

Modification Suggestions This is where you can suggest a modifcation to RunUO!

Reply
 
Thread Tools Display Modes
Old 03-07-2007, 03:53 PM   #1 (permalink)
Account Terminated
 
Join Date: Oct 2006
Posts: 50
Default Faction Announcment.

Well my idea is this:

When a town is attacked, attempt to touch sigil, or an enemy enters the sigil area it will be announced to the town faction owner's faction. So they can go there. More pvp action!
Enkel is offline   Reply With Quote
Old 03-14-2007, 10:42 PM   #2 (permalink)
Forum Novice
 
Join Date: Jan 2006
Location: Illinios
Age: 25
Posts: 162
Send a message via ICQ to viront
Default

Thats not a bad idea, I would take it further and have it do a global broadcast to all members. That way people who are logged into their non-faction alt will see it and people in other factions or none may come along just to cause trouble.
__________________
Meh.
viront is offline   Reply With Quote
Old 03-14-2007, 11:35 PM   #3 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Yes! Very good idea achually!
You could do it by placing a re-scripted teleporter item around certain areas. Let's say you place some in a square around the Skara Brae sigil location. When an enemy of the faction steps on the modified teleporter, instead of teleporting them it sends a broadcast, "There art an enemy intruder approaching the Skara Brae town sigil."

You cna take this further by placing those teleporters around all the gates.
So if an enemy of Britain steps on them they broadcast "An enemy of Britian is approaching the city."
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 03-15-2007, 02:10 AM   #4 (permalink)
Forum Novice
 
Join Date: Jan 2006
Location: Illinios
Age: 25
Posts: 162
Send a message via ICQ to viront
Default

I think this is an excellent way to get your players into doing things together. We all know it is difficult to get many players on a shard together much less in the same place. Using event reminders like these can really help get people together. You could take it further by allowing people to use a [event command to appear close to the event if they use it within a window of time after the event is called.

Sorry thats getting a bit off-topic, I'll look into a way to announce the sigil being stolen first.
__________________
Meh.
viront is offline   Reply With Quote
Old 03-15-2007, 02:21 AM   #5 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

I really like that idea. The most fun i've had in UO the last couple of years was on a shard where you could write "I wish to join the deathmatch", and be teleported into a deathmatch area where you woulden't loose anything if you died, you'd just be ressurected.

So a player keyword in order to be teleported to the active event is a great idea!
And not to hard to do either. An item wich has 3 stored variables, X, Y, Z. When players write [event, they get a gump wich loads information from the item with the variables. When they click "go", they are teleported to the stored coordinates.

The gump can be coded in a way that if the Z variable is 999, the players won't be teleported, since 999 would mark that the Event are inactive at the moment.
So that would make it easy both for the admin to change the location and to disable the event teleport system.
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 03-15-2007, 03:47 AM   #6 (permalink)
Forum Novice
 
Join Date: Jan 2006
Location: Illinios
Age: 25
Posts: 162
Send a message via ICQ to viront
Default

Here is the script changes to broadcast a message when the sigil is taken or lost.

RunUO 2.0 RC1-
In Sigil.cs (changes in red)
Taken:
Code:
		public override void OnAdded( object parent )
		{
			base.OnAdded( parent );

			Mobile mob = FindOwner( parent );

			if ( mob != null )
				mob.SolidHueOverride = OwnershipHue;

            World.Broadcast(0xB, true, "{0} has taken {1}'s faction sigil!", mob, m_Town);

		}
Returned:
Code:
		public override void OnRemoved( object parent )
		{
			base.OnRemoved( parent );

			Mobile mob = FindOwner( parent );

			if ( mob != null )
				mob.SolidHueOverride = -1;

            World.Broadcast(0xB, true, "{0} has lost {1}'s faction sigil!", mob, m_Town);
		}
Lost:
Code:
		public bool ReturnHome()
		{
			BaseMonolith monolith = m_LastMonolith;

			if ( monolith == null && m_Town != null )
				monolith = m_Town.Monolith;

			if ( monolith != null && !monolith.Deleted )
				monolith.Sigil = this;

            World.Broadcast(0xB, true, "{0}'s faction sigil has been returned.", m_Town);

			return ( monolith != null && !monolith.Deleted );
		}
I'm taking a look at Knives' Chat to see if he has an easy and efficient way to send messages to specific factions.

You could also add change Stealing.cs if you only wanted the message displayed when the sigil is stolen:

Code:
							else
							{
								if ( sig.IsBeingCorrupted )
									sig.GraceStart = DateTime.Now; // begin grace period

								m_Thief.SendLocalizedMessage( 1010586 ); // YOU STOLE THE SIGIL!!!   (woah, calm down now)

                                World.Broadcast(0xB, true, "{0} has stolen the faction sigil from {1}!", m_Thief, sig.Town);

								if ( sig.LastMonolith != null )
									sig.LastMonolith.Sigil = null;

								sig.LastStolen = DateTime.Now;

								return sig;
							}
I like the idea of a gump Ilutzio, if you wanted to keep it 'RP' you could have an NPC that the players talk to or an item that you can purchase from an Event Vendor.
__________________
Meh.
viront is offline   Reply With Quote
Old 03-19-2007, 08:46 AM   #7 (permalink)
Account Terminated
 
Join Date: Oct 2006
Posts: 50
Default

Glad i could help :P
Enkel is offline   Reply With Quote
Reply

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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5