View Single Post
Old 08-07-2004, 06:10 PM   #15 (permalink)
BlackNova
 
Join Date: Jul 2003
Posts: 20
Default

To make the regions run in either facets just replace the relevent lines with the following in the SolenHiveRegions.cs file:

Code:
public static void Initialize()
{
	for ( int i = 0; i <= 4; i++ )
	{
		Region.AddRegion( new SolenHiveRegion( i, Map.Felucca ) );
		Region.AddRegion( new SolenHiveRegion( i, Map.Trammel ) );
	}
}

public SolenHiveRegion( int number, Map map ) : base( "", "Solen Hive Nest " + ( number + 1 ), map )
{
Also, since the bonus Study area is optional and shouldn't count toward the objective, I would put "m_Objective.CurProgress++;" in a different location as shown below in the StudyNestTimer.OnTick() function:

Code:
if( m_Count <= 0 )
{
	m_Objective.Study.Add( m_Number );

	if( m_Number == 4 )
	{
		m_From.SendLocalizedMessage( 1054057 );	// You complete your examination of this bizarre Egg Nest...
		m_Objective.Bonus = true;
	}
	else
	{
		m_From.SendLocalizedMessage( 1054054 ); // You have completed your study of this Solen Egg Nest. You put your notes away.
		m_Objective.CurProgress++;
	}

	int need = m_Objective.MaxProgress - m_Objective.CurProgress;

	m_Objective.System.ShowQuestLogUpdated();

	if( need <= 0 )
		m_Objective.Complete();

	Stop();
}
BlackNova is offline   Reply With Quote