Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Overlapping Regions?
Author Message
Hustensaft
Apprentice
*

Posts: 24
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2013
Reputation: 0



Post: #1
Overlapping Regions?
Hiho,

as my Map gets closer to its final state, i have to deal with the regions. I think, it would be the easieest way to make some Regions for Weather an Ressources and some Regions for the Towns ans Villages. But the question is, can Regions overlap, or will there be Problems with this?

So if i have a Region "Really_Cold_North" [from Piont 0,0 to Point 500,500] and inside this Region is the Village "Frozen Bottom" [from Point 200,200 to Point 300,300], can i just use the Square 0,0 to 500,500 in the Weather Region, or do i have to split it in Squares around the Village?
Inside the Village some things will have to be different, it is a guarded nondecay zone, which the Weather Region is not.
06-12-2013 04:17 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

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



Post: #2
RE: Overlapping Regions?
Yes they can and no there should be no issues. Regions overlap and contain other regions by default, just ensure that events controlling weather modify your weather events in a consistent manner and you will be fine.

[Image: 2nis46r.jpg]
06-12-2013 05:33 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Hustensaft
Apprentice
*

Posts: 24
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2013
Reputation: 0



Post: #3
RE: Overlapping Regions?
Ah, good. It is like Boxes, i guess? I mean, if I say, there is a Reagin "Map" and inside this Region, there is a region "Town". In the "Map" region, players can cast spells, but not mine for ore. Music played there will be "Minoc". In the "Town" region, players can't mine ore, but can cast spells. Music playerd there will be "Vesper". What rules the box?
06-14-2013 02:23 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #4
RE: Overlapping Regions?
If i remember well the inner region will "inherit" the Flags of the external region !

Just look at sphere_map1 , the region world_map1 has FLAGS=region_flag_safe

That means that every region inside the world has that flag too(in fact you can't harm nothing everywhere)
(This post was last modified: 06-14-2013 06:48 PM by darksun84.)
06-14-2013 06:43 PM
Find all posts by this user Like Post Quote this message in a reply
Hustensaft
Apprentice
*

Posts: 24
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2013
Reputation: 0



Post: #5
RE: Overlapping Regions?
Ah, good Smile

Now i am "a little bit" confused with the SFX played in the Regions.

In the original script i found

Code:
ON=@REGPERIODIC
    src.SFX={0a,1,0b,1}

and guessed, it meant "play randomly 0a or 0b with equal chances".

So i took the sounds i wanted for my area and came up with

Code:
ON=@REGPERIODIC
    SRC.SFX={01d2,1,00,1,01,1,02,1,03,1,04,1,05,1}

but it seems like i guessed wrong, the first sfx in the list is played, no other. It's a little bit boring, hearing the same gust of wind all over the time Sad
06-17-2013 07:15 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)