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 06-09-2005, 01:43 PM   #1 (permalink)
Forum Novice
 
Join Date: Jun 2005
Age: 30
Posts: 111
Default Trying to add Matriarch Quest to a custom map.

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
Dave1969 is offline  
Old 06-17-2005, 04:10 AM   #2 (permalink)
Forum Expert
 
Tannis's Avatar
 
Join Date: Feb 2004
Age: 27
Posts: 2,047
Default

You might want to delete this post and post instead in Script Submissions. Also, use [c ode] [/c ode] tags around your script, it's much easier to read. And don't put the space between c and o like I did
Tannis is offline  
Old 06-18-2005, 01:49 AM   #3 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by Tannis
You might want to delete this post and post instead in Script Submissions. Also, use [c ode] [/c ode] tags around your script, it's much easier to read. And don't put the space between c and o like I did
if he posts in the scripts submissions section he will get flamed. this is a request...
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
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."
Greystar is offline  
Old 08-27-2005, 02:26 PM   #4 (permalink)
Forum Expert
 
Tintamar's Avatar
 
Join Date: Feb 2005
Location: USA
Age: 30
Posts: 335
Default

Quote:
Originally Posted by Greystar
if he posts in the scripts submissions section he will get flamed. this is a request...
Its a request for help, hes not asking anyone to do it for him, just needs direction.
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
Tintamar is offline  
Old 08-27-2005, 03:19 PM   #5 (permalink)
Forum Novice
 
Join Date: Oct 2003
Location: Toledo, Biggest Hole above ground
Posts: 151
Default

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
Warloxx is offline  
Old 08-28-2005, 05:20 AM   #6 (permalink)
Forum Expert
 
Tintamar's Avatar
 
Join Date: Feb 2005
Location: USA
Age: 30
Posts: 335
Default

Yeah im using custom ant holes though and not sure what set the vats as part of the quest.
Tintamar is offline  
Old 08-28-2005, 09:39 AM   #7 (permalink)
Forum Expert
 
Join Date: Feb 2004
Age: 27
Posts: 1,834
Default

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:
We put our new cooridinates in the script where our new vats are but they wont take the water. Any ideas or help?
[hint]Search for SolenMatriarchQuest and a totally "unexpected" filename will pop up. [/hint]
Kamuflaro 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