示例#1
0
    def generate(self):
        DistributedBattleZoneAI.generate(self)

        # Link up networked entities
        from src.coginvasion.szboss import (DistributedIndicatorLightAI,
                                            DistributedSZBossSuitAI,
                                            DistributedCutsceneAI,
                                            DistributedGoonAI,
                                            DistributedGeneratorAI,
                                            DistributedSZBossToonAI)
        from src.coginvasion.cogoffice.AIEntities import (SuitSpawn)
        from src.coginvasion.battle.DistributedHPBarrelAI import DistributedHPBarrelAI
        from src.coginvasion.battle.DistributedGagBarrelAI import DistributedGagBarrelAI
        #self.bspLoader.linkServerEntityToClass("npc_goon",              DistributedGoonAI.DistributedGoonAI)
        self.bspLoader.linkServerEntityToClass(
            "npc_suit", DistributedSZBossSuitAI.DistributedSZBossSuitAI)
        self.bspLoader.linkServerEntityToClass(
            "info_cutscene", DistributedCutsceneAI.DistributedCutsceneAI)
        self.bspLoader.linkServerEntityToClass(
            "info_indicator_light",
            DistributedIndicatorLightAI.DistributedIndicatorLightAI)
        self.bspLoader.linkServerEntityToClass(
            "func_generator", DistributedGeneratorAI.DistributedGeneratorAI)
        self.bspLoader.linkServerEntityToClass(
            "npc_toon", DistributedSZBossToonAI.DistributedSZBossToonAI)
        self.bspLoader.linkServerEntityToClass("cogoffice_suitspawn",
                                               SuitSpawn)
        self.bspLoader.linkServerEntityToClass("item_gagbarrel",
                                               DistributedGagBarrelAI)
        self.bspLoader.linkServerEntityToClass("item_laffbarrel",
                                               DistributedHPBarrelAI)
示例#2
0
    def generate(self):
        DistributedBattleZoneAI.generate(self)

        from src.coginvasion.deathmatch.DistributedGagPickupAI import DistributedGagPickupAI
        from src.coginvasion.szboss.InfoBgm import InfoBgm
        from src.coginvasion.szboss.DistributedSZBossToonAI import DistributedSZBossToonAI
        from src.coginvasion.szboss.DistributedSZBossSuitAI import DistributedSZBossSuitAI
        from src.coginvasion.szboss.ScriptedSequenceAI import ScriptedSequenceAI
        from src.coginvasion.szboss.ScriptedSpeechAI import ScriptedSpeechAI
        from src.coginvasion.szboss.goon.NPC_GoonAI import NPC_GoonAI
        from src.coginvasion.cogoffice.AIEntities import SuitSpawn
        from src.coginvasion.battle.DistributedHPBarrelAI import DistributedHPBarrelAI
        from src.coginvasion.arcade.BatchCogSpawnerAI import BatchCogSpawnerAI
        from src.mod.CogStomperAI import CogStomperAI
        from src.mod.CogCageAI import CogCageAI
        from src.mod.NPC_VPAI import NPC_VPAI
        from src.mod.KeypadAI import KeypadAI
        from src.mod.LaffBarrelAI import LaffBarrelAI
        self.bspLoader.linkServerEntityToClass("gag_pickup",
                                               DistributedGagPickupAI)
        self.bspLoader.linkServerEntityToClass("npc_toon",
                                               DistributedSZBossToonAI)
        self.bspLoader.linkServerEntityToClass("npc_suit",
                                               DistributedSZBossSuitAI)
        self.bspLoader.linkServerEntityToClass("scripted_sequence",
                                               ScriptedSequenceAI)
        self.bspLoader.linkServerEntityToClass("scripted_speech",
                                               ScriptedSpeechAI)
        self.bspLoader.linkServerEntityToClass("cogoffice_suitspawn",
                                               SuitSpawn)
        self.bspLoader.linkServerEntityToClass("batch_cog_spawner",
                                               BatchCogSpawnerAI)
        self.bspLoader.linkServerEntityToClass("item_laffbarrel",
                                               DistributedHPBarrelAI)
        self.bspLoader.linkServerEntityToClass("cog_stomper", CogStomperAI)
        self.bspLoader.linkServerEntityToClass("cog_cage", CogCageAI)
        self.bspLoader.linkServerEntityToClass("npc_goon", NPC_GoonAI)
        self.bspLoader.linkServerEntityToClass("npc_vp", NPC_VPAI)
        self.bspLoader.linkServerEntityToClass("item_keypad", KeypadAI)
        self.bspLoader.linkServerEntityToClass("mod_item_laffbarrel",
                                               LaffBarrelAI)
    def generate(self):
        DistributedBattleZoneAI.generate(self)

        import AIEntities
        from src.coginvasion.szboss import (InfoTimer, DistributedFuncDoorAI,
                                            DistributedTriggerAI)
        from src.coginvasion.battle import (DistributedHPBarrelAI,
                                            DistributedGagBarrelAI)
        self.bspLoader.linkServerEntityToClass("cogoffice_suitspawn",
                                               AIEntities.SuitSpawn)
        self.bspLoader.linkServerEntityToClass("cogoffice_hangoutpoint",
                                               AIEntities.SuitHangout)
        self.bspLoader.linkServerEntityToClass("cogoffice_elevator",
                                               DistributedCogOfficeElevatorAI)
        self.bspLoader.linkServerEntityToClass("info_timer",
                                               InfoTimer.InfoTimer)
        self.bspLoader.linkServerEntityToClass(
            "func_door", DistributedFuncDoorAI.DistributedFuncDoorAI)
        self.bspLoader.linkServerEntityToClass("info_cogoffice_floor",
                                               AIEntities.InfoCogOfficeFloor)
        self.bspLoader.linkServerEntityToClass(
            "item_gagbarrel", DistributedGagBarrelAI.DistributedGagBarrelAI)
        self.bspLoader.linkServerEntityToClass(
            "item_laffbarrel", DistributedHPBarrelAI.DistributedHPBarrelAI)
示例#4
0
    def generate(self):
        DistributedBattleZoneAI.generate(self)

        from src.coginvasion.deathmatch.DistributedGagPickupAI import DistributedGagPickupAI
        self.bspLoader.linkServerEntityToClass("gag_pickup",
                                               DistributedGagPickupAI)