|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Jun 2005
Age: 30
Posts: 111
|
We were able to change the cooridinates for the Naturalist Quest but we cant seem to get the cooridinates right for the Powder of Temp quest where you put 8 pitchers of water in the vat. We put our new cooridinates in the script where our new vats are but they wont take the water. Any ideas or help? Thanks
using System; using Server; namespace Server.Engines.Quests.Naturalist { public class NestArea { private static readonly NestArea[] m_Areas = new NestArea[] { new NestArea( false, new Rectangle2D( 2963, 3587, 26, 25 ) ), new NestArea( false, new Rectangle2D( 2975, 3616, 14, 50 ), new Rectangle2D( 5748, 1800, 3, 34 ), new Rectangle2D( 5751, 1808, 2, 20 ) ), new NestArea( false, new Rectangle2D( 3044, 3634, 19, 43 ) ), new NestArea( false, new Rectangle2D( 3112, 3596, 24, 29 ), new Rectangle2D( 5745, 1935, 7, 22 ) ), new NestArea( true, new Rectangle2D( 3071, 3577, 21, 32 ), new Rectangle2D( 5672, 1857, 6, 20 ) ) }; public static int NonSpecialCount { get { int n = 0; foreach ( NestArea area in m_Areas ) { if ( !area.Special ) n++; } return n; } } public static NestArea Find( IPoint2D p ) { foreach ( NestArea area in m_Areas ) { if ( area.Contains( p ) ) return area; } return null; } public static NestArea GetByID( int id ) { if ( id >= 0 && id < m_Areas.Length ) return m_Areas[id]; else return null; } private bool m_Special; private Rectangle2D[] m_Rects; public bool Special{ get{ return m_Special; } } public int ID { get { for ( int i = 0; i < m_Areas.Length; i++ ) { if ( m_Areas[i] == this ) return i; } return 0; } } private NestArea( bool special, params Rectangle2D[] rects ) { m_Special = special; m_Rects = rects; } public bool Contains( IPoint2D p ) { foreach ( Rectangle2D rect in m_Rects ) { if ( rect.Contains( p ) ) return true; } return false; } } } Dave1969 is online now Dave1969 View Public Profile Send a private message to Dave1969 Find More Posts by Dave1969 Add Dave1969 to Your Buddy List |
|
|
|
|
#3 (permalink) | ||
|
Forum Expert
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
|
Quote:
__________________
Quote:
Just a Simple Staff Tool You can leave me messages. Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else." |
||
|
|
|
|
#4 (permalink) | |
|
Forum Expert
Join Date: Feb 2005
Location: USA
Age: 30
Posts: 335
|
Quote:
Script support. I also need direction on this. I havent found any coords for the vats in any of the Matriarch files or in the core quest files. Maybe I missed it Im not sure but if anyone knows where these coords are set please tell ![]() |
|
|
|
|
|
#5 (permalink) |
|
Forum Novice
Join Date: Oct 2003
Location: Toledo, Biggest Hole above ground
Posts: 151
|
I to moved the solen quests over to a custom map, I found that the Dungeon itself is in a DIF file and not on the actualy map in the mapX.mul file. So what I did was used 2 programs 1 called MERGE and the other was UOCopy it took me abit but I was able to get it to move over. It moved statics and all
![]() |
|
|
|
|
#7 (permalink) | |
|
Forum Expert
Join Date: Feb 2004
Age: 27
Posts: 1,834
|
use [code] tags please. It looks more professional... especially because there is junk info at the end.
And that only works, if your custom hive is in Trammel or Felucca, see this in Study of solen hives' Objectives.cs: if ( ( from.Map == Map.Trammel || from.Map == Map.Felucca ) && nest.Contains( from ) ) Quote:
[/hint] |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|