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-nmm7 (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-nmm7 (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-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
World Background Spawner
Author Message
Mordaunt
Super Moderator
****

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



Post: #15
RE: World Background Spawner
the sphere_types.scp file is in your scripts folder, however if when you originally installed sphere you also grabbed and installed the base script package that is listed alongside the download, then that file already contains those types as I submitted them for inclusion since they would benefit the server as a whole.

I have been trying to come up with a way to have the server spawn all the terrrain types as once without it having to loop over the map multiple times to do so, as I think that may be a little too much and cause the server to hang. However as of the last time I had a go at it it was unsuccessful.
So in order to spawn terrains with different gembit gaps, unfortunately, what you have to do is turn on the ones you want in the defs, turn off the others, set the gembit gap, save, resync, do the function and then repeat. A bit of a hassle yes, but still like a thousand times faster than having to go and spawn the world manually.

water ~200, forest & grass ~75, town & jungle ~50, sand, snow & swamp ~40, dirt ~30, GY 20

Those numbers are the gaps I came up with that seemed to work best (for me I must add) so if yuo were to follow them you would only have to tweak and run the function 6 times, assuming that you are spawning water.

[Image: 2nis46r.jpg]
01-26-2013 12:01 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
World Background Spawner - Mordaunt - 09-10-2012, 06:38 AM
RE: World Background Spawner - darksun84 - 09-11-2012, 03:00 AM
RE: World Background Spawner - Mordaunt - 09-28-2012, 12:31 PM
RE: World Background Spawner - Pollo - 10-31-2012, 10:53 PM
RE: World Background Spawner - Mordaunt - 11-01-2012, 02:19 AM
RE: World Background Spawner - Pollo - 11-01-2012, 05:25 AM
RE: World Background Spawner - Mordaunt - 11-04-2012, 08:25 AM
RE: World Background Spawner - Barnabus - 11-04-2012, 09:23 PM
RE: World Background Spawner - Mordaunt - 11-05-2012, 02:30 AM
RE: World Background Spawner - Mordaunt - 11-07-2012, 07:20 AM
RE: World Background Spawner - Mordaunt - 12-18-2012, 12:37 PM
RE: World Background Spawner - htid4life - 12-19-2012, 01:48 AM
RE: World Background Spawner - Mordaunt - 01-05-2013, 08:19 AM
RE: World Background Spawner - Mordaunt - 01-26-2013 12:01 AM
RE: World Background Spawner - Soulless - 03-02-2013, 11:11 PM
RE: World Background Spawner - Xan - 05-10-2013, 09:53 AM
RE: World Background Spawner - Mordaunt - 05-10-2013, 11:02 AM
RE: World Background Spawner - Xan - 05-10-2013, 12:38 PM
RE: World Background Spawner - Mordaunt - 05-10-2013, 08:55 PM
RE: World Background Spawner - Mordaunt - 08-24-2013, 05:51 AM
RE: World Background Spawner - Mordaunt - 08-24-2013, 09:02 AM
RE: World Background Spawner - Mordaunt - 09-21-2013, 11:33 AM
RE: World Background Spawner - Mordaunt - 09-30-2013, 09:56 AM
RE: World Background Spawner - Archaaz - 10-06-2013, 02:31 AM
RE: World Background Spawner - Mordaunt - 10-18-2013, 09:12 AM
RE: World Background Spawner - Mordaunt - 10-19-2013, 03:40 AM
RE: World Background Spawner - Mordaunt - 11-26-2013, 12:45 PM
RE: World Background Spawner - Mordaunt - 11-29-2013, 09:58 AM
RE: World Background Spawner - Mordaunt - 02-20-2014, 05:07 AM
RE: World Background Spawner - markap - 03-14-2014, 09:37 AM
RE: World Background Spawner - Mordaunt - 03-15-2014, 02:18 AM
RE: World Background Spawner - markap - 03-15-2014, 05:02 AM
RE: World Background Spawner - MARPATdroid - 03-15-2014, 12:32 PM
RE: World Background Spawner - Mordaunt - 03-15-2014, 05:41 PM

Forum Jump:


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