def createZone(self):
        CogHoodAI.createZone(self)
        
        # Create lobby manager...
        self.createLobbyManager(DistributedBossbotBossAI, ToontownGlobals.BossbotLobby)
        
        # Create CEO elevator.
        self.ceoElevator = self.createElevator(DistributedBBElevatorAI, self.lobbyMgr, ToontownGlobals.BossbotLobby, ToontownGlobals.BossbotLobby, boss=True)
        
        # Make our doors.
        self.createDoor()
        
        # Create Cog Golf Courses.
        kartPos = ((154.762, 37.169, 0), (141.403, -81.887, 0), (-48.44, 15.308, 0))
        hprList = ((110.815, 0, 0), (61.231, 0, 0), (-105.481, 0, 0))

        mins = ToontownGlobals.FactoryLaffMinimums[3]
        for i in range(3):
            x, y, z = kartPos[i]
            h, p, r = hprList[i]
            self.createKart(i, x, y, z, h, p, r, mins[i])

        # Create boarding groups
        # CEO Boarding Group
        self.createBoardingGroup(self.air, [self.ceoElevator.doId], ToontownGlobals.BossbotLobby, 8)

        # Cog Golf Boarding Group's
        kartIds = [kart.getDoId() for kart in self.karts]
        self.createBoardingGroup(self.air, kartIds, ToontownGlobals.BossbotHQ)
    def createZone(self):
        CogHoodAI.createZone(self)
        
        # Create lobby manager...
        self.createLobbyManager(DistributedLawbotBossAI, ToontownGlobals.LawbotLobby)
        
        # Create CJ elevator.
        self.cjElevator = self.createElevator(DistributedCJElevatorAI, self.lobbyMgr, ToontownGlobals.LawbotLobby, ToontownGlobals.LawbotLobby, boss=True)
        
        # Make our doors.
        self.createDoor()
        
        # Create Suit Planners in the cog playground
        self.createSuitPlanner(self.HOOD)
        
        # Create DA Office Elevators.
        mins = ToontownGlobals.FactoryLaffMinimums[2]
        self.officeA = self.createElevator(DistributedLawOfficeElevatorExtAI, self.air.lawOfficeMgr, ToontownGlobals.LawbotOfficeExt, ToontownGlobals.LawbotStageIntA, 0, minLaff=mins[0])
        self.officeB = self.createElevator(DistributedLawOfficeElevatorExtAI, self.air.lawOfficeMgr, ToontownGlobals.LawbotOfficeExt, ToontownGlobals.LawbotStageIntB, 1, minLaff=mins[1])
        self.officeC = self.createElevator(DistributedLawOfficeElevatorExtAI, self.air.lawOfficeMgr, ToontownGlobals.LawbotOfficeExt, ToontownGlobals.LawbotStageIntC, 2, minLaff=mins[2])
        self.officeD = self.createElevator(DistributedLawOfficeElevatorExtAI, self.air.lawOfficeMgr, ToontownGlobals.LawbotOfficeExt, ToontownGlobals.LawbotStageIntD, 3, minLaff=mins[3])

        # Create boarding groups
        # CJ Boarding Group
        self.createBoardingGroup(self.air, [self.cjElevator.doId], ToontownGlobals.LawbotLobby, 8)

        # DA Office Boarding Group's
        self.offices = [self.officeA.doId, self.officeB.doId, self.officeC.doId, self.officeD.doId]
        self.createBoardingGroup(self.air, self.offices, ToontownGlobals.LawbotOfficeExt)
    def createZone(self):
        CogHoodAI.createZone(self)
        
        # Create lobby manager...
        self.createLobbyManager(DistributedSellbotBossAI, ToontownGlobals.SellbotLobby)
        
        # Create VP elevator.
        self.vpElevator = self.createElevator(DistributedVPElevatorAI, self.lobbyMgr, ToontownGlobals.SellbotLobby, ToontownGlobals.SellbotLobby, boss=True)

        # Make our doors.
        self.createDoor()
        
        # Create Suit Planners in the cog playground and factory waiting area.
        self.createSuitPlanner(self.HOOD)
        self.createSuitPlanner(ToontownGlobals.SellbotFactoryExt)
        
        # Create factory elevators.
        mins = ToontownGlobals.FactoryLaffMinimums[0]
        self.frontEntrance = self.createElevator(DistributedFactoryElevatorExtAI, self.air.factoryMgr, ToontownGlobals.SellbotFactoryExt, ToontownGlobals.SellbotFactoryInt, 0, minLaff=mins[0])
        self.sideEntrance = self.createElevator(DistributedFactoryElevatorExtAI, self.air.factoryMgr, ToontownGlobals.SellbotFactoryExt, ToontownGlobals.SellbotFactoryInt, 1, minLaff=mins[1])

        # Create boarding groups
        # VP Boarding Group
        self.createBoardingGroup(self.air, [self.vpElevator.doId], ToontownGlobals.SellbotLobby, 8)

        # Factory Boarding Group's
        self.factories = [self.frontEntrance.doId, self.sideEntrance.doId]
        self.createBoardingGroup(self.air, self.factories, ToontownGlobals.SellbotFactoryExt)
    def createZone(self):
        CogHoodAI.createZone(self)
        
        # Create lobby manager...
        self.createLobbyManager(DistributedCashbotBossAI, ToontownGlobals.CashbotLobby)
        
        # Create CFO elevator.
        self.cfoElevator = self.createElevator(DistributedCFOElevatorAI, self.lobbyMgr, ToontownGlobals.CashbotLobby, ToontownGlobals.CashbotLobby, boss=True)
        
        # Make our doors.
        self.createDoor()
        
        # Create Suit Planners in the cog playground
        self.createSuitPlanner(self.HOOD)
        
        # Create mint elevators.
        mins = ToontownGlobals.FactoryLaffMinimums[1]
        self.cointMint = self.createElevator(DistributedMintElevatorExtAI, self.air.mintMgr, self.HOOD, ToontownGlobals.CashbotMintIntA, 0, minLaff=mins[0])
        self.dollarMint = self.createElevator(DistributedMintElevatorExtAI, self.air.mintMgr, self.HOOD, ToontownGlobals.CashbotMintIntB, 1, minLaff=mins[1])
        self.bullionMint = self.createElevator(DistributedMintElevatorExtAI, self.air.mintMgr, self.HOOD, ToontownGlobals.CashbotMintIntC, 2, minLaff=mins[2])

        # Create boarding groups
        # CFO Boarding Group
        self.createBoardingGroup(self.air, [self.cfoElevator.doId], ToontownGlobals.CashbotLobby, 8)

        # Mint Boarding Group's
        self.mints = [self.cointMint.doId, self.dollarMint.doId, self.bullionMint.doId]
        self.createBoardingGroup(self.air, self.mints, ToontownGlobals.CashbotHQ)
    def createZone(self):
        CogHoodAI.createZone(self)

        # Create lobby manager...
        self.createLobbyManager(DistributedLawbotBossAI,
                                ToontownGlobals.LawbotLobby)

        # Create CJ elevator.
        self.cjElevator = self.createElevator(DistributedCJElevatorAI,
                                              self.lobbyMgr,
                                              ToontownGlobals.LawbotLobby,
                                              ToontownGlobals.LawbotLobby,
                                              boss=True)

        # Make our doors.
        self.createDoor()

        # Create Suit Planners in the cog playground
        self.createSuitPlanner(self.HOOD)

        # Create DA Office Elevators.
        mins = ToontownGlobals.FactoryLaffMinimums[2]
        self.officeA = self.createElevator(DistributedLawOfficeElevatorExtAI,
                                           self.air.lawOfficeMgr,
                                           ToontownGlobals.LawbotOfficeExt,
                                           ToontownGlobals.LawbotStageIntA,
                                           0,
                                           minLaff=mins[0])
        self.officeB = self.createElevator(DistributedLawOfficeElevatorExtAI,
                                           self.air.lawOfficeMgr,
                                           ToontownGlobals.LawbotOfficeExt,
                                           ToontownGlobals.LawbotStageIntB,
                                           1,
                                           minLaff=mins[1])
        self.officeC = self.createElevator(DistributedLawOfficeElevatorExtAI,
                                           self.air.lawOfficeMgr,
                                           ToontownGlobals.LawbotOfficeExt,
                                           ToontownGlobals.LawbotStageIntC,
                                           2,
                                           minLaff=mins[2])
        self.officeD = self.createElevator(DistributedLawOfficeElevatorExtAI,
                                           self.air.lawOfficeMgr,
                                           ToontownGlobals.LawbotOfficeExt,
                                           ToontownGlobals.LawbotStageIntD,
                                           3,
                                           minLaff=mins[3])

        # Create boarding groups
        # CJ Boarding Group
        self.createBoardingGroup(self.air, [self.cjElevator.doId],
                                 ToontownGlobals.LawbotLobby, 8)

        # DA Office Boarding Group's
        self.offices = [
            self.officeA.doId, self.officeB.doId, self.officeC.doId,
            self.officeD.doId
        ]
        self.createBoardingGroup(self.air, self.offices,
                                 ToontownGlobals.LawbotOfficeExt)
    def createZone(self):
        CogHoodAI.createZone(self)

        # Create lobby manager...
        self.createLobbyManager(
            DistributedCashbotBossAI,
            ToontownGlobals.CashbotLobby)

        # Create CFO elevator.
        self.cfoElevator = self.createElevator(
            DistributedCFOElevatorAI,
            self.lobbyMgr,
            ToontownGlobals.CashbotLobby,
            ToontownGlobals.CashbotLobby,
            boss=True)

        # Make our doors.
        self.createDoor()

        # Create Suit Planners in the cog playground
        self.createSuitPlanner(self.HOOD)

        # Create mint elevators.
        mins = ToontownGlobals.FactoryLaffMinimums[1]
        self.cointMint = self.createElevator(
            DistributedMintElevatorExtAI,
            self.air.mintMgr,
            self.HOOD,
            ToontownGlobals.CashbotMintIntA,
            0,
            minLaff=mins[0])
        self.dollarMint = self.createElevator(
            DistributedMintElevatorExtAI,
            self.air.mintMgr,
            self.HOOD,
            ToontownGlobals.CashbotMintIntB,
            1,
            minLaff=mins[1])
        self.bullionMint = self.createElevator(
            DistributedMintElevatorExtAI,
            self.air.mintMgr,
            self.HOOD,
            ToontownGlobals.CashbotMintIntC,
            2,
            minLaff=mins[2])

        # Create boarding groups
        # CFO Boarding Group
        self.createBoardingGroup(
            self.air, [
                self.cfoElevator.doId], ToontownGlobals.CashbotLobby, 8)

        # Mint Boarding Group's
        self.mints = [
            self.cointMint.doId,
            self.dollarMint.doId,
            self.bullionMint.doId]
        self.createBoardingGroup(
            self.air, self.mints, ToontownGlobals.CashbotHQ)
