예제 #1
0
 def generate(self):
     DistributedInstanceWorld.generate(self)
     localAvatar.gameFSM.setDefaultGameState('LandRoam')
     localAvatar.guiMgr.setSeaChestAllowed(False, True, 1)
     localAvatar.guiMgr.socialPanel.hide()
     localAvatar.guiMgr.combatTray.tonicButton.hide()
     localAvatar.guiMgr.hideAvatarDetails()
     NametagGlobals.setMasterNametagsActive(0)
     localAvatar.gameFSM.setDefaultGameState('PVPWait')
     self.acceptOnce('localAvTeleportFinished', self.arrived)
 def generate(self):
     DistributedInstanceWorld.generate(self)
     localAvatar.gameFSM.setDefaultGameState('LandRoam')
     localAvatar.guiMgr.setSeaChestAllowed(False, True, 1)
     localAvatar.guiMgr.socialPanel.hide()
     localAvatar.guiMgr.combatTray.tonicButton.hide()
     localAvatar.guiMgr.hideAvatarDetails()
     NametagGlobals.setMasterNametagsActive(0)
     localAvatar.gameFSM.setDefaultGameState('PVPWait')
     self.acceptOnce('localAvTeleportFinished', self.arrived)
 def __init__(self, cr):
     DistributedInstanceWorld.__init__(self, cr)
     FSM.__init__(self, 'DistributedPVPInstance')
     self.teams = {}
     self.names = {}
     self.stats = {}
     self.completed = False
     self.goToSpawnIval = None
     self.scoreboardHolder = ScoreboardHolder(self)
     self.statsHolder = StatsHolder(self)
     localAvatar.guiMgr.radarGui.request('On')
예제 #4
0
 def __init__(self, cr):
     DistributedInstanceWorld.__init__(self, cr)
     FSM.__init__(self, 'DistributedPVPInstance')
     self.teams = { }
     self.names = { }
     self.stats = { }
     self.completed = False
     self.goToSpawnIval = None
     self.scoreboardHolder = ScoreboardHolder(self)
     self.statsHolder = StatsHolder(self)
     localAvatar.guiMgr.radarGui.request('On')
 def localAvExitDeath(self, av):
     DistributedInstanceWorld.localAvExitDeath(self, av)
     self.cleanupSpawnIval()
 def localAvEnterDeath(self, av):
     DistributedInstanceWorld.localAvEnterDeath(self, av)
     if not self.completed:
         self.localAvRespawn(av)
 def delete(self):
     self.ignoreAll()
     DistributedInstanceWorld.delete(self)
 def disable(self):
     DistributedInstanceWorld.disable(self)
     NametagGlobals.setMasterNametagsActive(1)
     self.cleanupPVP()
 def announceGenerate(self):
     DistributedInstanceWorld.announceGenerate(self)
     self.eventRng = random.Random(self.doId)
예제 #10
0
 def localAvExitDeath(self, av):
     DistributedInstanceWorld.localAvExitDeath(self, av)
     self.cleanupSpawnIval()
예제 #11
0
 def localAvEnterDeath(self, av):
     DistributedInstanceWorld.localAvEnterDeath(self, av)
     if not self.completed:
         self.localAvRespawn(av)
예제 #12
0
 def delete(self):
     self.ignoreAll()
     DistributedInstanceWorld.delete(self)
예제 #13
0
 def disable(self):
     DistributedInstanceWorld.disable(self)
     NametagGlobals.setMasterNametagsActive(1)
     self.cleanupPVP()
예제 #14
0
 def announceGenerate(self):
     DistributedInstanceWorld.announceGenerate(self)
     self.eventRng = random.Random(self.doId)