SphereCommunity
MAP question - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: MAP question (/Thread-MAP-question)



MAP question - rastrero - 09-18-2016 12:44 PM

Just one question.

is possible to replace ilshenars map for a map 896x512 same size as trammel?


RE: MAP question - darksun84 - 09-19-2016 05:58 PM

You should be able to add "virtual maps":

- 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