PACK Record – Package
PACK record type.
Classes:
|
Package. |
-
class
PACK(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source] Bases:
RecordPackage.
- Parameters
Classes:
CNAM([cstring])Combat Style.
IDLF(*args, **kwargs)Idle Animation Flags.
IDLT(*args, **kwargs)Idle Timer Setting.
INAM([cstring])OnBegin Idle / OnEnd Idle / OnChange Idle.
PKDD(fov, topic, flags, unused, dialog_type, ...)Dialog Data.
PKDT(general_flags, type, unused, ...)General.
PKE2(*args, **kwargs)Escort Distance.
PKFD(*args, **kwargs)Follow - Start Location - Trigger Radius.
PKPT(*args, **kwargs)Patrol Flags.
PLD2(type, location, radius)Location Subrecord - Location 2.
PLDT(type, location, radius)Location Subrecord - Location 1.
POBA(*args, **kwargs)OnBegin Marker / OnEnd Marker / OnChange Marker.
POCA([cstring])Unknown.
POEA([cstring])Unknown.
PSDT(month, day_of_week, date, time, duration)Schedule.
PTDT(type, target, count_or_distance, unknown)Target 1.
TNAM([cstring])OnBegin Topic / OnEnd Topic / OnChange Topic.
Attributes:
Subrecords of this record.
Record flags
4-byte form ID
Used for revision control by the Creation Kit, if enabled.
Four extra bytes at end not shown in fopdoc
Form version
Methods:
parse_subrecords(raw_bytes)Parse this record's subrecords.
-
class
CNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordCombat Style.
Form ID of a
CSTYrecord.
-
class
IDLF(*args, **kwargs)[source] Bases:
Uint8RecordIdle Animation Flags.
See below for values.
-
class
IDLT(*args, **kwargs)[source] Bases:
Float32RecordIdle Timer Setting.
-
class
INAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordOnBegin Idle / OnEnd Idle / OnChange Idle.
Form ID of an
IDLErecord, or null.
-
class
PKDD(fov, topic, flags, unused, dialog_type, unknown)[source] Bases:
StructRecordDialog Data.
- Parameters
Attributes:
Form ID of a
DIALrecord, or null.Four extra bytes at end not shown in fopdoc
Methods:
Returns a list of attributes on this class in the order they should be packed.
Returns the pack/unpack struct string and the corresponding size.
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
class
PKDT(general_flags, type, unused, fallout_behaviour_flags, type_specific_flags, unused_)[source] Bases:
StructRecordGeneral.
- Parameters
Attributes:
Methods:
Returns a list of attributes on this class in the order they should be packed.
Returns the pack/unpack struct string and the corresponding size.
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
class
PKE2(*args, **kwargs)[source] Bases:
Uint32RecordEscort Distance.
-
class
PKFD(*args, **kwargs)[source] Bases:
Float32RecordFollow - Start Location - Trigger Radius.
-
class
PKPT(*args, **kwargs)[source] Bases:
Uint16RecordPatrol Flags.
-
class
PLD2(type, location, radius)[source] Bases:
PLDTLocation Subrecord - Location 2.
- Parameters
type (
int)location (
bytes) – Form ID or uint32 (as bytes) or uint8[] (as bytes) See https://tes5edit.github.io/fopdoc/Fallout3/Records/PACK.htmlradius (
int)
Attributes:
Form ID or uint32 (as bytes) or uint8[] (as bytes)
-
location Type:
bytesForm ID or uint32 (as bytes) or uint8[] (as bytes)See https://tes5edit.github.io/fopdoc/Fallout3/Records/PACK.html
-
class
PLDT(type, location, radius)[source] Bases:
StructRecordLocation Subrecord - Location 1.
- Parameters
type (
int)location (
bytes) – Form ID or uint32 (as bytes) or uint8[] (as bytes) See https://tes5edit.github.io/fopdoc/Fallout3/Records/PACK.htmlradius (
int)
Methods:
Returns a list of attributes on this class in the order they should be packed.
Returns the pack/unpack struct string and the corresponding size.
Attributes:
Form ID or uint32 (as bytes) or uint8[] (as bytes)
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
static
get_struct_and_size()[source] Returns the pack/unpack struct string and the corresponding size.
-
location Type:
bytesForm ID or uint32 (as bytes) or uint8[] (as bytes)
See https://tes5edit.github.io/fopdoc/Fallout3/Records/PACK.html
-
class
POBA(*args, **kwargs)[source] Bases:
MarkerRecordOnBegin Marker / OnEnd Marker / OnChange Marker.
-
class
POCA(cstring: Union[str, bytes] = b'')[source] Bases:
RawBytesRecordUnknown.
Not shown in fopdoc.
-
class
POEA(cstring: Union[str, bytes] = b'')[source] Bases:
RawBytesRecordUnknown.
Not shown in fopdoc.
-
class
PSDT(month, day_of_week, date, time, duration)[source] Bases:
StructRecordSchedule.
Attributes:
Methods:
Returns a list of attributes on this class in the order they should be packed.
Returns the pack/unpack struct string and the corresponding size.
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
static
-
class
PTDT(type, target, count_or_distance, unknown)[source] Bases:
StructRecordTarget 1.
- Parameters
Attributes:
Form ID or uint32 (as bytes) or uint8[] (as bytes)
Four extra bytes at end not shown in fopdoc
Methods:
Returns a list of attributes on this class in the order they should be packed.
Returns the pack/unpack struct string and the corresponding size.
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
class
TNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordOnBegin Topic / OnEnd Topic / OnChange Topic.
Form ID of a
DIALrecord, or null.
-
data Type:
List[RecordType]