TheDeviantMind
Apprentice
Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2012
Reputation: 0
|
(Solved) Multiple MAPPLANES/Facets
So, first of all, it's been awhile. I've been away from the SPHERE community for a good 5 or 6 years and alot has changed in that time with both SPHERE and Ultima Online. I'm going to have aloooooot of questions But just one for now:
My goal is to have dungeons instanced. For each dungeon I'd like players to have the option to enter a public instance or a private instance. I think I remember being able to do this back in 55i by sending a player to one of 256 different MAPPLANES (.GO 5211 1747 0 17) That seems to no longer work. Atleast not the way I was hoping. Apparently MAPPLANES 0-5 correspond to the Map# files in the UO directory and everything above 5 defaults to MAPPLANE 0. So I did some reading on the forums and revisions, didn't find anything helpful, except that MAPPLANE was changed to MAP some time back. But I checked the SphereWiki and saw this under the Sphere.ini section:
MAPx=max_x,max_y,sector_size,real_map_number.
For example: MAP1=7168,4096,512,-1
will change map 1 size to 7168,4096, the sector sizes of map 1 to 512 tiles and the -1 means it'll call the default mul file for that map.
Another example:
MAP50=7168,4096,64,3
Will activate a map number 50 that has 7168,4096 as size, 64 as sector size and loads map3.mul, statics3.mul and staidx3.mul as it's map file
So I tried this in Sphere.ini
Map0=7168,4096,-1,-1
Map1=7168,4096,-1,-1
MAP2=2304,1600,32,2
MAP3=2560,2048,32,3
MAP4=1448,1448,8,4
MAP5=1280,4096,32,5
MAP6=7168,4096,64,0
Still doesn't work. When trying to go to MAP 6 the client crashes with the error Unknown facet 6 Not sure what I'm doing wrong or if it's even possible to acheive what I'm going for with 56b at the moment. Any suggestions?
|
|
08-06-2012 03:36 AM |
|
|
Extreme
Grandmaster Poster
Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20
SphereCommunity
|
RE: (Solved) Multiple MAPPLANES/Facets
I know that you solved your question but I was reading the revisions for sector functions and found this:
Code:
08-01-05, Vjaka
- Added support for virtual maps. Now map numbers 0..255 are supported by the
server.
- Map dimensions are now customizable in INI-file using by the following cmd:
MAPx=max_x,max_y,sector_size,real_map_number.
Here x - the map number for ingame useage (4rd coordinate of the coordinate).
max_x - maximal X coordinate of the map (should be multiply of 8).
max_y - maximal Y coordinate of the map (should be multiply of 8).
sector_size - the sector size (you can play with this if you experience lags
decreasing this value (should be multiply of 8 and both max_x and max_y).
real_map_numer - number used by map files (like: 0 for map0, statics0).
You can also change some attribute of the current map not redefining all
values, skipping the ones you wish to be as default putting 0 instead (for
real map number -1). For example, decreasing sector size for map 0 to 16
from default value of 64 will look in INI file thus: "MAP0=0,0,16,-1".
Please note, that no changes are applied when server is already started.
- Default map numbering has been changed (you can ovverride it easily by MAPx
setting in sphere.ini). Now 0 = map0, 1 = map0, 2 = map2, 3 = map3, 4 = map4.
STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
|
|
08-17-2012 11:17 AM |
|
|