Im kindof lost as to how to add my new map. here is the scenario
I have a new map its the same size as ilshenar. I have been using the ilshenar settings for the map, but now i want to register a new map within mapdefinitions.cs so when someone marks a rune, etc it doesnt say ilshenar.
here is some code in mapdef*.cs
Code:
RegisterMap( 0, 0, 0, 6144, 4096, 4, "Felucca", MapRules.FeluccaRules );
RegisterMap( 1, 1, 0, 6144, 4096, 0, "Trammel", MapRules.TrammelRules );
RegisterMap( 2, 2, 2, 2304, 1600, 1, "Ilshenar", MapRules.FeluccaRules );
RegisterMap( 3, 3, 3, 2560, 2048, 1, "Malas", MapRules.TrammelRules );
RegisterMap( 4, 2, 2, 2304, 1600, 3, "Mythosa", MapRules.FeluccaRules );
RegisterMap( 0x7F, 0x7F, 0x7F, Map.SectorSize, Map.SectorSize, 1, "Internal", MapRules.Internal );
Now have i done this correctly?
If so how does it know what facet im currently in if ilshenar and mythosa are the same map?
question 2: In my publicmoongates.cs file i added stuff there and as well as the cliloc.enu file because i didnt want it to say ilshenar on the mongate. I cant seem to get this right. here is th code that i have edited.
Code:
// count += MoonGen( PMList.Trammel );
// count += MoonGen( PMList.Felucca );
// count += MoonGen( PMList.Ilshenar );
// count += MoonGen( PMList.Malas );
count += MoonGen( PMList.Mythosa );
and,
Code:
public static readonly PMList Mythosa =
new PMList( 600000, 1012001, Map.Ilshenar, new PMEntry[]
{
new PMEntry( new Point3D( 2043, 644, 7 ), "Halo" ), // Moonglow
new PMEntry( new Point3D( 1171, 996, 5 ), "Sandhead" ), // Britain
new PMEntry( new Point3D( 635, 463, 5 ), "Ruins" ), // Jhelom
new PMEntry( new Point3D( 497, 647, 4 ), "Brookshire" ), // Yew
new PMEntry( new Point3D( 1136, 656, 5 ), "Ice Isle" ), // Minoc
// new PMEntry( new Point3D( 1828, 2948,-20), 1012008 ), // Trinsic
// new PMEntry( new Point3D( 643, 2067, 5 ), 1012009 ), // Skara Brae
// new PMEntry( new Point3D( 3563, 2139, 34), 1012010 ), // Magincia
// new PMEntry( new Point3D( 2711, 2234, 0 ), 1019001 ) // Buccaneer's Den
} );
and since i do not want to use any other facets
Code:
public static readonly PMList[] UORLists = new PMList[]{ Mythosa };
public static readonly PMList[] LBRLists = new PMList[]{ Mythosa };
public static readonly PMList[] AOSLists = new PMList[]{ Mythosa };
public static readonly PMList[] RedLists = new PMList[]{ Mythosa };
Thanks for helping:)[/quote]