diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-22 19:38:00 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-22 19:38:00 -0500 |
commit | f1ff8070137eed75ff83a7c1728e9901eaaf2b67 (patch) | |
tree | 7d9f401b0631d40dae9096ad2855eadf9598ccba /src/exporter.py | |
parent | 14d01db86091a4cbe4ce31f15f1a5e95ae31025e (diff) | |
download | koopatlas-f1ff8070137eed75ff83a7c1728e9901eaaf2b67.tar.gz koopatlas-f1ff8070137eed75ff83a7c1728e9901eaaf2b67.zip |
added in new fields hasSecret, delay, delayOffset
Diffstat (limited to '')
-rw-r--r-- | src/exporter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exporter.py b/src/exporter.py index ed377c3..e6ba38a 100644 --- a/src/exporter.py +++ b/src/exporter.py @@ -268,12 +268,12 @@ class KPMapExporter: requiredFixUps.append((len(data) - 8, texture)) for anim in doodad.animations: - rLoop, rCurve, rFrames, rType, rStart, rEnd = anim + rLoop, rCurve, rFrames, rType, rStart, rEnd, rDelay, rDelayOffset = anim loopid = self.ANIM_LOOPS.index(rLoop) curveid = self.ANIM_CURVES.index(rCurve) typeid = self.ANIM_TYPES.index(rType) - data += struct.pack('>iiiiiiii', loopid, curveid, rFrames, typeid, rStart, rEnd, 0, 0) + data += struct.pack('>iiiiiiiiii', loopid, curveid, rFrames, typeid, rStart, rEnd, rDelay, rDelayOffset, 0, 0) elif isinstance(eLayer, self.PathLayerExporter): data += u32.pack(2) @@ -343,7 +343,7 @@ class KPMapExporter: if node.isStop(): if node.level: level1, level2 = node.level - data += struct.pack('>ibbbb', 2, level1, level2, 0, 0) + data += struct.pack('>ibbibb', 2, level1, level2, 0, 0, 0) elif node.mapChange: data += u32.pack(3) |