[How to]Create custom Arena

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
METALLAS
Posts: 19
Joined: Thu Dec 27, 2007 9:22 am

[How to]Create custom Arena

Post by METALLAS »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Good afternoon guys,
I would like to create an custom arena in my server almost done it but i face some problems.
Could you please tell me how can i create one?What i must follow///
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: [How to]Create custom Arena

Post by jurchiks »

what do you mean - custom arena?
custom "ffa pvp" zone without pk/exp loss? just copy some lines from zones.xml, change the coordinates and that's it.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
skyshadow
Posts: 34
Joined: Sun Jan 14, 2007 7:13 pm
Location: Argentina

Re: [How to]Create custom Arena

Post by skyshadow »

If you want a normal Pvp arena, just look at the zone.xml file.

Grab any arena like this one:

<zone id="10009" type="Arena" shape="NPoly" minZ="-3752" maxZ="-3352"> <!-- [17_22] gludin_pvp -->
<stat name="name" val="Gludin Arena" />
<spawn X="-86979" Y="142402" Z="-3643" />
</zone>

Create one id, set the min max Z, name, and the spawn location for when they die.

Then create the points of the arena in the zone_vertices.sql, and put the ID that you used in zone.xml

Now, if you want a arena with custom properties or for an event, create a new zone type, in model.zone.type, just look at the other zones to give yourself an idea. And then add it in instancemanager.ZoneManager.
The create that zone in zone.xml and vertices.sql
Synerge
METALLAS
Posts: 19
Joined: Thu Dec 27, 2007 9:22 am

Re: [How to]Create custom Arena

Post by METALLAS »

skyshadow wrote:If you want a normal Pvp arena, just look at the zone.xml file.

Grab any arena like this one:

<zone id="10009" type="Arena" shape="NPoly" minZ="-3752" maxZ="-3352"> <!-- [17_22] gludin_pvp -->
<stat name="name" val="Gludin Arena" />
<spawn X="-86979" Y="142402" Z="-3643" />
</zone>

Create one id, set the min max Z, name, and the spawn location for when they die.

Then create the points of the arena in the zone_vertices.sql, and put the ID that you used in zone.xml

Now, if you want a arena with custom properties or for an event, create a new zone type, in model.zone.type, just look at the other zones to give yourself an idea. And then add it in instancemanager.ZoneManager.
The create that zone in zone.xml and vertices.sql
which is the proper form to create the points?I mean what i should watch out?
Post Reply