Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Commit

Permalink
Adding FNV TREE subrecord
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Bunn <stephen@bunn.io>
  • Loading branch information
stephen-bunn committed Aug 20, 2018
1 parent 61479d8 commit d9fcc83
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions bethesda_structs/plugin/fnv/records.py
Expand Up @@ -1660,6 +1660,7 @@
],
)


TES4_Subrecords = SubrecordCollection(
"TES4",
[
Expand Down Expand Up @@ -1693,6 +1694,34 @@
)


TREE_Subrecords = SubrecordCollection(
"TREE",
[
Subrecord("EDID", CString("utf8") * "Editor ID"),
Subrecord("OBND", ObjectBoundsStruct * "Object Bounds"),
ModelCollection,
Subrecord("ICON", CString("utf8") * "Large Icon Filename"),
Subrecord("MICO", CString("utf8") * "Small Icon Filename"),
Subrecord("SNAM", GreedyRange(Int32ul) * "SpeedTree Seeds"),
Subrecord(
"CNAM",
Struct(
"leaf_curvature" / Float32l,
"minimum_leaf_angle" / Float32l,
"maximum_leaf_angle" / Float32l,
"branch_dimming_value" / Float32l,
"leaf_dimming_value" / Float32l,
"shadow_radius" / Int32sl,
"rock_speed" / Float32l,
"rustle_speed" / Float32l,
)
* "Tree Data",
),
Subrecord("BNAM", Struct("width" / Float32l, "height" / Float32l)),
],
)


TXST_Subrecords = SubrecordCollection(
"TXST",
[
Expand Down

0 comments on commit d9fcc83

Please sign in to comment.