REFR Record – Placed Object
REFR record type.
Classes:
|
Placed Object. |
-
class
REFR(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source] Bases:
RecordPlaced Object.
- Parameters
Classes:
BNAM([cstring])Unknown.
CNAM([cstring])Audio location (New Vegas only).
FNAM(*args, **kwargs)Map Marker Flags.
FULL([cstring])Map Marker Name.
INAM([cstring])Patrol data - Idle.
MMRK(*args, **kwargs)Audio marker (New Vegas only).
MNAM(*args, **kwargs)Unknown.
NAME([cstring])The placed object.
NNAM(*args, **kwargs)Unknown.
TNAM(type, unused)Map Marker Data.
WMI1([cstring])Map Marker Reputation.
XACT(*args, **kwargs)Action Flag.
XAMC(*args, **kwargs)Ammo Count.
XAMT([cstring])Ammo Type.
XAPD(*args, **kwargs)Activate parents flags.
XATO([cstring])Activation Prompt.
XCHG(*args, **kwargs)Charge.
XCNT(*args, **kwargs)Count.
XEMI([cstring])Emittance.
XEZN([cstring])Encounter Zone.
XHLP(*args, **kwargs)Health.
XLCM(*args, **kwargs)Level Modifier.
XLKR([cstring])Linked Reference.
XLOC(level, unused, key, flags, unknown)Lock Data.
XLRM([cstring])Linked Room.
XLTW([cstring])Lit Water.
XMBO(x, y, z)Bound Half Extents.
XMBR([cstring])MultiBound Reference.
XMRK(*args, **kwargs)Map Marker Marker.
XNDP(navmesh, unknown)Navigation Door Link.
XOWN([cstring])Owner.
XPRD(*args, **kwargs)Patrol data - idle time.
XPRM(x_bound, y_bound, z_bound, red, green, ...)Primitive.
XRAD(*args, **kwargs)Radiation.
XRDO(range_radius, broadcast_range_type[, ...])Radio Data.
XRDS(*args, **kwargs)Radius.
XRGB([cstring])Ragdoll Biped Data.
XRGD([cstring])Ragdoll Data.
XRNK(*args, **kwargs)Faction Rank.
XSCL(*args, **kwargs)Scale.
XSED(*args, **kwargs)SpeedTree Seed.
XTEL(door, xp, yp, zp, xr, yr, zr, flags)Teleport Destination.
XTRG([cstring])Target.
XTRI(*args, **kwargs)Collision Layer.
Attributes:
Subrecords of this record.
Record flags
4-byte form ID
Used for revision control by the Creation Kit, if enabled.
Form version
Methods:
parse_subrecords(raw_bytes)Parse this record's subrecords.
-
class
CNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordAudio location (New Vegas only).
Form ID of a
ALOCrecord.
-
class
FNAM(*args, **kwargs)[source] Bases:
Uint8RecordMap Marker Flags.
See https://tes5edit.github.io/fopdoc/FalloutNV/Records/REFR.html
-
class
INAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordPatrol data - Idle.
Form ID of an
IDLErecord, or null.
-
class
MMRK(*args, **kwargs)[source] Bases:
MarkerRecordAudio marker (New Vegas only).
-
class
MNAM(*args, **kwargs)[source] Bases:
Float32RecordUnknown.
-
class
NAME(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordThe placed object.
Form ID of a
TREE,SOUN,ACTI,DOOR,STAT,FURN,CONT,ARMO,AMMO,LVLN,LVLC,MISC,WEAP,BOOK,KEYM,ALCH,LIGH,GRAS,ASPC,IDLM,ARMA,MSTT,NOTE,PWAT,SCOL,TACT,TERM,TXST,CCRD,IMODorCMNYrecord.
-
class
NNAM(*args, **kwargs)[source] Bases:
Float32RecordUnknown.
-
class
TNAM(type, unused)[source] Bases:
StructRecordMap Marker Data.
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:
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
static
-
class
WMI1(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordMap Marker Reputation.
Form ID of a
REPUrecord.
-
class
XACT(*args, **kwargs)[source] Bases:
Uint32RecordAction Flag.
See below for values.
-
class
XAMC(*args, **kwargs)[source] Bases:
Int32RecordAmmo Count.
-
class
XAMT(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordAmmo Type.
Form ID of an
AMMOrecord, or null.
-
class
XAPD(*args, **kwargs)[source] Bases:
Uint8RecordActivate parents flags.
https://tes5edit.github.io/fopdoc/Fallout3/Records/Subrecords/XAPD.html
-
class
XCHG(*args, **kwargs)[source] Bases:
Float32RecordCharge.
-
class
XCNT(*args, **kwargs)[source] Bases:
Int32RecordCount.
-
class
XEZN(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordEncounter Zone.
Form ID of an
ECZNrecord.
-
class
XHLP(*args, **kwargs)[source] Bases:
Float32RecordHealth.
-
class
XLCM(*args, **kwargs)[source] Bases:
Int32RecordLevel Modifier.
-
class
XLOC(level, unused, key, flags, unknown)[source] Bases:
StructRecordLock Data.
- Parameters
Attributes:
Form ID of a
KEYMrecord, or null.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
XLRM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordLinked Room.
Form ID of a
REFRrecord.
-
class
XLTW(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordLit Water.
Form ID of a
REFRrecord.
-
class
XMBO(x, y, z)[source] Bases:
StructRecordBound Half Extents.
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:
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
static
-
class
XMBR(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordMultiBound Reference.
Form ID of a
REFRrecord.
-
class
XMRK(*args, **kwargs)[source] Bases:
MarkerRecordMap Marker Marker.
-
class
XNDP(navmesh, unknown)[source] Bases:
StructRecordNavigation Door Link.
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 of a
NAVMrecord.-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
static
-
class
XOWN(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordOwner.
Ownership data. Form ID of a
FACT,ACHR,CREAorNPC_record.
-
class
XPRD(*args, **kwargs)[source] Bases:
Float32RecordPatrol data - idle time.
-
class
XPRM(x_bound, y_bound, z_bound, red, green, blue, unknown, type)[source] Bases:
StructRecordPrimitive.
- 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
XRAD(*args, **kwargs)[source] Bases:
Float32RecordRadiation.
-
namedtuple
XRDO(range_radius, broadcast_range_type, static_percentage=0.0, position_reference=b'\x00\x00\x00\x00')[source] Bases:
NamedTupleRadio Data.
- Fields
-
class
XRDS(*args, **kwargs)[source] Bases:
Float32RecordRadius.
-
class
XRGB(cstring: Union[str, bytes] = b'')[source] Bases:
RawBytesRecordRagdoll Biped Data.
Unknown structure.
-
class
XRGD(cstring: Union[str, bytes] = b'')[source] Bases:
RawBytesRecordRagdoll Data.
Unknown structure.
-
class
XRNK(*args, **kwargs)[source] Bases:
Int32RecordFaction Rank.
Ownership data
-
class
XSCL(*args, **kwargs)[source] Bases:
Float32RecordScale.
-
class
XSED(*args, **kwargs)[source] Bases:
Uint8RecordSpeedTree Seed.
-
class
XTEL(door, xp, yp, zp, xr, yr, zr, flags)[source] Bases:
StructRecordTeleport Destination.
- Parameters
Attributes:
Form ID of a
REFRrecord.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
XTRI(*args, **kwargs)[source] Bases:
Uint32RecordCollision Layer.
Enum - see below for values.
-
data Type:
List[RecordType]