Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MDL0Bone(Struct):
- __endian__ = Struct.BE
- def __format__(self):
- self.header_size = Struct.uint32
- self.mdl0offset = Struct.int32
- self.string_offset = Struct.int32
- self.index = Struct.int32
- self.nodeid = Struct.int32
- self.flags = Struct.uint32
- self.pad1 = Struct.uint32
- self.pad2 = Struct.uint32
- self.scale_x = Struct.float
- self.scale_y = Struct.float
- self.scale_z = Struct.float
- self.rot_x = Struct.float
- self.rot_y = Struct.float
- self.rot_z = Struct.float
- self.trans_x = Struct.float
- self.trans_y = Struct.float
- self.trans_z = Struct.float
- self.box_min_x = Struct.float
- self.box_min_y = Struct.float
- self.box_min_z = Struct.float
- self.box_max_x = Struct.float
- self.box_max_y = Struct.float
- self.box_max_z = Struct.float
- self.parent_offset = Struct.int32
- self.next_offset = Struct.int32
- self.prev_offset = Struct.int32
- self.add_offset = Struct.int32
- self.trans0 = Struct.float
- self.trans1 = Struct.float
- self.trans2 = Struct.float
- self.trans3 = Struct.float
- self.trans4 = Struct.float
- self.trans5 = Struct.float
- self.trans6 = Struct.float
- self.trans7 = Struct.float
- self.trans8 = Struct.float
- self.trans9 = Struct.float
- self.trans10 = Struct.float
- self.trans11 = Struct.float
- self.transi0 = Struct.float
- self.transi1 = Struct.float
- self.transi2 = Struct.float
- self.transi3 = Struct.float
- self.transi4 = Struct.float
- self.transi5 = Struct.float
- self.transi6 = Struct.float
- self.transi7 = Struct.float
- self.transi8 = Struct.float
- self.transi9 = Struct.float
- self.transi10 = Struct.float
- self.transi11 = Struct.float
- is pain in the ass when it could be like
- class MDL0Bone(Struct):
- __endian__ = Struct.BE
- def __format__(self):
- self.header_size = Struct.uint32
- self.mdl0offset = Struct.int32
- self.string_offset = Struct.int32
- self.index = Struct.int32
- self.nodeid = Struct.int32
- self.flags = Struct.uint32
- self.pad1 = Struct.uint32
- self.pad2 = Struct.uint32
- self.scale = Struct.vector_float
- self.rot = Struct.vector_float
- self.trans = Struct.vector_float
- self.box_min = Struct.vector_float
- self.box_max = Struct.vector_float
- self.parent_offset = Struct.int32
- self.next_offset = Struct.int32
- self.prev_offset = Struct.int32
- self.add_offset = Struct.int32
- self.BIND_SHAPE_MATRIX = Struct.matrix4x3
- self.INV_BIND_SHAPE_MATRIX = Struct.matrix4x3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement