How to define Sectors
Sectors are defined in the SectorsTable
In Unreal Engine we use this table also to define two additional important properties:
- sect_coords
- priority
sect_coords field can contain:
- a set of coordinates like this: 127000,-381000,254000,-254000 representing the top-left and bottom-right corners of the square defining the sector
- OR the word "usespline"
When there are just coordinates the sector will be defined as a square within the given coordinates and will occupy the FULL vertical space (Z axis)
When there is a "usespline" keyword, then the engine will look into the Persistent Level (Yliakum) searching for a spline object named as the sector.name and use the polygon defined by that spline as the boundaries of the sector.