Ryandor.com

Forums
It is currently Sat Jul 05, 2025 6:01 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Fri Jul 04, 2003 9:48 pm 
Offline
Newb
Newb

Joined: Fri Jul 04, 2003 9:43 pm
Posts: 1
Hello all,

Since I couldn't find a post that expressed the same request, well, here I go...
The idea is to make an entirely new, custom map and add it to the gameworld without replacing any of the original map with it. And then make the new map available via some teleporting means, such as a moongate, or teleporter gump of some sort. Just like how it works for Ilshenar or Malas.

I'm completely clueless about this. Is anybody able to help me out?

Thanks a lot.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 04, 2003 9:53 pm 
Offline
Heinous Monkey
Heinous Monkey

Joined: Sat Jun 14, 2003 2:28 pm
Posts: 157
Sorry to tell you this but it's impossible.

_________________
The fastest way to a woman's heart is through her ribcage.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 06, 2003 6:00 pm 
Offline
Not your daddy
Not your daddy

Joined: Mon Nov 18, 2002 2:18 am
Posts: 1224
Location: Oregon State
Galavorn wrote:
Sorry to tell you this but it's impossible.


How is that impossible? :?

It is completly possibly to add your own Map.. like, say, Map5.mul
the imposibility would be from not knowing how to script the Emulator to read it ;)

_________________
Forget what you know, know what you forget.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 06, 2003 7:08 pm 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
Getting the client to read it is another thing.

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 06, 2003 7:22 pm 
Offline
Heinous Monkey
Heinous Monkey

Joined: Sat Jun 14, 2003 2:28 pm
Posts: 157
Quote:
Getting the client to read it is another thing.


Exactly.

_________________
The fastest way to a woman's heart is through her ribcage.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 08, 2003 7:04 am 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
Well, technically speaking, it?s not entirely impossible. You could disassemble the client and change some lines of code, or you could write your own client. Both of those are extremely difficult and make such a thing very unpractical. :-P

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 09, 2003 5:54 pm 
Offline
Apprentice
Apprentice
User avatar

Joined: Mon May 05, 2003 10:29 am
Posts: 22
(I'm not sure if this would work.......so comments from anyone who knows would be appreciated.)

If you used the OSI map.......then added new areas to it to customize it.....would that work?....it seems that somewhere in this forum someone requested a .bmp of the OSI map.....(if you maybe leave the osi part, statics and such alone and just add from there?)

(if you want me to include a pic of what I mean, let me know and I will)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 09, 2003 9:54 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jun 02, 2002 8:01 pm
Posts: 1473
Location: CO, USA
Melody, yes that would work, but I think he was meaning in reference to adding more maps beside map0,2,3

As for adding land into the Brit map, it's actually pretty easy with MulTool.

-Ryandor


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 28, 2003 1:47 pm 
Offline
Young
Young

Joined: Fri Jun 28, 2002 1:51 pm
Posts: 15
Location: Denver, CO
Me and Ry had talked about this beofre but at this moment making your own map would be very hard.

I would sudguest that you just make your new map in replace of green acres or T2A


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 28, 2003 5:45 pm 
Offline
Heinous Monkey
Heinous Monkey

Joined: Sat Jun 14, 2003 2:28 pm
Posts: 157
Or Brittania.

_________________
The fastest way to a woman's heart is through her ribcage.


Top
 Profile  
 
 Post subject: User Maps
PostPosted: Tue Aug 31, 2004 6:28 pm 
If you're using RunUO, look in your "scripts" folder, and find the "misc" subfolder. In here you'll see a file called "MapDefinitions.cs", open this using notepad. This has a few lines about custom maps:

using System;
using Server;

namespace Server.Misc
{
public class MapDefinitions
{
public static void Configure()
{
/* Here we configure all maps. Some notes:
*
* 1) The first 32 maps are reserved for core use.
* 2) Map 0x7F is reserved for core use.
* 3) Map 0xFF is reserved for core use.
* 4) Changing or removing any predefined maps may cause server instability.
*/

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.TrammelRules );
RegisterMap( 3, 3, 3, 2560, 2048, 1, "Malas", MapRules.TrammelRules );

RegisterMap( 0x7F, 0x7F, 0x7F, Map.SectorSize, Map.SectorSize, 1, "Internal", MapRules.Internal );

/* Example of registering a custom map:
* RegisterMap( 32, 0, 0, 6144, 4096, 3, "Iceland", MapRules.FeluccaRules );
*
* Defined:
* RegisterMap( <index>, <mapID>, <fileIndex>, <width>, <height>, <season>, <name>, <rules> );
* - <index> : An unreserved unique index for this map
* - <mapID> : An identification number used in client communications. For any visible maps, this value must be from 0-3
* - <fileIndex> : A file identification number. For any visible maps, this value must be 0, 2, or 3
* - <width>, <height> : Size of the map (in tiles)
* - <name> : Reference name for the map, used in props gump, get/set commands, region loading, etc
* - <rules> : Rules and restrictions associated with the map. See documentation for details
*/
}

public static void RegisterMap( int mapIndex, int mapID, int fileIndex, int width, int height, int season, string name, MapRules rules )
{
Map newMap = new Map( mapID, mapIndex, fileIndex, width, height, season, name, rules );

Map.Maps[mapIndex] = newMap;
Map.AllMaps.Add( newMap );
}
}
}

I hope this helps. :D


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group