Example #7
0
    def createZone(self):
        CogHoodAI.createZone(self)

        # Create lobby manager...
        self.createLobbyManager(DistributedSellbotBossAI,
                                ToontownGlobals.SellbotLobby)

        # Create VP elevator.
        self.vpElevator = self.createElevator(DistributedVPElevatorAI,
                                              self.lobbyMgr,
                                              ToontownGlobals.SellbotLobby,
                                              ToontownGlobals.SellbotLobby,
                                              boss=True)

        # Make our doors.
        self.createDoor()

        # Create Suit Planners in the cog playground and factory waiting area.
        self.createSuitPlanner(self.HOOD)
        self.createSuitPlanner(ToontownGlobals.SellbotFactoryExt)

        # Create factory elevators.
        mins = ToontownGlobals.FactoryLaffMinimums[0]
        self.frontEntrance = self.createElevator(
            DistributedFactoryElevatorExtAI,
            self.air.factoryMgr,
            ToontownGlobals.SellbotFactoryExt,
            ToontownGlobals.SellbotFactoryInt,
            0,
            minLaff=mins[0])
        self.sideEntrance = self.createElevator(
            DistributedFactoryElevatorExtAI,
            self.air.factoryMgr,
            ToontownGlobals.SellbotFactoryExt,
            ToontownGlobals.SellbotFactoryInt,
            1,
            minLaff=mins[1])

        # Create boarding groups
        # VP Boarding Group
        self.createBoardingGroup(self.air, [self.vpElevator.doId],
                                 ToontownGlobals.SellbotLobby, 8)

        # Factory Boarding Group's
        self.factories = [self.frontEntrance.doId, self.sideEntrance.doId]
        self.createBoardingGroup(self.air, self.factories,
                                 ToontownGlobals.SellbotFactoryExt)
