![]() |
Region Resources ? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Region Resources ? (/Thread-Region-Resources) |
Region Resources ? - Kyrbis - 04-07-2012 02:15 AM 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 ![]() 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? RE: Region Resources ? - Avatar - 04-07-2012 04:40 AM 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. RE: Region Resources ? - Kyrbis - 04-07-2012 09:20 AM I did that , but it doesn't work ![]() 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_grass FLAGS= GROUP=Other Dungeons P=5230,1963,0,0 RECT=5194,1942,5266,1984,0 RE: Region Resources ? - WRWR - 04-07-2012 09:01 PM You can dig only on cave floor or boulders with type=t_rock anywhere in the world RE: Region Resources ? - darksun84 - 04-08-2012 12:11 AM 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 RE: Region Resources ? - Kyrbis - 04-08-2012 08:50 AM that worked, thanks ![]() |