I've actually done this once when I was just started learn source coding
of course over time I've become better, but decided use this 'cell_pvp' name because of popular search result ...
this isn't setcell type modification, but a script/at command that can only set only in a square/rectangle shape
this modification has some resemblance based on this patch
Download: 1.7
plugin
this should work just like in this video
- script jdhsjkfh FAKE_NPC,{
OnInit:
cell_pvp "prontera", 150, 180, 160, 190, CELL_PVP_RESPAWN_DISABLE, CELL_PVP_SKILL_ALLOW, CELL_PVP_BONEDROP_NONE;
end;
}
Create a PvP zone using script command,
*cell_pvp "<mapname>", <x1>, <y1>, <x2>, <y2>, <respawn>, <skillallow>, <bonedrop>; <respawn> flag are:
CELL_PVP_RESPAWN_DISABLE
CELL_PVP_RESPAWN_INSTANT
CELL_PVP_RESPAWN_NORMAL
<skillallow> : disallow skill usage outside pvp zone. This will disallow receiving buffs from players outside PvP Zone
CELL_PVP_SKILL_DISALLOW
CELL_PVP_SKILL_ALLOW
<bonedrop> : drop player's name bone inside pvp zone when dead.
-> This will always overwrite the `battle_config.bone_drop` value from conf\map\battle\player.conf
CELL_PVP_BONEDROP_NONE
CELL_PVP_BONEDROP_ALWAYS
GM can also create a PvP zone on the map
@cell_pvp 150 180 160 190 1 0 0
create a specific pvp zone on the map, with instant respawn and disallow skill outside PvP zone
use `@pvpoff` or script command `*pvpoff` to turn off the pvp zone
after version 1.2 the weird bug has been fix, now you can let your players create a simple pvp zone in guild house or player's custom house by using `*cell_pvp` script command
enable by using `*cell_pvp` script command, disable by `*pvpoff` ... rinse and repeat
Remember as a GM you can enable the MF_PVP_NOPARTY and MF_PVP_NOGUILD mapflag by
@mapflag pvp_noparty 1
@mapflag pvp_noguild 1