PROJ Record – Projectile
PROJ record type.
Classes:
|
Projectile. |
-
class
PROJ(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source] Bases:
RecordProjectile.
- Parameters
Classes:
DATA(flags, type, gravity, speed, range, ...)Data.
FULL([cstring])Name.
NAM1([cstring])Muzzle Flash Model Filename.
VNAM(*args, **kwargs)Sound Level.
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
DATA(flags, type, gravity, speed, range, light, muzzle_flash_light, tracer_chance, explosion_alt_trigger_proximity, explosion_alt_trigger_timer, explosion, sound, muzzle_flash_duration, fade_duration, impact_force, sound_countdown, sound_disable, default_weapon_source, x_rotation, y_rotation, z_rotation, bouncy_multiplier)[source] Bases:
StructRecordData.
- Parameters
flags (
int)type (
int)gravity (
float)speed (
float)range (
float)muzzle_flash_light (
bytes) – Form ID of aLIGHrecord, or null.tracer_chance (
float)explosion_alt_trigger_proximity (
float)explosion_alt_trigger_timer (
float)muzzle_flash_duration (
float)fade_duration (
float)impact_force (
float)sound_countdown (
bytes) – Form ID of aSOUNrecord, or null.default_weapon_source (
bytes) – Form ID of aWEAPrecord, or null.x_rotation (
float)y_rotation (
float)z_rotation (
float)bouncy_multiplier (
float)
Attributes:
Form ID of a
WEAPrecord, or null.Form ID of an
EXPLrecord, or null.Form ID of a
LIGHrecord, or null.Form ID of a
LIGHrecord, or null.Form ID of a
SOUNrecord, or null.Form ID of a
SOUNrecord, or null.Form ID of a
SOUNrecord, 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
NAM1(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordMuzzle Flash Model Filename.
-
class
VNAM(*args, **kwargs)[source] Bases:
Uint32RecordSound Level.
Enum - see link for values.
https://tes5edit.github.io/fopdoc/FalloutNV/Records/Values/Sound%20Levels.html
-
data Type:
List[RecordType]