mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Made this line less cancerous...
This commit is contained in:
parent
ed72ba279d
commit
67c5f4b728
1 changed files with 17 additions and 1 deletions
|
@ -811,7 +811,23 @@ class DistributedCogdoInterior(DistributedObject.DistributedObject):
|
||||||
else:
|
else:
|
||||||
speech = TTLocalizer.CogdoExecutiveSuiteToonThankYou % self.SOSToonName
|
speech = TTLocalizer.CogdoExecutiveSuiteToonThankYou % self.SOSToonName
|
||||||
|
|
||||||
track.append(Sequence(Func(camera.wrtReparentTo, localAvatar), Func(camera.setPos, 0, -9, 9), Func(camera.lookAt, Point3(5, 15, 0)), Parallel(self.cage.posInterval(0.75, self.cagePos[1], blendType='easeOut'), SoundInterval(self.cageLowerSfx, duration=0.5)), Parallel(self.cageDoor.hprInterval(0.5, VBase3(0, 90, 0), blendType='easeOut'), Sequence(SoundInterval(self.cageDoorSfx), duration=0)), Wait(0.25), Func(self.shopOwnerNpc.wrtReparentTo, render), Func(self.shopOwnerNpc.setScale, 1), Func(self.shopOwnerNpc.loop, 'walk'), Func(self.shopOwnerNpc.headsUp, Point3(0, 10, 0)), ParallelEndTogether(self.shopOwnerNpc.posInterval(1.5, Point3(0, 10, 0)), self.shopOwnerNpc.hprInterval(0.5, VBase3(180, 0, 0), blendType='easeInOut')), Func(self.shopOwnerNpc.setChatAbsolute, TTLocalizer.CagedToonYippee, CFSpeech), ActorInterval(self.shopOwnerNpc, 'jump'), Func(self.shopOwnerNpc.loop, 'neutral'), Func(self.shopOwnerNpc.headsUp, localAvatar), Func(self.shopOwnerNpc.setLocalPageChat, speech, 0), Func(camera.lookAt, self.shopOwnerNpc, Point3(0, 0, 2))))
|
track.append(Sequence(Func(camera.wrtReparentTo, localAvatar),
|
||||||
|
Func(camera.setPos, 0, -9, 9),
|
||||||
|
Func(camera.lookAt, Point3(5, 15, 0)),
|
||||||
|
Parallel(self.cage.posInterval(0.75, self.cagePos[1], blendType='easeOut'),
|
||||||
|
SoundInterval(self.cageLowerSfx, duration=0.5)),
|
||||||
|
Parallel(self.cageDoor.hprInterval(0.5, VBase3(0, 90, 0), blendType='easeOut'),
|
||||||
|
Sequence(SoundInterval(self.cageDoorSfx), duration=0)),
|
||||||
|
Wait(0.25),
|
||||||
|
Func(self.shopOwnerNpc.wrtReparentTo, render),
|
||||||
|
Func(self.shopOwnerNpc.setScale, 1),
|
||||||
|
Func(self.shopOwnerNpc.loop, 'walk'),
|
||||||
|
Func(self.shopOwnerNpc.headsUp, Point3(0, 10, 0)),
|
||||||
|
ParallelEndTogether(self.shopOwnerNpc.posInterval(1.5, Point3(0, 10, 0)), self.shopOwnerNpc.hprInterval(0.5, VBase3(180, 0, 0), blendType='easeInOut')),
|
||||||
|
Func(self.shopOwnerNpc.setChatAbsolute, TTLocalizer.CagedToonYippee, CFSpeech), ActorInterval(self.shopOwnerNpc, 'jump'),
|
||||||
|
Func(self.shopOwnerNpc.loop, 'neutral'), Func(self.shopOwnerNpc.headsUp, localAvatar),
|
||||||
|
Func(self.shopOwnerNpc.setLocalPageChat, speech, 0),
|
||||||
|
Func(camera.lookAt, self.shopOwnerNpc, Point3(0, 0, 2))))
|
||||||
self.activeIntervals[trackName] = track
|
self.activeIntervals[trackName] = track
|
||||||
self.accept('doneChatPage', self.__outroPenthouseChatDone)
|
self.accept('doneChatPage', self.__outroPenthouseChatDone)
|
||||||
return track
|
return track
|
||||||
|
|
Loading…
Reference in a new issue