The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial]Adding "virtual" map planes
Author Message
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #1
[Tutorial]Adding "virtual" map planes
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

[Image: 2nis46r.jpg]
(This post was last modified: 10-06-2013 08:59 AM by Mordaunt.)
10-06-2013 05:17 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #2
RE: [Tutorial]Adding "virtual" map planes
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.

[Image: matts_siggy.gif]
10-06-2013 08:47 AM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #3
RE: [Tutorial]Adding "virtual" map planes
Someday I'm gonna re-do map1 for the missing Ultima worlds since we can always use this to make "facets".

   

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

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
(This post was last modified: 10-06-2013 12:50 PM by Anarch Cassius.)
10-06-2013 12:48 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)