Jump to content
WoWBB.org

How To Make a zone like a pvp zone..??


Chyssler

Recommended Posts

Hello i would like to know a core edit  where you can make a zone like a pvp zone... 

 

 

since i know how to make a zone like Sanctuary, why not make a zone in the opposite way???... is their a way of doing it...

 

ik you have to change in player.cpp to change a zone to sanctuary.... but how do i make it opposite?

 

 

the way i want it work is whenever you teleport to this zone, you will get PVP FLAGGED automaticly..

Link to comment
Share on other sites

First of all you need a DBC editor, otherwise this wont work.

Download this DBC editor.

Dear guest, please login or register to see this content.

--------------------------------------------------------------------------

Next. Is to open the DBC Editor. Click on "File" then "Open".

Find your Trinity/Arcemu/Mangos map and go into DBC.

Dear guest, please login or register to see this content.

Next. Open AreaTable.dbc, find your zone you want to change to a Sanctuary/FFA/Duel zone.

QcuHkSN.png

Next. look for Field4, change the dubble click on the numbers.

c9Zhge7.png

And change it to any of those.

REMEMBER TO SAVE AFTER.

 

19496 - Full Sanctuary. NO DUELS NO PVP FLAGGING.
19456 - Disables PvP Flagging, Allowed Dueling.
17536 - makes the area full-blown FFA PvP. (Like gurubashi arena)
64 - Normal flag, can duel,can flag, This is just the Normal contested area Flag.
 
Now restart/start the server and Teleport to the Zone you changed.
 

Then your Done!

Hope this helped you.

 

Edit: There is also this C++ way:

First off, this isn't really something that everybody has a use for, but if you do it can be quite nice.

Basically this is a script you apply to an NPC and you can create a custom sanctuary anywhere you like or even a PvP zone if you change two lines.
All you need to do is define a series of X and Y coordinates at the top of the script and then define how many points you added.

Place the npc in the area you would like and let the fun begin.

A couple notes

  • The first and last points of the area MUST be the same. You are essentially "connecting" the shape.
  • The variable n is to be set to however points you added - 1. The example script has 5 points, so n is 4.
  • To change from a sanctuary to a pvp zone, simply reverse the values in the SetPvP functions.


Link:

Dear guest, please login or register to see this content.

  • Upvote 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...