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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Area/Room Help Creation
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #3
RE: Area/Room Help Creation
(08-24-2012 04:30 AM)Skul Wrote:  Excellent script! Just 1 suggestion - maybe have EVENTS=xx written as an <ARGTXT[x]> too? Considering that dungeons and cities and forest areas can differ by events. (Different region types, region resources, certain region events for cities, camps and dungeons) Have it plugged in right under where you listed Name for the area/room def.
Of course Skul, but setting events in the gump is too boring.
PHP Code:
WRITEFILE maps/<TAG.CREATEMAP.DEFNAME>.scp EVENTS=r_default,r_default_rock,r_default_water,r_default_tree,r_default_grass 
This is setting the default events in the AREADEFS only.
I think is better set the events in hand because if you need remove or change something, in gump you will need erase all string to get where you want to change.

Another thing, it create separated files, so is very easy to change something.
I really love it, I did the map areas/rooms of the map that I'm talking in about 2 hours... its like 160 areas/rooms so I did it very quickly with this script.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-24-2012 04:38 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Area/Room Help Creation - Extreme - 08-24-2012, 03:00 AM
RE: Area/Room Help Creation - Skul - 08-24-2012, 04:30 AM
RE: Area/Room Help Creation - Extreme - 08-24-2012 04:38 AM
RE: Area/Room Help Creation - WRWR - 08-24-2012, 05:09 AM
RE: Area/Room Help Creation - Skul - 08-24-2012, 05:19 AM
RE: Area/Room Help Creation - Extreme - 08-24-2012, 05:27 AM
RE: Area/Room Help Creation - Extreme - 08-24-2012, 06:44 AM
RE: Area/Room Help Creation - Extreme - 08-24-2012, 11:33 AM
RE: Area/Room Help Creation - Valios - 08-25-2012, 03:42 AM
RE: Area/Room Help Creation - Extreme - 08-25-2012, 04:00 AM
RE: Area/Room Help Creation - ShiryuX - 08-25-2012, 01:38 PM
RE: Area/Room Help Creation - Mordaunt - 08-28-2012, 08:42 AM
RE: Area/Room Help Creation - darksun84 - 08-28-2012, 09:25 PM
RE: Area/Room Help Creation - Extreme - 05-20-2013, 01:24 AM
RE: Area/Room Help Creation - jexnico - 02-10-2018, 02:08 PM
RE: Area/Room Help Creation - artha0 - 03-14-2021, 05:37 PM

Forum Jump:


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