RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

Tillerman Gump 2.1

No permission to download
I was looking to improve my old Sea Navigator...

http://www.runuo.com/community/threads/sea-navigator-2-0-final.100983/#post-834086

...as I felt the look could be improved along with the actual "steering" part of the gump. I came across the one by Evany by accident...

http://www.runuo.com/community/threads/tillerman-gump.504648/

...and decided to modify their gump as it removed the necessity that mine had to have an item in your pack to use the gump. So almost all credit goes to Evany as that is the base in which I came up with this one.

What it does is you double-click your Tillerman and this gump will pop up allowing you to navigate your ship with ease. You can overlay this gump over your own minimap as shown in the picture. You can pick the size of the gump to go over the small or large minimap. You click the red diamonds to go in that direction. The three gray arrows allow you to turn the ship left, right, or to come about. The red flag allows you to stop and the gray tab on the right side allows you to switch between the small and large gump. Obviously...the wooden part allows you to rename the ship, drop/raise the anchor, and use the one-step option for movement.

At the top of both "BaseBoat.cs" and "Tillerman.cs", put...

Code:
using Server.Gumps;

In "BaseBoat.cs", in the "public void EndDryDock( Mobile from )" section, add...

Code:
from.CloseGump( typeof( TillerManGump ) );

In "Tillerman.cs", in the "OnDoubleClick" section, change it to this...

Code:
public override void OnDoubleClick( Mobile from )
{
            if ( m_Boat != null )
            {
                if( m_Boat.Owner == from || from.AccessLevel >= AccessLevel.Administrator )
                {
                    if( m_Boat.Contains( from ) )
                    {
                        from.SendGump( new TillerManGump( from, m_Boat, false ) ); //m_Boat.BeginRename( from );
                    }
                    else
                    {
                        m_Boat.BeginDryDock( from );
                    }
                }
                else from.SendLocalizedMessage( 501023 ); // You must be the owner to use this item
            }
}

Then put the included "TillerManGump.cs" somewhere in your scripts section. That's it.



  • ship_steer_1.jpg
    162.8 KB · Views: 975
  • ship_steer_2.jpg
    120.4 KB · Views: 628
Author
Djeryv
Downloads
43
Views
784
First release
Last update
Rating
0.00 star(s) 0 ratings
Top