Armorzones - can we define new ones?

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Armorzones - can we define new ones?

Post by Yukiko »

Will POL allow new armorzones to be defined as long as they match to a layer. I was noticing that shoes cover both feet and legs even though they might not be boots. In armorzones.cfg feet and legs are defined as one zone. Could I split those into two zones since there is a separate layer for feet and two layers defined for legs?
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Re: Armorzones - can we define new ones?

Post by CWO »

Haven't tried it myself but looking over the armrzone.cfg/combat pseudocode, I don't see why it won't work. As long as your percentages equal 100% and you use the layers properly.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Re: Armorzones - can we define new ones?

Post by Austin »

Yukiko wrote:Will POL allow new armorzones to be defined as long as they match to a layer. I was noticing that shoes cover both feet and legs even though they might not be boots. In armorzones.cfg feet and legs are defined as one zone. Could I split those into two zones since there is a separate layer for feet and two layers defined for legs?
Yes you can make as many armor zones as you want. You will want to have the chance totals for all elements equal 100% (or itll be unpredictable)
Then those zones just tie into the layer entries in an itemdesc.cfg file.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Re: Armorzones - can we define new ones?

Post by Yukiko »

Thanks Austin.
I found that POL didn't complain when I added the changes but I wasn't sure if things would work correctly. I figured the "chances" had to add to 100 since they're percents but it's always good to be reminded.

I'm curious about why feet and legs were combined and not split up as two zones. Any thoughts on that?
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Re: Armorzones - can we define new ones?

Post by Austin »

I did that in the distro set up.

I looked at what items covered legs, and what items covered feet. The only thing that would only cover feet was shoes.
Because independently they were such small, insignificant zones; I combined them.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Re: Armorzones - can we define new ones?

Post by Yukiko »

Makes sense.

Thanks Austin.
Post Reply