SphereCommunity
MAPx definition - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: MAPx definition (/Thread-MAPx-definition)



MAPx definition - Rizz - 06-11-2015 08:32 PM

Reading the changelog I saw you changed.

My settings:

PHP Code:
// To activate ML-sized map #0 uncomment the next line (don't forget to uncomment
// sphere_map0_ml.scp and sphere_map_points0_ml.scp in spheretables.scp if you want
// to use the default areas)
Map0=7168,4096,-1,-1

// To activate ML-sized map #1 uncomment the next line
Map1=7168,4096,-1,-1

MAP2
=2304,1600,32,2,2
MAP3
=2560,2048,32,3,3
MAP4
=1448,1448,8,4,4
MAP5
=1280,4096,64,5,5

// To enable the use of MapDif*.mul and StaDif*.mul files, set this to 1.
UseMapDiffs=

The new settings found:

PHP Code:
// ***WARNING***
// These Map settings are required for a map to be enabled as of revision 1834.
// MAP0 is automatically loaded even if not present here as of revision 1836.
// Disabling one of theses map settings on a live shard will cause it to wipe that map from the saves.
// Remember to comment/uncomment associated sphere_mapX and .scp and sphere_map_pointsX.scp in spheretables.scp

// Map of Felucca
//Map0=6144,4096,-1,-1    //Old size
Map0=7168,4096,-1,-1    //ML size

// Map of Trammel
//Map1=6144,4096,-1,-1    //Old size
Map1=7168,4096,-1,-1    //ML size

// Map of Ilshenar
Map2=2304,1600,-1,-1

// Map of Malas
Map3=2560,2048,-1,-1

// Map of Tokuno Islands
Map4=1448,1448,-1,-1

// Map of Ter Mur
Map5=1280,4096,-1,-1

// To enable th 

What should I modify??


RE: MAPx definition - Coruja - 06-12-2015 04:06 AM

both does the same thing, the only difference is the number of sectors per map

using -1 will make sphere use the default internal value (which I cant remember, but maybe most -or all- maps have sector size of 64x64). And using any other value > 0 will make sphere use this value instead the internal value