Talk:PTS
Jump to navigation
Jump to search
Someone please fix this (don't have time at the moment). A portal (.prt) file is not used to find leaks, it is simply a list of the portals in your .bsp. Its a simple ASCII file and its format is as follows (off the top of my head - added support for this format to Craft the other day):
PRT1 <Leaf Count> <Portal Count> <Vertex Count> <Leaf A> <Leaf B> (X Y Z) (X Y Z) (X Y Z) (X Y Z)... <Vertex Count> <Leaf A> <Leaf B> (X Y Z) (X Y Z) (X Y Z) (X Y Z)... <Vertex Count> <Leaf A> <Leaf B> (X Y Z) (X Y Z) (X Y Z) (X Y Z)... ...
The PRT1 signature is specific to Source, older tools don't generate it. You can view these files in GLView.
A point file (.pts) is used for finding leaks. It is a list of points which can be used to generate lines as the author suggests. Its format is as follows:
X Y Z X Y Z X Y Z ...
--Nem 00:56, 14 Aug 2006 (PDT)
Is PTS still a used format? I've never heard of this, only LIN. Pinsplash (talk) 20:44, 15 May 2018 (UTC)