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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






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
Post Reply 


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

Forum Jump:


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