def announceGenerate(self): DistributedGameArea.announceGenerate(self) DistributedCartesianGrid.announceGenerate(self) self.getParentObj().setWorldGrid(self) self.loadModel() for obj in self.geom.findAllMatches('**/=ignore-lighting'): obj.setLightOff(1000) doorPlanes = self.geom.findAllMatches('**/door_collision_planar_*;+s') doorPlanes.stash() base.worldCreator.registerSpecialNodes(self, self.uniqueId) self.builder.loadObjects() self.enableFloors() self.initBlockers(self) self.startCustomEffects() self.builder.resumeSFX() self.closeSfx = loadSfx(SoundGlobals.SFX_DOOR_SLAM)
def announceGenerate(self): DistributedCartesianGrid.announceGenerate(self) self.setupMinimap()
def announceGenerate(self): DistributedCartesianGrid.announceGenerate(self) self.setupMinimap() self.stash() self.water.disable()