Oblivion Mod:Mod File Format/PGRD

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

A PGRD record defines the path grid for a CELL.

Subrecord Type Info
DATA short Number of nodes
PGRP array Node definitions. Each array entry is 16 bytes.
X-coordinate (float)
Y-coordinate (float)
Z-coordinate (float)
Flags (ubyte)
Filler (3 bytes)
PGAG  ?
PGRR array Node connections within the current cell. Each array entry is 4 bytes.
Start node number (short)
End node number (short)
PGRI array Node connections to other cells. Each array entry is 16 bytes.
Local node number (long)
X-coordinate of foreign node (float)
Y-coordinate of foreign node (float)
Z-coordinate of foreign node (float)
PGRL struct Linked path points. There is a PGRL subrecord for each linked object.
Linked object form ID (formid)
One or more node numbers (long) that are linked to the object