本文整理汇总了Python中SuitDNA.getDeptFullnameP方法的典型用法代码示例。如果您正苦于以下问题:Python SuitDNA.getDeptFullnameP方法的具体用法?Python SuitDNA.getDeptFullnameP怎么用?Python SuitDNA.getDeptFullnameP使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SuitDNA
的用法示例。
在下文中一共展示了SuitDNA.getDeptFullnameP方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: makeIntroductionMovie
# 需要导入模块: import SuitDNA [as 别名]
# 或者: from SuitDNA import getDeptFullnameP [as 别名]
def makeIntroductionMovie(self, delayDeletes):
track = Parallel()
camera.reparentTo(render)
localAvatar.setCameraFov(ToontownGlobals.CogHQCameraFov)
dooberTrack = Parallel()
if self.doobers:
self.__doobersToPromotionPosition(
self.doobers[:4], self.battleANode)
self.__doobersToPromotionPosition(
self.doobers[4:], self.battleBNode)
turnPosA = ToontownGlobals.SellbotBossDooberTurnPosA
turnPosB = ToontownGlobals.SellbotBossDooberTurnPosB
self.__walkDoober(
self.doobers[0],
0,
turnPosA,
dooberTrack,
delayDeletes)
self.__walkDoober(
self.doobers[1],
4,
turnPosA,
dooberTrack,
delayDeletes)
self.__walkDoober(
self.doobers[2],
8,
turnPosA,
dooberTrack,
delayDeletes)
self.__walkDoober(
self.doobers[3],
12,
turnPosA,
dooberTrack,
delayDeletes)
self.__walkDoober(
self.doobers[7],
2,
turnPosB,
dooberTrack,
delayDeletes)
self.__walkDoober(
self.doobers[6],
6,
turnPosB,
dooberTrack,
delayDeletes)
self.__walkDoober(
self.doobers[5],
10,
turnPosB,
dooberTrack,
delayDeletes)
self.__walkDoober(
self.doobers[4],
14,
turnPosB,
dooberTrack,
delayDeletes)
toonTrack = Parallel()
self.__toonsToPromotionPosition(self.toonsA, self.battleANode)
self.__toonsToPromotionPosition(self.toonsB, self.battleBNode)
delay = 0
for toonId in self.toonsA:
self.__walkToonToPromotion(
toonId, delay, self.toonsEnterA, toonTrack, delayDeletes)
delay += 1
for toonId in self.toonsB:
self.__walkToonToPromotion(
toonId, delay, self.toonsEnterB, toonTrack, delayDeletes)
delay += 1
toonTrack.append(Sequence(Wait(delay), self.closeDoors))
self.rampA.request('extended')
self.rampB.request('extended')
self.rampC.request('retracted')
self.clearChat()
self.cagedToon.clearChat()
promoteDoobers = TTLocalizer.BossCogPromoteDoobers % SuitDNA.getDeptFullnameP(
self.style.dept)
doobersAway = TTLocalizer.BossCogDoobersAway[self.style.dept]
welcomeToons = TTLocalizer.BossCogWelcomeToons
promoteToons = TTLocalizer.BossCogPromoteToons % SuitDNA.getDeptFullnameP(
self.style.dept)
discoverToons = TTLocalizer.BossCogDiscoverToons
attackToons = TTLocalizer.BossCogAttackToons
interruptBoss = TTLocalizer.CagedToonInterruptBoss
rescueQuery = TTLocalizer.CagedToonRescueQuery
bossAnimTrack = Sequence(
ActorInterval(self, 'Ff_speech', startTime=2, duration=10, loop=1),
ActorInterval(self, 'ltTurn2Wave', duration=2),
ActorInterval(self, 'wave', duration=4, loop=1),
ActorInterval(self, 'ltTurn2Wave', startTime=2, endTime=0),
ActorInterval(self, 'Ff_speech', duration=7, loop=1))
track.append(bossAnimTrack)
dialogTrack = Track(
(0,
Parallel(
#.........这里部分代码省略.........