View Single Post
Old 01.06.2007, 23:43   #5
Asteroid
Архивный участник
 
Join Date: Jan 2006
Posts: 33
Default

If your NPC does not move - yes, just some 50*50 units. If it does move (mob) - make it as large as you need.
Zmax, Zmin should include needed geodata cells at your region (same for all vertices defining your polygon). That is:
- let geo have Z values at some point: (-3000), (-2000), (-1000)
- and you want to define NPC at Z (-2000)
- so your Zmin,max could be (-2300, -1700) or anywhere near, so that they included (-2000).
Most important constraint: the polygon you define for a territory must be convex. Draw it on a piece of paper if you can't imagine. AFAIK, point order (clockwise or counter-clockwise) does not matter, but they must define a convex poly without self-intersections.
Asteroid is offline