WEAP Record – Weapon
WEAP record type.
Classes:
|
Weapon. |
-
class
WEAP(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source] Bases:
RecordWeapon.
- Parameters
Classes:
BIPL([cstring])Biped Model List.
CRDT(critical_damage, unused, ...)Critical Data.
DATA(value, health, weight, base_damage, ...)Weapon value, health (conditon), weight etc.
DNAM(animation_type, animation_multiplier, ...)Weapon animation, projectile, mod data etc.
EAMT(*args, **kwargs)Enchantment Charge Amount.
EFSD([cstring])Scope Effect.
EITM([cstring])Object Effect.
ETYP(*args, **kwargs)Equipment Type.
FULL([cstring])Name.
ICON([cstring])Large icon filename.
INAM([cstring])Impact Dataset.
MICO([cstring])Small icon filename.
MWD1([cstring])Model With Mod 1 (New Vegas only).
MWD2([cstring])Model With Mod 2 (New Vegas only).
MWD3([cstring])Model With Mods 1 and 2 (New Vegas only).
MWD4([cstring])Model With Mod 3 (New Vegas only).
MWD5([cstring])Model With Mods 1 and 3 (New Vegas only).
MWD6([cstring])Model With Mods 2 and 3 (New Vegas only).
MWD7([cstring])Model With Mods 1, 2 and 3 (New Vegas only).
NAM0([cstring])Ammo.
NAM6([cstring])Sound - Block.
NAM7([cstring])Sound - Gun - Shoot 3D Looping.
NAM8([cstring])Sound - Unequip.
NAM9([cstring])Sound - Equip.
NNAM([cstring])Embedded Weapon Node.
REPL([cstring])Repair List.
SCRI([cstring])Script.
SNAM([cstring])Sound - Gun - Shoot 3D / Shoot Dist.
TNAM([cstring])Sound - Melee - Swing / Gun - No Ammo.
UNAM([cstring])Sound - Idle.
VANM([cstring])VATS Attack Name (New Vegas only).
VATS(effect, skill, damage_multiplier, ap, ...)VATS (New Vegas only).
VNAM(*args, **kwargs)Sound Level.
WMI1([cstring])Weapon Mod 1 (New Vegas only).
WMI2([cstring])Weapon Mod 2 (New Vegas only).
WMI3([cstring])Weapon Mod 3 (New Vegas only).
WMS1([cstring])Sound - Mod 1 - Shoot 3D / Dist (New Vegas only).
WMS2([cstring])Sound - Mod 1 - Shoot 2D (New Vegas only).
WNAM([cstring])First Person Model.
WNM1([cstring])1st Person Model With Mod 1 (New Vegas only).
WNM2([cstring])1st Person Model With Mod 2 (New Vegas only).
WNM3([cstring])1st Person Model With Mods 1 and 2 (New Vegas only).
WNM4([cstring])1st Person Model With Mod 3 (New Vegas only).
WNM5([cstring])1st Person Model With Mods 1 and 3 (New Vegas only).
WNM6([cstring])1st Person Model With Mods 2 and 3 (New Vegas only).
WNM7([cstring])1st Person Model With Mods 1, 2 and 3 (New Vegas only).
XNAM([cstring])Sound - Gun - Shoot 2D.
YNAM([cstring])Sound - Pick Up.
ZNAM([cstring])Sound - Drop.
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
BIPL(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordBiped Model List.
Form ID of a FLST record.
-
class
CRDT(critical_damage, unused, ctit_percent_mul, flags, unused_, effect)[source] Bases:
RecordTypeCritical Data.
- Parameters
Attributes:
Form ID of a
SPELrecord, or null.sMethods:
parse(raw_bytes)Parse this subrecord.
unparse()Turn this subrecord back into raw bytes for an ESP file.
-
namedtuple
DATA(value, health, weight, base_damage, clip_size)[source] Bases:
NamedTupleWeapon value, health (conditon), weight etc.
- Fields
-
class
DNAM(animation_type, animation_multiplier, reach, flags, grip_animation, ammo_use, reload_animation, min_spread, spread, unknown, sight_fov, unused, projectile, base_vats_hit_chance, attack_animation, projectile_count, embedded_weapon_actor_value, min_range, max_range, on_hit, flags_, animation_attack_multiplier, fire_rate, override_action_points, rumble_left_motor_strength, rumble_right_motor_strength, rumble_duration, override_damage_to_weapon_mult, attack_shots_per_sec, reload_time, jam_time, aim_arc, skill, rumble_pattern, rumble_wavelength, limb_damage_multiplier, resistance_type, sight_usage, semi_automatic_fire_delay_min, semi_automatic_fire_delay_max, unknown__=0, effect_mod_1=0, effect_mod_2=0, effect_mod_3=0, value_a_mod_1=0, value_a_mod_2=0, value_a_mod_3=0, power_attack_animation_override=0, strength_requirement=0, unknown___=b'', reload_animation_mod=0, unknown____=b'', regen_rate=0, kill_impulse=0, value_b_mod_1=0, value_b_mod_2=0, value_b_mod_3=0, impulse_dist=0, skill_requirement=0, new_vegas=False)[source] Bases:
RecordTypeWeapon animation, projectile, mod data etc.
- Parameters
animation_type (
int)animation_multiplier (
float)reach (
float)flags (
int)grip_animation (
int)ammo_use (
int)reload_animation (
int)min_spread (
float)spread (
float)unknown (
bytes)sight_fov (
float)unused (
bytes)projectile (
bytes) – 4-byte form id of aPROJrecord, or null.base_vats_hit_chance (
int)attack_animation (
int)projectile_count (
int)embedded_weapon_actor_value (
int)min_range (
float)max_range (
float)on_hit (
int)flags
animation_attack_multiplier (
float)fire_rate (
float)override_action_points (
float)rumble_left_motor_strength (
float)rumble_right_motor_strength (
float)rumble_duration (
float)override_damage_to_weapon_mult (
float)attack_shots_per_sec (
float)reload_time (
float)jam_time (
float)aim_arc (
float)skill (
int)rumble_pattern (
int)rumble_wavelength (
float)limb_damage_multiplier (
float)resistance_type (
int)sight_usage (
float)semi_automatic_fire_delay_min (
float)semi_automatic_fire_delay_max (
float)unknown
effect_mod_1 (
int) – Default0.effect_mod_2 (
int) – Default0.effect_mod_3 (
int) – Default0.value_a_mod_1 (
float) – Default0.value_a_mod_2 (
float) – Default0.value_a_mod_3 (
float) – Default0.power_attack_animation_override (
int) – Default0.strength_requirement (
int) – Default0.unknown___
reload_animation_mod (
int) – Default0.unknown____
regen_rate (
float) – Default0.kill_impulse (
float) – Default0.value_b_mod_1 (
float) – Default0.value_b_mod_2 (
float) – Default0.value_b_mod_3 (
float) – Default0.impulse_dist (
float) – Default0.skill_requirement (
int) – Default0.new_vegas (
bool) – Indicates that the New Vegas-specific fields should be included withunparse(). DefaultFalse.
Attributes:
Indicates that the New Vegas-specific fields should be included with
unparse().4-byte form id of a
PROJrecord, or null.Methods:
parse(raw_bytes)Parse this subrecord.
unparse()Turn this subrecord back into raw bytes for an ESP file.
-
new_vegas Type:
boolIndicates that the New Vegas-specific fields should be included with
unparse().
-
class
EAMT(*args, **kwargs)[source] Bases:
Int16RecordEnchantment Charge Amount.
-
class
EFSD(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordScope Effect.
Form ID of an EFSH record.
-
class
ETYP(*args, **kwargs)[source] Bases:
Int32RecordEquipment Type.
See https://tes5edit.github.io/fopdoc/FalloutNV/Records/Subrecords/ETYP.html
-
class
INAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordImpact Dataset.
Form ID of a
IPDSrecord.
-
class
MWD1(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordModel With Mod 1 (New Vegas only).
-
class
MWD2(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordModel With Mod 2 (New Vegas only).
-
class
MWD3(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordModel With Mods 1 and 2 (New Vegas only).
-
class
MWD4(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordModel With Mod 3 (New Vegas only).
-
class
MWD5(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordModel With Mods 1 and 3 (New Vegas only).
-
class
MWD6(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordModel With Mods 2 and 3 (New Vegas only).
-
class
MWD7(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordModel With Mods 1, 2 and 3 (New Vegas only).
-
class
NAM6(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Block.
Form ID of a
SOUNrecord.
-
class
NAM7(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Gun - Shoot 3D Looping.
Form ID of a
SOUNrecord.
-
class
NAM8(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Unequip.
Form ID of a
SOUNrecord.
-
class
NAM9(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Equip.
Form ID of a
SOUNrecord.
-
class
REPL(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordRepair List.
Form ID of a
FLSTrecord.
-
class
SCRI(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordScript.
Form ID of a
SCPTrecord.
-
class
SNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Gun - Shoot 3D / Shoot Dist.
Form ID of a
SOUNrecord.
-
class
TNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Melee - Swing / Gun - No Ammo.
Form ID of a
SOUNrecord.
-
class
UNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Idle.
Form ID of a
SOUNrecord.
-
class
VANM(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordVATS Attack Name (New Vegas only).
-
class
VATS(effect, skill, damage_multiplier, ap, silent, mod_required, unused)[source] Bases:
RecordTypeVATS (New Vegas only).
- Parameters
Attributes:
Form ID of a
SPEL, or null.Methods:
parse(raw_bytes)Parse this subrecord.
unparse()Turn this subrecord back into raw bytes for an ESP file.
-
class
VNAM(*args, **kwargs)[source] Bases:
Uint32RecordSound Level.
See https://tes5edit.github.io/fopdoc/FalloutNV/Records/Values/Sound%20Levels.html
-
class
WMI1(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordWeapon Mod 1 (New Vegas only).
Form ID of an
IMODrecord.
-
class
WMI2(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordWeapon Mod 2 (New Vegas only).
Form ID of an
IMODrecord.
-
class
WMI3(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordWeapon Mod 3 (New Vegas only).
Form ID of an
IMODrecord.
-
class
WMS1(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Mod 1 - Shoot 3D / Dist (New Vegas only).
Form ID of a
SOUNrecord.
-
class
WMS2(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Mod 1 - Shoot 2D (New Vegas only).
Form ID of a
SOUNrecord.
-
class
WNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordFirst Person Model.
Form ID of a
STATrecord.
-
class
WNM1(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecord1st Person Model With Mod 1 (New Vegas only).
Form ID of a
STATrecord.
-
class
WNM2(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecord1st Person Model With Mod 2 (New Vegas only).
Form ID of a
STATrecord.
-
class
WNM3(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecord1st Person Model With Mods 1 and 2 (New Vegas only).
Form ID of a
STATrecord.
-
class
WNM4(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecord1st Person Model With Mod 3 (New Vegas only).
Form ID of a
STATrecord.
-
class
WNM5(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecord1st Person Model With Mods 1 and 3 (New Vegas only).
Form ID of a
STATrecord.
-
class
WNM6(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecord1st Person Model With Mods 2 and 3 (New Vegas only).
Form ID of a
STATrecord.
-
class
WNM7(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecord1st Person Model With Mods 1, 2 and 3 (New Vegas only).
Form ID of a
STATrecord.
-
class
XNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Gun - Shoot 2D.
Form ID of a
SOUNrecord.
-
class
YNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Pick Up.
Form ID of a
SOUNrecord.
-
class
ZNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Drop.
Form ID of a
SOUNrecord.
-
data Type:
List[RecordType]