def __init__(self): Creature.__init__(self) if not Monkey.sfx: for name in Monkey.SfxNames: Monkey.sfx[name] = loadSfx(Monkey.SfxNames[name]) self.generateCreature()
def __init__(self): Creature.__init__(self) TentacleUtils.__init__(self) self.collideBattleMask = PiratesGlobals.TargetBitmask | PiratesGlobals.BattleAimBitmask if not Grabber.sfx: for name in Grabber.SfxNames: Grabber.sfx[name] = loader.loadSfx('audio/' + Grabber.SfxNames[name]) self.joints = None self.idle = None self.iTask = None self.hitIval = Sequence(self.colorScaleInterval(0.3, (1, 0, 0, 1), (1, 1, 1, 1)), self.colorScaleInterval(0.3, (1, 1, 1, 1), (1, 0, 0, 1))) self.generateCreature() self.target = loader.loadModel('models/misc/smiley') self.target.reparentTo(self.getGrabTargetNode()) self.target.hide() self.enableMixing() return
def __init__(self): Creature.__init__(self) if not Bat.sfx: for name in Bat.SfxNames: Bat.sfx[name] = loadSfx(Bat.SfxNames[name]) self.nametagOffset = 1.2 self.generateCreature()
def __init__(self): Creature.__init__(self) if not Wasp.sfx: for name in Wasp.SfxNames: Wasp.sfx[name] = loadSfx(Wasp.SfxNames[name]) self.nametagOffset = 11.5 self.generateCreature()
def __init__(self): Creature.__init__(self) if not Scorpion.sfx: for name in Scorpion.SfxNames: Scorpion.sfx[name] = loadSfx(Scorpion.SfxNames[name]) self.nametagOffset = 12.0 self.generateCreature() self.headNode = self.find('**/def_root')
def __init__(self): Creature.__init__(self) if not FlyTrap.sfx: for name in FlyTrap.SfxNames: FlyTrap.sfx[name] = loadSfx(FlyTrap.SfxNames[name]) self.nametagOffset = 23 self.generateCreature() self.headNode = self.find('**/def_stem10')
def __init__(self): Creature.__init__(self) if not Crab.sfx: for name in Crab.SfxNames: Crab.sfx[name] = loadSfx(Crab.SfxNames[name]) self.nametagOffset = 1.6 self.generateCreature() self.headNode = self.find('**/def_root')
def __init__(self): Creature.__init__(self) self.texCard = loader.loadModel('models/char/undead_creatures') if not Alligator.sfx: for name in Alligator.SfxNames: Alligator.sfx[name] = loadSfx(Alligator.SfxNames[name]) self.nametagOffset = 3.7999999999999998 self.generateCreature()
def __init__(self): Creature.__init__(self) if not Head.sfx: for name in Head.SfxNames: Head.sfx[name] = loader.loadSfx('audio/' + Head.SfxNames[name]) self.generateCreature() self.target = loader.loadModel('models/misc/smiley') self.target.reparentTo(self)
def __init__(self): Creature.__init__(self) TentacleUtils.__init__(self) self.collideBattleMask = PiratesGlobals.TargetBitmask | PiratesGlobals.WallBitmask | PiratesGlobals.BattleAimBitmask | PiratesGlobals.CameraBitmask if not Holder.sfx: for name in Holder.SfxNames: Holder.sfx[name] = loader.loadSfx('audio/' + Holder.SfxNames[name]) self.hitIval = Sequence(self.colorScaleInterval(0.29999999999999999, (1, 0, 0, 1), (1, 1, 1, 1)), self.colorScaleInterval(0.29999999999999999, (1, 1, 1, 1), (1, 0, 0, 1)))
def __init__(self): Creature.__init__(self) if not Crab.sfx: for name in Crab.SfxNames: Crab.sfx[name] = loadSfx(Crab.SfxNames[name]) self.nametagOffset = 1.6000000000000001 self.generateCreature() self.headNode = self.find('**/def_root')
def __init__(self): Creature.__init__(self) self.rightHandNode = None self.leftHandNode = None if not Stump.sfx: for name in Stump.SfxNames: Stump.sfx[name] = loadSfx(Stump.SfxNames[name]) self.nametagOffset = 10 self.generateCreature() self.headNode = self.find('**/def_neck')
def __init__(self): Creature.__init__(self) TentacleUtils.__init__(self) self.collideBattleMask = PiratesGlobals.TargetBitmask | PiratesGlobals.WallBitmask | PiratesGlobals.BattleAimBitmask | PiratesGlobals.CameraBitmask if not Holder.sfx: for name in Holder.SfxNames: Holder.sfx[name] = loader.loadSfx('audio/' + Holder.SfxNames[name]) self.hitIval = Sequence( self.colorScaleInterval(0.3, (1, 0, 0, 1), (1, 1, 1, 1)), self.colorScaleInterval(0.3, (1, 1, 1, 1), (1, 0, 0, 1)))
def __init__(self): Creature.__init__(self) TentacleUtils.__init__(self) self.collideBattleMask = PiratesGlobals.TargetBitmask | PiratesGlobals.BattleAimBitmask if not Grabber.sfx: for name in Grabber.SfxNames: Grabber.sfx[name] = loader.loadSfx('audio/' + Grabber.SfxNames[name]) self.joints = None self.idle = None self.iTask = None self.hitIval = Sequence(self.colorScaleInterval(0.29999999999999999, (1, 0, 0, 1), (1, 1, 1, 1)), self.colorScaleInterval(0.29999999999999999, (1, 1, 1, 1), (1, 0, 0, 1))) self.generateCreature() self.target = loader.loadModel('models/misc/smiley') self.target.reparentTo(self.getGrabTargetNode()) self.target.hide() self.enableMixing()
def __init__(self, animationMixer = None): Creature.__init__(self, animationMixer)
def initializeNametag3dPet(self): Creature.initializeNametag3d(self)
def generateCreature(self): Creature.generateCreature(self) self.getWeaponJoints()
def delete(self): self.rightHandNode = None self.leftHandNode = None Creature.delete(self)
def __init__(self, animationMixer=None): Creature.__init__(self, animationMixer)
def generateCreature(self): Creature.generateCreature(self) self.getGeomNode().setH(180) self.setAvatarScale(0.7)
def __init__(self): Creature.__init__(self) self.enableMixing() self.collideBattleMask = PiratesGlobals.TargetBitmask | PiratesGlobals.BattleAimBitmask
def generateCreature(self): Creature.generateCreature(self) self.getGeomNode().setH(180) self.setAvatarScale(0.69999999999999996)