Example #8
0
    def createZone(self):
        CogHoodAI.createZone(self)

        # Create lobby manager...
        self.createLobbyManager(DistributedBossbotBossAI,
                                ToontownGlobals.BossbotLobby)

        # Create CEO elevator.
        self.ceoElevator = self.createElevator(DistributedBBElevatorAI,
                                               self.lobbyMgr,
                                               ToontownGlobals.BossbotLobby,
                                               ToontownGlobals.BossbotLobby,
                                               boss=True)

        # Make our doors.
        self.createDoor()

        # Create Cog Golf Courses.
        kartPos = ((154.762, 37.169, 0), (141.403, -81.887, 0), (-48.44,
                                                                 15.308, 0))
        hprList = ((110.815, 0, 0), (61.231, 0, 0), (-105.481, 0, 0))

        mins = ToontownGlobals.FactoryLaffMinimums[3]
        for i in range(3):
            x, y, z = kartPos[i]
            h, p, r = hprList[i]
            self.createKart(i, x, y, z, h, p, r, mins[i])

        # Create boarding groups
        # CEO Boarding Group
        self.createBoardingGroup(self.air, [self.ceoElevator.doId],
                                 ToontownGlobals.BossbotLobby, 8)

        # Cog Golf Boarding Group's
        kartIds = [kart.getDoId() for kart in self.karts]
        self.createBoardingGroup(self.air, kartIds, ToontownGlobals.BossbotHQ)
 def __init__(self, air):
     CogHoodAI.__init__(self, air)
     self.createZone()
 def __init__(self, air):
     CogHoodAI.__init__(self, air)
     self.karts = []
     self.createZone()