Ryandor.com https://ryandor.com/forum/ |
|
Adding supplementary maps to a world? https://ryandor.com/forum/viewtopic.php?f=2&t=789 |
Page 1 of 1 |
Author: | Brendan [ Fri Jul 04, 2003 9:48 pm ] |
Post subject: | Adding supplementary maps to a world? |
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. |
Author: | Galavorn [ Fri Jul 04, 2003 9:53 pm ] |
Post subject: | |
Sorry to tell you this but it's impossible. |
Author: | Dian [ Sun Jul 06, 2003 6:00 pm ] |
Post subject: | |
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 ![]() |
Author: | Sydius [ Sun Jul 06, 2003 7:08 pm ] |
Post subject: | |
Getting the client to read it is another thing. |
Author: | Galavorn [ Sun Jul 06, 2003 7:22 pm ] |
Post subject: | |
Quote: Getting the client to read it is another thing.
Exactly. |
Author: | Sydius [ Tue Jul 08, 2003 7:04 am ] |
Post subject: | |
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. ![]() |
Author: | Melody J. [ Wed Jul 09, 2003 5:54 pm ] |
Post subject: | |
(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) |
Author: | Ryandor [ Wed Jul 09, 2003 9:54 pm ] |
Post subject: | |
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 |
Author: | Delerious [ Mon Jul 28, 2003 1:47 pm ] |
Post subject: | |
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 |
Author: | Galavorn [ Mon Jul 28, 2003 5:45 pm ] |
Post subject: | |
Or Brittania. |
Author: | Didymus [ Tue Aug 31, 2004 6:28 pm ] |
Post subject: | User Maps |
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. ![]() |
Page 1 of 1 | All times are UTC - 7 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |