Skip to content

Commit

Permalink
Add Implementation Warning for Siege Models
Browse files Browse the repository at this point in the history
  • Loading branch information
SE2Dev committed Jan 12, 2018
1 parent 64fd119 commit 7a7f612
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xbin.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,9 @@ def LoadBoneCount(file):
def LoadCosmeticCount(file):
cosmetic_count = XBlock.LoadInt32Block(file)

def LoadSBoneCount(file):
raise NotImplementedError("Siege models are not supported yet")

def LoadBoneInfo(file):
index, parent, name = XBlock.LoadBoneBlock(file)
cosmetic = (index >= (len(self.bones) - cosmetic_count))
Expand Down Expand Up @@ -828,7 +831,7 @@ def LoadNoteFrame(file):

# Misc (Unimplemented)
0xBCD4: ("FIRSTFRAME", None),
0x1FC2: ("NUMSBONES", None),
0x1FC2: ("NUMSBONES", LoadSBoneCount),
0xB35E: ("NUMSWEIGHTS", None),
0xEF69: ("QUATERNION", None),
0xA65B: ("NUMIKPITCHLAYERS", None),
Expand Down

0 comments on commit 7a7f612

Please sign in to comment.