Creating Guarded Areas

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
User avatar
Ordos
Neophyte Poster
Posts: 33
Joined: Sat Feb 28, 2009 7:20 am

Creating Guarded Areas

Post by Ordos »

POL093

I'm sure I figured this out long ago, but which file/s specify which areas have guarded protection? I want to enter my own custom area.

Thanks in advance.
User avatar
Ordos
Neophyte Poster
Posts: 33
Joined: Sat Feb 28, 2009 7:20 am

Re: Creating Guarded Areas

Post by Ordos »

Hmm :/ I had thought this was an easy one. I don't know why I can't get it to work.

Also if there's a way to create no damage zones too, that'd be very helpful. Thanks in advance.
User avatar
Ordos
Neophyte Poster
Posts: 33
Joined: Sat Feb 28, 2009 7:20 am

Re: Creating Guarded Areas

Post by Ordos »

Doesn't seem to make sense that you can specify, in regions.cfg, whether you want an area to be guarded... but it makes no change in-game.
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm

Re: Creating Guarded Areas

Post by *Edwards »

Look for AreaSystem in custom script releases. There is a package that tells everything you need to know.
User avatar
Ordos
Neophyte Poster
Posts: 33
Joined: Sat Feb 28, 2009 7:20 am

Re: Creating Guarded Areas

Post by Ordos »

Thx for your reply Edwards :)

Just for posterity, this is how I managed to implement guards in pol093:

Edit all 3 and re-compile:
D:\ZH Factions\scripts\include\areas.inc
D:\ZH Factions\pkg\opt\areas\areas.cfg
D:\ZH Factions\config\guardedareas.cfg

(Only edit the first set of areas within scripts\include\areas.inc)

Overwrite a static town or area with the player town, then specify in-game using .guardedareas.
Post Reply