def __init__(self, cr): DistributedEntity.__init__(self, cr) self.gagId = 0 self.pickupState = 0 self.collNode = None self.pickupSound = None self.gagMdl = None
def __init__(self, cr): DistributedEntity.__init__(self, cr) self.height = 1.0 self.raiseSpeed = 1 self.stompSpeed = 1 self.scale = Vec3(1) self.moveDir = Vec3.up()
def __init__(self, cr): DistributedEntity.__init__(self, cr) self.buttons = [] self.text = TextNode("keypad-text") self.text.setFont(loader.loadFont("models/fonts/DS-DIGI.TTF")) self.text.setTextColor((0, 0, 0, 1)) self.text.setAlign(TextNode.ACenter) self.textNP = None
def __init__(self, cr): DistributedEntity.__init__(self, cr) self.assign(NodePath(ModelNode('ambientGeneric'))) self.node().setPreserveTransform(ModelNode.PTLocal) self.sndFile = "" self.looping = False self.volume = 1.0 self.numWildcardSounds = 0
def __init__(self, cr): DistributedEntity.__init__(self, cr) UseableObject.__init__(self) self.barrel = None self.gagModel = None self.gagNode = None self.barrelScale = 0.5 self.pulseIval = None self.hasPhysGeom = False self.underneathSelf = True
def __init__(self, cr): DistributedEntity.__init__(self, cr) UseableObject.__init__(self) self.gagId = 0 self.pickupState = 0 self.cost = 0 self.collNode = None self.pickupSound = None self.gagMdl = None self.hasPhysGeom = True self.underneathSelf = True self.infoText = None
def __init__(self, cr): DistributedEntity.__init__(self, cr) DistributedNode.__init__(self, cr) NodePath.__init__(self, 'restock_barrel') self.grabSfx = None self.rejectSfx = None self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.ogg' self.rejectSoundPath = 'phase_4/audio/sfx/ring_miss.ogg' self.animTrack = None self.barrelScale = 0.5 self.radius = 1.5 self.height = 4.275 self.playSoundForRemoteToons = 1 self.barrel = None self.gagNode = None self.gagModel = None # Collision nodes self.collSphere = None self.collNode = None self.collNodePath = None
def __init__(self, cr): DistributedEntity.__init__(self, cr) self.ival = None
def __init__(self, cr): DistributedEntity.__init__(self, cr) DistributedElevator.__init__(self, cr) self.index = None self.type = None self.elev = None
def __init__(self, cr): DistributedEntity.__init__(self, cr) UseableObject.__init__(self, False) self.doorHinge = None self.shapeGroup = CIGlobals.UseableGroup
def __init__(self, cr): DistributedEntity.__init__(self, cr, False) Avatar.__init__(self) # joint name -> [X,Y,Z,H,P,R,TIME] self.attachmentInterps = {}
def __init__(self, cr): DistributedEntity.__init__(self, cr) self.number = 0 self.emblem = None self.emblemFloat = None
def __init__(self, cr): DistributedEntity.__init__(self, cr) self.ival = None self.flashColor = Vec3(1) self.brightTime = 1.0 self.darkTime = 1.0