Jump to content
  • 0

About Shop Zones


Question

4 answers to this question

Recommended Posts

  • 0
Posted

if Im not wrong its easier to make no trade zone. Trade zone is everywhere else. You have to declare only no trade(store) zone where you dont want players to put their shops.

  • 0
Posted

if Im not wrong its easier to make no trade zone. Trade zone is everywhere else. You have to declare only no trade(store) zone where you dont want players to put their shops.

yes i know that,thanks man ,but i was asking if some1 knows how i have to set up the coordinates,they confuse me,i want the way to make a shop zone

  • 0
Posted

there is file game/data/zones/custom_no_store.xml

 

you simply add some lines with coords where you dont want trade stores

 

cuboid:

<zone name="Giran southern coridor" type="NoStoreZone" shape="Cuboid" minZ="-3550" maxZ="-3400">
      <node X="81435" Y="149530"/>
      <node X="81640" Y="152920"/>
</zone>

polygon: you simply go on coords on side of the no trade zone and by /loc you get coords x/y/z and you fill them instead of points here, in zones.xsd you can check how many points can be one polygon

<zone name="Antharas Boss" type="NoStoreZone" shape="NPoly" minZ="-8380" maxZ="-4880">
      <node X="173469" Y="110431"/>
      <node X="188081" Y="110284"/>
      <node X="188132" Y="119249"/>
      <node X="173386" Y="119391"/>
</zone>

last one is cylinder where you use middle point and radius

<zone name="Seed of Infinity AirShips dock" id="50600" type="ScriptZone" shape="Cylinder" minZ="-1000" maxZ="6200" rad="2900">
      <node X="-212855" Y="209819"/>
</zone>
  • 0
Posted

You got NPoly, Cuboid and Cylinder.

  • NPoly is a X sided polygon, you define nodes following clock system (3 minimum for a triangle).
  • Cuboid needs only 2 nodes, top left and bottom right to create a square form (cube or rectangle type).
  • Cylinder needs only a single node, and a radius parameter.

For both you must define the correct minZ and maxZ, corresponding to a 3D shape of your zone. Basically if it's a plain ground without mountain or hills, you do /loc and define the Z - 100 / +100 for those values. If the ground is shaped, you have to take measure on lowest/highest position.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...