SphereCommunity
[Tutorial]Adding "virtual" map planes - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: General Discussion (/Forum-General-Discussion)
+--- Forum: Documentation/Tutorials (/Forum-Documentation-Tutorials)
+--- Thread: [Tutorial]Adding "virtual" map planes (/Thread-Tutorial-Adding-virtual-map-planes)



[Tutorial]Adding "virtual" map planes - Mordaunt - 10-06-2013 05:17 AM

was hunting for this, thought it was in tutorials and it wasn't... so now it is so it can be found easier

In sphere.ini

Code:
//Instanced maps
MAP10=6144,4096,64,0,0
MAP11=6144,4096,64,0,0
MAP12=6144,4096,64,0,0

This will create extra maps based on mapplane 0
(if you want different maps then your final 2 numbers should match those of the map you want to use 2,2 3,3 e.t.c.)

Then copy spheremap0.scp and wipe it so it looks like this: (or the file for which ever map you are using)

Code:
[AREADEF a_world_10]
EVENTS=r_default,r_default_rock,r_default_water,r_default_tree,r_default_grass
NAME=Instance
GROUP=ALLMAP
P=1323,1624,55,10
RECT=0,0,7168,4096,10

Note the area name change and the map plane change in the co-ordinates, create one for each extra map you are doing.

Then, in spheretables.scp
Code:
scripts/maps/sphere_map10.scp
scripts/maps/sphere_map11.scp
scripts/maps/sphere_map12.scp

Add each map to the [RESOURCES] section so it will load.
Reboot your server, and you are done

Original thread


RE: [Tutorial]Adding "virtual" map planes - Rattlehead - 10-06-2013 08:47 AM

awesome, was thinking about this just the other day, had a convo about it a long time ago with someone way before it was implemented, read something in the revisions about it not too long ago but details were vauge, thx man.


RE: [Tutorial]Adding "virtual" map planes - Anarch Cassius - 10-06-2013 12:48 PM

Someday I'm gonna re-do map1 for the missing Ultima worlds since we can always use this to make "facets".

[attachment=196]

Frankly I hated that storyline/mechanic but the idea of having multiple "shards" on a shard is interesting (though probably a bad idea for CPU, dreamgates are technically programmable if you have some kind of SQL drop box)

Edit: Since I'm putting up my server again this weekend. Free totally cosmetic reward to anybody who wants to play on it and can name each world depicted in that image. Compete for your sash of knowledge Smile