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
Region Resources ?
Author Message
Kyrbis
Journeyman
*

Posts: 54
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #1
Region Resources ?
Hey there. I wanted to edit a dungeon cave to become a mineable region, figured out which rectangle it was in and made my modifications, but still its not possible to mine in there Sad

The region has the same flags and settings as another cave where mining is possible.
Do i have to make changes anywhere else than in map0.scp?
04-07-2012 02:15 AM
Find all posts by this user Like Post Quote this message in a reply
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #2
RE: Region Resources ?
Have you put terrain types in map0.scp ? I mean resources.

Like ;

[areadef a_star]
REOURCES==r_default_rock, r_default_water, r_default_tree

You should classify which resources you use in which area.

Then, if you do that, you are done , no need something else.
(This post was last modified: 04-07-2012 04:41 AM by Avatar.)
04-07-2012 04:40 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Kyrbis
Journeyman
*

Posts: 54
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #3
RE: Region Resources ?
I did that , but it doesn't work Sad

This is what i've modified:


[AREADEF a_dungeon_7]
EVENTS=r_default,r_default_rock,r_default_water,r_default_tree,r_default_grass
NAME=Moonglow Mine
RESOURCES=r_default,r_default_rock,r_default_water,r_default_tree,r_default_gras​s
FLAGS=
GROUP=Other Dungeons
P=5230,1963,0,0
RECT=5194,1942,5266,1984,0
04-07-2012 09:20 AM
Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #4
RE: Region Resources ?
You can dig only on cave floor or boulders with type=t_rock anywhere in the world
(This post was last modified: 04-07-2012 09:01 PM by WRWR.)
04-07-2012 09:01 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Region Resources ?
maybe you can add the terrain tile id you are interested to dig, under the typedef t_rock's section in the sphere_types.scp
04-08-2012 12:11 AM
Find all posts by this user Like Post Quote this message in a reply
Kyrbis
Journeyman
*

Posts: 54
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #6
RE: Region Resources ?
that worked, thanks Smile
04-08-2012 08:50 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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