Map Zone problems

daim

New member
Messages
130
Points
0
Hi there, Issit posttible to have this setup of zone?

for example i have 2 zone PVP TYPE.

Type 1: PVP with potions enabled

Type 2: PVP with potions disabled

with current zone system, PVP map automaticaly using PVP ZONE settings, which mean we cant set 2 version of pvp types, all pvp map will automatically will be using PvP zone settings. Issit possle to setup pvp zone + nofood zone?

Thanks

 
hi there here how i do

{ /* PvP zone is applied to all maps with a pvp mapflag */ name: "PvP" /* changing this name requires MAP_ZONE_PVP_NAME to also be changed in src/map/map.h file */ disabled_skills: { BS_GREED: "PLAYER" CG_HERMODE: "PLAYER" //HERMAN MC_VENDING: "PLAYER" } disabled_items: { Greed_Scroll: true } mapflags: ( "nocashshop", ) disabled_commands: { //Example Below makes @heal be used in maps within this zone only by those group lv 70 and above go: 100 } },{ name: "nogoditem" disabled_skills: { BS_GREED: "PLAYER" CG_HERMODE: "PLAYER" //HERMAN MC_VENDING: "PLAYER" } disabled_items: { Greed_Scroll: true Mjolnir: true ID2629: true ID2541: true ID2410: true ID12740: true } mapflags: ( "nocashshop", //"pvp", //"pvp_noparty", )disabled_commands: { //Example Below makes @heal be used in maps within this zone only by those group lv 70 and above go: 100 } },

and this is my mapflag

guild_vs2 mapflag zone nogoditemguild_vs2 mapflag pvp_nopartyguild_vs2 mapflag pvp

i have to add pvp maflag to allow pvp on. But with this mapflag the zone cannot combine with nogoditem + pvp zone, it will be just PVP zone.

if i remove the mapflag pvp, and then warp to map and type @pvpon then only it can be nogoditem + pvp zone.

Any idea how to make it work?

 
Last edited by a moderator:
Try add inherit below -> name: "nogoditem"

Code:
	name: "nogoditem"+	inherit: ( "PvP" )
 
Try add inherit below -> name: "nogoditem"

name: "nogoditem"+ inherit: ( "PvP" )
not work sir, it only load nogoditem zone, PvP zone not inherit altought i add that inherit lebel. My findings is PvP zone cant be combined with other zone. Altough we added pvp mapflag on mapflags section on zone in map_zone_db.txt it automatically remove the original zone and make the specified map as PvP zone.

 
Last edited by a moderator:
Back
Top