Lionar

Member
Hello everyone!
I'm trying to configure the regions of a custom map from 0. I found some interesting editors here in the forum but honestly I'm not comfortable using them.
So I started working with Region.Xml taking the coordinates from UoFiddler or from the game itself. But now I have some questions. I understand that there are different types of Region (and on this there are no doubts) and are formed by some rectangles but exactly how to set start and end of this?
for example I see:

Code:
<region type="TownRegion" priority="50" name="Britain">
            <rect x="1416" y="1498" width="324" height="279" zmin="-10" />
            <rect x="1500" y="1408" width="46" height="90" />
            <rect x="1385" y="1538" width="31" height="239" zmin="-10" />
            <rect x="1416" y="1777" width="324" height="60" />
            <rect x="1385" y="1777" width="31" height="130" />
            <rect x="1093" y="1538" width="292" height="369" />
            <go x="1495" y="1629" z="10" />
            <music name="Britain1" />
            <zrange min="0" />

And here are my questions;
1)how should i correcly create a rectangle?
2)what is the line "go x =" 1495 "y =" 1629 "z =" 10 "?
3)What are "width" and "height" exactly? how should i set up these?
4)How do I set a sub-region? Do I have to work with "priority"? if I create another region inside it and I put it in priority 60, does that mean that when I enter that rectangle, the "60 region" will overwhelm that of 50?


Thank you for the time you spent reading this.
 
Hello everyone!
I'm trying to configure the regions of a custom map from 0. I found some interesting editors here in the forum but honestly I'm not comfortable using them.
So I started working with Region.Xml taking the coordinates from UoFiddler or from the game itself. But now I have some questions. I understand that there are different types of Region (and on this there are no doubts) and are formed by some rectangles but exactly how to set start and end of this?
for example I see:

Code:
<region type="TownRegion" priority="50" name="Britain">
            <rect x="1416" y="1498" width="324" height="279" zmin="-10" />
            <rect x="1500" y="1408" width="46" height="90" />
            <rect x="1385" y="1538" width="31" height="239" zmin="-10" />
            <rect x="1416" y="1777" width="324" height="60" />
            <rect x="1385" y="1777" width="31" height="130" />
            <rect x="1093" y="1538" width="292" height="369" />
            <go x="1495" y="1629" z="10" />
            <music name="Britain1" /> 
            <zrange min="0" />

And here are my questions;
1)how should i correcly create a rectangle?
2)what is the line "go x =" 1495 "y =" 1629 "z =" 10 "?
3)What are "width" and "height" exactly? how should i set up these?
4)How do I set a sub-region? Do I have to work with "priority"? if I create another region inside it and I put it in priority 60, does that mean that when I enter that rectangle, the "60 region" will overwhelm that of 50?


Thank you for the time you spent reading this.
the x= and y= are the northwest corner of your region. so using the first one of x= 1416 and y=1498 you are northwest of Britain then width 324 draws a line directly northeast making the top of the region or x line, then height 279 draws another line from that point down or southeast. if you use the [go command to [go 1416 1498 then the inc [inc x 324 on yourself then [inc y 279 you can see the first set of boundaries that make up the Britain region. the go location is where it takes you if you use the command [go Britain it is in front of the inn. I cannot help you with the other questions but i hope this was at least some help.
 
Note that if you are using a completely custom map you may have to experiment with the z axis though. the ones in the Regions.xml may not be the same as the one on your custom map. Using the ones from Regions.xml and if you teleport there you could end up underground or way up in the air.
 
is there a command for taking all Regions out? like with the Clearfacet commands to get ride of garbage?
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back