5136 lines
196 KiB
Text
5136 lines
196 KiB
Text
|
---------------------------Loops-------------------------------------------------------------------------------------
|
||
|
base.localAvatar.loop('neutral')
|
||
|
base.localAvatar.loop('angry')
|
||
|
base.localAvatar.loop('book')
|
||
|
base.localAvatar.loop('conked')
|
||
|
base.localAvatar.loop('cringe')
|
||
|
base.localAvatar.loop('duck')
|
||
|
base.localAvatar.loop('jump')
|
||
|
base.localAvatar.loop('throw')
|
||
|
base.localAvatar.loop('running-jump')
|
||
|
base.localAvatar.loop('shrug')
|
||
|
base.localAvatar.loop('sidestep-left')
|
||
|
base.localAvatar.loop('sidestep-right')
|
||
|
base.localAvatar.loop('teleport')
|
||
|
base.localAvatar.loop('walk')
|
||
|
base.localAvatar.loop('wave')
|
||
|
base.localAvatar.loop('applause')
|
||
|
base.localAvatar.loop('bored')
|
||
|
base.localAvatar.loop('bow')
|
||
|
base.localAvatar.loop('cast')
|
||
|
base.localAvatar.loop('castlong')
|
||
|
base.localAvatar.loop('reel')
|
||
|
base.localAvatar.loop('confused')
|
||
|
base.localAvatar.loop('down')
|
||
|
base.localAvatar.loop('up')
|
||
|
base.localAvatar.loop('left')
|
||
|
base.localAvatar.loop('right')
|
||
|
base.localAvatar.loop('pole')
|
||
|
base.localAvatar.loop('sad-neutral')
|
||
|
base.localAvatar.loop('sit')
|
||
|
base.localAvatar.loop('slip-backward')
|
||
|
base.localAvatar.loop('slip-forward')
|
||
|
base.localAvatar.loop('swim')
|
||
|
base.localAvatar.loop('swing')
|
||
|
base.localAvatar.loop('think')
|
||
|
base.localAvatar.loop('tug-o-war')
|
||
|
base.localAvatar.loop('climb')
|
||
|
base.localAvatar.loop('firehose')
|
||
|
base.localAvatar.loop('happy-dance')
|
||
|
base.localAvatar.loop('hold-bottle')
|
||
|
base.localAvatar.loop('hold-magnet')
|
||
|
base.localAvatar.loop('hypnotize')
|
||
|
base.localAvatar.loop('juggle')
|
||
|
base.localAvatar.loop('lose')
|
||
|
base.localAvatar.loop('melt')
|
||
|
base.localAvatar.loop('smooch')
|
||
|
base.localAvatar.loop('spit')
|
||
|
base.localAvatar.loop('sprinkle-dust')
|
||
|
base.localAvatar.loop('struggle')
|
||
|
base.localAvatar.loop('tickle')
|
||
|
base.localAvatar.loop('toss')
|
||
|
base.localAvatar.loop('water-gun')
|
||
|
base.localAvatar.loop('callPet')
|
||
|
base.localAvatar.loop('feedPet')
|
||
|
base.localAvatar.loop('takePhone')
|
||
|
base.localAvatar.loop('phoneBack')
|
||
|
base.localAvatar.loop('phoneNeutral')
|
||
|
base.localAvatar.loop('sound')
|
||
|
base.localAvatar.loop('badloop-putt')
|
||
|
base.localAvatar.loop('bad-putt')
|
||
|
base.localAvatar.loop('good-putt')
|
||
|
base.localAvatar.loop('headdown-putt')
|
||
|
base.localAvatar.loop('into-putt')
|
||
|
base.localAvatar.loop('lookloop-putt')
|
||
|
base.localAvatar.loop('look-putt')
|
||
|
base.localAvatar.loop('loop-putt')
|
||
|
base.localAvatar.loop('rotateL-putt')
|
||
|
base.localAvatar.loop('rotateR-putt')
|
||
|
base.localAvatar.loop('swing-putt')
|
||
|
base.localAvatar.loop('push')
|
||
|
base.localAvatar.loop('leverNeutral')
|
||
|
base.localAvatar.loop('leverPull')
|
||
|
base.localAvatar.loop('leverReach')
|
||
|
base.localAvatar.loop('running-jump-land')
|
||
|
base.localAvatar.loop('pet-start')
|
||
|
base.localAvatar.loop('pushbutton')
|
||
|
base.localAvatar.loop('jump-land')
|
||
|
base.localAvatar.loop('catch-eatneutral')
|
||
|
base.localAvatar.loop('battlecast')
|
||
|
base.localAvatar.loop('catch-run')
|
||
|
base.localAvatar.loop('pet-loop')
|
||
|
base.localAvatar.loop('jump-squat')
|
||
|
base.localAvatar.loop('reel-neutral')
|
||
|
base.localAvatar.loop('pole-neutral')
|
||
|
base.localAvatar.loop('bank')
|
||
|
base.localAvatar.loop('scientistGame')
|
||
|
base.localAvatar.loop('victory')
|
||
|
base.localAvatar.loop('fish-end')
|
||
|
base.localAvatar.loop('scientistWork')
|
||
|
base.localAvatar.loop('scientistJealous')
|
||
|
base.localAvatar.loop('catch-intro-throw')
|
||
|
base.localAvatar.loop('curtsy')
|
||
|
base.localAvatar.loop('loop-dig')
|
||
|
base.localAvatar.loop('start-dig')
|
||
|
base.localAvatar.loop('running-jump-squat')
|
||
|
base.localAvatar.loop('fish-again')
|
||
|
base.localAvatar.loop('jump-idle')
|
||
|
base.localAvatar.loop('sad-walk')
|
||
|
base.localAvatar.loop('running-jump-idle')
|
||
|
base.localAvatar.loop('catch-neutral')
|
||
|
-------------------------------------AutoFish----------------------------------------------------------------------
|
||
|
fishCaught = 0
|
||
|
|
||
|
fishCaught += 20
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
def catch():
|
||
|
fish = base.cr.doFindAll("FishingTarget")
|
||
|
for fish in fish:
|
||
|
print "Activated"
|
||
|
|
||
|
fp = base.cr.doFindAll("FishingPond")
|
||
|
for fp in fp:
|
||
|
fp.d_hitTarget(fish)
|
||
|
def sell():
|
||
|
base.localAvatar.setMaxFishTank(fishCaught)
|
||
|
fishman = base.cr.doFindAll("Fisherman")
|
||
|
for fishman in fishman:
|
||
|
fishid = fishman.doId
|
||
|
base.localAvatar.setMoney(base.localAvatar.bankMoney)
|
||
|
messenger.send('enterNPCToon-' + str(fishid), [1])
|
||
|
def onGo():
|
||
|
seq = Sequence()
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Func(catch))
|
||
|
seq.append(Wait(1))
|
||
|
seq.append(Func(sell))
|
||
|
seq.start()
|
||
|
onGo()
|
||
|
--------------------------------------My Buttons-------------------------------------------------------------------
|
||
|
from direct.gui.OnscreenText import OnscreenText
|
||
|
from direct.gui.DirectGui import *
|
||
|
from pandac.PandaModules import TextNode
|
||
|
|
||
|
bk_text = "Hacks Ready"
|
||
|
textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
|
||
|
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||
|
|
||
|
def normal1():
|
||
|
bk_text = "Hacks Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
|
||
|
def setText1():
|
||
|
bk_text = "Cold Caller"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 0])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 4])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(3)
|
||
|
var = 0
|
||
|
|
||
|
def setText2():
|
||
|
bk_text = "Telemarketer"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 1])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 5])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(3)
|
||
|
var = 1
|
||
|
|
||
|
|
||
|
def setText3():
|
||
|
bk_text = "Name Dropper"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 2])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 6])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(3)
|
||
|
var = 1
|
||
|
|
||
|
def setText4():
|
||
|
bk_text = "Glad Hander"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 3])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 7])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(3)
|
||
|
var = 1
|
||
|
|
||
|
def setText5():
|
||
|
bk_text = "Mover Shaker"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 4])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 8])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(3)
|
||
|
var = 0
|
||
|
|
||
|
def setText6():
|
||
|
bk_text = "Two Face"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 5])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 9])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(3)
|
||
|
var = 1
|
||
|
|
||
|
def setText7():
|
||
|
bk_text = "The Mingler"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 6])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 10])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(3)
|
||
|
var = 1
|
||
|
|
||
|
def setText8():
|
||
|
bk_text = "Mr. Hollywood"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 7])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 11])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(3)
|
||
|
var = 1
|
||
|
|
||
|
def setText9():
|
||
|
bk_text = "Remove"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.takeOffSuit()
|
||
|
var = 1
|
||
|
|
||
|
def setText10():
|
||
|
bk_text = "Short Change"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 0])
|
||
|
base.localAvatar.setCogLevels([5, 5, 4, 4])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(2)
|
||
|
var = 0
|
||
|
|
||
|
def setText11():
|
||
|
bk_text = "Penny Pincher"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 1, 1])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 5])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(2)
|
||
|
var = 1
|
||
|
|
||
|
|
||
|
def setText12():
|
||
|
bk_text = "Tightwad"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 2, 2])
|
||
|
base.localAvatar.setCogLevels([5, 5, 6, 6])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(2)
|
||
|
var = 1
|
||
|
|
||
|
def setText13():
|
||
|
bk_text = "Bean Counter"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 3, 3])
|
||
|
base.localAvatar.setCogLevels([5, 5, 7, 7])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(2)
|
||
|
var = 1
|
||
|
|
||
|
def setText14():
|
||
|
bk_text = "Number Cruncher"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 4, 4])
|
||
|
base.localAvatar.setCogLevels([5, 5, 8, 8])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(2)
|
||
|
var = 0
|
||
|
|
||
|
def setText15():
|
||
|
bk_text = "Money Bags"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 5, 5])
|
||
|
base.localAvatar.setCogLevels([5, 5, 9, 9])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(2)
|
||
|
var = 1
|
||
|
|
||
|
def setText16():
|
||
|
bk_text = "Loan Shark"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 6, 6])
|
||
|
base.localAvatar.setCogLevels([5, 5, 10, 10])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(2)
|
||
|
var = 1
|
||
|
|
||
|
def setText17():
|
||
|
bk_text = "Robber Baron"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 7, 7])
|
||
|
base.localAvatar.setCogLevels([5, 5, 11, 11])
|
||
|
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(2)
|
||
|
var = 1
|
||
|
|
||
|
def setText18():
|
||
|
bk_text = "Bottom Feeder"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 0])
|
||
|
base.localAvatar.setCogLevels([5, 4, 4, 4])
|
||
|
base.localAvatar.setCogParts([99999999999999999999, 99999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(1)
|
||
|
var = 0
|
||
|
|
||
|
def setText19():
|
||
|
bk_text = "Bloodsucker"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 1, 1, 1])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 5])
|
||
|
base.localAvatar.setCogParts([9999999999999999999999, 999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(1)
|
||
|
var = 1
|
||
|
|
||
|
|
||
|
def setText20():
|
||
|
bk_text = "Double Talker"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 2, 2, 2])
|
||
|
base.localAvatar.setCogLevels([5, 6, 6, 6])
|
||
|
base.localAvatar.setCogParts([999999999999999999999999, 999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(1)
|
||
|
var = 1
|
||
|
|
||
|
def setText21():
|
||
|
bk_text = "Ambulance Chaser"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 3, 3, 3])
|
||
|
base.localAvatar.setCogLevels([5, 7, 7, 7])
|
||
|
base.localAvatar.setCogParts([9999999999999999999, 9999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(1)
|
||
|
var = 1
|
||
|
|
||
|
def setText22():
|
||
|
bk_text = "Backstabber"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 4, 4, 4])
|
||
|
base.localAvatar.setCogLevels([5, 8, 8, 8])
|
||
|
base.localAvatar.setCogParts([9999999999999999999, 999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(1)
|
||
|
var = 0
|
||
|
|
||
|
def setText23():
|
||
|
bk_text = "Spin Doctor"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 5, 5, 5])
|
||
|
base.localAvatar.setCogLevels([5, 9, 9, 9])
|
||
|
base.localAvatar.setCogParts([999999999999999999999, 99999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(1)
|
||
|
var = 1
|
||
|
|
||
|
def setText24():
|
||
|
bk_text = "Legal Eagle"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 6, 6, 6])
|
||
|
base.localAvatar.setCogLevels([5, 10, 10, 10])
|
||
|
base.localAvatar.setCogParts([99999999999999999999999, 9999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(1)
|
||
|
var = 1
|
||
|
|
||
|
def setText25():
|
||
|
bk_text = "Big Wig"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 7, 7, 7])
|
||
|
base.localAvatar.setCogLevels([5, 11, 11, 11])
|
||
|
base.localAvatar.setCogParts([9999999999999999999, 999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(1)
|
||
|
var = 1
|
||
|
|
||
|
def setText26():
|
||
|
bk_text = "Flunky"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([0, 0, 0, 0])
|
||
|
base.localAvatar.setCogLevels([4, 4, 4, 4])
|
||
|
base.localAvatar.setCogParts([99999999999999999999, 99999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(0)
|
||
|
var = 0
|
||
|
|
||
|
def setText27():
|
||
|
bk_text = "Pencil Pusher"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([1, 1, 1, 1])
|
||
|
base.localAvatar.setCogLevels([5, 5, 5, 5])
|
||
|
base.localAvatar.setCogParts([9999999999999999999999, 999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(0)
|
||
|
var = 1
|
||
|
|
||
|
|
||
|
def setText28():
|
||
|
bk_text = "YesMan"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([2, 2, 2, 2])
|
||
|
base.localAvatar.setCogLevels([6, 6, 6, 6])
|
||
|
base.localAvatar.setCogParts([999999999999999999999999, 999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(0)
|
||
|
var = 1
|
||
|
|
||
|
def setText29():
|
||
|
bk_text = "MircoManager"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([3, 3, 3, 3])
|
||
|
base.localAvatar.setCogLevels([7, 7, 7, 7])
|
||
|
base.localAvatar.setCogParts([9999999999999999999, 9999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(0)
|
||
|
var = 1
|
||
|
|
||
|
def setText30():
|
||
|
bk_text = "Downsizer"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([4, 4, 4, 4])
|
||
|
base.localAvatar.setCogLevels([8, 8, 8, 8])
|
||
|
base.localAvatar.setCogParts([9999999999999999999, 999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(0)
|
||
|
var = 0
|
||
|
|
||
|
def setText31():
|
||
|
bk_text = "Head Hunter"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([5, 5, 5, 5])
|
||
|
base.localAvatar.setCogLevels([9, 9, 9, 9])
|
||
|
base.localAvatar.setCogParts([999999999999999999999, 99999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(0)
|
||
|
var = 1
|
||
|
|
||
|
def setText32():
|
||
|
bk_text = "Coorperate Raider"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([6, 6, 6, 6])
|
||
|
base.localAvatar.setCogLevels([10, 10, 10, 10])
|
||
|
base.localAvatar.setCogParts([99999999999999999999999, 9999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(0)
|
||
|
var = 1
|
||
|
|
||
|
def setText33():
|
||
|
bk_text = "Big Cheese"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogTypes([7, 7, 7, 7])
|
||
|
base.localAvatar.setCogLevels([11, 11, 11, 11])
|
||
|
base.localAvatar.setCogParts([9999999999999999999, 999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setCogIndex(0)
|
||
|
var = 1
|
||
|
|
||
|
def setText34():
|
||
|
bk_text = "Global Teleports"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.book.pages[1].showPop = 1
|
||
|
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||
|
base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||
|
var = 0
|
||
|
|
||
|
def setText35():
|
||
|
bk_text = "Sit"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('SitStart')
|
||
|
var = 1
|
||
|
|
||
|
|
||
|
def setText36():
|
||
|
bk_text = "Lose Laff"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.d_squish(3)
|
||
|
var = 1
|
||
|
|
||
|
def setText37():
|
||
|
bk_text = "Race"
|
||
|
textObject.setText(bk_text)
|
||
|
ttv = base.cr.doFindAll("Vehicle")
|
||
|
for ttv in base.cr.doFindAll("Vehicle"):
|
||
|
ttv.setTurbo(999999)
|
||
|
var = 1
|
||
|
|
||
|
def setText38():
|
||
|
bk_text = "Speedchat"
|
||
|
textObject.setText(bk_text)
|
||
|
base.talkAssistant.sendOpenTalk(' We Are Team Dream')
|
||
|
base.localAvatar.b_setEmoteState(22,1)
|
||
|
var = 0
|
||
|
|
||
|
def setText39():
|
||
|
bk_text = "Steal"
|
||
|
textObject.setText(bk_text)
|
||
|
getCloset = base.cr.doFindAll("closet")
|
||
|
for getCloset in base.cr.doFindAll("closet"):
|
||
|
messenger.send('purchaseDone-' + str(getCloset.doId))
|
||
|
var = 1
|
||
|
|
||
|
def setText40():
|
||
|
bk_text = "Copy"
|
||
|
cc = base.cr.doFindAll("Yes")
|
||
|
for cc in base.cr.doFindAll("Yes"):
|
||
|
cc.copyTo(render)
|
||
|
base.localAvatar.setSystemMessage(0,'This button has actiavted A clone')
|
||
|
var = 0
|
||
|
|
||
|
def setText41():
|
||
|
bk_text = "Garden Game"
|
||
|
messenger.send('gardenGame')
|
||
|
var = 0
|
||
|
|
||
|
def setText42():
|
||
|
bk_text = "10000 Cupcakes"
|
||
|
base.localAvatar.setPieType(0)
|
||
|
base.localAvatar.setNumPies(10000)
|
||
|
var = 0
|
||
|
|
||
|
def setText43():
|
||
|
bk_text = "10000 Fruit Pie Slices"
|
||
|
base.localAvatar.setPieType(1)
|
||
|
base.localAvatar.setNumPies(10000)
|
||
|
var = 0
|
||
|
|
||
|
def setText44():
|
||
|
bk_text = "10000 Cream Pie Slices"
|
||
|
base.localAvatar.setPieType(2)
|
||
|
base.localAvatar.setNumPies(10000)
|
||
|
var = 0
|
||
|
|
||
|
def setText45():
|
||
|
bk_text = "10000 Whole Fruite Pie"
|
||
|
base.localAvatar.setPieType(3)
|
||
|
base.localAvatar.setNumPies(10000)
|
||
|
var = 0
|
||
|
|
||
|
def setText46():
|
||
|
bk_text = "10000 Whole Cream Pie"
|
||
|
base.localAvatar.setPieType(4)
|
||
|
base.localAvatar.setNumPies(10000)
|
||
|
var = 0
|
||
|
|
||
|
def setText47():
|
||
|
bk_text = "10000 Birthday Cake"
|
||
|
base.localAvatar.setPieType(5)
|
||
|
base.localAvatar.setNumPies(10000)
|
||
|
var = 0
|
||
|
|
||
|
def setText48():
|
||
|
bk_text = "10000 Lawbot Evidence Pieces"
|
||
|
base.localAvatar.setPieType(7)
|
||
|
base.localAvatar.setNumPies(10000)
|
||
|
var = 0
|
||
|
|
||
|
def setText49():
|
||
|
bk_text = "Swim"
|
||
|
base.localAvatar.b_setAnimState('swim')
|
||
|
var = 0
|
||
|
|
||
|
base.accept("escape", normal1, [])
|
||
|
b1 = DirectButton(text = ("CC", "cc", "cc", "CC"), scale=.06, pos = (-.98,-0,-.94), command=setText1)
|
||
|
b2 = DirectButton(text = ("TM", "tm", "tm", "TM"), scale=.06, pos = (-.8,-0,-.94), command=setText2)
|
||
|
b3 = DirectButton(text = ("ND", "nd", "nd", "ND"), scale=.06, pos = (-.6,-0,-.94), command=setText3)
|
||
|
b4 = DirectButton(text = ("GH", "gh", "gh", "GH"), scale=.06, pos = (-.28,-0,-.94), command=setText4)
|
||
|
b5 = DirectButton(text = ("MS", "ms", "ms", "MS"), scale=.06, pos = (-0,-0,-.94), command=setText5)
|
||
|
b6 = DirectButton(text = ("TF", "tf", "tf", "TF"), scale=.06, pos = (.16,-0,-.94), command=setText6)
|
||
|
b7 = DirectButton(text = ("THE M", "The m", "The m", "THE M"), scale=.06, pos = (.35,-0,-.94), command=setText7)
|
||
|
b8 = DirectButton(text = ("MH", "mh", "mh", "MH"), scale=.06, pos = (.565,-0,-.94), command=setText8)
|
||
|
b9 = DirectButton(text = ("Remove", "Remove", "Remove", "Remove"), scale=.06, pos =(.900,-0,-.84), command=setText9)
|
||
|
b10 = DirectButton(text = ("SC", "sc", "sc", "SC"), scale=.06, pos = (-.98,-0,-.84), command=setText10)
|
||
|
b11 = DirectButton(text = ("PP", "pp", "pp", "PP"), scale=.06, pos = (-.8,-0,-.84), command=setText11)
|
||
|
b12 = DirectButton(text = ("TW", "tw", "tw", "TW"), scale=.06, pos = (-.6,-0,-.84), command=setText12)
|
||
|
b13 = DirectButton(text = ("BC", "bc", "bc", "BC"), scale=.06, pos = (-.28,-0,-.84), command=setText13)
|
||
|
b14 = DirectButton(text = ("NC", "nc", "nc", "NC"), scale=.06, pos = (-0,-0,-.84), command=setText14)
|
||
|
b15 = DirectButton(text = ("MB", "mb", "mb", "MB"), scale=.06, pos = (.16,-0,-.84), command=setText15)
|
||
|
b16 = DirectButton(text = ("LS", "ls", "ls", "LS"), scale=.06, pos = (.35,-0,-.84), command=setText16)
|
||
|
b17 = DirectButton(text = ("RB", "rb", "rb", "RB"), scale=.06, pos = (.565,-0,-.84), command=setText17)
|
||
|
b18 = DirectButton(text = ("BF", "bf", "bf", "BF"), scale=.06, pos = (-.98,-0,-.74), command=setText18)
|
||
|
b19 = DirectButton(text = ("BS", "bs", "bs", "BS"), scale=.06, pos = (-.8,-0,-.74), command=setText19)
|
||
|
b20 = DirectButton(text = ("DT", "dt", "dt", "DT"), scale=.06, pos = (-.6,-0,-.74), command=setText20)
|
||
|
b21 = DirectButton(text = ("AC", "ac", "ac", "AC"), scale=.06, pos = (-.28,-0,-.74), command=setText21)
|
||
|
b22 = DirectButton(text = ("BS", "bs", "bs", "BS"), scale=.06, pos = (-0,-0,-.74), command=setText22)
|
||
|
b23 = DirectButton(text = ("SD", "sd", "sd", "SD"), scale=.06, pos = (.16,-0,-.74), command=setText23)
|
||
|
b24 = DirectButton(text = ("LE", "le", "le", "LE"), scale=.06, pos = (.35,-0,-.74), command=setText24)
|
||
|
b25 = DirectButton(text = ("BW", "bw", "bw", "BW"), scale=.06, pos = (.565,-0,-.74), command=setText25)
|
||
|
b26 = DirectButton(text = ("F", "f", "f", "F"), scale=.06, pos = (-.98,-0,-.64), command=setText26)
|
||
|
b27 = DirectButton(text = ("Pp", "pp", "pp", "Pp"), scale=.06, pos = (-.8,-0,-.64), command=setText27)
|
||
|
b28 = DirectButton(text = ("YM", "ym", "ym", "YM"), scale=.06, pos = (-.6,-0,-.64), command=setText28)
|
||
|
b29 = DirectButton(text = ("MM", "mm", "mm", "MM"), scale=.06, pos = (-.28,-0,-.64), command=setText29)
|
||
|
b30 = DirectButton(text = ("DS", "ds", "ds", "DS"), scale=.06, pos = (-0,-0,-.64), command=setText30)
|
||
|
b31 = DirectButton(text = ("HH", "hh", "hh", "HH"), scale=.06, pos = (.16,-0,-.64), command=setText31)
|
||
|
b32 = DirectButton(text = ("CR", "cr", "cr", "CR"), scale=.06, pos = (.35,-0,-.64), command=setText32)
|
||
|
b33 = DirectButton(text = ("BC", "bc", "bc", "BC"), scale=.06, pos = (.565,-0,-.64), command=setText33)
|
||
|
b34 = DirectButton(text = ("RIVER", "river", "river", "RIVER"), scale=.06, pos = (-.98,-0,-.54), command=setText34)
|
||
|
b35 = DirectButton(text = ("SIT", "sit", "sit", "SIT"), scale=.06, pos = (-.8,-0,-.54), command=setText35)
|
||
|
b36 = DirectButton(text = ("L.LAFF", "l.laff", "l.laff", "L.LAFF"), scale=.06, pos = (-.6,-0,-.54), command=setText36)
|
||
|
b37 = DirectButton(text = ("RACE", "race", "race", "RACE"), scale=.06, pos = (-.28,-0,-.54), command=setText37)
|
||
|
b38 = DirectButton(text = ("TDSC", "tdsc", "tdsc", "TDSC"), scale=.06, pos = (-0,-0,-.54), command=setText38)
|
||
|
b39 = DirectButton(text = ("STEAL", "steal", "steal", "STEAL"), scale=.06, pos = (.18,-0,-.54), command=setText39)
|
||
|
b40 = DirectButton(text = ("COPY", "copy", "copy", "COPY"), scale=.06, pos = (.35,-0,-.54), command=setText40)
|
||
|
b41 = DirectButton(text = ("GG", "gg", "gg", "GG"), scale=.06, pos = (.565,-0,-.54), command=setText41)
|
||
|
b42 = DirectButton(text = ("C.C.", "c.c.", "c.c.", "C.C."), scale=.06, pos = (-.98,-0,-.44), command=setText42)
|
||
|
b43 = DirectButton(text = ("F.P.", "f.p.", "f.p", "F.P."), scale=.06, pos = (-.8,-0,-.44), command=setText43)
|
||
|
b44 = DirectButton(text = ("C.P.", "c.p.", "c.p.", "C.P."), scale=.06, pos = (-.6,-0,-.44), command=setText44)
|
||
|
b45 = DirectButton(text = ("FP", "fp", "fp", "FP"), scale=.06, pos = (-.28,-0,-.44), command=setText45)
|
||
|
b46 = DirectButton(text = ("CP", "cp", "cp", "CP"), scale=.06, pos = (-0,-0,-.44), command=setText46)
|
||
|
b47 = DirectButton(text = ("BD", "bd", "bd", "BD"), scale=.06, pos = (.16,-0,-.44), command=setText47)
|
||
|
b48 = DirectButton(text = ("LB", "lb", "lb", "LB"), scale=.06, pos = (.35,-0,-.44), command=setText48)
|
||
|
b49 = DirectButton(text = ("SWIM", "swim", "swim", "SWIM"), scale=.06, pos = (.60,-0,-.44), command=setText49)
|
||
|
--------------------------------------------Messengers------------------------------------------------------------
|
||
|
messenger.send('rejectTutorial')
|
||
|
messenger.send('enterStickerBook')
|
||
|
messenger.send('openFriendsList')
|
||
|
messenger.send('kickToPlayground', [1])
|
||
|
messenger.send('periodTimerExpired')
|
||
|
messenger.send('shift-f1')
|
||
|
messenger.send('shift-f6')
|
||
|
messenger.send('minigameAbort')
|
||
|
messenger.send('control')
|
||
|
messenger.send('control-alt-arrow_down')
|
||
|
messenger.send('control-alt-arrow_left')
|
||
|
messenger.send('control-alt-arrow_up')
|
||
|
messenger.send('control-alt-arrow_right')
|
||
|
messenger.send('f9')
|
||
|
messenger.send('panda3d-render-error')
|
||
|
messenger.send('requestSkipTutorial')
|
||
|
messenger.send('PandaRestarted')
|
||
|
messenger.send('PandaPaused')
|
||
|
messenger.send('arrow_right')
|
||
|
messenger.send('arrow_up')
|
||
|
messenger.send('arrow_down')
|
||
|
messenger.send('arrow_left')
|
||
|
messenger.send('updateWhilelist')
|
||
|
messenger.send([base.localAvatar.b_setAnimState('victory', 28)])
|
||
|
messenger.send('end')
|
||
|
messenger.send('end-up')
|
||
|
messenger.send('leavingRace')
|
||
|
messenger.send('enterNormalChat')
|
||
|
messenger.send('escape')
|
||
|
messenger.send('f7')
|
||
|
messenger.send('f8')
|
||
|
messenger.send('force-forward')
|
||
|
messenger.send('force-forward-stop')
|
||
|
messenger.send('force-turnLeft')
|
||
|
messenger.send('force-turnLeft-stop')
|
||
|
messenger.send('force-turnRight')
|
||
|
messenger.send('force-turnRight-stop')
|
||
|
messenger.send('jumpHardLand')
|
||
|
messenger.send('jumpLand')
|
||
|
messenger.send('jumpStart')
|
||
|
messenger.send('page_up')
|
||
|
messenger.send('page_down')
|
||
|
messenger.send('tab')
|
||
|
messenger.send('system message aknowledge')
|
||
|
messenger.send('home')
|
||
|
messenger.send('home-up')
|
||
|
messenger.send('enterFlowerSellBox')
|
||
|
messenger.send('DistributedBlackCatMgr-activate')
|
||
|
---------------------------------------------Speedchat--------------------------------------------------------------
|
||
|
base.localAvatar.b_announceBingo()
|
||
|
base.localAvatar.b_setSC(20030)# I haven't been wrong yet.
|
||
|
base.localAvatar.b_setSC(20100)# Which face would you like to defeat you?
|
||
|
base.localAvatar.b_setSC(20200)# I'm gonna tell the boss about you!
|
||
|
base.localAvatar.b_setSC(20201)# I may be just a Flunky - but I'm real spunky.
|
||
|
base.localAvatar.b_setSC(20136)# RAID!
|
||
|
base.localAvatar.b_setSC(20237)# I can bag this.
|
||
|
base.localAvatar.b_setSC(20229)# Let's get going - time is money.
|
||
|
base.localAvatar.b_setSC(20220)# I'm watching every move you make.
|
||
|
base.localAvatar.b_setSC(20219)# I'll take care of you in no time.
|
||
|
base.localAvatar.b_setSC(20300)# You make my hair curl.
|
||
|
base.localAvatar.b_setSC(20299)# Don't brush me aside.
|
||
|
base.localAvatar.b_setSC(20297)# I'm prepared to close this deal quickly.
|
||
|
base.localAvatar.b_setSC(20296)# Too bad for you -- I make house calls.
|
||
|
base.localAvatar.b_setSC(20293)# I was planning on running into you.
|
||
|
base.localAvatar.b_setSC(20291)# You won't be able to get rid of me now.
|
||
|
base.localAvatar.b_setSC(20287)# Careful, I may leave a mark.
|
||
|
base.localAvatar.b_setSC(20284)# I hate it when things get dull.
|
||
|
base.localAvatar.b_setSC(20283)# Let's hurry, I bore easily.
|
||
|
base.localAvatar.b_setSC(20282)# Let's get right to the point.
|
||
|
base.localAvatar.b_setSC(20281)# I'll have to make my point more clear.
|
||
|
base.localAvatar.b_setSC(20071)# In my opinion, your name is MUD.
|
||
|
base.localAvatar.b_setSC(20279)# I'm No.2!
|
||
|
base.localAvatar.b_setSC(20278)# Hey, you can't push me around.
|
||
|
base.localAvatar.b_setSC(20266)# I hope you don't forget your lines.
|
||
|
base.localAvatar.b_setSC(20091)# This is no laughing matter.
|
||
|
base.localAvatar.b_setSC(20262)# I'm going to roll your end credits.
|
||
|
base.localAvatar.b_setSC(20096)# Face it, I'm better than you.
|
||
|
base.localAvatar.b_setSC(20258)# Today the role of defeated toon, will be played by - YOU!
|
||
|
base.localAvatar.b_setSC(20256)# Lights, camera, action!
|
||
|
base.localAvatar.b_setSC(20251)# Well, isn't this cozy?
|
||
|
base.localAvatar.b_setSC(20122)# Legally, you're too small to fight me.
|
||
|
base.localAvatar.b_setSC(20150)# I'm going to cream you.
|
||
|
base.localAvatar.b_setSC(20133)# Let me get your back.
|
||
|
base.localAvatar.b_setSC(20132)# Whoa, back up there toon.
|
||
|
base.localAvatar.b_setSC(20127)# Take that back or else.
|
||
|
base.localAvatar.b_setSC(20350)# I have my own special spin on the subject.
|
||
|
base.localAvatar.b_setSC(20349)# Care to take a few turns with me?
|
||
|
base.localAvatar.b_setSC(20346)# The doctor is in, the Toon is out.
|
||
|
base.localAvatar.b_setSC(20345)# You look like you need a doctor.
|
||
|
base.localAvatar.b_setSC(20341)# You'll never know when I'll stop.
|
||
|
base.localAvatar.b_setSC(20320)# You've been robbed.
|
||
|
base.localAvatar.b_setSC(20329)# You should know not to talk to strangers.
|
||
|
base.localAvatar.b_setSC(20335)# You'll experience a shortfall.
|
||
|
base.localAvatar.b_setSC(20113)# You are going to have such a headache.
|
||
|
base.localAvatar.b_setSC(20107)# Oh good, I've been hunting for you.
|
||
|
base.localAvatar.b_setSC(50101)# Blimey!
|
||
|
base.localAvatar.b_setSC(50206)# You need a sharp sword and sharper wits.
|
||
|
base.localAvatar.b_setSC(60103)# Yo!
|
||
|
base.localAvatar.b_setSC(50208)# Watch yer tongue or I'll pickle it with sea salt!
|
||
|
base.localAvatar.b_setSC(50211)# You're a canvas shy of a full sail, aren't ye mate?
|
||
|
base.localAvatar.b_setSC(50210)# The horizon be as empty as yer head.
|
||
|
base.localAvatar.b_setSC(50209)# Touch me loot and you get the boot!
|
||
|
base.localAvatar.b_setSC(50300)# Fine shooting mate!
|
||
|
base.localAvatar.b_setSC(50704)# Hey Bucko.
|
||
|
base.localAvatar.b_setSC(50205)# Addle-minded fool!
|
||
|
base.localAvatar.b_setSC(50202)# See ye in Davy Jones locker!
|
||
|
base.localAvatar.b_setSC(20117)# I'm bringing down the law on you.
|
||
|
base.localAvatar.b_setSC(50100)# Gangway!
|
||
|
base.localAvatar.b_setSC(50102)# Well blow me down!
|
||
|
base.localAvatar.b_setSC(50103)# Walk the plank!
|
||
|
base.localAvatar.b_setSC(50102)# Dead men tell no tales....
|
||
|
base.localAvatar.b_setSC(50105)# Shiver me timbers!
|
||
|
base.localAvatar.b_setSC(50106)# Salty as a Kraken's kiss.
|
||
|
base.localAvatar.b_setSC(50107)# Treasure be the measure of our pleasure!
|
||
|
base.localAvatar.b_setSC(50108)# I don't fear death - I attune it.
|
||
|
base.localAvatar.b_setSC(50200)# Blige rat!
|
||
|
base.localAvatar.b_setSC(50201)# Scurvy dog!
|
||
|
base.localAvatar.b_setSC(50203)# Scoundrel!
|
||
|
base.localAvatar.b_setSC(50204)# Landlubber!
|
||
|
base.localAvatar.b_setSC(50203)# Ye be one doubloon short of a full hull mate!
|
||
|
base.localAvatar.b_setSC(50301)# A well placed blow!
|
||
|
base.localAvatar.b_setSC(50302)# Nice shot!
|
||
|
base.localAvatar.b_setSC(50303)# Well met!
|
||
|
base.localAvatar.b_setSC(50304)# We showed them!
|
||
|
base.localAvatar.b_setSC(50305)# Yer not so bad yerself!
|
||
|
base.localAvatar.b_setSC(50306)# A fine plunder haul!
|
||
|
base.localAvatar.b_setSC(50400)# Let's set sail.
|
||
|
base.localAvatar.b_setSC(50401)# Let's get out of here.
|
||
|
base.localAvatar.b_setSC(51100)# I be sailing some rough waters today.
|
||
|
base.localAvatar.b_setSC(52100)# Want to group up?
|
||
|
base.localAvatar.b_setSC(52101)# Join me crew?
|
||
|
base.localAvatar.b_setSC(53101)# I caught a fish!
|
||
|
base.localAvatar.b_setSC(53102)# I saw a Legendary Fish!
|
||
|
base.localAvatar.b_setSC(53103)# What did you catch?
|
||
|
base.localAvatar.b_setSC(53104)# This will make a whale of a tale!
|
||
|
base.localAvatar.b_setSC(53105)# That was a beauty!
|
||
|
base.localAvatar.b_setSC(53106)# Arr, the sea is treacherous today.
|
||
|
base.localAvatar.b_setSC(53107)# What a bountiful haul of fish!
|
||
|
base.localAvatar.b_setSC(10000)# The choice is yours!
|
||
|
base.localAvatar.b_setSC(10001)# Who are you voting for?
|
||
|
base.localAvatar.b_setSC(10002)# I'm pickin' Chicken!
|
||
|
base.localAvatar.b_setSC(10003)# Vote now! Vote Cow!
|
||
|
base.localAvatar.b_setSC(10004)# Go bananas! Vote Monkey!
|
||
|
base.localAvatar.b_setSC(10005)# Be a honey! Vote Bear!
|
||
|
base.localAvatar.b_setSC(10006)# Think big! Vote Pig!
|
||
|
base.localAvatar.b_setSC(10007)# Vote Goat - and that's all she wrote!
|
||
|
base.localAvatar.b_setSC(60672)# I just found the treasure I've been searching for.
|
||
|
base.localAvatar.b_setSC(60673)# If you were a booger, I'd pick you first.
|
||
|
base.localAvatar.b_setSC(60674)# Come to Tortuga often?
|
||
|
base.localAvatar.b_setSC(60675)# Do you have a map? I just keep getting lost in your eyes.
|
||
|
base.localAvatar.b_setSC(60676)# Flirt
|
||
|
base.localAvatar.b_setSC(60677)# Zombie dance
|
||
|
base.localAvatar.b_setSC(60671)# Hello, I'm a Pirate, and I'm here to steal your heart.
|
||
|
base.localAvatar.b_setSC(60678)# Noisemaker
|
||
|
base.localAvatar.b_setSC(60670)# Dance
|
||
|
base.localAvatar.b_setSC(60669)# Sleep
|
||
|
base.localAvatar.b_setSC(60668)# Celebrate
|
||
|
base.localAvatar.b_setSC(60500)# Where are you?
|
||
|
base.localAvatar.b_setSC(60501)# Let's go to the Gateway Store.
|
||
|
base.localAvatar.b_setSC(60502)# Let's go to the Disco Hall.
|
||
|
base.localAvatar.b_setSC(60503)# Let's go to Toontown.
|
||
|
base.localAvatar.b_setSC(60504)# Let's go to Pirates of the Carribean.
|
||
|
base.localAvatar.b_setSC(60504)# Flip coin
|
||
|
base.localAvatar.b_setSC(60401)# Doh!
|
||
|
base.localAvatar.b_setSC(60402)# Aw man!
|
||
|
base.localAvatar.b_setSC(60404)# Bummer!
|
||
|
base.localAvatar.b_setSC(60301)# Have you seen the Silly Meter?
|
||
|
base.localAvatar.b_setSC(60302)# The Silly Meter is in Toon Hall.
|
||
|
base.localAvatar.b_setSC(60303)# Things sure are getting silly around here!
|
||
|
base.localAvatar.b_setSC(60304)# I saw a fire hydrant moving!
|
||
|
base.localAvatar.b_setSC(60305)# Toontown is coming to life!
|
||
|
base.localAvatar.b_setSC(60306)# Have you been to Flippy's new office?
|
||
|
base.localAvatar.b_setSC(60307)# I caused a Silly Surge in battle!
|
||
|
base.localAvatar.b_setSC(60308)# Let's defeat some Cogs to make Toontown sillier!
|
||
|
base.localAvatar.b_setSC(60309)# The Silly Meter is bigger and crazier than ever!
|
||
|
base.localAvatar.b_setSC(60310)# Lots of hydrants have come alive!
|
||
|
base.localAvatar.b_setSC(60311)# I saw a mail box moving!
|
||
|
base.localAvatar.b_setSC(60312)# I watched a trash can wake up!
|
||
|
base.localAvatar.b_setSC(60313)# How silly can it get?
|
||
|
base.localAvatar.b_setSC(60314)# What's going to happen next?
|
||
|
base.localAvatar.b_setSC(60315)# Something silly, I bet!
|
||
|
base.localAvatar.b_setSC(60316)# Have you caused a Silly Surge yet?
|
||
|
base.localAvatar.b_setSC(60318)# Cog Invasion!
|
||
|
base.localAvatar.b_setSC(60319)# Incoming!
|
||
|
base.localAvatar.b_setSC(60320)# Let's stop these Cogs!
|
||
|
base.localAvatar.b_setSC(60321)# I miss the Silly Surges!
|
||
|
base.localAvatar.b_setSC(60322)# Let's go stop an Invasion!
|
||
|
base.localAvatar.b_setSC(60323)# Toontown is sillier than ever now!
|
||
|
base.localAvatar.b_setSC(60324)# Have you seen something come alive?
|
||
|
base.localAvatar.b_setSC(60200)# Deck the halls...
|
||
|
base.localAvatar.b_setSC(60201)# Load some pies...
|
||
|
base.localAvatar.b_setSC(60202)# Joyful toons...
|
||
|
base.localAvatar.b_setSC(60203)# Snowman heads...
|
||
|
base.localAvatar.b_setSC(60204)# Toontown's merry...
|
||
|
base.localAvatar.b_setSC(60205)# Lure good cheer...
|
||
|
base.localAvatar.b_setSC(60220)# Deck the halls with seltzer spray! Happy Winter Holiday!
|
||
|
base.localAvatar.b_setSC(60221)# Load some pies into your sleigh! Happy Winter Holiday!
|
||
|
base.localAvatar.b_setSC(60222)# Joyful toons bring Cogs dismay! Happy Winter Holiday!
|
||
|
base.localAvatar.b_setSC(60223)# Snowman heads are hot today! Happy Winter Holiday!
|
||
|
base.localAvatar.b_setSC(60224)# Toontown's merry, come what may! Happy Winter Holiday!
|
||
|
base.localAvatar.b_setSC(60225)# Lure good cheer the Toontown way! Happy Winter Holiday!
|
||
|
base.localAvatar.b_setSC(60100)# Happy April Toons' Week!
|
||
|
base.localAvatar.b_setSC(60101)# Welcome to my April Toons' Week party!
|
||
|
base.localAvatar.b_setSC(60110)# Mickey is in Daisy Garden.
|
||
|
base.localAvatar.b_setSC(60111)# Daisy is in Toontown Central.
|
||
|
base.localAvatar.b_setSC(60112)# Minnie is in The Brrrgh.
|
||
|
base.localAvatar.b_setSC(60113)# Pluto is in Melodyland.
|
||
|
base.localAvatar.b_setSC(60114)# Donald is sleepwalking at the Speedway.
|
||
|
base.localAvatar.b_setSC(60115)# Goofy is in Dreamland.
|
||
|
base.localAvatar.b_setSC(60120)# Mickey is acting like Daisy!
|
||
|
base.localAvatar.b_setSC(60121)# Daisy is acting like Mickey!
|
||
|
base.localAvatar.b_setSC(60122)# Minnie is acting like Pluto!
|
||
|
base.localAvatar.b_setSC(60123)# Pluto is acting like Minnie!
|
||
|
base.localAvatar.b_setSC(60124)# Pluto is talking!
|
||
|
base.localAvatar.b_setSC(60125)# Goofy is acting like Donald!
|
||
|
base.localAvatar.b_setSC(60126)# Donald is dreaming he is Goofy!
|
||
|
base.localAvatar.b_setSC(51001)# May our stiff winds be at our backs, the sun on our faces and our cannons fire true!
|
||
|
base.localAvatar.b_setSC(60350)# Welcome to my Victory Party!
|
||
|
base.localAvatar.b_setSC(60351)# This is a great Victory Party!
|
||
|
base.localAvatar.b_setSC(60352)# We showed those Cogs who's boss!
|
||
|
base.localAvatar.b_setSC(60353)# Good job helping end the Cog invasions!
|
||
|
base.localAvatar.b_setSC(60354)# I bet this is driving the Cogs crazy!
|
||
|
base.localAvatar.b_setSC(60355)# Let's play Cog-O-War!
|
||
|
base.localAvatar.b_setSC(60356)# My team won at Cog-O-War!
|
||
|
base.localAvatar.b_setSC(60357)# It's nice to have fire hydrants, trash cans, and mailboxes here!
|
||
|
base.localAvatar.b_setSC(60358)# I like the balloon of the Doodle biting the Cog!
|
||
|
base.localAvatar.b_setSC(60359)# I like the balloon of the Cog covered in ice cream!
|
||
|
base.localAvatar.b_setSC(60360)# I like the wavy Cog that flaps his arms!
|
||
|
base.localAvatar.b_setSC(60361)# I jumped on a Cog's face!
|
||
|
base.localAvatar.b_setSC(1700)# Let's split up.
|
||
|
base.localAvatar.b_setSC(1701)# Let's stay together.
|
||
|
base.localAvatar.b_setSC(1702)# Let's battle the Cogs.
|
||
|
base.localAvatar.b_setSC(1703)# Step on the switch.
|
||
|
base.localAvatar.b_setSC(1704)# Go through the door.
|
||
|
base.localAvatar.b_setSC(1803)# I'm in the Front Entrance.
|
||
|
base.localAvatar.b_setSC(1804)# I'm in the Lobby.
|
||
|
base.localAvatar.b_setSC(1805)# I'm in the hallway outside the Lobby.
|
||
|
base.localAvatar.b_setSC(1807)# I'm in the Gear Room.
|
||
|
base.localAvatar.b_setSC(1808)# I'm in the Boiler Room.
|
||
|
base.localAvatar.b_setSC(1809)# I'm on the East Catwalk.
|
||
|
base.localAvatar.b_setSC(1810)# I'm in the Paint Mixer.
|
||
|
base.localAvatar.b_setSC(1811)# I'm in the Paint Mixer Storage Room.
|
||
|
base.localAvatar.b_setSC(1812)# I'm on the West Silo Catwalk.
|
||
|
base.localAvatar.b_setSC(1813)# I'm in the Pipe Room.
|
||
|
base.localAvatar.b_setSC(1814)# I'm on the stairs to the Pipe Room.
|
||
|
base.localAvatar.b_setSC(1815)# I'm in the Duct Room.
|
||
|
base.localAvatar.b_setSC(1816)# I'm in the Side Entrance.
|
||
|
base.localAvatar.b_setSC(1817)# I'm in Stomper Alley.
|
||
|
base.localAvatar.b_setSC(1818)# I'm outside the Lava Room.
|
||
|
base.localAvatar.b_setSC(1819)# I'm in the Lava Room.
|
||
|
base.localAvatar.b_setSC(1820)# I'm in the Lava Storage Room.
|
||
|
base.localAvatar.b_setSC(1821)# I'm on the West Catwalk.
|
||
|
base.localAvatar.b_setSC(1822)# I'm in the Oil Room.
|
||
|
base.localAvatar.b_setSC(1823)# I'm on the Warehouse Lookout.
|
||
|
base.localAvatar.b_setSC(1824)# I'm in the Warehouse.
|
||
|
base.localAvatar.b_setSC(1825)# I'm outside the Paint Mixer.
|
||
|
base.localAvatar.b_setSC(1827)# I'm outside the Oil Room.
|
||
|
base.localAvatar.b_setSC(1830)# I'm in the East Silo Control Room.
|
||
|
base.localAvatar.b_setSC(1831)# I'm in the West Silo Control Room.
|
||
|
base.localAvatar.b_setSC(1833)# I'm at the East Silo.
|
||
|
base.localAvatar.b_setSC(1834)# I'm on the West Silo.
|
||
|
base.localAvatar.b_setSC(1835)# I'm on the Center Silo.
|
||
|
base.localAvatar.b_setSC(1841)# I'm on top of the East Silo.
|
||
|
base.localAvatar.b_setSC(1860)# I'm on the West Silo Elevator.
|
||
|
base.localAvatar.b_setSC(1861)# I'm on the East Silo Elevator.
|
||
|
base.localAvatar.b_setSC(2100)# Please operate the crane.
|
||
|
base.localAvatar.b_setSC(2101)# May I operate the crane?
|
||
|
base.localAvatar.b_setSC(2102)# I need practice operating the crane.
|
||
|
base.localAvatar.b_setSC(2103)# Pick up a disabled goon.
|
||
|
base.localAvatar.b_setSC(2104)# Throw the goon at the CFO.
|
||
|
base.localAvatar.b_setSC(2105)# Throw a safe now!
|
||
|
base.localAvatar.b_setSC(2106)# Don't throw a safe now!
|
||
|
base.localAvatar.b_setSC(2107)# A safe will knock off his helmet.
|
||
|
base.localAvatar.b_setSC(2108)# A safe will become his new helmet.
|
||
|
base.localAvatar.b_setSC(2109)# I can't reach any safes.
|
||
|
base.localAvatar.b_setSC(2110)# I can't reach any goons.
|
||
|
base.localAvatar.b_setSC(2200)# You need to hit the scale.
|
||
|
base.localAvatar.b_setSC(2201)# I will hit the scale.
|
||
|
base.localAvatar.b_setSC(2202)# I need help with the scale!
|
||
|
base.localAvatar.b_setSC(2203)# You need to stun the Cogs.
|
||
|
base.localAvatar.b_setSC(2204)# I will stun the Cogs.
|
||
|
base.localAvatar.b_setSC(2205)# I need help with the Cogs!
|
||
|
base.localAvatar.b_setSC(2206)# I need more evidence!
|
||
|
base.localAvatar.b_setSC(2207)# I'm shooting for chairs in the top row.
|
||
|
base.localAvatar.b_setSC(2208)# I'm shooting for chairs in the bottom row.
|
||
|
base.localAvatar.b_setSC(2209)# Move out of the way! We can't hit the pan.
|
||
|
base.localAvatar.b_setSC(2210)# I'll do Toon-Ups for us.
|
||
|
base.localAvatar.b_setSC(2211)# I don't have any bonus weight.
|
||
|
base.localAvatar.b_setSC(2212)# I have a bonus weight of 1.
|
||
|
base.localAvatar.b_setSC(2213)# I have a bonus weight of 2.
|
||
|
base.localAvatar.b_setSC(2214)# I have a bonus weight of 3.
|
||
|
base.localAvatar.b_setSC(2215)# I have a bonus weight of 4.
|
||
|
base.localAvatar.b_setSC(2216)# I have a bonus weight of 5.
|
||
|
base.localAvatar.b_setSC(2217)# I have a bonus weight of 6.
|
||
|
base.localAvatar.b_setSC(2218)# I have a bonus weight of 7.
|
||
|
base.localAvatar.b_setSC(2219)# I have a bonus weight of 8.
|
||
|
base.localAvatar.b_setSC(2220)# I have a bonus weight of 9.
|
||
|
base.localAvatar.b_setSC(2221)# I have a bonus weight of 10.
|
||
|
base.localAvatar.b_setSC(2222)# I have a bonus weight of 11.
|
||
|
base.localAvatar.b_setSC(2223)# I have a bonus weight of 12.
|
||
|
base.localAvatar.b_setSC(2300)# You feed the Cogs on the left.
|
||
|
base.localAvatar.b_setSC(2301)# I'll feed the Cogs on the left.
|
||
|
base.localAvatar.b_setSC(2302)# You feed the Cogs on the right.
|
||
|
base.localAvatar.b_setSC(2303)# I'll feed the Cogs on the right.
|
||
|
base.localAvatar.b_setSC(2304)# You feed the Cogs on the front.
|
||
|
base.localAvatar.b_setSC(2305)# I'll feed the Cogs on the front.
|
||
|
base.localAvatar.b_setSC(2306)# You feed the Cogs on the back.
|
||
|
base.localAvatar.b_setSC(2307)# I'll feed the Cogs on the back.
|
||
|
base.localAvatar.b_setSC(2308)# You use the seltzer bottle.
|
||
|
base.localAvatar.b_setSC(2309)# I'll use the seltzer bottle.
|
||
|
base.localAvatar.b_setSC(2310)# You use the golf tee.
|
||
|
base.localAvatar.b_setSC(2311)# I'll use the golf tee.
|
||
|
base.localAvatar.b_setSC(2312)# I'll serve this table.
|
||
|
base.localAvatar.b_setSC(2313)# Can you serve this table?
|
||
|
base.localAvatar.b_setSC(2314)# Feed the same cog again.
|
||
|
base.localAvatar.b_setSC(2315)# Hurry, your cog is hungry!
|
||
|
base.localAvatar.b_setSC(2316)# Please save the snacks for sadder toons.
|
||
|
base.localAvatar.b_setSC(2317)# Take the snacks before they fall.
|
||
|
base.localAvatar.b_setSC(3600)# Which track do you want to race on?
|
||
|
base.localAvatar.b_setSC(3601)# Pick a track!
|
||
|
base.localAvatar.b_setSC(3602)# Can we race on a different track?
|
||
|
base.localAvatar.b_setSC(3603)# Let's pick a different track!
|
||
|
base.localAvatar.b_setSC(4000)# Let's play minigolf!
|
||
|
base.localAvatar.b_setSC(4001)# Let's play again!
|
||
|
base.localAvatar.b_setSC(4002)# Want to golf?
|
||
|
base.localAvatar.b_setSC(4100)# Let's play 'Walk In The Par.'
|
||
|
base.localAvatar.b_setSC(4101)# Let's play 'Hole Some Fun.'
|
||
|
base.localAvatar.b_setSC(4102)# Let's play 'The Hole Kit and Caboodle.'
|
||
|
base.localAvatar.b_setSC(4103)# That course is too easy.
|
||
|
base.localAvatar.b_setSC(4104)# That course is too hard.
|
||
|
base.localAvatar.b_setSC(4105)# That course is just right.
|
||
|
base.localAvatar.b_setSC(4200)# Try standing more to the left.
|
||
|
base.localAvatar.b_setSC(4201)# Try standing more to the right.
|
||
|
base.localAvatar.b_setSC(4202)# Try standing right in the middle.
|
||
|
base.localAvatar.b_setSC(4203)# Try hitting it harder.
|
||
|
base.localAvatar.b_setSC(4204)# Try hitting it softer.
|
||
|
base.localAvatar.b_setSC(4205)# Try aiming more to the left.
|
||
|
base.localAvatar.b_setSC(4206)# Try aiming more to the right.
|
||
|
base.localAvatar.b_setSC(4207)# Try aiming right down the middle.
|
||
|
base.localAvatar.b_setSC(4300)# So close!
|
||
|
base.localAvatar.b_setSC(4301)# What a great shot!
|
||
|
base.localAvatar.b_setSC(4302)# That was a lucky shot.
|
||
|
base.localAvatar.b_setSC(4303)# I'll take a mulligan...
|
||
|
base.localAvatar.b_setSC(4304)# That's a gimme.
|
||
|
base.localAvatar.b_setSC(4305)# Fore!
|
||
|
base.localAvatar.b_setSC(4306)# Shhhh!
|
||
|
base.localAvatar.b_setSC(4307)# Good game!
|
||
|
base.localAvatar.b_setSC(5100)# Let's go to the Front Three.
|
||
|
base.localAvatar.b_setSC(5101)# Let's go to the Middle Six.
|
||
|
base.localAvatar.b_setSC(5102)# Let's go to the Back Nine.
|
||
|
base.localAvatar.b_setSC(5103)# Let's go to the C.E.O. Battle.
|
||
|
base.localAvatar.b_setSC(5104)# Let's go to the Senior V.P Battle.
|
||
|
base.localAvatar.b_setSC(5105)# Let's go to the Front Entrance.
|
||
|
base.localAvatar.b_setSC(5106)# Let's go to the Side Entrance.
|
||
|
base.localAvatar.b_setSC(5107)# Let's go to the Coin Mint.
|
||
|
base.localAvatar.b_setSC(5108)# Let's go to the Dollar Mint.
|
||
|
base.localAvatar.b_setSC(5109)# Let's go to the Bullion Mint.
|
||
|
base.localAvatar.b_setSC(5110)# Let's go to the C.F.O. Battle.
|
||
|
base.localAvatar.b_setSC(5111)# Let's go to the Chief Justice Battle.
|
||
|
base.localAvatar.b_setSC(5112)# Let's go to the Lawbot A Office.
|
||
|
base.localAvatar.b_setSC(5113)# Let's go to the Lawbot B Office.
|
||
|
base.localAvatar.b_setSC(5114)# Let's go to the Lawbot C Office.
|
||
|
base.localAvatar.b_setSC(5115)# Let's go to the Lawbot D Office.
|
||
|
base.localAvatar.b_setSC(5200)# We're going to the Front Three.
|
||
|
base.localAvatar.b_setSC(5201)# We're going to the Middle Six.
|
||
|
base.localAvatar.b_setSC(5202)# We're going to the Back Nine.
|
||
|
base.localAvatar.b_setSC(5203)# We're going to the C.E.O. Battle.
|
||
|
base.localAvatar.b_setSC(5204)# We're going to the Senior V.P Battle.
|
||
|
base.localAvatar.b_setSC(5205)# We're going to the Front Entrance.
|
||
|
base.localAvatar.b_setSC(5206)# We're going to the Side Entrance.
|
||
|
base.localAvatar.b_setSC(5207)# We're going to the Coin Mint.
|
||
|
base.localAvatar.b_setSC(5208)# We're going to the Dollar Mint.
|
||
|
base.localAvatar.b_setSC(5209)# We're going to the Bullion Mint.
|
||
|
base.localAvatar.b_setSC(5210)# We're going to the C.F.O. Battle.
|
||
|
base.localAvatar.b_setSC(5211)# We're going to the Chief Justice Battle.
|
||
|
base.localAvatar.b_setSC(5212)# We're going to the Lawbot A Office.
|
||
|
base.localAvatar.b_setSC(5213)# We're going to the Lawbot B Office.
|
||
|
base.localAvatar.b_setSC(5214)# We're going to the Lawbot C Office.
|
||
|
base.localAvatar.b_setSC(5215)# We're going to the Lawbot D Office.
|
||
|
base.localAvatar.b_setSC(3200)# Where do you want to race?
|
||
|
base.localAvatar.b_setSC(3201)# Let's pick a different track.
|
||
|
base.localAvatar.b_setSC(3300)# Wow! You are FAST!
|
||
|
base.localAvatar.b_setSC(3301)# You're too fast for me!
|
||
|
base.localAvatar.b_setSC(3400)# Too scared to race me?
|
||
|
------------------------------------------Wire Frame On and Off-----------------------------------------------
|
||
|
base.wireframeOn()
|
||
|
base.wireframeOff()
|
||
|
-----------------------------------------Collisions-----------------------------------------------------------------
|
||
|
base.localAvatar.collisionsOff()
|
||
|
base.localAvatar.collisionsOn()
|
||
|
-------------------------------------------Scientist Talk-----------------------------------------------------------
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
def intro():
|
||
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
||
|
base.talkAssistant.sendOpenTalk('Congratulations Toons!')
|
||
|
def part2():
|
||
|
base.talkAssistant.sendOpenTalk('You all successfully held off the Cog Invasions...')
|
||
|
def part3():
|
||
|
base.talkAssistant.sendOpenTalk('With a little help from our newly animated friends...')
|
||
|
def part4():
|
||
|
base.talkAssistant.sendOpenTalk('And brought Toontown back to its usual silly self!')
|
||
|
def part5():
|
||
|
base.talkAssistant.sendOpenTalk('We hope to get the Silly Meter rising again soon...')
|
||
|
def part6():
|
||
|
base.talkAssistant.sendOpenTalk('So in the meantime, keep up the Cog fight...')
|
||
|
def part7():
|
||
|
base.talkAssistant.sendOpenTalk('And enjoy the silliest place ever, Toontown!')
|
||
|
def onTime():
|
||
|
seq = Sequence()
|
||
|
seq.append(Func(intro))
|
||
|
seq.append(Wait(5))
|
||
|
seq.append(Func(part2))
|
||
|
seq.append(Wait(5))
|
||
|
seq.append(Func(part3))
|
||
|
seq.append(Wait(5))
|
||
|
seq.append(Func(part4))
|
||
|
seq.append(Wait(5))
|
||
|
seq.append(Func(part5))
|
||
|
seq.append(Wait(5))
|
||
|
seq.append(Func(part6))
|
||
|
seq.append(Wait(5))
|
||
|
seq.append(Func(part7))
|
||
|
seq.start()
|
||
|
onTime()
|
||
|
------------------------------------------------Ban Blocker--------------------------------------------------------
|
||
|
def blockBan(log):
|
||
|
ftf = "C:/Program Files/Disney/Disney Online/ToontownOnline/" + str(log)
|
||
|
rf = open('%s'%(ftf),'r')
|
||
|
del rf.read()
|
||
|
def blockBan():
|
||
|
if "Server is booting us out" in str(rf.readline()):
|
||
|
messenger.send('pandaRenderError')
|
||
|
else:
|
||
|
None
|
||
|
def loopBanCheck():
|
||
|
seq.append(Func(blockBan))
|
||
|
seq.append(Wait(0.1))
|
||
|
seq.append(Func(loopBanCheck))
|
||
|
seq.start()
|
||
|
loopBanCheck()
|
||
|
blockBan('toontown-log_goeshere.log')
|
||
|
---------------------------------------Peppy's Buttons-----------------------------------------------------------
|
||
|
from direct.gui.OnscreenText import OnscreenText
|
||
|
from direct.gui.DirectGui import *
|
||
|
from pandac.PandaModules import TextNode
|
||
|
|
||
|
bk_text = " "
|
||
|
textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
|
||
|
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||
|
|
||
|
def normal1():
|
||
|
bk_text = " "
|
||
|
textObject.setText(bk_text)
|
||
|
|
||
|
def setText1():
|
||
|
bk_text = "Collisions Off"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.collisionsOff()
|
||
|
var = 0
|
||
|
|
||
|
def setText2():
|
||
|
bk_text = "RAID!"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setSC(20136)
|
||
|
var = 1
|
||
|
|
||
|
|
||
|
def setText3():
|
||
|
bk_text = "Laff"
|
||
|
textObject.setText(bk_text)
|
||
|
ttt = base.cr.doFindAll("TTTreasure")
|
||
|
for ttt in base.cr.doFindAll("TTTreasure"):
|
||
|
ttt.d_requestGrab()
|
||
|
var = 1
|
||
|
|
||
|
def setText4():
|
||
|
bk_text = "Die"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.d_squish(3)
|
||
|
var = 1
|
||
|
|
||
|
def setText5():
|
||
|
bk_text = "Collisons On"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.collisionsOn()
|
||
|
var = 0
|
||
|
|
||
|
def setText6():
|
||
|
bk_text = "Member"
|
||
|
textObject.setText(bk_text)
|
||
|
def new():
|
||
|
return True
|
||
|
base.cr.isPaid = new
|
||
|
base.cr.isParentPasswordSet = new
|
||
|
var = 1
|
||
|
|
||
|
def setText7():
|
||
|
bk_text = "River"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.book.pages[1].showPop = 1
|
||
|
var = 1
|
||
|
|
||
|
def setText8():
|
||
|
closetn = base.cr.doFindAll("closet")
|
||
|
for closetn in base.cr.doFindAll("closet"):
|
||
|
messenger.send("purchaseDone-" + str(closetn.doId))
|
||
|
var = 1
|
||
|
|
||
|
def setText9():
|
||
|
bk_text = "Big"
|
||
|
textObject.setText(bk_text)
|
||
|
base.talkAssistant.sendOpenTalk('\n' * 256)
|
||
|
var = 1
|
||
|
|
||
|
def setText10():
|
||
|
bk_text = "Funny"
|
||
|
textObject.setText(bk_text)
|
||
|
base.cr.sendSetZoneMsg(7000)
|
||
|
var = 1
|
||
|
|
||
|
nmgr = base.cr.doFindAll("NewsManager")
|
||
|
for nmgr in base.cr.doFindAll("NewsManager"):
|
||
|
nmgr.setInvasionStatus(msgType=0, cogType="mm", numRemaining=1000, skeleton=1)
|
||
|
|
||
|
import random
|
||
|
cogs = base.cr.doFindAllMatching("render")
|
||
|
cogs.remove(base.localAvatar)
|
||
|
for cogs in cogs:
|
||
|
level = random.randint(1, 9)
|
||
|
cogs.setSkelecog(True)
|
||
|
cogs.setSkeleRevives(1)
|
||
|
cogs.setName("Skelecog\nTT UNITED COG\nLevel " + str(level))
|
||
|
cogs.setColor(255, 0.3, 0.3)
|
||
|
|
||
|
base.accept("escape", normal1, [])
|
||
|
b1 = DirectButton(text = ("C.Off", "c.off", "c.off", "C.Off"), scale=.06, pos = (-.98,-0,-.95), command=setText1)
|
||
|
b2 = DirectButton(text = ("RAID", "raid", "raid", "RAID"), scale=.06, pos = (-.8,-0,-.95), command=setText2)
|
||
|
b3 = DirectButton(text = ("Laff", "laff", "laff", "Laff"), scale=.06, pos = (-.6,-0,-.95), command=setText3)
|
||
|
b4 = DirectButton(text = ("Die", "die", "die", "Die"), scale=.06, pos = (-.28,-0,-.95), command=setText4)
|
||
|
b5 = DirectButton(text = ("C.On", "c.on", "c.on", "C.On"), scale=.06, pos = (-0,-0,-.95), command=setText5)
|
||
|
b6 = DirectButton(text = ("Mem", "mem", "mem", "Mem"), scale=.06, pos = (.16,-0,-.95), command=setText6)
|
||
|
b7 = DirectButton(text = ("River", "river", "river", "River"), scale=.06, pos = (.35,-0,-.95), command=setText7)
|
||
|
b8 = DirectButton(text = ("Clothes", "clothes", "clothes", "Clothes"), scale=.06, pos = (.565,-0,-.95), command=setText8)
|
||
|
b9 = DirectButton(text = ("Big", "Big", "Big", "Big"), scale=.06, pos = (.65,-10,-.495), command=setText9)
|
||
|
b10 = DirectButton(text = ("Funny", "Funny", "Funny", "Funny"), scale=.06, pos = (.5,-1,-.5), command=setText9)
|
||
|
-------------------------------------Toontown Outfits------------------------------------------------------------
|
||
|
Marathon Shirt:
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shorts=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_marathon1.jpg")
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setTexture(shorts, 1)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setTexture(shorts, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_marathon1.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
_____________________SellBot RESISTANCE RANGER__________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_sellbotCrusher.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_sellbotCrusher.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_sellbotCrusher.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_sellbotCrusher.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
base.localAvatar.setName('OG FD RESISTANCE RANGER Yes OG FD MOD')
|
||
|
base.localAvatar.setNametagStyle(5)
|
||
|
________________________4th of July Outfit_________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/4thJulyShirt1.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/4thJulyShorts1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/4thJulySleeve1.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/4thJulyShirt1.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
__________________________4th of July outift Number 2______________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/4thJulyShirt2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/4thJulyShorts1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/4thJulySleeve2.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/4thJulyShirt2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)__________________________BackPack______________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/contest_backpack3.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/contest_backpack_sleeve.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/contest_backpack3.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
____________________________LederShirt__________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/contest_leder.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/Contest_leder_sleeve.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/contest_leder.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
________________________MellonShirt_____________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/contest_mellon2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/contest_mellon_sleeve2.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/contest_mellon2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
___________________________RacingShirt___________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/contest_race2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/contest_race_sleeve.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/contest_race2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
|
||
|
________________________FishingVest______________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/ContestfishingVestShirt2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/ContestfishingVestSleeve1.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/ContestfishingVestShirt2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)__________________________FishTankShirt__________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/ContestFishtankShirt1.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/ContestFishtankSleeve1.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/ContestFishtankShirt1.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
___________________________PawShirt_____________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/ContestPawShirt1.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/ContestPawSleeve1.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/ContestPawShirt1.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
________________________CowboyOutFit1__________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/CowboyShirt1.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/CowboyShorts1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/CowboySleeve1.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/CowboyShirt1.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
______________________________COWBOYOUTFIT2___________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/CowboyShirt2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/CowboyShorts2.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/CowboySleeve2.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/CowboyShirt2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
_____________________________CowBoyOutFit3_____________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/CowboyShirt3.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/CowboyShorts2.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/CowboySleeve3.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/CowboyShirt3.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
___________________________CowBoyOutFit4_______________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/CowboyShirt4.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/CowboyShorts2.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/CowboySleeve4.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/CowboyShirt4.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
__________________________CowBoyOutFit5________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/CowboyShirt5.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/CowboyShorts2.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/CowboySleeve5.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/CowboyShirt5.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
__________________________CowBoyOutFit6________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/CowboyShirt6.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/CowboyShorts2.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/CowboySleeve6.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/CowboyShirt6.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
__________________________HolidayShirt1__________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/holiday_shirt1.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/holidaySleeve1.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/holiday_shirt1.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
___________________HolidayShirt2b________________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/holiday_shirt2b.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/holidaySleeve1.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/holiday_shirt2b.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
________________________GhostShirt______________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/shirt_ghost.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/shirt_Sleeve_ghost.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/shirt_ghost.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
_____________________TyeDieShirt_________________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/shirtTieDyeNew.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/sleeveTieDye.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/shirtTieDyeNew.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
____________________St.PatsDayShirt1_____________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/StPats_shirt1.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/StPats_sleeve.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/StPats_shirt1.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
____________________St.PatsDayShirt2_____________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/StPats_shirt2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/StPats_sleeve2.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/StPats_shirt2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
__________________CogBustersShirt________________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_cogbuster.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_cogbuster.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_cogbuster.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_cogbuster.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
_____BEESUIT____________________________________________________________ base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween1.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_halloween1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween1.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween1.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
____________________________SuperHeroSuit_______________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_halloween2.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween2.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)___________________________SkeleToonSuit________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween3.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_halloween3.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween3.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween3.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
________________________SpiderWebSuit___________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween4.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_halloween4.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween4.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween4.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
________________________VampireSuit_____________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween5.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_halloween5.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween5.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween5.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
__________________SaveBuildingSuit[Unreleased]_______________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_saveBuilding2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_saveBuilding1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_saveBuilding2.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_saveBuilding2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
_______________________SantaOutFit[Seen in Spoofer Only] AKASoundOutfit________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/PJRedHorn2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/Red_shorts_1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/PJSleeveRed.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/PJRedHorn2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
__________________LureOutFit______________________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/PJGlasses2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/Purple_shorts_1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/PJSleevePurple.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/PJGlasses2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
_____________________________TrapOutFit___________________________________
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/PJBlueBanana2.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/Blue_shorts_1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/PJSleeveBlue.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/PJBlueBanana2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
--------------------------------------------------Membership Code----------------------------------------------
|
||
|
import toontown
|
||
|
def new():
|
||
|
return True
|
||
|
def new2(*a,**k):
|
||
|
return 2
|
||
|
base.cr.isPaid = new
|
||
|
base.cr.isParentPasswordSet = new
|
||
|
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
||
|
---------------------------------------------------------MouseTracker---------------------------------------------
|
||
|
from direct.gui.OnscreenText import OnscreenText
|
||
|
from direct.gui.DirectGui import *
|
||
|
from pandac.PandaModules import TextNode
|
||
|
from direct.task import Task
|
||
|
|
||
|
text = OnscreenText(text='', style=1, fg=(1,1,1,1), align=TextNode.ALeft, pos=(-1.15, .8), scale=.07)
|
||
|
|
||
|
def mouseMoved(x, y):
|
||
|
updateText('Mouse X,Y (%0.3f, %0.3f)' % (x,y))
|
||
|
|
||
|
def mouseLost():
|
||
|
updateText('Mouse Lost')
|
||
|
|
||
|
def updateText(msg):
|
||
|
global text
|
||
|
text.setText(msg)
|
||
|
|
||
|
#Task to move the camera
|
||
|
def MouseMotion(task):
|
||
|
if base.mouseWatcherNode.hasMouse():
|
||
|
x = base.mouseWatcherNode.getMouseX()
|
||
|
y = base.mouseWatcherNode.getMouseY()
|
||
|
mouseMoved(x, y)
|
||
|
else:
|
||
|
mouseLost()
|
||
|
return Task.cont
|
||
|
taskMgr.add(MouseMotion, 'MouseMotion')
|
||
|
--------------------------------------------------------Animation Tracker----------------------------------------
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
from direct.gui.OnscreenText import OnscreenText
|
||
|
from direct.gui.DirectGui import *
|
||
|
from pandac.PandaModules import TextNode
|
||
|
from direct.task import Task
|
||
|
|
||
|
animStateText = OnscreenText(text='', style=1, fg=(1,1,1,1), align=TextNode.ALeft, pos=(-1.15, .7), scale=.07)
|
||
|
|
||
|
def animUpdateText(str):
|
||
|
animStateText.setText(str)
|
||
|
|
||
|
def gotoanimUpdateText():
|
||
|
animUpdateText(str(base.localAvatar.getCurrentAnim()))
|
||
|
|
||
|
def alwaysGoAnUp():
|
||
|
seq = Sequence()
|
||
|
seq.append(Func(gotoanimUpdateText))
|
||
|
seq.append(Wait(0.1))
|
||
|
seq.append(Func(alwaysGoAnUp))
|
||
|
seq.start()
|
||
|
alwaysGoAnUp()
|
||
|
--------------------------------------Awake Forever---------------------------------------------------------------
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
def wakeUp():
|
||
|
base.localAvatar.wakeUp()
|
||
|
def onTime():
|
||
|
seq = Sequence()
|
||
|
seq.append(Func(wakeUp))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(onTime))
|
||
|
seq.start()
|
||
|
onTime()
|
||
|
---------------------------------Steal Clothes----------------------------------------------------------------------
|
||
|
getCloset = base.cr.doFindAll("closet")
|
||
|
for getCloset in base.cr.doFindAll("closet"):
|
||
|
messenger.send('purchaseDone-' + str(getCloset.doId))
|
||
|
-----------------------------------------Wind Resistance Always working------------------------------------
|
||
|
ttv = base.cr.doFindAll("Vehicle")
|
||
|
speed = -230
|
||
|
lttv = len(ttv)
|
||
|
if lttv >= 0:
|
||
|
if 'windResistance' in str(dir(ttv[0])):
|
||
|
ttv[0].windResistance.setAmplitude(speed)
|
||
|
elif lttv >= 2:
|
||
|
if 'windResistance' in str(dir(ttv[1])):
|
||
|
ttv[1].windResistance.setAmplitude(speed)
|
||
|
elif lttv >= 3:
|
||
|
if 'windResistance' in str(dir(ttv[2])):
|
||
|
ttv[2].windResistance.setAmplitude(speed)
|
||
|
elif lttv >= 4:
|
||
|
if 'windResistance' in str(dir(ttv[3])):
|
||
|
ttv[3].windResistance.setAmplitude(speed)
|
||
|
-----------------------------------Rainbow Gloves---------------------------------------------------------------
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
def red():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.97,0.3,0.3)
|
||
|
def pink():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.96,0.7,0.7)
|
||
|
def purple():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.69,0.29,0.95)
|
||
|
def green():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.4,1,0.4)
|
||
|
def yellow():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1,0.95,0.3)
|
||
|
def dblue():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.35,0.35,0.85)
|
||
|
def blue():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.3,0.64,0.85)
|
||
|
def orange():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1,0.5,0.18)
|
||
|
def cream():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1,1,0.57)
|
||
|
def perwk():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.55,0.55,1)
|
||
|
def rainglov():
|
||
|
rain = Sequence()
|
||
|
rain.append(Func(red))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(pink))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(purple))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(green))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(yellow))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(dblue))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(blue))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(orange))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(cream))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(perwk))
|
||
|
rain.append(Wait(0.03))
|
||
|
rain.append(Func(rainglov))
|
||
|
rain.start()
|
||
|
rainglov()
|
||
|
--------------------------------------Pimped out Mickey---------------------------------------------------------
|
||
|
mickey = base.cr.doFindAll("render/mickey")
|
||
|
for mickey in base.cr.doFindAll("render/mickey"):
|
||
|
mickey.setName('Ghost Mickey')
|
||
|
mickey.hideShadow()
|
||
|
mickey.loop('right-point')
|
||
|
mickey.setColorScale(0.3)
|
||
|
mickey.setChatAbsolute('Fuckers!', 1, None, True)
|
||
|
mickey.find('**/MickeycRay').removeNode()
|
||
|
mickey.find('**/distAvatarCollNode-415100656').removeNode()
|
||
|
mickey.find('**/MickeyBlatherSphere').setScale(5000)
|
||
|
--------------------------------Snowman Head Zones-----------------------------------------------------------
|
||
|
Toontown Central : base.cr.sendSetZoneMsg(2659)
|
||
|
Donald Dock : base.cr.sendSetZoneMsg(1707)
|
||
|
Daisy Gardens : base.cr.sendSetZoneMsg(5626)
|
||
|
Minnies Melody Land :base.cr.sendSetZoneMsg(4614)
|
||
|
Brrrgh :base.cr.sendSetZoneMsg(3828)
|
||
|
Donald Dream Land : base.cr.sendSetZoneMsg(9720)
|
||
|
------------------------------------Spam-----------------------------------------------------------------------------
|
||
|
base.talkAssistant.sendOpenTalk('.brb \n ' * 35)
|
||
|
base.talkAssistant.sendOpenTalk('\n' * 256)
|
||
|
base.talkAssistant.sendOpenTalk('Meow \n ' * 36)
|
||
|
base.talkAssistant.sendOpenTalk('\n'.center(256))
|
||
|
base.talkAssistant.sendOpenTalk('\n'.center(50) * 5)
|
||
|
base.talkAssistant.sendOpenTalk('- _ \n O_O \n' * 23)
|
||
|
base.talkAssistant.sendOpenTalk('Team RED Are Faqs \n ' * 11)
|
||
|
base.talkAssistant.sendOpenTalk('Kevin is STU POD \n ' * 11)
|
||
|
base.talkAssistant.sendOpenTalk('Go to report and click Hocks \n ' * 7)
|
||
|
base.talkAssistant.sendOpenTalk('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'.center(50) * 5)
|
||
|
----------------------------------------Trolley Hacks--------------------------------------------------------------
|
||
|
ttd = base.cr.doFindAll("TagGame")
|
||
|
for ttd in base.cr.doFindAll("TagGame"):
|
||
|
ttd.setIt()
|
||
|
|
||
|
ttd = base.cr.doFindAll("DivingGame")
|
||
|
for ttd in base.cr.doFindAll("DivingGame"):
|
||
|
ttd.setTreasureGrabbed(base.localAvatar.doId, True)
|
||
|
|
||
|
ttd = base.cr.doFindAll("TargetGame")
|
||
|
for ttd in base.cr.doFindAll("TargetGame"):
|
||
|
ttd.speedForward = 2000
|
||
|
ttd.speedLaunch = 2000
|
||
|
--------------------------------------Pimped out Fisherman-----------------------------------------------------
|
||
|
fishman = base.cr.doFindAll("Fisherman")
|
||
|
for fishman in base.cr.doFindAll("Fisherman"):
|
||
|
print dir(fishman)
|
||
|
|
||
|
fishman.findAllMatches('**/hands').setColor(0.3,0.3,0.35)
|
||
|
fishman.findAllMatches('**/head-short').setColor(0.97,0.3,0.3,1)
|
||
|
fishman.findAllMatches('**/head-front-short').setColor(0.97,0.3,0.3,1)
|
||
|
fishman.findAllMatches('**/ears-short').setColor(0.97,0.3,0.3,1)
|
||
|
fishman.findAllMatches('**/neck').setColor(0.97,0.3,0.3,1)
|
||
|
fishman.findAllMatches('**/arms').setColor(0.97,0.3,0.3,1)
|
||
|
fishman.findAllMatches('**/legs').setColor(0.97,0.3,0.3,1)
|
||
|
fishman.findAllMatches('**/feet').setColor(0.97,0.3,0.3,1)
|
||
|
from direct.actor.Actor import Actor
|
||
|
from pandac.PandaModules import *
|
||
|
from direct.task import Task
|
||
|
import math
|
||
|
from math import pi, sin, cos
|
||
|
from direct.showbase.ShowBase import ShowBase
|
||
|
from direct.task import Task
|
||
|
from direct.interval.IntervalGlobal import Sequence
|
||
|
from pandac.PandaModules import Point3
|
||
|
from pandac.PandaModules import *
|
||
|
ttHat = loader.loadModel("phase_3.5/models/gui/tt_m_gui_gm_toontroop_whistle.bam")
|
||
|
ttHat.reparentTo(fishman)
|
||
|
ttHat.setZ(5)
|
||
|
ttHat.setColorScale(25)
|
||
|
ttHatSpin = ttHat.find('**/whistleIcon').hprInterval(3, Vec3(360, 0, 0))
|
||
|
ttHatSpin.loop()
|
||
|
fishman.setName('~ Toon Troop ~ Freddy')
|
||
|
fishman.displayTalk('.I\'m Pimped!')
|
||
|
fishman.loop('happy-dance')
|
||
|
fishman.findAllMatches('**/ears-short').hide()
|
||
|
hat = loader.loadModel("phase_5/models/props/hat.bam")
|
||
|
hat.reparentTo(fishman.find('**/head-short'))
|
||
|
hat.setColor(1)
|
||
|
hat.setZ(0.4)
|
||
|
hat.setR(270)
|
||
|
fishman.find('**/muzzle-short-neutral').hide()
|
||
|
fishman.find('**/muzzle-short-angry').show()
|
||
|
fmSpin = fishman.hprInterval(5, Vec3(360, 0, 0))
|
||
|
fmSpin.loop()
|
||
|
fishman.find('**/distAvatarCollNode-415100032').removeNode()
|
||
|
---------------------------------------------------Cody's Buttons-------------------------------------------------
|
||
|
from direct.gui.OnscreenText import OnscreenText
|
||
|
from direct.gui.DirectGui import *
|
||
|
from pandac.PandaModules import TextNode
|
||
|
|
||
|
bk_text = "Button Hack Ready"
|
||
|
textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
|
||
|
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||
|
|
||
|
def normal1():
|
||
|
bk_text = "Button Hack Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
|
||
|
def setText1():
|
||
|
bk_text = "ScareCrow"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.collisionsOff()
|
||
|
base.cr.sendSetZoneMsg(7000)
|
||
|
base.localAvatar.b_setAnimState(('Teleport'))
|
||
|
base.cr.sendSetZoneMsg(2000)
|
||
|
var = 0
|
||
|
|
||
|
def setText2():
|
||
|
bk_text = "Float"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.setZ(5)
|
||
|
var = 1
|
||
|
|
||
|
|
||
|
def setText3():
|
||
|
bk_text = "SCPlus"
|
||
|
textObject.setText(bk_text)
|
||
|
messenger.send('SCStaticTextMsg', [4])
|
||
|
var = 1
|
||
|
|
||
|
def setText4():
|
||
|
bk_text = "OpenTalk"
|
||
|
textObject.setText(bk_text)
|
||
|
base.talkAssistant.sendOpenTalk('\n' * 256)
|
||
|
var = 1
|
||
|
|
||
|
def setText5():
|
||
|
bk_text = "Name"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.find('**/panel').find('**/text').setColor(0.1,0.1,0.1)
|
||
|
var = 0
|
||
|
|
||
|
def setText6():
|
||
|
bk_text = "Col"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.collisionsOff()
|
||
|
var = 1
|
||
|
|
||
|
def setText7():
|
||
|
bk_text = "ColOff"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.collisionsOn()
|
||
|
var = 1
|
||
|
|
||
|
def setText8():
|
||
|
bk_text = "Scientist Play"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('ScientistPlay')
|
||
|
var = 1
|
||
|
|
||
|
base.accept("escape", normal1, [])
|
||
|
b1 = DirectButton(text = ("CROW", "crow", "crow", "CROW"), scale=.06, pos = (-.98,-0,-.95), command=setText1)
|
||
|
b2 = DirectButton(text = ("FLOAT", "float", "float", "FLOAT"), scale=.06, pos = (-.8,-0,-.95), command=setText2)
|
||
|
b3 = DirectButton(text = ("SCP", "scp", "scp", "SCP"), scale=.06, pos = (-.6,-0,-.95), command=setText3)
|
||
|
b4 = DirectButton(text = ("OPENTALK", "opentalk", "opentalk", "OPENTALK"), scale=.06, pos = (-.28,-0,-.95), command=setText4)
|
||
|
b5 = DirectButton(text = ("NAME", "name", "name", "NAME"), scale=.06, pos = (-0,-0,-.95), command=setText5)
|
||
|
b6 = DirectButton(text = ("COL", "col", "col", "COL"), scale=.06, pos = (.16,-0,-.95), command=setText6)
|
||
|
b7 = DirectButton(text = ("COLOFF", "coloff", "coloff", "COLOFF"), scale=.06, pos = (.35,-0,-.95), command=setText7)
|
||
|
b8 = DirectButton(text = ("R-P-C", "r-p-c", "r-p-c", "R-P-C"), scale=.06, pos = (.565,-0,-.95), command=setText8)
|
||
|
---------------------------------------Emotion Hotkeys-----------------------------------------------------------
|
||
|
base.accept("1", base.localAvatar.b_setEmoteState, [5,1])
|
||
|
base.accept("2", base.localAvatar.b_setEmoteState, [6,1])
|
||
|
base.accept("3", base.localAvatar.b_setEmoteState, [7,1])
|
||
|
base.accept("5", base.localAvatar.b_setEmoteState, [8,1])
|
||
|
base.accept("6", base.localAvatar.b_setEmoteState, [9,1])
|
||
|
base.accept("7", base.localAvatar.b_setEmoteState, [10,1])
|
||
|
base.accept("8", base.localAvatar.b_setEmoteState, [11,1])
|
||
|
base.accept("9", base.localAvatar.b_setEmoteState, [12,1])
|
||
|
base.accept("0", base.localAvatar.b_setEmoteState, [13,1])
|
||
|
base.accept("f1", base.localAvatar.b_setEmoteState, [14,1])
|
||
|
base.accept("f2", base.localAvatar.b_setEmoteState, [15,1])
|
||
|
base.accept("f4", base.localAvatar.b_setEmoteState, [20,1])
|
||
|
base.accept("f3", base.localAvatar.b_setEmoteState, [21,1])
|
||
|
base.accept("f5", base.localAvatar.b_setEmoteState, [22,1])
|
||
|
base.accept("f6", base.localAvatar.b_setEmoteState, [23,1])
|
||
|
base.accept("f7", base.localAvatar.b_setEmoteState, [24,1])
|
||
|
base.accept("f9", base.localAvatar.b_setEmoteState, [4,1])
|
||
|
base.accept("f10", base.localAvatar.b_setEmoteState, [3,1])
|
||
|
base.accept("f11", base.localAvatar.b_setEmoteState, [2,1])
|
||
|
base.accept("f12", base.localAvatar.b_setEmoteState, [1,1])
|
||
|
---------------------------------------Maxed Laff-----------------------------------------------------------------
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
def start():
|
||
|
base.localAvatar.setMaxHp(137)
|
||
|
base.localAvatar.setHp(137)
|
||
|
def laffh():
|
||
|
laff = Sequence()
|
||
|
laff.append(Func(start))
|
||
|
laff.append(Wait(1))
|
||
|
laff.append(Func(laffh))
|
||
|
laff.start()
|
||
|
laffh()
|
||
|
----------------------------------Admin Land Part---------------------------------------------------------------
|
||
|
from direct.actor.Actor import Actor
|
||
|
from pandac.PandaModules import *
|
||
|
from direct.task import Task
|
||
|
import math
|
||
|
from math import pi, sin, cos
|
||
|
from direct.showbase.ShowBase import ShowBase
|
||
|
from direct.task import Task
|
||
|
from direct.interval.IntervalGlobal import Sequence
|
||
|
from pandac.PandaModules import Point3
|
||
|
from pandac.PandaModules import *
|
||
|
environ1 = loader.loadModel('phase_13/models/parties/partyGrounds.bam')
|
||
|
environ1.reparentTo(render)
|
||
|
environ1.setPos(12.931,0.839,110.525)
|
||
|
environ1.setHpr(0,0,0)
|
||
|
environ1.setScale(1)
|
||
|
catch1 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||
|
catch1.reparentTo(render)
|
||
|
catch1.setPos(12.931,0.839,110.540)
|
||
|
catch1.setHpr(0,0,0)
|
||
|
catch1.setScale(2)
|
||
|
catch2 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||
|
catch2.reparentTo(render)
|
||
|
catch2.setPos(12.931,0.839,110.540)
|
||
|
catch2.setHpr(0,0,0)
|
||
|
catch2.setScale(1)
|
||
|
stair1 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair1.reparentTo(render)
|
||
|
stair1.setPos(-44.350,-3.603,115.031)
|
||
|
stair1.setHpr(0,0,0)
|
||
|
stair1.setScale(1)
|
||
|
stair2 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair2.reparentTo(render)
|
||
|
stair2.setPos(-49.592,4.492,119.451)
|
||
|
stair2.setHpr(0,0,0)
|
||
|
stair2.setScale(1)
|
||
|
stair3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair3.reparentTo(render)
|
||
|
stair3.setPos(-54.221,12.194,122.359)
|
||
|
stair3.setHpr(0,0,0)
|
||
|
stair3.setScale(1)
|
||
|
stair4 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair4.reparentTo(render)
|
||
|
stair4.setPos(-59.905,21.822,126.716)
|
||
|
stair4.setHpr(0,0,0)
|
||
|
stair4.setScale(1)
|
||
|
stair5 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair5.reparentTo(render)
|
||
|
stair5.setPos(-64.772,30.703,130.709)
|
||
|
stair5.setHpr(0,0,0)
|
||
|
stair5.setScale(1)
|
||
|
stair6 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair6.reparentTo(render)
|
||
|
stair6.setPos(-62.772,39.703,134.638)
|
||
|
stair6.setHpr(0,0,0)
|
||
|
stair6.setScale(1)
|
||
|
stair7 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair7.reparentTo(render)
|
||
|
stair7.setPos(-59.416,44.442,139.154)
|
||
|
stair7.setHpr(0,0,0)
|
||
|
stair7.setScale(1)
|
||
|
stair8 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair8.reparentTo(render)
|
||
|
stair8.setPos(-55,53,143.624)
|
||
|
stair8.setHpr(0,0,0)
|
||
|
stair8.setScale(1)
|
||
|
stair9 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair9.reparentTo(render)
|
||
|
stair9.setPos(-51,58,148)
|
||
|
stair9.setHpr(0,0,0)
|
||
|
stair9.setScale(1)
|
||
|
stair10 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair10.reparentTo(render)
|
||
|
stair10.setPos(-47,66,152)
|
||
|
stair10.setHpr(0,0,0)
|
||
|
stair10.setScale(1)
|
||
|
|
||
|
stair11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair11.reparentTo(render)
|
||
|
stair11.setPos(-43,73,156)
|
||
|
stair11.setHpr(0,0,0)
|
||
|
stair11.setScale(1)
|
||
|
|
||
|
stair12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair12.reparentTo(render)
|
||
|
stair12.setPos(-39,80,160)
|
||
|
stair12.setHpr(0,0,0)
|
||
|
stair12.setScale(1)
|
||
|
|
||
|
stair13 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair13.reparentTo(render)
|
||
|
stair13.setPos(-34,85,164)
|
||
|
stair13.setHpr(0,0,0)
|
||
|
stair13.setScale(1)
|
||
|
|
||
|
stair14 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair14.reparentTo(render)
|
||
|
stair14.setPos(-27,89,168)
|
||
|
stair14.setHpr(0,0,0)
|
||
|
stair14.setScale(1)
|
||
|
|
||
|
stair15 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair15.reparentTo(render)
|
||
|
stair15.setPos(-21,94,172)
|
||
|
stair15.setHpr(0,0,0)
|
||
|
stair15.setScale(1)
|
||
|
|
||
|
stair16 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair16.reparentTo(render)
|
||
|
stair16.setPos(-14,98,176)
|
||
|
stair16.setHpr(0,0,0)
|
||
|
stair16.setScale(1)
|
||
|
|
||
|
stair17 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair17.reparentTo(render)
|
||
|
stair17.setPos(-9,103,180)
|
||
|
stair17.setHpr(0,0,0)
|
||
|
stair17.setScale(1)
|
||
|
|
||
|
stair18 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair18.reparentTo(render)
|
||
|
stair18.setPos(-4,109,184)
|
||
|
stair18.setHpr(0,0,0)
|
||
|
stair18.setScale(1)
|
||
|
|
||
|
stair19 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair19.reparentTo(render)
|
||
|
stair19.setPos(-0,116,187)
|
||
|
stair19.setHpr(0,0,0)
|
||
|
stair19.setScale(1)
|
||
|
|
||
|
stair20 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair20.reparentTo(render)
|
||
|
stair20.setPos(3,123,191)
|
||
|
stair20.setHpr(0,0,0)
|
||
|
stair20.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_4/models/props/construction_sign.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(4,128,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(6,136,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(-7,134,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(15,125,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(14,150,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(21,162,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(29,176,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(36,189,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(44,203,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairm = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairm.reparentTo(render)
|
||
|
stairm.setPos(56,226,191)
|
||
|
stairm.setHpr(0,0,0)
|
||
|
stairm.setScale(2.5)
|
||
|
|
||
|
stairs = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||
|
stairs.reparentTo(render)
|
||
|
stairs.setPos(56,226,191)
|
||
|
stairs.setHpr(60,0,0)
|
||
|
stairs.setScale(3)
|
||
|
|
||
|
cbl = loader.loadModel("phase_4/models/modules/suit_landmark_legal.bam")
|
||
|
cbl.reparentTo(render)
|
||
|
cbl.setPos(61.138,13.386,110.550)
|
||
|
cbl.setHpr(270,0,0)
|
||
|
cbl.setScale(1)
|
||
|
|
||
|
c3l = loader.loadModel("phase_4/models/modules/elevator.bam")
|
||
|
c3l.reparentTo(render)
|
||
|
c3l.setPos(55.423,-1.493,110.565)
|
||
|
c3l.setHpr(270,0,0)
|
||
|
c3l.setScale(1)
|
||
|
|
||
|
f = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
f.reparentTo(render)
|
||
|
f.setHpr(90,0,0)
|
||
|
f.setPos(47.825,-1.672,110.565)
|
||
|
pandaPosInterval22 = f.posInterval(13,Point3(47.825,-1.672,110.565),
|
||
|
startPos=Point3(47.825,-1.672,220.565))
|
||
|
pandaPosInterval33 = f.posInterval(13,Point3(47.825,-1.672,220.565),
|
||
|
|
||
|
startPos=Point3(47.825,-1.672,110.565))
|
||
|
pandaHprInterval11 = f.hprInterval(3,Point3(0,0,0),
|
||
|
|
||
|
startHpr=Point3(0, 0, 0))
|
||
|
pandaHprInterval22 = f.hprInterval(3,Point3(0, 0, 0),
|
||
|
|
||
|
startHpr=Point3(0, 0, 0))
|
||
|
pandaPace = Sequence(pandaPosInterval22,
|
||
|
pandaHprInterval11,
|
||
|
pandaPosInterval33,
|
||
|
pandaHprInterval22,
|
||
|
name="pandaPace")
|
||
|
pandaPace.loop()
|
||
|
f.find('**/wall_back').removeNode()
|
||
|
f.find('**/wall_front').removeNode()
|
||
|
f.find('**/wall_left').removeNode()
|
||
|
f.find('**/wall_right').removeNode()
|
||
|
f.find('**/ceiling').removeNode()
|
||
|
r = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
r.setPos(12.931,0.839,4.024)
|
||
|
r.setHpr(0,340.30,0)
|
||
|
r.hide()
|
||
|
r.reparentTo(render)
|
||
|
r.find('**/wall_back').removeNode()
|
||
|
r.find('**/wall_front').removeNode()
|
||
|
r.find('**/wall_left').removeNode()
|
||
|
r.find('**/wall_right').removeNode()
|
||
|
r.find('**/ceiling').removeNode()
|
||
|
|
||
|
environ2 = loader.loadModel('phase_8/models/neighborhoods/the_burrrgh.bam')
|
||
|
environ2.reparentTo(render)
|
||
|
environ2.setPos(47.825,-1.672,220.590)
|
||
|
environ2.setHpr(0,0,0)
|
||
|
environ2.setScale(1)
|
||
|
|
||
|
hg1 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg1.reparentTo(render)
|
||
|
hg1.loop("cheer")
|
||
|
hg1.setPos(59.932,-9.914,223.599)
|
||
|
hg1.setHpr(90,0,0)
|
||
|
hg1.setScale(3)
|
||
|
|
||
|
hg2 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg2.reparentTo(render)
|
||
|
hg2.loop("cheer")
|
||
|
hg2.setPos(66.932,2.914,223.599)
|
||
|
hg2.setHpr(90,0,0)
|
||
|
hg2.setScale(3)
|
||
|
|
||
|
hg3 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg3.reparentTo(render)
|
||
|
hg3.loop("cheer")
|
||
|
hg3.setPos(68.932,17.914,223.599)
|
||
|
hg3.setHpr(90,0,0)
|
||
|
hg3.setScale(3)
|
||
|
|
||
|
hg4 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg4.reparentTo(render)
|
||
|
hg4.loop("cheer")
|
||
|
hg4.setPos(58.932,25.914,223.599)
|
||
|
hg4.setHpr(180,0,0)
|
||
|
hg4.setScale(3)
|
||
|
|
||
|
base.localAvatar.setPos(12.931,0.839,110.601)
|
||
|
|
||
|
base.localAvatar.setHpr(270,0,0)
|
||
|
|
||
|
base.localAvatar.setSystemMessage(1,'Welcome to Team Admin Land!')
|
||
|
|
||
|
base.talkAssistant.sendOpenTalk('HOLY...')
|
||
|
|
||
|
hg5 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg5.reparentTo(render)
|
||
|
hg5.loop("cheer")
|
||
|
hg5.setPos(47.932,32.914,223.599)
|
||
|
hg5.setHpr(180,0,0)
|
||
|
hg5.setScale(3)
|
||
|
|
||
|
hg6 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg6.reparentTo(render)
|
||
|
hg6.loop("cheer")
|
||
|
hg6.setPos(32.932,28.914,223.599)
|
||
|
hg6.setHpr(180,0,0)
|
||
|
hg6.setScale(3)
|
||
|
|
||
|
hg7 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg7.reparentTo(render)
|
||
|
hg7.loop("cheer")
|
||
|
hg7.setPos(22.932,17.914,223.599)
|
||
|
hg7.setHpr(220,0,0)
|
||
|
hg7.setScale(3)
|
||
|
|
||
|
hg8 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg8.reparentTo(render)
|
||
|
hg8.loop("cheer")
|
||
|
hg8.setPos(19.932,5.914,223.599)
|
||
|
hg8.setHpr(270,0,0)
|
||
|
hg8.setScale(3)
|
||
|
|
||
|
hg9 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg9.reparentTo(render)
|
||
|
hg9.loop("cheer")
|
||
|
hg9.setPos(28.932,-11.914,223.599)
|
||
|
hg9.setHpr(310,0,0)
|
||
|
hg9.setScale(3)
|
||
|
|
||
|
hg10 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg10.reparentTo(render)
|
||
|
hg10.loop("cheer")
|
||
|
hg10.setPos(46.932,-18.914,223.599)
|
||
|
hg10.setHpr(350,0,0)
|
||
|
hg10.setScale(3)
|
||
|
|
||
|
mill1 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||
|
mill1.reparentTo(render)
|
||
|
mill1.setPos(26,56,229)
|
||
|
mill1.setHpr(90,0,0)
|
||
|
mill1.setScale(3)
|
||
|
|
||
|
tug1 = loader.loadModel('phase_13/models/parties/partyTugOfWar.bam')
|
||
|
tug1.reparentTo(render)
|
||
|
tug1.setPos(132,50,226)
|
||
|
tug1.setHpr(90,0,0)
|
||
|
tug1.setScale(1)
|
||
|
|
||
|
cupcake1 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||
|
cupcake1.reparentTo(render)
|
||
|
cupcake1.setPos(98,-68,226)
|
||
|
cupcake1.setHpr(120,0,0)
|
||
|
cupcake1.setScale(1)
|
||
|
|
||
|
cupcake2 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||
|
cupcake2.reparentTo(render)
|
||
|
cupcake2.setPos(122,-51,226)
|
||
|
cupcake2.setHpr(120,0,0)
|
||
|
cupcake2.setScale(1)
|
||
|
|
||
|
cupcake3 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||
|
cupcake3.reparentTo(render)
|
||
|
cupcake3.setPos(73,-79,226)
|
||
|
cupcake3.setHpr(120,0,0)
|
||
|
cupcake3.setScale(1)
|
||
|
|
||
|
dance = loader.loadModel("phase_13/models/parties/danceFloor.bam")
|
||
|
dance.reparentTo(render)
|
||
|
dance.setPos(116.949,-4.932,226.782)
|
||
|
dance.setHpr(180,0,0)
|
||
|
dance.setScale(1)
|
||
|
carouselSpin=dance.hprInterval(20, Vec3(360, 0, 0))
|
||
|
mgr = loader.loadModel("phase_13/models/parties/partyMerryGoRound.bam")
|
||
|
mgr.reparentTo(render)
|
||
|
mgr.setPos(-50.115,31.640,226.782)
|
||
|
mgr.setHpr(0,0,0)
|
||
|
mgr.setScale(4)
|
||
|
pandaHprInterval1 = mgr.hprInterval(3,Point3(0,0,0),
|
||
|
startHpr=Point3(270, 0, 0))
|
||
|
pandaHprInterval2 = mgr.hprInterval(3,Point3(270, 0, 0),
|
||
|
startHpr=Point3(0, 0, 0))
|
||
|
# Create and play the sequence that coordinates the intervals.
|
||
|
maryspin = Sequence(pandaHprInterval1,
|
||
|
name="maryspin")
|
||
|
maryspin.loop()
|
||
|
carouselSpin.loop()
|
||
|
pk1 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||
|
pk1.reparentTo(render)
|
||
|
pk1.setPos(109.563,-59.050,229.282)
|
||
|
pk1.setHpr(210,0,0)
|
||
|
pk1.setScale(1)
|
||
|
carouselSpin=pk1.hprInterval(2, Vec3(360, 0, 0))
|
||
|
pk2 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||
|
pk2.reparentTo(render)
|
||
|
pk2.setPos(84.250,-73.585,229.282)
|
||
|
pk2.setHpr(210,0,0)
|
||
|
pk2.setScale(1)
|
||
|
carouselSpin.loop()
|
||
|
boat1 = loader.loadModel("phase_6/models/neighborhoods/donalds_dock.bam")
|
||
|
boat1.reparentTo(render)
|
||
|
boat1.setPos(0,0,111111111111)
|
||
|
boat1.setHpr(0,0,0)
|
||
|
boat1.setScale(1)
|
||
|
carouselSpin=pk2.hprInterval(2, Vec3(360, 0, 0))
|
||
|
boat2 = boat1.find('**/donalds_boat')
|
||
|
boat2.reparentTo(render)
|
||
|
boat2.setPos(64.301,-45.289,226.782)
|
||
|
boat2.setHpr(0,0,315)
|
||
|
boat2.setScale(1)
|
||
|
carouselSpin.loop()
|
||
|
donald1 = Actor("phase_6/models/char/DL_donald-500.bam",
|
||
|
{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||
|
donald1.reparentTo(render)
|
||
|
donald1.loop("neutral")
|
||
|
donald1.setPos(72.411,-34.692,226.782)
|
||
|
donald1.setHpr(270,50,0)
|
||
|
donald1.setScale(1.5)
|
||
|
|
||
|
daisy1 = Actor("phase_4/models/char/daisyduck_1600.bam",
|
||
|
{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||
|
daisy1.reparentTo(render)
|
||
|
daisy1.loop("idle")
|
||
|
daisy1.setPos(77,-37,226)
|
||
|
daisy1.setHpr(70,0,0)
|
||
|
daisy1.setScale(1.5)
|
||
|
|
||
|
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||
|
broken.reparentTo(render)
|
||
|
broken.setPos(61.301,-37.289,226.782)
|
||
|
broken.setHpr(0,0,315)
|
||
|
broken.setScale(2)
|
||
|
|
||
|
maze1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotMazex1_C.bam')
|
||
|
maze1.reparentTo(render)
|
||
|
maze1.setPos(-9,-111,226)
|
||
|
maze1.setHpr(0,0,0)
|
||
|
maze1.setScale(2)
|
||
|
|
||
|
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
e.reparentTo(render)
|
||
|
e.setHpr(90,0,0)
|
||
|
e.setPos(-94.567,-27.908,226.782)
|
||
|
e.setScale(3)
|
||
|
|
||
|
e.find('**/wall_back').removeNode()
|
||
|
e.find('**/wall_front').removeNode()
|
||
|
e.find('**/wall_left').removeNode()
|
||
|
e.find('**/wall_right').removeNode()
|
||
|
e.find('**/ceiling').removeNode()
|
||
|
|
||
|
mazesign1 = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
||
|
mazesign1.reparentTo(render)
|
||
|
mazesign1.setPos(-101.681,-37.524,226.807)
|
||
|
mazesign1.setHpr(90,0,0)
|
||
|
mazesign1.setScale(2)
|
||
|
|
||
|
mill2 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||
|
mill2.reparentTo(render)
|
||
|
mill2.setPos(-148.5,-26,225)
|
||
|
mill2.setHpr(180,0,0)
|
||
|
mill2.setScale(3)
|
||
|
|
||
|
fence1 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence1.reparentTo(render)
|
||
|
fence1.setPos(-142.5,-42,225)
|
||
|
fence1.setHpr(90,0,0)
|
||
|
|
||
|
fence2 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence2.reparentTo(render)
|
||
|
fence2.setPos(-142.5,-52,225)
|
||
|
fence2.setHpr(90,0,0)
|
||
|
|
||
|
fence3 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence3.reparentTo(render)
|
||
|
fence3.setPos(-142.5,-57,225)
|
||
|
fence3.setHpr(90,0,0)
|
||
|
|
||
|
fence4 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence4.reparentTo(render)
|
||
|
fence4.setPos(-142.5,-22,225)
|
||
|
fence4.setHpr(90,0,0)
|
||
|
|
||
|
fence5 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence5.reparentTo(render)
|
||
|
fence5.setPos(-142.5,-12,225)
|
||
|
fence5.setHpr(90,0,0)
|
||
|
|
||
|
fence6 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence6.reparentTo(render)
|
||
|
fence6.setPos(-142.5,-7,225)
|
||
|
fence6.setHpr(90,0,0)
|
||
|
|
||
|
fence7 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence7.reparentTo(render)
|
||
|
fence7.setPos(67.5,214,191)
|
||
|
fence7.setHpr(140,0,0)
|
||
|
|
||
|
fence8 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence8.reparentTo(render)
|
||
|
fence8.setPos(48.5,225,191)
|
||
|
fence8.setHpr(140,0,0)
|
||
|
|
||
|
block1 = loader.loadModel("phase_4/models/props/construction_sign.bam")
|
||
|
block1.reparentTo(render)
|
||
|
block1.setPos(-138,-25,225)
|
||
|
block1.setHpr(90,0,0)
|
||
|
block1.setScale(2)
|
||
|
|
||
|
cow = loader.loadModel('phase_13/models/parties/cogPieArena_model')
|
||
|
cow.reparentTo(render)
|
||
|
cow.setPos(-38,-75,227)
|
||
|
cow.setHpr(330,0,0)
|
||
|
cow.setScale(1)
|
||
|
|
||
|
launch1 = loader.loadModel('phase_13/models/parties/launchPad')
|
||
|
launch1.reparentTo(render)
|
||
|
launch1.setPos(17,-99,226)
|
||
|
launch1.setHpr(0,0,0)
|
||
|
launch1.setScale(1)
|
||
|
|
||
|
castle = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_castle.bam")
|
||
|
castle.reparentTo(render)
|
||
|
castle.setPos(143,-153,226)
|
||
|
castle.setHpr(120,0,0)
|
||
|
castle.setScale(8)
|
||
|
|
||
|
tiki = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam")
|
||
|
tiki.reparentTo(render)
|
||
|
tiki.setPos(250,-50,226)
|
||
|
tiki.setHpr(160,0,0)
|
||
|
tiki.setScale(8)
|
||
|
|
||
|
mr1 = loader.loadModel('phase_7/models/modules/cubicle_room.bam')
|
||
|
mr1.reparentTo(render)
|
||
|
mr1.setPos(-416,-27,226)
|
||
|
mr1.setHpr(90,0,0)
|
||
|
mr1.setScale(1)
|
||
|
|
||
|
mrt = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||
|
mrt.reparentTo(render)
|
||
|
mrt.setPos(-416,-27,226)
|
||
|
mrt.setHpr(90,0,0)
|
||
|
mrt.setScale(.9)
|
||
|
|
||
|
rocket1 = loader.loadModel('phase_13/models/parties/rocket_model.bam')
|
||
|
rocket1.reparentTo(render)
|
||
|
rocket1.setPos(-2,-89,226)
|
||
|
rocket1.setHpr(0,0,0)
|
||
|
rocket1.setScale(2)
|
||
|
|
||
|
rexp1 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||
|
rexp1.reparentTo(render)
|
||
|
rexp1.setPos(-2,-89,226)
|
||
|
rexp1.setHpr(0,0,0)
|
||
|
rexp1.setScale(2)
|
||
|
|
||
|
rexp2 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||
|
rexp2.reparentTo(render)
|
||
|
rexp2.setPos(-2,-89,226)
|
||
|
rexp2.setHpr(180,0,0)
|
||
|
rexp2.setScale(2)
|
||
|
|
||
|
c1 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c1.reparentTo(render)
|
||
|
c1.setPos(-198.5,16,224)
|
||
|
c1.setHpr(180,0,0)
|
||
|
c1.setScale(4)
|
||
|
|
||
|
c2 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c2.reparentTo(render)
|
||
|
c2.setPos(-301.5,-65,224)
|
||
|
c2.setHpr(0,0,0)
|
||
|
c2.setScale(4)
|
||
|
|
||
|
c3 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c3.reparentTo(render)
|
||
|
c3.setPos(-217.5,-31,224)
|
||
|
c3.setHpr(0,0,0)
|
||
|
c3.setScale(4)
|
||
|
|
||
|
c4 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c4.reparentTo(render)
|
||
|
c4.setPos(-199.5,-44,224)
|
||
|
c4.setHpr(0,0,0)
|
||
|
c4.setScale(4)
|
||
|
|
||
|
c5 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c5.reparentTo(render)
|
||
|
c5.setPos(-217.5,3,224)
|
||
|
c5.setHpr(180,0,0)
|
||
|
c5.setScale(4)
|
||
|
|
||
|
c6 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c6.reparentTo(render)
|
||
|
c6.setPos(-284.5,-30,224)
|
||
|
c6.setHpr(180,0,0)
|
||
|
c6.setScale(4)
|
||
|
|
||
|
c7 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c7.reparentTo(render)
|
||
|
c7.setPos(-198.5,-1,224)
|
||
|
c7.setHpr(0,0,0)
|
||
|
c7.setScale(4)
|
||
|
|
||
|
f1 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
f1.reparentTo(render)
|
||
|
f1.setHpr(90,0,0)
|
||
|
f1.setPos(250,-50,226)
|
||
|
f1.setScale(7)
|
||
|
|
||
|
f1.find('**/wall_back').removeNode()
|
||
|
f1.find('**/wall_front').removeNode()
|
||
|
f1.find('**/wall_left').removeNode()
|
||
|
f1.find('**/wall_right').removeNode()
|
||
|
f1.find('**/ceiling').removeNode()
|
||
|
|
||
|
fb1 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||
|
fb1.reparentTo(render)
|
||
|
fb1.setPos(277,-21,226)
|
||
|
fb1.setHpr(270,0,0)
|
||
|
fb1.setScale(3)
|
||
|
|
||
|
fb2 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||
|
fb2.reparentTo(render)
|
||
|
fb2.setPos(277,-33,226)
|
||
|
fb2.setHpr(270,0,0)
|
||
|
fb2.setScale(3)
|
||
|
|
||
|
fb3 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||
|
fb3.reparentTo(render)
|
||
|
fb3.setPos(277,-46,226)
|
||
|
fb3.setHpr(270,0,0)
|
||
|
fb3.setScale(3)
|
||
|
|
||
|
ca1 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca1.reparentTo(render)
|
||
|
ca1.setPos(-431.768,-17.630,226.025)
|
||
|
ca1.setHpr(260,0,0)
|
||
|
ca1.setScale(2)
|
||
|
|
||
|
ca2 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca2.reparentTo(render)
|
||
|
ca2.setPos(-431.768,-38.630,226.025)
|
||
|
ca2.setHpr(280,0,0)
|
||
|
ca2.setScale(2)
|
||
|
|
||
|
ca3 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca3.reparentTo(render)
|
||
|
ca3.setPos(-366.768,-35.630,226.025)
|
||
|
ca3.setHpr(290,0,0)
|
||
|
ca3.setScale(2)
|
||
|
|
||
|
ca4 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca4.reparentTo(render)
|
||
|
ca4.setPos(-366.768,-17.630,226.025)
|
||
|
ca4.setHpr(250,0,0)
|
||
|
ca4.setScale(2)
|
||
|
|
||
|
ca5 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca5.reparentTo(render)
|
||
|
ca5.setPos(-398.768,-15.630,226.025)
|
||
|
ca5.setHpr(120,0,0)
|
||
|
ca5.setScale(2)
|
||
|
|
||
|
ca6 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca6.reparentTo(render)
|
||
|
ca6.setPos(-398.768,-38.630,226.025)
|
||
|
ca6.setHpr(60,0,0)
|
||
|
ca6.setScale(2)
|
||
|
|
||
|
environ3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
environ3.reparentTo(render)
|
||
|
environ3.setPos(-508.081,-29.392,226.025)
|
||
|
environ3.setHpr(0,0,0)
|
||
|
environ3.setScale(7)
|
||
|
|
||
|
rope1 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope1.reparentTo(render)
|
||
|
rope1.setPos(-508.081,-29.392,226.025)
|
||
|
rope1.setHpr(0,0,0)
|
||
|
rope1.setScale(1)
|
||
|
|
||
|
meter1 = Actor("phase_4/models/props/tt_a_ara_ttc_sillyMeter_default.bam",
|
||
|
{"lol":"phase_4/models/props/tt_a_ara_ttc_sillyMeter_phaseFive.bam"})
|
||
|
meter1.reparentTo(render)
|
||
|
meter1.loop('lol')
|
||
|
meter1.setPos(-508.081,-29.392,226.025)
|
||
|
meter1.setHpr(90,0,0)
|
||
|
meter1.setScale(1)
|
||
|
|
||
|
rope2 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope2.reparentTo(render)
|
||
|
rope2.setPos(-507.867,-59.050,225.995)
|
||
|
rope2.setHpr(0,0,0)
|
||
|
rope2.setScale(.4)
|
||
|
|
||
|
mickey = Actor("phase_3/models/char/mickey-1200.bam",
|
||
|
{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||
|
mickey.reparentTo(render)
|
||
|
mickey.loop('wait')
|
||
|
mickey.setPos(-507.867,-59.050,225.995)
|
||
|
mickey.setHpr(270,0,0)
|
||
|
mickey.setScale(2)
|
||
|
|
||
|
rope3 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope3.reparentTo(render)
|
||
|
rope3.setPos(-486.485,-51.431,226.075)
|
||
|
rope3.setHpr(0,0,0)
|
||
|
rope3.setScale(.4)
|
||
|
|
||
|
minnie = Actor("phase_3/models/char/minnie-1200.bam",
|
||
|
{"wait":"phase_3/models/char/minnie-wait.bam"})
|
||
|
minnie.reparentTo(render)
|
||
|
minnie.loop('wait')
|
||
|
minnie.setPos(-486.485,-51.431,226.075)
|
||
|
minnie.setHpr(270,0,0)
|
||
|
minnie.setScale(2)
|
||
|
|
||
|
rope4 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope4.reparentTo(render)
|
||
|
rope4.setPos(-486.497,-7.691,226.076)
|
||
|
rope4.setHpr(0,0,0)
|
||
|
rope4.setScale(.4)
|
||
|
|
||
|
dd2 = Actor("phase_4/models/char/daisyduck_1600.bam",{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||
|
dd2.reparentTo(render)
|
||
|
dd2.loop('idle')
|
||
|
dd2.setPos(-486.497,-7.691,226.076)
|
||
|
dd2.setHpr(270,0,0)
|
||
|
dd2.setScale(2)
|
||
|
|
||
|
rope5 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope5.reparentTo(render)
|
||
|
rope5.setPos(-507.929,3.536,226.051)
|
||
|
rope5.setHpr(0,0,0)
|
||
|
rope5.setScale(.4)
|
||
|
|
||
|
dd1 = Actor("phase_6/models/char/DL_donald-500.bam",{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||
|
dd1.reparentTo(render)
|
||
|
dd1.loop('neutral')
|
||
|
dd1.setPos(-507.929,3.536,226.051)
|
||
|
dd1.setHpr(270,0,0)
|
||
|
dd1.setScale(2)
|
||
|
|
||
|
rope6 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope6.reparentTo(render)
|
||
|
rope6.setPos(-530.552,-4.198,226.057)
|
||
|
rope6.setHpr(0,0,0)
|
||
|
rope6.setScale(.4)
|
||
|
|
||
|
chip1 = Actor("phase_6/models/char/chip_250",{"idle":"phase_6/models/char/chip_idle.bam"})
|
||
|
chip1.reparentTo(render)
|
||
|
chip1.loop('idle')
|
||
|
chip1.setPos(-530.552,-4.198,226.057)
|
||
|
chip1.setHpr(270,0,0)
|
||
|
chip1.setScale(2)
|
||
|
|
||
|
rope7 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope7.reparentTo(render)
|
||
|
rope7.setPos(-530.552,-52.467,226.069)
|
||
|
rope7.setHpr(0,0,0)
|
||
|
rope7.setScale(.4)
|
||
|
|
||
|
dale1 = Actor("phase_6/models/char/dale_250",{"idle":"phase_6/models/char/dale_idle.bam"})
|
||
|
dale1.reparentTo(render)
|
||
|
dale1.loop('idle')
|
||
|
dale1.setPos(-530.552,-52.467,226.069)
|
||
|
dale1.setHpr(270,0,0)
|
||
|
dale1.setScale(2)
|
||
|
|
||
|
pluto1 = Actor("phase_6/models/char/pluto-1000.bam",
|
||
|
{"neutral":"phase_6/models/char/pluto-neutral.bam"})
|
||
|
pluto1.reparentTo(render)
|
||
|
pluto1.loop('neutral')
|
||
|
pluto1.setPos(-542.602,-30.061,226.070)
|
||
|
pluto1.setHpr(270,0,0)
|
||
|
pluto1.setScale(15)
|
||
|
|
||
|
fb4 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||
|
fb4.reparentTo(render)
|
||
|
fb4.setPos(277,-59,226)
|
||
|
fb4.setHpr(270,0,0)
|
||
|
fb4.setScale(3)
|
||
|
|
||
|
fb5 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb5.reparentTo(render)
|
||
|
fb5.setPos(227,-26,226)
|
||
|
fb5.setHpr(0,0,0)
|
||
|
fb5.setScale(1)
|
||
|
|
||
|
fb6 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb6.reparentTo(render)
|
||
|
fb6.setPos(241,-26,226)
|
||
|
fb6.setHpr(0,0,0)
|
||
|
fb6.setScale(1)
|
||
|
|
||
|
fb7 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb7.reparentTo(render)
|
||
|
fb7.setPos(255,-26,226)
|
||
|
fb7.setHpr(0,0,0)
|
||
|
fb7.setScale(1)
|
||
|
|
||
|
fb8 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb8.reparentTo(render)
|
||
|
fb8.setPos(255,-52,226)
|
||
|
fb8.setHpr(0,0,0)
|
||
|
fb8.setScale(1)
|
||
|
|
||
|
fb9 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb9.reparentTo(render)
|
||
|
fb9.setPos(241,-52,226)
|
||
|
fb9.setHpr(0,0,0)
|
||
|
fb9.setScale(1)
|
||
|
|
||
|
fb10 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb10.reparentTo(render)
|
||
|
fb10.setPos(227,-52,226)
|
||
|
fb10.setHpr(0,0,0)
|
||
|
fb10.setScale(1)
|
||
|
|
||
|
fb11 = loader.loadModel('phase_13/models/parties/partyClock')
|
||
|
fb11.reparentTo(render)
|
||
|
fb11.setPos(290,-45,226)
|
||
|
fb11.setHpr(90,0,0)
|
||
|
fb11.setScale(3)
|
||
|
|
||
|
fb12 = loader.loadModel('phase_13/models/parties/jukebox_model.bam')
|
||
|
fb12.reparentTo(render)
|
||
|
fb12.setPos(243,-4,226)
|
||
|
fb12.setHpr(0,0,0)
|
||
|
fb12.setScale(5)
|
||
|
|
||
|
fb13 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb13.reparentTo(render)
|
||
|
fb13.setPos(219,-76,226)
|
||
|
fb13.setHpr(0,0,0)
|
||
|
fb13.setScale(25)
|
||
|
|
||
|
fb14 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb14.reparentTo(render)
|
||
|
fb14.setPos(235,-76,234)
|
||
|
fb14.setHpr(0,0,0)
|
||
|
fb14.setScale(25)
|
||
|
|
||
|
fb15 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb15.reparentTo(render)
|
||
|
fb15.setPos(250,-76,242)
|
||
|
fb15.setHpr(0,0,0)
|
||
|
fb15.setScale(25)
|
||
|
|
||
|
fb16 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb16.reparentTo(render)
|
||
|
fb16.setPos(265,-76,250)
|
||
|
fb16.setHpr(0,0,0)
|
||
|
|
||
|
fb17 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb17.reparentTo(render)
|
||
|
fb17.setPos(265,-76,250)
|
||
|
fb17.setHpr(90,0,0)
|
||
|
fb17.setScale(25)
|
||
|
|
||
|
fb18 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb18.reparentTo(render)
|
||
|
fb18.setPos(265,-60,258)
|
||
|
fb18.setHpr(90,0,0)
|
||
|
fb18.setScale(25)
|
||
|
|
||
|
fb19 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb19.reparentTo(render)
|
||
|
fb19.setPos(265,-43,266)
|
||
|
fb19.setHpr(90,0,0)
|
||
|
fb19.setScale(25)
|
||
|
|
||
|
fb20 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb20.reparentTo(render)
|
||
|
fb20.setPos(265,-26,274)
|
||
|
fb20.setHpr(90,0,0)
|
||
|
fb20.setScale(25)
|
||
|
|
||
|
fb21 = loader.loadModel('phase_9/models/cogHQ/Elevator.bam')
|
||
|
fb21.reparentTo(render)
|
||
|
fb21.setPos(275,-81,250)
|
||
|
fb21.setHpr(0,0,0)
|
||
|
fb21.setScale(1)
|
||
|
|
||
|
fb21.find('**/wall_back').removeNode()
|
||
|
fb21.find('**/wall_front').removeNode()
|
||
|
fb21.find('**/wall_left').removeNode()
|
||
|
fb21.find('**/wall_right').removeNode()
|
||
|
fb21.find('**/ceiling').removeNode()
|
||
|
|
||
|
f2 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
f2.reparentTo(render)
|
||
|
f2.setHpr(90,0,0)
|
||
|
f2.setPos(250,-40,282)
|
||
|
f2.setScale(4)
|
||
|
|
||
|
f2.find('**/wall_back').removeNode()
|
||
|
f2.find('**/wall_front').removeNode()
|
||
|
f2.find('**/wall_left').removeNode()
|
||
|
f2.find('**/wall_right').removeNode()
|
||
|
f2.find('**/ceiling').removeNode()
|
||
|
|
||
|
cogplat1 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||
|
cogplat1.reparentTo(render)
|
||
|
cogplat1.setPos(59,267,190)
|
||
|
cogplat1.setHpr(0,0,0)
|
||
|
cogplat1.setScale(5)
|
||
|
|
||
|
smr = loader.loadModel("phase_9/models/cogHQ/SellbotHQLobby.bam")
|
||
|
smr.reparentTo(render)
|
||
|
smr.setHpr(180,0,0)
|
||
|
smr.setPos(59,386,169)
|
||
|
smr.setScale(7)
|
||
|
|
||
|
mrt1 = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||
|
mrt1.reparentTo(render)
|
||
|
mrt1.setPos(60,363,169)
|
||
|
mrt1.setHpr(90,0,0)
|
||
|
mrt1.setScale(9)
|
||
|
|
||
|
c8 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c8.reparentTo(render)
|
||
|
c8.setPos(80,362,166)
|
||
|
c8.setHpr(0,0,0)
|
||
|
c8.setScale(9)
|
||
|
|
||
|
c9 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c9.reparentTo(render)
|
||
|
c9.setPos(40,362,166)
|
||
|
c9.setHpr(0,0,0)
|
||
|
c9.setScale(9)
|
||
|
|
||
|
b = loader.loadModel("phase_12/models/char/lawbotBoss-legs-zero.bam")
|
||
|
b.reparentTo(render)
|
||
|
b.setPos(45,444,196)
|
||
|
b.setHpr(0,0,0)
|
||
|
b.setScale(1)
|
||
|
c = loader.loadModel("phase_12/models/char/cashbotBoss-torso-zero.bam")
|
||
|
c.reparentTo(render)
|
||
|
c.setPos(45,444,206)
|
||
|
c.setHpr(0,0,0)
|
||
|
c.setScale(1)
|
||
|
d = loader.loadModel("phase_12/models/char/bossbotBoss-head-zero.bam")
|
||
|
d.reparentTo(render)
|
||
|
d.setPos(45,444,214.2)
|
||
|
d.setHpr(90,0,-90)
|
||
|
d.setScale(1)
|
||
|
|
||
|
serv1 = loader.loadModel("phase_12/models/char/cashbotBoss-legs-zero.bam")
|
||
|
serv1.reparentTo(render)
|
||
|
serv1.setPos(74,444,196)
|
||
|
serv1.setHpr(0,0,0)
|
||
|
serv1.setScale(1)
|
||
|
serv2 = loader.loadModel("phase_10/models/char/lawbotBoss-torso-zero.bam")
|
||
|
serv2.reparentTo(render)
|
||
|
serv2.setPos(74,444,206)
|
||
|
serv2.setHpr(0,0,0)
|
||
|
serv2.setScale(1)
|
||
|
serv3 = loader.loadModel("phase_10/models/char/sellbotBoss-head-zero.bam")
|
||
|
serv3.reparentTo(render)
|
||
|
serv3.setPos(74,444,214.2)
|
||
|
serv3.setHpr(270,0,-90)
|
||
|
serv3.setScale(1)
|
||
|
|
||
|
mole1 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||
|
mole1.reparentTo(render)
|
||
|
mole1.setPos(59,321,182)
|
||
|
mole1.setHpr(180,0,0)
|
||
|
mole1.setScale(6)
|
||
|
|
||
|
rm1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotKartBoardingRm.bam')
|
||
|
rm1.reparentTo(render)
|
||
|
rm1.setPos(58,502,196)
|
||
|
rm1.setHpr(90,0,0)
|
||
|
rm1.setScale(1)
|
||
|
|
||
|
mole2 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||
|
mole2.reparentTo(render)
|
||
|
mole2.setPos(40,530,194)
|
||
|
mole2.setHpr(0,0,0)
|
||
|
mole2.setScale(4)
|
||
|
---------------------------------------------Admin Land Part 2--------------------------------------------------
|
||
|
from direct.actor.Actor import Actor
|
||
|
from pandac.PandaModules import *
|
||
|
from direct.task import Task
|
||
|
import math
|
||
|
from math import pi, sin, cos
|
||
|
from direct.showbase.ShowBase import ShowBase
|
||
|
from direct.task import Task
|
||
|
from direct.interval.IntervalGlobal import Sequence
|
||
|
from pandac.PandaModules import Point3
|
||
|
from pandac.PandaModules import *
|
||
|
environ1 = loader.loadModel('phase_13/models/parties/partyGrounds.bam')
|
||
|
environ1.reparentTo(render)
|
||
|
environ1.setPos(12.931,0.839,110.525)
|
||
|
environ1.setHpr(0,0,0)
|
||
|
environ1.setScale(1)
|
||
|
catch1 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||
|
catch1.reparentTo(render)
|
||
|
catch1.setPos(12.931,0.839,110.540)
|
||
|
catch1.setHpr(0,0,0)
|
||
|
catch1.setScale(2)
|
||
|
catch2 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||
|
catch2.reparentTo(render)
|
||
|
catch2.setPos(12.931,0.839,110.540)
|
||
|
catch2.setHpr(0,0,0)
|
||
|
catch2.setScale(1)
|
||
|
stair1 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair1.reparentTo(render)
|
||
|
stair1.setPos(-44.350,-3.603,115.031)
|
||
|
stair1.setHpr(0,0,0)
|
||
|
stair1.setScale(1)
|
||
|
stair2 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair2.reparentTo(render)
|
||
|
stair2.setPos(-49.592,4.492,119.451)
|
||
|
stair2.setHpr(0,0,0)
|
||
|
stair2.setScale(1)
|
||
|
stair3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair3.reparentTo(render)
|
||
|
stair3.setPos(-54.221,12.194,122.359)
|
||
|
stair3.setHpr(0,0,0)
|
||
|
stair3.setScale(1)
|
||
|
stair4 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair4.reparentTo(render)
|
||
|
stair4.setPos(-59.905,21.822,126.716)
|
||
|
stair4.setHpr(0,0,0)
|
||
|
stair4.setScale(1)
|
||
|
stair5 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair5.reparentTo(render)
|
||
|
stair5.setPos(-64.772,30.703,130.709)
|
||
|
stair5.setHpr(0,0,0)
|
||
|
stair5.setScale(1)
|
||
|
stair6 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair6.reparentTo(render)
|
||
|
stair6.setPos(-62.772,39.703,134.638)
|
||
|
stair6.setHpr(0,0,0)
|
||
|
stair6.setScale(1)
|
||
|
stair7 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair7.reparentTo(render)
|
||
|
stair7.setPos(-59.416,44.442,139.154)
|
||
|
stair7.setHpr(0,0,0)
|
||
|
stair7.setScale(1)
|
||
|
stair8 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair8.reparentTo(render)
|
||
|
stair8.setPos(-55,53,143.624)
|
||
|
stair8.setHpr(0,0,0)
|
||
|
stair8.setScale(1)
|
||
|
stair9 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair9.reparentTo(render)
|
||
|
stair9.setPos(-51,58,148)
|
||
|
stair9.setHpr(0,0,0)
|
||
|
stair9.setScale(1)
|
||
|
stair10 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair10.reparentTo(render)
|
||
|
stair10.setPos(-47,66,152)
|
||
|
stair10.setHpr(0,0,0)
|
||
|
stair10.setScale(1)
|
||
|
|
||
|
stair11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair11.reparentTo(render)
|
||
|
stair11.setPos(-43,73,156)
|
||
|
stair11.setHpr(0,0,0)
|
||
|
stair11.setScale(1)
|
||
|
|
||
|
stair12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair12.reparentTo(render)
|
||
|
stair12.setPos(-39,80,160)
|
||
|
stair12.setHpr(0,0,0)
|
||
|
stair12.setScale(1)
|
||
|
|
||
|
stair13 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair13.reparentTo(render)
|
||
|
stair13.setPos(-34,85,164)
|
||
|
stair13.setHpr(0,0,0)
|
||
|
stair13.setScale(1)
|
||
|
|
||
|
stair14 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair14.reparentTo(render)
|
||
|
stair14.setPos(-27,89,168)
|
||
|
stair14.setHpr(0,0,0)
|
||
|
stair14.setScale(1)
|
||
|
|
||
|
stair15 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair15.reparentTo(render)
|
||
|
stair15.setPos(-21,94,172)
|
||
|
stair15.setHpr(0,0,0)
|
||
|
stair15.setScale(1)
|
||
|
|
||
|
stair16 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair16.reparentTo(render)
|
||
|
stair16.setPos(-14,98,176)
|
||
|
stair16.setHpr(0,0,0)
|
||
|
stair16.setScale(1)
|
||
|
|
||
|
stair17 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair17.reparentTo(render)
|
||
|
stair17.setPos(-9,103,180)
|
||
|
stair17.setHpr(0,0,0)
|
||
|
stair17.setScale(1)
|
||
|
|
||
|
stair18 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair18.reparentTo(render)
|
||
|
stair18.setPos(-4,109,184)
|
||
|
stair18.setHpr(0,0,0)
|
||
|
stair18.setScale(1)
|
||
|
|
||
|
stair19 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair19.reparentTo(render)
|
||
|
stair19.setPos(-0,116,187)
|
||
|
stair19.setHpr(0,0,0)
|
||
|
stair19.setScale(1)
|
||
|
|
||
|
stair20 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stair20.reparentTo(render)
|
||
|
stair20.setPos(3,123,191)
|
||
|
stair20.setHpr(0,0,0)
|
||
|
stair20.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_4/models/props/construction_sign.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(4,128,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(6,136,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(-7,134,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(15,125,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(14,150,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(21,162,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(29,176,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(36,189,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairw.reparentTo(render)
|
||
|
stairw.setPos(44,203,191)
|
||
|
stairw.setHpr(0,0,0)
|
||
|
stairw.setScale(1)
|
||
|
|
||
|
stairm = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
stairm.reparentTo(render)
|
||
|
stairm.setPos(56,226,191)
|
||
|
stairm.setHpr(0,0,0)
|
||
|
stairm.setScale(2.5)
|
||
|
|
||
|
stairs = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||
|
stairs.reparentTo(render)
|
||
|
stairs.setPos(56,226,191)
|
||
|
stairs.setHpr(60,0,0)
|
||
|
stairs.setScale(3)
|
||
|
|
||
|
cbl = loader.loadModel("phase_4/models/modules/suit_landmark_legal.bam")
|
||
|
cbl.reparentTo(render)
|
||
|
cbl.setPos(61.138,13.386,110.550)
|
||
|
cbl.setHpr(270,0,0)
|
||
|
cbl.setScale(1)
|
||
|
|
||
|
c3l = loader.loadModel("phase_4/models/modules/elevator.bam")
|
||
|
c3l.reparentTo(render)
|
||
|
c3l.setPos(55.423,-1.493,110.565)
|
||
|
c3l.setHpr(270,0,0)
|
||
|
c3l.setScale(1)
|
||
|
|
||
|
f = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
f.reparentTo(render)
|
||
|
f.setHpr(90,0,0)
|
||
|
f.setPos(47.825,-1.672,110.565)
|
||
|
pandaPosInterval22 = f.posInterval(13,Point3(47.825,-1.672,110.565),
|
||
|
startPos=Point3(47.825,-1.672,220.565))
|
||
|
pandaPosInterval33 = f.posInterval(13,Point3(47.825,-1.672,220.565),
|
||
|
|
||
|
startPos=Point3(47.825,-1.672,110.565))
|
||
|
pandaHprInterval11 = f.hprInterval(3,Point3(0,0,0),
|
||
|
|
||
|
startHpr=Point3(0, 0, 0))
|
||
|
pandaHprInterval22 = f.hprInterval(3,Point3(0, 0, 0),
|
||
|
|
||
|
startHpr=Point3(0, 0, 0))
|
||
|
pandaPace = Sequence(pandaPosInterval22,
|
||
|
pandaHprInterval11,
|
||
|
pandaPosInterval33,
|
||
|
pandaHprInterval22,
|
||
|
name="pandaPace")
|
||
|
pandaPace.loop()
|
||
|
f.find('**/wall_back').removeNode()
|
||
|
f.find('**/wall_front').removeNode()
|
||
|
f.find('**/wall_left').removeNode()
|
||
|
f.find('**/wall_right').removeNode()
|
||
|
f.find('**/ceiling').removeNode()
|
||
|
r = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
r.setPos(12.931,0.839,4.024)
|
||
|
r.setHpr(0,340.30,0)
|
||
|
r.hide()
|
||
|
r.reparentTo(render)
|
||
|
r.find('**/wall_back').removeNode()
|
||
|
r.find('**/wall_front').removeNode()
|
||
|
r.find('**/wall_left').removeNode()
|
||
|
r.find('**/wall_right').removeNode()
|
||
|
r.find('**/ceiling').removeNode()
|
||
|
|
||
|
environ2 = loader.loadModel('phase_8/models/neighborhoods/the_burrrgh.bam')
|
||
|
environ2.reparentTo(render)
|
||
|
environ2.setPos(47.825,-1.672,220.590)
|
||
|
environ2.setHpr(0,0,0)
|
||
|
environ2.setScale(1)
|
||
|
|
||
|
hg1 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg1.reparentTo(render)
|
||
|
hg1.loop("cheer")
|
||
|
hg1.setPos(59.932,-9.914,223.599)
|
||
|
hg1.setHpr(90,0,0)
|
||
|
hg1.setScale(3)
|
||
|
|
||
|
hg2 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg2.reparentTo(render)
|
||
|
hg2.loop("cheer")
|
||
|
hg2.setPos(66.932,2.914,223.599)
|
||
|
hg2.setHpr(90,0,0)
|
||
|
hg2.setScale(3)
|
||
|
|
||
|
hg3 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg3.reparentTo(render)
|
||
|
hg3.loop("cheer")
|
||
|
hg3.setPos(68.932,17.914,223.599)
|
||
|
hg3.setHpr(90,0,0)
|
||
|
hg3.setScale(3)
|
||
|
|
||
|
hg4 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg4.reparentTo(render)
|
||
|
hg4.loop("cheer")
|
||
|
hg4.setPos(58.932,25.914,223.599)
|
||
|
hg4.setHpr(180,0,0)
|
||
|
hg4.setScale(3)
|
||
|
|
||
|
base.localAvatar.setPos(12.931,0.839,110.601)
|
||
|
|
||
|
base.localAvatar.setHpr(270,0,0)
|
||
|
|
||
|
base.localAvatar.setSystemMessage(1,'Welcome to Team Admin Land!')
|
||
|
|
||
|
base.talkAssistant.sendOpenTalk('HOLY...')
|
||
|
|
||
|
hg5 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg5.reparentTo(render)
|
||
|
hg5.loop("cheer")
|
||
|
hg5.setPos(47.932,32.914,223.599)
|
||
|
hg5.setHpr(180,0,0)
|
||
|
hg5.setScale(3)
|
||
|
|
||
|
hg6 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg6.reparentTo(render)
|
||
|
hg6.loop("cheer")
|
||
|
hg6.setPos(32.932,28.914,223.599)
|
||
|
hg6.setHpr(180,0,0)
|
||
|
hg6.setScale(3)
|
||
|
|
||
|
hg7 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg7.reparentTo(render)
|
||
|
hg7.loop("cheer")
|
||
|
hg7.setPos(22.932,17.914,223.599)
|
||
|
hg7.setHpr(220,0,0)
|
||
|
hg7.setScale(3)
|
||
|
|
||
|
hg8 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg8.reparentTo(render)
|
||
|
hg8.loop("cheer")
|
||
|
hg8.setPos(19.932,5.914,223.599)
|
||
|
hg8.setHpr(270,0,0)
|
||
|
hg8.setScale(3)
|
||
|
|
||
|
hg9 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg9.reparentTo(render)
|
||
|
hg9.loop("cheer")
|
||
|
hg9.setPos(28.932,-11.914,223.599)
|
||
|
hg9.setHpr(310,0,0)
|
||
|
hg9.setScale(3)
|
||
|
|
||
|
hg10 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||
|
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||
|
hg10.reparentTo(render)
|
||
|
hg10.loop("cheer")
|
||
|
hg10.setPos(46.932,-18.914,223.599)
|
||
|
hg10.setHpr(350,0,0)
|
||
|
hg10.setScale(3)
|
||
|
|
||
|
mill1 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||
|
mill1.reparentTo(render)
|
||
|
mill1.setPos(26,56,229)
|
||
|
mill1.setHpr(90,0,0)
|
||
|
mill1.setScale(3)
|
||
|
|
||
|
tug1 = loader.loadModel('phase_13/models/parties/partyTugOfWar.bam')
|
||
|
tug1.reparentTo(render)
|
||
|
tug1.setPos(132,50,226)
|
||
|
tug1.setHpr(90,0,0)
|
||
|
tug1.setScale(1)
|
||
|
|
||
|
cupcake1 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||
|
cupcake1.reparentTo(render)
|
||
|
cupcake1.setPos(98,-68,226)
|
||
|
cupcake1.setHpr(120,0,0)
|
||
|
cupcake1.setScale(1)
|
||
|
|
||
|
cupcake2 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||
|
cupcake2.reparentTo(render)
|
||
|
cupcake2.setPos(122,-51,226)
|
||
|
cupcake2.setHpr(120,0,0)
|
||
|
cupcake2.setScale(1)
|
||
|
|
||
|
cupcake3 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||
|
cupcake3.reparentTo(render)
|
||
|
cupcake3.setPos(73,-79,226)
|
||
|
cupcake3.setHpr(120,0,0)
|
||
|
cupcake3.setScale(1)
|
||
|
|
||
|
dance = loader.loadModel("phase_13/models/parties/danceFloor.bam")
|
||
|
dance.reparentTo(render)
|
||
|
dance.setPos(116.949,-4.932,226.782)
|
||
|
dance.setHpr(180,0,0)
|
||
|
dance.setScale(1)
|
||
|
carouselSpin=dance.hprInterval(20, Vec3(360, 0, 0))
|
||
|
mgr = loader.loadModel("phase_13/models/parties/partyMerryGoRound.bam")
|
||
|
mgr.reparentTo(render)
|
||
|
mgr.setPos(-50.115,31.640,226.782)
|
||
|
mgr.setHpr(0,0,0)
|
||
|
mgr.setScale(4)
|
||
|
pandaHprInterval1 = mgr.hprInterval(3,Point3(0,0,0),
|
||
|
startHpr=Point3(270, 0, 0))
|
||
|
pandaHprInterval2 = mgr.hprInterval(3,Point3(270, 0, 0),
|
||
|
startHpr=Point3(0, 0, 0))
|
||
|
# Create and play the sequence that coordinates the intervals.
|
||
|
maryspin = Sequence(pandaHprInterval1,
|
||
|
name="maryspin")
|
||
|
maryspin.loop()
|
||
|
carouselSpin.loop()
|
||
|
pk1 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||
|
pk1.reparentTo(render)
|
||
|
pk1.setPos(109.563,-59.050,229.282)
|
||
|
pk1.setHpr(210,0,0)
|
||
|
pk1.setScale(1)
|
||
|
carouselSpin=pk1.hprInterval(2, Vec3(360, 0, 0))
|
||
|
pk2 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||
|
pk2.reparentTo(render)
|
||
|
pk2.setPos(84.250,-73.585,229.282)
|
||
|
pk2.setHpr(210,0,0)
|
||
|
pk2.setScale(1)
|
||
|
carouselSpin.loop()
|
||
|
boat1 = loader.loadModel("phase_6/models/neighborhoods/donalds_dock.bam")
|
||
|
boat1.reparentTo(render)
|
||
|
boat1.setPos(0,0,111111111111)
|
||
|
boat1.setHpr(0,0,0)
|
||
|
boat1.setScale(1)
|
||
|
carouselSpin=pk2.hprInterval(2, Vec3(360, 0, 0))
|
||
|
boat2 = boat1.find('**/donalds_boat')
|
||
|
boat2.reparentTo(render)
|
||
|
boat2.setPos(64.301,-45.289,226.782)
|
||
|
boat2.setHpr(0,0,315)
|
||
|
boat2.setScale(1)
|
||
|
carouselSpin.loop()
|
||
|
donald1 = Actor("phase_6/models/char/DL_donald-500.bam",
|
||
|
{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||
|
donald1.reparentTo(render)
|
||
|
donald1.loop("neutral")
|
||
|
donald1.setPos(72.411,-34.692,226.782)
|
||
|
donald1.setHpr(270,50,0)
|
||
|
donald1.setScale(1.5)
|
||
|
|
||
|
daisy1 = Actor("phase_4/models/char/daisyduck_1600.bam",
|
||
|
{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||
|
daisy1.reparentTo(render)
|
||
|
daisy1.loop("idle")
|
||
|
daisy1.setPos(77,-37,226)
|
||
|
daisy1.setHpr(70,0,0)
|
||
|
daisy1.setScale(1.5)
|
||
|
|
||
|
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||
|
broken.reparentTo(render)
|
||
|
broken.setPos(61.301,-37.289,226.782)
|
||
|
broken.setHpr(0,0,315)
|
||
|
broken.setScale(2)
|
||
|
|
||
|
maze1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotMazex1_C.bam')
|
||
|
maze1.reparentTo(render)
|
||
|
maze1.setPos(-9,-111,226)
|
||
|
maze1.setHpr(0,0,0)
|
||
|
maze1.setScale(2)
|
||
|
|
||
|
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
e.reparentTo(render)
|
||
|
e.setHpr(90,0,0)
|
||
|
e.setPos(-94.567,-27.908,226.782)
|
||
|
e.setScale(3)
|
||
|
|
||
|
e.find('**/wall_back').removeNode()
|
||
|
e.find('**/wall_front').removeNode()
|
||
|
e.find('**/wall_left').removeNode()
|
||
|
e.find('**/wall_right').removeNode()
|
||
|
e.find('**/ceiling').removeNode()
|
||
|
|
||
|
mazesign1 = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
||
|
mazesign1.reparentTo(render)
|
||
|
mazesign1.setPos(-101.681,-37.524,226.807)
|
||
|
mazesign1.setHpr(90,0,0)
|
||
|
mazesign1.setScale(2)
|
||
|
|
||
|
mill2 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||
|
mill2.reparentTo(render)
|
||
|
mill2.setPos(-148.5,-26,225)
|
||
|
mill2.setHpr(180,0,0)
|
||
|
mill2.setScale(3)
|
||
|
|
||
|
fence1 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence1.reparentTo(render)
|
||
|
fence1.setPos(-142.5,-42,225)
|
||
|
fence1.setHpr(90,0,0)
|
||
|
|
||
|
fence2 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence2.reparentTo(render)
|
||
|
fence2.setPos(-142.5,-52,225)
|
||
|
fence2.setHpr(90,0,0)
|
||
|
|
||
|
fence3 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence3.reparentTo(render)
|
||
|
fence3.setPos(-142.5,-57,225)
|
||
|
fence3.setHpr(90,0,0)
|
||
|
|
||
|
fence4 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence4.reparentTo(render)
|
||
|
fence4.setPos(-142.5,-22,225)
|
||
|
fence4.setHpr(90,0,0)
|
||
|
|
||
|
fence5 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence5.reparentTo(render)
|
||
|
fence5.setPos(-142.5,-12,225)
|
||
|
fence5.setHpr(90,0,0)
|
||
|
|
||
|
fence6 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence6.reparentTo(render)
|
||
|
fence6.setPos(-142.5,-7,225)
|
||
|
fence6.setHpr(90,0,0)
|
||
|
|
||
|
fence7 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence7.reparentTo(render)
|
||
|
fence7.setPos(67.5,214,191)
|
||
|
fence7.setHpr(140,0,0)
|
||
|
|
||
|
fence8 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||
|
fence8.reparentTo(render)
|
||
|
fence8.setPos(48.5,225,191)
|
||
|
fence8.setHpr(140,0,0)
|
||
|
|
||
|
block1 = loader.loadModel("phase_4/models/props/construction_sign.bam")
|
||
|
block1.reparentTo(render)
|
||
|
block1.setPos(-138,-25,225)
|
||
|
block1.setHpr(90,0,0)
|
||
|
block1.setScale(2)
|
||
|
|
||
|
cow = loader.loadModel('phase_13/models/parties/cogPieArena_model')
|
||
|
cow.reparentTo(render)
|
||
|
cow.setPos(-38,-75,227)
|
||
|
cow.setHpr(330,0,0)
|
||
|
cow.setScale(1)
|
||
|
|
||
|
launch1 = loader.loadModel('phase_13/models/parties/launchPad')
|
||
|
launch1.reparentTo(render)
|
||
|
launch1.setPos(17,-99,226)
|
||
|
launch1.setHpr(0,0,0)
|
||
|
launch1.setScale(1)
|
||
|
|
||
|
castle = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_castle.bam")
|
||
|
castle.reparentTo(render)
|
||
|
castle.setPos(143,-153,226)
|
||
|
castle.setHpr(120,0,0)
|
||
|
castle.setScale(8)
|
||
|
|
||
|
tiki = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam")
|
||
|
tiki.reparentTo(render)
|
||
|
tiki.setPos(250,-50,226)
|
||
|
tiki.setHpr(160,0,0)
|
||
|
tiki.setScale(8)
|
||
|
|
||
|
mr1 = loader.loadModel('phase_7/models/modules/cubicle_room.bam')
|
||
|
mr1.reparentTo(render)
|
||
|
mr1.setPos(-416,-27,226)
|
||
|
mr1.setHpr(90,0,0)
|
||
|
mr1.setScale(1)
|
||
|
|
||
|
mrt = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||
|
mrt.reparentTo(render)
|
||
|
mrt.setPos(-416,-27,226)
|
||
|
mrt.setHpr(90,0,0)
|
||
|
mrt.setScale(.9)
|
||
|
|
||
|
rocket1 = loader.loadModel('phase_13/models/parties/rocket_model.bam')
|
||
|
rocket1.reparentTo(render)
|
||
|
rocket1.setPos(-2,-89,226)
|
||
|
rocket1.setHpr(0,0,0)
|
||
|
rocket1.setScale(2)
|
||
|
|
||
|
rexp1 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||
|
rexp1.reparentTo(render)
|
||
|
rexp1.setPos(-2,-89,226)
|
||
|
rexp1.setHpr(0,0,0)
|
||
|
rexp1.setScale(2)
|
||
|
|
||
|
rexp2 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||
|
rexp2.reparentTo(render)
|
||
|
rexp2.setPos(-2,-89,226)
|
||
|
rexp2.setHpr(180,0,0)
|
||
|
rexp2.setScale(2)
|
||
|
|
||
|
c1 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c1.reparentTo(render)
|
||
|
c1.setPos(-198.5,16,224)
|
||
|
c1.setHpr(180,0,0)
|
||
|
c1.setScale(4)
|
||
|
|
||
|
c2 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c2.reparentTo(render)
|
||
|
c2.setPos(-301.5,-65,224)
|
||
|
c2.setHpr(0,0,0)
|
||
|
c2.setScale(4)
|
||
|
|
||
|
c3 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c3.reparentTo(render)
|
||
|
c3.setPos(-217.5,-31,224)
|
||
|
c3.setHpr(0,0,0)
|
||
|
c3.setScale(4)
|
||
|
|
||
|
c4 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c4.reparentTo(render)
|
||
|
c4.setPos(-199.5,-44,224)
|
||
|
c4.setHpr(0,0,0)
|
||
|
c4.setScale(4)
|
||
|
|
||
|
c5 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c5.reparentTo(render)
|
||
|
c5.setPos(-217.5,3,224)
|
||
|
c5.setHpr(180,0,0)
|
||
|
c5.setScale(4)
|
||
|
|
||
|
c6 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c6.reparentTo(render)
|
||
|
c6.setPos(-284.5,-30,224)
|
||
|
c6.setHpr(180,0,0)
|
||
|
c6.setScale(4)
|
||
|
|
||
|
c7 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c7.reparentTo(render)
|
||
|
c7.setPos(-198.5,-1,224)
|
||
|
c7.setHpr(0,0,0)
|
||
|
c7.setScale(4)
|
||
|
|
||
|
f1 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
f1.reparentTo(render)
|
||
|
f1.setHpr(90,0,0)
|
||
|
f1.setPos(250,-50,226)
|
||
|
f1.setScale(7)
|
||
|
|
||
|
f1.find('**/wall_back').removeNode()
|
||
|
f1.find('**/wall_front').removeNode()
|
||
|
f1.find('**/wall_left').removeNode()
|
||
|
f1.find('**/wall_right').removeNode()
|
||
|
f1.find('**/ceiling').removeNode()
|
||
|
|
||
|
fb1 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||
|
fb1.reparentTo(render)
|
||
|
fb1.setPos(277,-21,226)
|
||
|
fb1.setHpr(270,0,0)
|
||
|
fb1.setScale(3)
|
||
|
|
||
|
fb2 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||
|
fb2.reparentTo(render)
|
||
|
fb2.setPos(277,-33,226)
|
||
|
fb2.setHpr(270,0,0)
|
||
|
fb2.setScale(3)
|
||
|
|
||
|
fb3 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||
|
fb3.reparentTo(render)
|
||
|
fb3.setPos(277,-46,226)
|
||
|
fb3.setHpr(270,0,0)
|
||
|
fb3.setScale(3)
|
||
|
|
||
|
ca1 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca1.reparentTo(render)
|
||
|
ca1.setPos(-431.768,-17.630,226.025)
|
||
|
ca1.setHpr(260,0,0)
|
||
|
ca1.setScale(2)
|
||
|
|
||
|
ca2 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca2.reparentTo(render)
|
||
|
ca2.setPos(-431.768,-38.630,226.025)
|
||
|
ca2.setHpr(280,0,0)
|
||
|
ca2.setScale(2)
|
||
|
|
||
|
ca3 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca3.reparentTo(render)
|
||
|
ca3.setPos(-366.768,-35.630,226.025)
|
||
|
ca3.setHpr(290,0,0)
|
||
|
ca3.setScale(2)
|
||
|
|
||
|
ca4 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca4.reparentTo(render)
|
||
|
ca4.setPos(-366.768,-17.630,226.025)
|
||
|
ca4.setHpr(250,0,0)
|
||
|
ca4.setScale(2)
|
||
|
|
||
|
ca5 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca5.reparentTo(render)
|
||
|
ca5.setPos(-398.768,-15.630,226.025)
|
||
|
ca5.setHpr(120,0,0)
|
||
|
ca5.setScale(2)
|
||
|
|
||
|
ca6 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||
|
ca6.reparentTo(render)
|
||
|
ca6.setPos(-398.768,-38.630,226.025)
|
||
|
ca6.setHpr(60,0,0)
|
||
|
ca6.setScale(2)
|
||
|
|
||
|
environ3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
environ3.reparentTo(render)
|
||
|
environ3.setPos(-508.081,-29.392,226.025)
|
||
|
environ3.setHpr(0,0,0)
|
||
|
environ3.setScale(7)
|
||
|
|
||
|
rope1 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope1.reparentTo(render)
|
||
|
rope1.setPos(-508.081,-29.392,226.025)
|
||
|
rope1.setHpr(0,0,0)
|
||
|
rope1.setScale(1)
|
||
|
|
||
|
meter1 = Actor("phase_4/models/props/tt_a_ara_ttc_sillyMeter_default.bam",
|
||
|
{"lol":"phase_4/models/props/tt_a_ara_ttc_sillyMeter_phaseFive.bam"})
|
||
|
meter1.reparentTo(render)
|
||
|
meter1.loop('lol')
|
||
|
meter1.setPos(-508.081,-29.392,226.025)
|
||
|
meter1.setHpr(90,0,0)
|
||
|
meter1.setScale(1)
|
||
|
|
||
|
rope2 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope2.reparentTo(render)
|
||
|
rope2.setPos(-507.867,-59.050,225.995)
|
||
|
rope2.setHpr(0,0,0)
|
||
|
rope2.setScale(.4)
|
||
|
|
||
|
mickey = Actor("phase_3/models/char/mickey-1200.bam",
|
||
|
{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||
|
mickey.reparentTo(render)
|
||
|
mickey.loop('wait')
|
||
|
mickey.setPos(-507.867,-59.050,225.995)
|
||
|
mickey.setHpr(270,0,0)
|
||
|
mickey.setScale(2)
|
||
|
|
||
|
rope3 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope3.reparentTo(render)
|
||
|
rope3.setPos(-486.485,-51.431,226.075)
|
||
|
rope3.setHpr(0,0,0)
|
||
|
rope3.setScale(.4)
|
||
|
|
||
|
minnie = Actor("phase_3/models/char/minnie-1200.bam",
|
||
|
{"wait":"phase_3/models/char/minnie-wait.bam"})
|
||
|
minnie.reparentTo(render)
|
||
|
minnie.loop('wait')
|
||
|
minnie.setPos(-486.485,-51.431,226.075)
|
||
|
minnie.setHpr(270,0,0)
|
||
|
minnie.setScale(2)
|
||
|
|
||
|
rope4 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope4.reparentTo(render)
|
||
|
rope4.setPos(-486.497,-7.691,226.076)
|
||
|
rope4.setHpr(0,0,0)
|
||
|
rope4.setScale(.4)
|
||
|
|
||
|
dd2 = Actor("phase_4/models/char/daisyduck_1600.bam",{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||
|
dd2.reparentTo(render)
|
||
|
dd2.loop('idle')
|
||
|
dd2.setPos(-486.497,-7.691,226.076)
|
||
|
dd2.setHpr(270,0,0)
|
||
|
dd2.setScale(2)
|
||
|
|
||
|
rope5 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope5.reparentTo(render)
|
||
|
rope5.setPos(-507.929,3.536,226.051)
|
||
|
rope5.setHpr(0,0,0)
|
||
|
rope5.setScale(.4)
|
||
|
|
||
|
dd1 = Actor("phase_6/models/char/DL_donald-500.bam",{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||
|
dd1.reparentTo(render)
|
||
|
dd1.loop('neutral')
|
||
|
dd1.setPos(-507.929,3.536,226.051)
|
||
|
dd1.setHpr(270,0,0)
|
||
|
dd1.setScale(2)
|
||
|
|
||
|
rope6 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope6.reparentTo(render)
|
||
|
rope6.setPos(-530.552,-4.198,226.057)
|
||
|
rope6.setHpr(0,0,0)
|
||
|
rope6.setScale(.4)
|
||
|
|
||
|
chip1 = Actor("phase_6/models/char/chip_250",{"idle":"phase_6/models/char/chip_idle.bam"})
|
||
|
chip1.reparentTo(render)
|
||
|
chip1.loop('idle')
|
||
|
chip1.setPos(-530.552,-4.198,226.057)
|
||
|
chip1.setHpr(270,0,0)
|
||
|
chip1.setScale(2)
|
||
|
|
||
|
rope7 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
rope7.reparentTo(render)
|
||
|
rope7.setPos(-530.552,-52.467,226.069)
|
||
|
rope7.setHpr(0,0,0)
|
||
|
rope7.setScale(.4)
|
||
|
|
||
|
dale1 = Actor("phase_6/models/char/dale_250",{"idle":"phase_6/models/char/dale_idle.bam"})
|
||
|
dale1.reparentTo(render)
|
||
|
dale1.loop('idle')
|
||
|
dale1.setPos(-530.552,-52.467,226.069)
|
||
|
dale1.setHpr(270,0,0)
|
||
|
dale1.setScale(2)
|
||
|
|
||
|
pluto1 = Actor("phase_6/models/char/pluto-1000.bam",
|
||
|
{"neutral":"phase_6/models/char/pluto-neutral.bam"})
|
||
|
pluto1.reparentTo(render)
|
||
|
pluto1.loop('neutral')
|
||
|
pluto1.setPos(-542.602,-30.061,226.070)
|
||
|
pluto1.setHpr(270,0,0)
|
||
|
pluto1.setScale(15)
|
||
|
|
||
|
fb4 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||
|
fb4.reparentTo(render)
|
||
|
fb4.setPos(277,-59,226)
|
||
|
fb4.setHpr(270,0,0)
|
||
|
fb4.setScale(3)
|
||
|
|
||
|
fb5 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb5.reparentTo(render)
|
||
|
fb5.setPos(227,-26,226)
|
||
|
fb5.setHpr(0,0,0)
|
||
|
fb5.setScale(1)
|
||
|
|
||
|
fb6 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb6.reparentTo(render)
|
||
|
fb6.setPos(241,-26,226)
|
||
|
fb6.setHpr(0,0,0)
|
||
|
fb6.setScale(1)
|
||
|
|
||
|
fb7 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb7.reparentTo(render)
|
||
|
fb7.setPos(255,-26,226)
|
||
|
fb7.setHpr(0,0,0)
|
||
|
fb7.setScale(1)
|
||
|
|
||
|
fb8 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb8.reparentTo(render)
|
||
|
fb8.setPos(255,-52,226)
|
||
|
fb8.setHpr(0,0,0)
|
||
|
fb8.setScale(1)
|
||
|
|
||
|
fb9 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb9.reparentTo(render)
|
||
|
fb9.setPos(241,-52,226)
|
||
|
fb9.setHpr(0,0,0)
|
||
|
fb9.setScale(1)
|
||
|
|
||
|
fb10 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||
|
fb10.reparentTo(render)
|
||
|
fb10.setPos(227,-52,226)
|
||
|
fb10.setHpr(0,0,0)
|
||
|
fb10.setScale(1)
|
||
|
|
||
|
fb11 = loader.loadModel('phase_13/models/parties/partyClock')
|
||
|
fb11.reparentTo(render)
|
||
|
fb11.setPos(290,-45,226)
|
||
|
fb11.setHpr(90,0,0)
|
||
|
fb11.setScale(3)
|
||
|
|
||
|
fb12 = loader.loadModel('phase_13/models/parties/jukebox_model.bam')
|
||
|
fb12.reparentTo(render)
|
||
|
fb12.setPos(243,-4,226)
|
||
|
fb12.setHpr(0,0,0)
|
||
|
fb12.setScale(5)
|
||
|
|
||
|
fb13 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb13.reparentTo(render)
|
||
|
fb13.setPos(219,-76,226)
|
||
|
fb13.setHpr(0,0,0)
|
||
|
fb13.setScale(25)
|
||
|
|
||
|
fb14 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb14.reparentTo(render)
|
||
|
fb14.setPos(235,-76,234)
|
||
|
fb14.setHpr(0,0,0)
|
||
|
fb14.setScale(25)
|
||
|
|
||
|
fb15 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb15.reparentTo(render)
|
||
|
fb15.setPos(250,-76,242)
|
||
|
fb15.setHpr(0,0,0)
|
||
|
fb15.setScale(25)
|
||
|
|
||
|
fb16 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb16.reparentTo(render)
|
||
|
fb16.setPos(265,-76,250)
|
||
|
fb16.setHpr(0,0,0)
|
||
|
|
||
|
fb17 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb17.reparentTo(render)
|
||
|
fb17.setPos(265,-76,250)
|
||
|
fb17.setHpr(90,0,0)
|
||
|
fb17.setScale(25)
|
||
|
|
||
|
fb18 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb18.reparentTo(render)
|
||
|
fb18.setPos(265,-60,258)
|
||
|
fb18.setHpr(90,0,0)
|
||
|
fb18.setScale(25)
|
||
|
|
||
|
fb19 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb19.reparentTo(render)
|
||
|
fb19.setPos(265,-43,266)
|
||
|
fb19.setHpr(90,0,0)
|
||
|
fb19.setScale(25)
|
||
|
|
||
|
fb20 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||
|
fb20.reparentTo(render)
|
||
|
fb20.setPos(265,-26,274)
|
||
|
fb20.setHpr(90,0,0)
|
||
|
fb20.setScale(25)
|
||
|
|
||
|
fb21 = loader.loadModel('phase_9/models/cogHQ/Elevator.bam')
|
||
|
fb21.reparentTo(render)
|
||
|
fb21.setPos(275,-81,250)
|
||
|
fb21.setHpr(0,0,0)
|
||
|
fb21.setScale(1)
|
||
|
|
||
|
fb21.find('**/wall_back').removeNode()
|
||
|
fb21.find('**/wall_front').removeNode()
|
||
|
fb21.find('**/wall_left').removeNode()
|
||
|
fb21.find('**/wall_right').removeNode()
|
||
|
fb21.find('**/ceiling').removeNode()
|
||
|
|
||
|
f2 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||
|
f2.reparentTo(render)
|
||
|
f2.setHpr(90,0,0)
|
||
|
f2.setPos(250,-40,282)
|
||
|
f2.setScale(4)
|
||
|
|
||
|
f2.find('**/wall_back').removeNode()
|
||
|
f2.find('**/wall_front').removeNode()
|
||
|
f2.find('**/wall_left').removeNode()
|
||
|
f2.find('**/wall_right').removeNode()
|
||
|
f2.find('**/ceiling').removeNode()
|
||
|
|
||
|
cogplat1 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||
|
cogplat1.reparentTo(render)
|
||
|
cogplat1.setPos(59,267,190)
|
||
|
cogplat1.setHpr(0,0,0)
|
||
|
cogplat1.setScale(5)
|
||
|
|
||
|
smr = loader.loadModel("phase_9/models/cogHQ/SellbotHQLobby.bam")
|
||
|
smr.reparentTo(render)
|
||
|
smr.setHpr(180,0,0)
|
||
|
smr.setPos(59,386,169)
|
||
|
smr.setScale(7)
|
||
|
|
||
|
mrt1 = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||
|
mrt1.reparentTo(render)
|
||
|
mrt1.setPos(60,363,169)
|
||
|
mrt1.setHpr(90,0,0)
|
||
|
mrt1.setScale(9)
|
||
|
|
||
|
c8 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c8.reparentTo(render)
|
||
|
c8.setPos(80,362,166)
|
||
|
c8.setHpr(0,0,0)
|
||
|
c8.setScale(9)
|
||
|
|
||
|
c9 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||
|
c9.reparentTo(render)
|
||
|
c9.setPos(40,362,166)
|
||
|
c9.setHpr(0,0,0)
|
||
|
c9.setScale(9)
|
||
|
|
||
|
b = loader.loadModel("phase_12/models/char/lawbotBoss-legs-zero.bam")
|
||
|
b.reparentTo(render)
|
||
|
b.setPos(45,444,196)
|
||
|
b.setHpr(0,0,0)
|
||
|
b.setScale(1)
|
||
|
c = loader.loadModel("phase_12/models/char/cashbotBoss-torso-zero.bam")
|
||
|
c.reparentTo(render)
|
||
|
c.setPos(45,444,206)
|
||
|
c.setHpr(0,0,0)
|
||
|
c.setScale(1)
|
||
|
d = loader.loadModel("phase_12/models/char/bossbotBoss-head-zero.bam")
|
||
|
d.reparentTo(render)
|
||
|
d.setPos(45,444,214.2)
|
||
|
d.setHpr(90,0,-90)
|
||
|
d.setScale(1)
|
||
|
|
||
|
serv1 = loader.loadModel("phase_12/models/char/cashbotBoss-legs-zero.bam")
|
||
|
serv1.reparentTo(render)
|
||
|
serv1.setPos(74,444,196)
|
||
|
serv1.setHpr(0,0,0)
|
||
|
serv1.setScale(1)
|
||
|
serv2 = loader.loadModel("phase_10/models/char/lawbotBoss-torso-zero.bam")
|
||
|
serv2.reparentTo(render)
|
||
|
serv2.setPos(74,444,206)
|
||
|
serv2.setHpr(0,0,0)
|
||
|
serv2.setScale(1)
|
||
|
serv3 = loader.loadModel("phase_10/models/char/sellbotBoss-head-zero.bam")
|
||
|
serv3.reparentTo(render)
|
||
|
serv3.setPos(74,444,214.2)
|
||
|
serv3.setHpr(270,0,-90)
|
||
|
serv3.setScale(1)
|
||
|
|
||
|
mole1 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||
|
mole1.reparentTo(render)
|
||
|
mole1.setPos(59,321,182)
|
||
|
mole1.setHpr(180,0,0)
|
||
|
mole1.setScale(6)
|
||
|
|
||
|
rm1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotKartBoardingRm.bam')
|
||
|
rm1.reparentTo(render)
|
||
|
rm1.setPos(58,502,196)
|
||
|
rm1.setHpr(90,0,0)
|
||
|
rm1.setScale(1)
|
||
|
|
||
|
mole2 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||
|
mole2.reparentTo(render)
|
||
|
mole2.setPos(40,530,194)
|
||
|
mole2.setHpr(0,0,0)
|
||
|
mole2.setScale(4)
|
||
|
----------------------------------------------------------------Control House-------------------------------------
|
||
|
fm = base.cr.doFindAll("FurnitureManager")
|
||
|
for fm in base.cr.doFindAll("FurnitureManager"):
|
||
|
fm.setDirector(base.localAvatar.doId)
|
||
|
|
||
|
fm = base.cr.doFindAll("FurnitureManager")
|
||
|
for fm in base.cr.doFindAll("FurnitureManager"):
|
||
|
fm.setDirector(0)
|
||
|
---------------------------------------------------Toontask 1-4---------------------------------------------------
|
||
|
base.localAvatar.setQuestCarryLimit(1)
|
||
|
base.localAvatar.setQuestCarryLimit(2)
|
||
|
base.localAvatar.setQuestCarryLimit(3)
|
||
|
base.localAvatar.setQuestCarryLimit(4)
|
||
|
--------------------------------------------------------------------Gardening/Games/Pet-----------------------
|
||
|
messenger.send('gardenGame')
|
||
|
base.localAvatar.setShovelSkill(30)
|
||
|
base.localAvatar.promoteShovel(3)
|
||
|
base.localAvatar.promoteWateringCan(3)
|
||
|
ase.localAvatar.setWateringCanSkill(30)
|
||
|
base.localAvatar.setGardenStarted()
|
||
|
base.localAvatar.setPetTrickPhrases([0,1,2,3,4,5,6])
|
||
|
base.localAvatar.setMinigameZone()
|
||
|
---------------------------------------------------Color Tie Die Gloves------------------------------------------
|
||
|
gloves = loader.loadTexture("phase_4/maps/sleeveTieDye.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
---------------Tie Die Your Slef!----------------------------------------------------------------------------------
|
||
|
base.localAvatar.setColor(3.30,0.30,0.3)
|
||
|
|
||
|
neck = base.localAvatar.findAllMatches('**/neck')
|
||
|
|
||
|
neck.setColor(0,0,0)
|
||
|
|
||
|
feet = loader.loadTexture("phase_3/maps/Humanist.rgb")
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/feet').setTexture(feet, 1)
|
||
|
|
||
|
legs = loader.loadTexture("phase_3/maps/Humanist.rgb")
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/legs').setTexture(legs, 1)
|
||
|
|
||
|
arms = loader.loadTexture("phase_3/maps/Humanist.rgb")
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/arms').setTexture(arms, 1)
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
|
||
|
shirts=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistB.jpg")
|
||
|
|
||
|
sleve=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
|
||
|
|
||
|
shorts=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistB.jpg")
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setTexture(shirts, 1)
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setTexture(shorts, 1)
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setTexture(sleve, 1)
|
||
|
|
||
|
mouth = base.localAvatar.findAllMatches('**/muzzle-short-neutral')
|
||
|
|
||
|
mouthtext = loader.loadTexture("phase_3/maps/Humanist.rgb")
|
||
|
|
||
|
mouth.setTexture(mouthtext, 1)
|
||
|
|
||
|
mole3 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||
|
mole3.reparentTo(render)
|
||
|
mole3.setPos(75,530,194)
|
||
|
mole3.setHpr(0,0,0)
|
||
|
mole3.setScale(4)
|
||
|
|
||
|
kart1 = loader.loadModel('phase_6/models/golf/golf_cart3.bam')
|
||
|
kart1.reparentTo(render)
|
||
|
kart1.setPos(56,524,196)
|
||
|
kart1.setHpr(180,0,0)
|
||
|
kart1.setScale(2)
|
||
|
|
||
|
st1 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st1.reparentTo(render)
|
||
|
st1.setPos(-539,25,225)
|
||
|
st1.setHpr(0,0,0)
|
||
|
st1.setScale(2)
|
||
|
|
||
|
st2 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st2.reparentTo(render)
|
||
|
st2.setPos(-555,51,225)
|
||
|
st2.setHpr(20,0,0)
|
||
|
st2.setScale(2)
|
||
|
|
||
|
st3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st3.reparentTo(render)
|
||
|
st3.setPos(-570,75,225)
|
||
|
st3.setHpr(20,0,0)
|
||
|
st3.setScale(2)
|
||
|
|
||
|
st4 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st4.reparentTo(render)
|
||
|
st4.setPos(-585,100,225)
|
||
|
st4.setHpr(20,0,0)
|
||
|
st4.setScale(2)
|
||
|
|
||
|
st5 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st5.reparentTo(render)
|
||
|
st5.setPos(-595,125,230)
|
||
|
st5.setHpr(0,0,0)
|
||
|
st5.setScale(2)
|
||
|
|
||
|
st6 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st6.reparentTo(render)
|
||
|
st6.setPos(-605,145,235)
|
||
|
st6.setHpr(0,0,0)
|
||
|
st6.setScale(2)
|
||
|
|
||
|
st7 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st7.reparentTo(render)
|
||
|
st7.setPos(-615,165,240)
|
||
|
st7.setHpr(0,0,0)
|
||
|
st7.setScale(2)
|
||
|
|
||
|
st8 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st8.reparentTo(render)
|
||
|
st8.setPos(-625,185,245)
|
||
|
st8.setHpr(0,0,0)
|
||
|
st8.setScale(2)
|
||
|
|
||
|
st9 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st9.reparentTo(render)
|
||
|
st9.setPos(-635,205,250)
|
||
|
st9.setHpr(0,0,0)
|
||
|
st9.setScale(2)
|
||
|
|
||
|
st10 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st10.reparentTo(render)
|
||
|
st10.setPos(-645,225,255)
|
||
|
st10.setHpr(0,0,0)
|
||
|
st10.setScale(2)
|
||
|
|
||
|
st11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st11.reparentTo(render)
|
||
|
st11.setPos(-655,245,260)
|
||
|
st11.setHpr(0,0,0)
|
||
|
st11.setScale(2)
|
||
|
|
||
|
st12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
st12.reparentTo(render)
|
||
|
st12.setPos(-665,265,265)
|
||
|
st12.setHpr(0,0,0)
|
||
|
st12.setScale(2)
|
||
|
|
||
|
nc = loader.loadModel("phase_12/models/bossbotHQ/BanquetInterior_1.bam")
|
||
|
nc.reparentTo(render)
|
||
|
nc.setPos(-728,338,265)
|
||
|
nc.setHpr(40,0,0)
|
||
|
nc.setScale(1)
|
||
|
|
||
|
g1 = loader.loadModel("phase_4/models/modules/gazebo.bam")
|
||
|
g1.reparentTo(render)
|
||
|
g1.setPos(-732,316,265)
|
||
|
g1.setHpr(120,0,0)
|
||
|
g1.setScale(1)
|
||
|
|
||
|
g2 = loader.loadModel("phase_4/models/modules/gazebo.bam")
|
||
|
g2.reparentTo(render)
|
||
|
g2.setPos(-707,339,265)
|
||
|
g2.setHpr(140,0,0)
|
||
|
g2.setScale(1)
|
||
|
|
||
|
tb1 = loader.loadModel("phase_5.5/models/estate/trolley_bed.bam")
|
||
|
tb1.reparentTo(render)
|
||
|
tb1.setPos(-687,358,265)
|
||
|
tb1.setHpr(40,0,0)
|
||
|
tb1.setScale(2)
|
||
|
|
||
|
tb2 = loader.loadModel("phase_5.5/models/estate/popcornCart.bam")
|
||
|
tb2.reparentTo(render)
|
||
|
tb2.setPos(-669,336,265)
|
||
|
tb2.setHpr(127,0,0)
|
||
|
tb2.setScale(4)
|
||
|
|
||
|
tb3 = loader.loadModel("phase_5.5/models/estate/Organ.bam")
|
||
|
tb3.reparentTo(render)
|
||
|
tb3.setPos(-655,321,265)
|
||
|
tb3.setHpr(310,0,0)
|
||
|
tb3.setScale(2)
|
||
|
|
||
|
tb4 = loader.loadModel("phase_5.5/models/estate/BanannaSplitShower.bam")
|
||
|
tb4.reparentTo(render)
|
||
|
tb4.setPos(-730,263,265)
|
||
|
tb4.setHpr(310,0,0)
|
||
|
tb4.setScale(4)
|
||
|
|
||
|
tb5 = loader.loadModel("phase_5.5/models/estate/cabinetRwood.bam")
|
||
|
tb5.reparentTo(render)
|
||
|
tb5.setPos(-749,290,265)
|
||
|
tb5.setHpr(135,0,0)
|
||
|
tb5.setScale(4)
|
||
|
|
||
|
dance1 = loader.loadModel("phase_13/models/parties/danceFloor.bam")
|
||
|
dance1.reparentTo(render)
|
||
|
dance1.setPos(-698.026,302.033,265.025)
|
||
|
dance1.setHpr(120,0,0)
|
||
|
dance1.setScale(1)
|
||
|
|
||
|
floor1 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||
|
floor1.reparentTo(render)
|
||
|
floor1.setPos(-751,366,270)
|
||
|
floor1.setHpr(20,0,0)
|
||
|
floor1.setScale(3)
|
||
|
|
||
|
catch3 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||
|
catch3.reparentTo(render)
|
||
|
catch3.setPos(-913,563,265)
|
||
|
catch3.setHpr(130,0,0)
|
||
|
catch3.setScale(1)
|
||
|
|
||
|
cogpin1 = Actor("phase_13/models/parties/cogPinata_actor.bam",{"idle":"phase_13/models/cogPinata_idle_anim.bam"})
|
||
|
cogpin1.reparentTo(render)
|
||
|
cogpin1.loop('idle')
|
||
|
cogpin1.setPos(-751,366,270)
|
||
|
cogpin1.setHpr(40,0,0)
|
||
|
cogpin1.setScale(2)
|
||
|
|
||
|
cogpinr1 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||
|
cogpinr1.reparentTo(render)
|
||
|
cogpinr1.setPos(-751,366,270)
|
||
|
cogpinr1.setHpr(40,0,0)
|
||
|
cogpinr1.setScale(.5)
|
||
|
|
||
|
cogpin2 = Actor("phase_13/models/parties/cogPinata_actor.bam",{"idle":"phase_13/models/cogPinata_idle_anim.bam"})
|
||
|
cogpin2.reparentTo(render)
|
||
|
cogpin2.loop('idle')
|
||
|
cogpin2.setPos(-752,349,270)
|
||
|
cogpin2.setHpr(40,0,0)
|
||
|
cogpin2.setScale(1)
|
||
|
|
||
|
cogpin3 = Actor("phase_13/models/parties/cogPinata_actor.bam",{"idle":"phase_13/models/cogPinata_idle_anim.bam"})
|
||
|
cogpin3.reparentTo(render)
|
||
|
cogpin3.loop('idle')
|
||
|
cogpin3.setPos(-746,353,270)
|
||
|
cogpin3.setHpr(40,0,0)
|
||
|
cogpin3.setScale(1)
|
||
|
|
||
|
cogpin4 = Actor("phase_13/models/parties/cogPinata_actor.bam",{"idle":"phase_13/models/cogPinata_idle_anim.bam"})
|
||
|
cogpin4.reparentTo(render)
|
||
|
cogpin4.loop('idle')
|
||
|
cogpin4.setPos(-739,360,270)
|
||
|
cogpin4.setHpr(40,0,0)
|
||
|
cogpin4.setScale(1)
|
||
|
|
||
|
cogpin5 = Actor("phase_13/models/parties/cogPinata_actor.bam",{"idle":"phase_13/models/cogPinata_idle_anim.bam"})
|
||
|
cogpin5.reparentTo(render)
|
||
|
cogpin5.loop('idle')
|
||
|
cogpin5.setPos(-734,363,270)
|
||
|
cogpin5.setHpr(40,0,0)
|
||
|
cogpin5.setScale(1)
|
||
|
|
||
|
cogpin6 = Actor("phase_13/models/parties/tt_m_ara_pty_cakeTower.bam")
|
||
|
cogpin6.reparentTo(render)
|
||
|
cogpin6.setPos(-760,376,270)
|
||
|
cogpin6.setHpr(40,0,0)
|
||
|
cogpin6.setScale(3)
|
||
|
|
||
|
game1 = loader.loadModel("phase_13/models/parties/cogPieArena_model.bam")
|
||
|
game1.reparentTo(render)
|
||
|
game1.setPos(-861,506,265)
|
||
|
game1.setHpr(130,0,0)
|
||
|
game1.setScale(1)
|
||
|
|
||
|
|
||
|
|
||
|
max = Actor({"head":"phase_3/models/char/dogSS_Shorts-head-1000.bam", \
|
||
|
|
||
|
|
||
|
"torso":"phase_3/models/char/dogMM_Shorts-torso-1000.bam", \
|
||
|
|
||
|
|
||
|
"legs":"phase_3/models/char/dogSS_Shorts-legs-1000.bam"},
|
||
|
|
||
|
# dictionary of anim dictionaries
|
||
|
|
||
|
{"head":{"walk":"phase_5/models/char/dogSS_Shorts-head-happy-dance.bam", \
|
||
|
|
||
|
"run":"phase_5/models/char/dogSS_Shorts-head-sad-neutral.bam"}, \
|
||
|
|
||
|
"torso":{"walk":"phase_5/models/char/dogMM_Shorts-torso-happy-dance.bam", \
|
||
|
|
||
|
"run":"phase_5/models/char/dogSS_Shorts-torso-sad-neutral.bam"}, \
|
||
|
|
||
|
"legs":{"walk":"phase_5/models/char/dogSS_Shorts-legs-happy-dance.bam", \
|
||
|
|
||
|
"run":"phase_5/models/char/dogSS_Shorts-legs-sad-neutral.bam"} \
|
||
|
|
||
|
})
|
||
|
|
||
|
|
||
|
|
||
|
feet = max.find('**/feet')
|
||
|
|
||
|
feettext = loader.loadTexture("phase_3/maps/Humanist.rgb")
|
||
|
|
||
|
feet.setTexture(feettext, 1)
|
||
|
|
||
|
max.attach("head", "torso", "joint_head")
|
||
|
|
||
|
shirts=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistB.jpg")
|
||
|
|
||
|
sleve=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
|
||
|
|
||
|
shorts=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistB.jpg")
|
||
|
|
||
|
max.find('**/torso-top').setTexture(shirts, 1)
|
||
|
|
||
|
max.find('**/torso-bot').setTexture(shorts, 1)
|
||
|
|
||
|
max.find('**/torso-bot-cap').setTexture(shorts, 1)
|
||
|
|
||
|
max.find('**/sleeves').setTexture(sleve, 1)
|
||
|
|
||
|
max.attach("torso", "legs", "joint_hips")
|
||
|
|
||
|
gloves = max.find('**/hands')
|
||
|
|
||
|
glovestext = loader.loadTexture("phase_4/maps/sleeveTieDye.jpg")
|
||
|
|
||
|
gloves.setTexture(glovestext, 1)
|
||
|
|
||
|
max.loop("walk")
|
||
|
|
||
|
max.reparentTo(render)
|
||
|
|
||
|
muz=max.find('**/joint_toHead')
|
||
|
|
||
|
nose = max.find('**/nose')
|
||
|
|
||
|
mouth = loader.loadModel("phase_3/models/char/dogMM_Shorts-headMuzzles-1000.bam")
|
||
|
|
||
|
Fireball = mouth.find('**/muzzle-short-laugh')
|
||
|
|
||
|
Fireball.reparentTo(muz)
|
||
|
|
||
|
nose.reparentTo(Fireball)
|
||
|
|
||
|
nose.setY(-0.35)
|
||
|
|
||
|
head = max.find('**/head')
|
||
|
|
||
|
head.setColor(0.25,0.25,0.3)
|
||
|
|
||
|
headf = max.find('**/head-front')
|
||
|
|
||
|
headf.setColor(0.25,0.25,0.3)
|
||
|
|
||
|
neck = max.find('**/neck')
|
||
|
|
||
|
neck.setColor(0.25,0.25,0.3)
|
||
|
|
||
|
max.find('**/muzzle').hide()
|
||
|
|
||
|
max.find('**/arms').setColor(0.25,0.25,0.3)
|
||
|
|
||
|
max.find('**/legs').setColor(0.25,0.25,0.3)
|
||
|
|
||
|
max.find('**/feet').setColor(0.25,0.25,0.3)
|
||
|
|
||
|
max.find('**/torso-bot').setColor(255,255,255)
|
||
|
|
||
|
max.setPos(-698,302,265.5)
|
||
|
|
||
|
max.setHpr(200,0,0)
|
||
|
|
||
|
max.setScale(1)
|
||
|
|
||
|
game2 = loader.loadModel("phase_6/models/golf/findfour_game.bam")
|
||
|
game2.reparentTo(render)
|
||
|
game2.setPos(-807,483,265)
|
||
|
game2.setHpr(190,0,0)
|
||
|
game2.setScale(10)
|
||
|
|
||
|
game3 = loader.loadModel("phase_6/models/golf/findfour_game.bam")
|
||
|
game3.reparentTo(render)
|
||
|
game3.setPos(-846,445,265)
|
||
|
game3.setHpr(70,0,0)
|
||
|
game3.setScale(10)
|
||
|
|
||
|
game4 = loader.loadModel("phase_13/models/parties/danceFloor.bam")
|
||
|
game4.reparentTo(render)
|
||
|
game4.setPos(-795,427,265)
|
||
|
game4.setHpr(0,0,0)
|
||
|
game4.setScale(2)
|
||
|
|
||
|
l = loader.loadModel("phase_4/models/modules/library.bam")
|
||
|
l.reparentTo(render)
|
||
|
l.setPos(-724,507,265)
|
||
|
l.setHpr(310,0,0)
|
||
|
l.setScale(1)
|
||
|
|
||
|
gs = loader.loadModel("phase_4/models/modules/gagShop_TT.bam")
|
||
|
gs.reparentTo(render)
|
||
|
gs.setPos(-738,514,265)
|
||
|
gs.setHpr(130,0,0)
|
||
|
gs.setScale(1)
|
||
|
|
||
|
mickeyg = loader.loadModel('phase_3.5/models/props/glow.bam')
|
||
|
mickeyg.reparentTo(render)
|
||
|
mickeyg.setPos(-507.867,-59.050,225.995)
|
||
|
mickeyg.setHpr(90,0,0)
|
||
|
mickeyg.setScale(10.7)
|
||
|
|
||
|
minnieg = loader.loadModel('phase_3.5/models/props/glow.bam')
|
||
|
minnieg.reparentTo(render)
|
||
|
minnieg.setPos(-486.485,-51.431,226.075)
|
||
|
minnieg.setHpr(90,0,0)
|
||
|
minnieg.setScale(10.7)
|
||
|
|
||
|
dd2g = loader.loadModel('phase_3.5/models/props/glow.bam')
|
||
|
dd2g.reparentTo(render)
|
||
|
dd2g.setPos(-486.497,-7.691,226.076)
|
||
|
dd2g.setHpr(90,0,0)
|
||
|
dd2g.setScale(10.7)
|
||
|
|
||
|
dd1g = loader.loadModel('phase_3.5/models/props/glow.bam')
|
||
|
dd1g.reparentTo(render)
|
||
|
dd1g.setPos(-507.929,3.536,226.051)
|
||
|
dd1g.setHpr(90,0,0)
|
||
|
dd1g.setScale(10.7)
|
||
|
|
||
|
chip1g = loader.loadModel('phase_3.5/models/props/glow.bam')
|
||
|
chip1g.reparentTo(render)
|
||
|
chip1g.setPos(-530.552,-4.198,226.057)
|
||
|
chip1g.setHpr(90,0,0)
|
||
|
chip1g.setScale(6.7)
|
||
|
|
||
|
dale1g = loader.loadModel('phase_3.5/models/props/glow.bam')
|
||
|
dale1g.reparentTo(render)
|
||
|
dale1g.setPos(-530.552,-52.467,226.069)
|
||
|
dale1g.setHpr(90,0,0)
|
||
|
dale1g.setScale(6.7)
|
||
|
|
||
|
sh = loader.loadModel("phase_4/models/modules/school_house.bam")
|
||
|
sh.reparentTo(render)
|
||
|
sh.setPos(-765,554,265)
|
||
|
sh.setHpr(315,0,0)
|
||
|
sh.setScale(1)
|
||
|
|
||
|
ts = loader.loadModel("phase_4/models/modules/trolley_station_TT.bam")
|
||
|
ts.reparentTo(render)
|
||
|
ts.setPos(-805,570,265)
|
||
|
ts.setHpr(315,0,0)
|
||
|
ts.setScale(1)
|
||
|
-------------------------------------------------------------Gags----------------------------------------------------
|
||
|
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
||
|
base.localAvatar.setExperience('999999999999')
|
||
|
base.localAvatar.setMaxCarry(9999)
|
||
|
base.localAvatar.setTrackBonusLevel([7,7,7,7,7,7,7])
|
||
|
--------------------------------------------Animations-------------------------------------------------------------
|
||
|
base.localAvatar.enterJump()
|
||
|
base.localAvatar.enterPush()
|
||
|
base.localAvatar.enterRun()
|
||
|
base.localAvatar.enterSquish
|
||
|
base.localAvatar.getCogSuit
|
||
|
base.localAvatar.setHpr((9))
|
||
|
base.localAvatar.setHpr(0,27
|
||
|
base.localAvatar.setHpr(0,90
|
||
|
base.localAvatar.setHpr(315,
|
||
|
base.localAvatar.maxHp = 137
|
||
|
base.localAvatar.numPies = 99
|
||
|
base.localAvatar.enterHappy()
|
||
|
base.localAvatar.b_setAnimState(('swim'))
|
||
|
base.localAvatar.b_setAnimState(('run'))
|
||
|
base.localAvatar.b_setAnimState(('walk'))
|
||
|
base.localAvatar.b_setAnimState(('cringe'))
|
||
|
base.localAvatar.enterSitStart()is sit
|
||
|
base.localAvatar.setZ(150/10)
|
||
|
base.localAvatar.takeDamage(500)
|
||
|
base.localAvatar.collisionsOff()
|
||
|
base.localAvatar.collisionsOn()
|
||
|
base.localAvatar.setHpr(0,0,315)
|
||
|
base.localAvatar.b_setAnimState('teleport')
|
||
|
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||
|
base.localAvatar.b_setAnimState(('Push'))
|
||
|
base.localAvatar.b_setAnimState(('flat'))
|
||
|
base.localAvatar.b_setAnimState(('Squish'))
|
||
|
base.localAvatar.b_setAnimState(('CogThiefRunning'))
|
||
|
base.localAvatar.b_setAnimState(('victory'))
|
||
|
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||
|
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||
|
base.localAvatar.b_setAnimState('ScientistLessWork')
|
||
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
||
|
base.localAvatar.b_setAnimState(('GolfPuttLoop'))
|
||
|
base.localAvatar.b_setAnimState(('GolfGoodPutt')
|
||
|
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
||
|
base.localAvatar.b_setAnimState(('GolfBadPutt'))
|
||
|
base.localAvatar.b_setAnimState(('Catching'))
|
||
|
base.localAvatar.b_setAnimState('ReadBook')
|
||
|
base.localAvatar.b_setAnimState(('Flattened'))
|
||
|
base.localAvatar.b_setAnimState(('neutral'))
|
||
|
base.localAvatar.b_setAnimState(('Died'))
|
||
|
base.localAvatar.b_setAnimState(('dive'))
|
||
|
base.localAvatar.b_setAnimState(('Sleep'))
|
||
|
base.localAvatar.b_setAnimState(('run'))
|
||
|
base.localAvatar.b_setAnimState(('swim'))
|
||
|
base.localAvatar.b_setAnimState(('Sit'))
|
||
|
base.localAvatar.b_setAnimState(('walk'))
|
||
|
base.localAvatar.b_setAnimState(('Squish'))
|
||
|
base.localAvatar.b_setAnimState(('Flattened'))
|
||
|
base.localAvatar.b_setAnimState('CatchEating')
|
||
|
base.localAvatar.b_setAnimState('Catching')
|
||
|
base.localAvatar.b_setAnimState('TeleportOut')
|
||
|
base.localAvatar.b_setAnimState('TeleportIn')
|
||
|
base.localAvatar.b_setAnimState(('GolfRotateLeft'))
|
||
|
base.localAvatar.b_setAnimState(('CogThiefRunning'))
|
||
|
base.localAvatar.b_setAnimState(('jumpSquat'))
|
||
|
base.localAvatar.b_setAnimState(('OpenBook'))
|
||
|
base.localAvatar.b_setAnimState(('FallDown'))
|
||
|
base.localAvatar.b_setAnimState(('TeleportingOut'))
|
||
|
base.localAvatar.disableBlend()
|
||
|
base.localAvatar.enableBlend()
|
||
|
base.localAvatar.b_setAnimState(('Sad'))
|
||
|
base.localAvatar.b_setAnimState(('GolfRotateRight'))
|
||
|
base.localAvatar.b_setAnimState('TeleportOut')
|
||
|
base.localAvatar.b_setAnimState('TeleportIn')
|
||
|
base.localAvatar.setPos(0,0,5)
|
||
|
base.localAvatar.setHpr (0,270,0)
|
||
|
base,localAvatar.setHPr(0,40
|
||
|
base.localAvatar.setHpr(0,0,180)
|
||
|
base.localAvatar.setHpr(0,0,315)
|
||
|
base.localAvatar.collisionsOff()
|
||
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
||
|
base.localAvatar.b_setAnimState('Push')
|
||
|
-------------------------------------------Victory Back Words Try Use Another Code Too----------------
|
||
|
base.accept("1", base.localAvatar.b_setAnimState, ['victory', -1])
|
||
|
base.accept("1", base.localAvatar.b_setAnimState, ['victory', -3])
|
||
|
base.accept("1", base.localAvatar.b_setAnimState, ['victory', -.1])
|
||
|
---------------------------Gloabal Teleports----------------------------------------------------------------------
|
||
|
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||
|
base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||
|
base.localAvatar.book.pages[1].showPop = 1
|
||
|
----------------------------------------------Big Doodle------------------------------------------------------------
|
||
|
pet = base.cr.doFindAll("Cheesy")
|
||
|
for pet in pet:pet.setScale(5)
|
||
|
--------------------------------------------------Big Toon----------------------------------------------------------
|
||
|
toon = base.cr.doFindAll("Toon Name")
|
||
|
for toon in toon:toon.setScale(5)
|
||
|
------------------------------------------------Big Flippy-----------------------------------------------------------
|
||
|
flippy = base.cr.doFindAll("Flippy")
|
||
|
for flippy in flippy:flippy.setScale(5)
|
||
|
-------------------------------------------Zones---------------------------------------------------------------------
|
||
|
base.cr.sendSetZoneMsg(2000) ttc
|
||
|
base.cr.sendSetZoneMsg(2520) ttc hq
|
||
|
base.cr.sendSetZoneMsg(2513) ttc toon hall 1
|
||
|
base.cr.sendSetZoneMsg(2521) ttc cloth store
|
||
|
base.cr.sendSetZoneMsg(2522) ttc pet store
|
||
|
base.cr.sendSetZoneMsg(2519) ttc gag shop
|
||
|
base.cr.sendSetZoneMsg(2518) ttc library
|
||
|
base.cr.sendSetZoneMsg(2516) ttc school house
|
||
|
base.cr.sendSetZoneMsg(2514) ttc bank
|
||
|
base.cr.sendSetZoneMsg(1507) donald dock hq
|
||
|
base.cr.sendSetZoneMsg(1508) donald dock cloth store
|
||
|
base.cr.sendSetZoneMsg(1506) donald dock gag store
|
||
|
base.cr.sendSetZoneMsg(1612) - DIME AND QUATERDECK BANK
|
||
|
base.cr.sendSetZoneMsg(161) - OUT TO SEE OPTICS
|
||
|
base.cr.sendSetZoneMsg(5501) daisy garden gag store
|
||
|
base.cr.sendSetZoneMsg(5502) daisy garden hq
|
||
|
base.cr.sendSetZoneMsg(5503) daisy garden cloth store
|
||
|
base.cr.sendSetZoneMsg(3507) Brrrgh gag shop
|
||
|
base.cr.sendSetZoneMsg(3508) Brrrgh hq
|
||
|
base.cr.sendSetZoneMsg(3509) Brrrgh cloth store
|
||
|
base.cr.sendSetZoneMsg(4503) minnie's melodyland gag shop
|
||
|
base.cr.sendSetZoneMsg(4504) minnie's melodyland hq
|
||
|
base.cr.sendSetZoneMsg(4506) minnie's melodyland cloth store
|
||
|
base.cr.sendSetZoneMsg(9504) Donald Dreamland Gag shop
|
||
|
base.cr.sendSetZoneMsg(9506) Donald Dreamland Cloth store
|
||
|
base.cr.sendSetZoneMsg(9505) Donald Dreamland hq
|
||
|
base.cr.sendSetZoneMsg(11200) sellbot factory Lobby
|
||
|
base.cr.sendSetZoneMsg(11500) sellbot factory
|
||
|
base.cr.sendSetZoneMsg(11100) sellbot hq vp lobby
|
||
|
base.cr.sendSetZoneMsg(12100) cashbot hq cfo lobby
|
||
|
base.cr.sendSetZoneMsg(13100) lawbot hq cj lobby
|
||
|
base.cr.sendSetZoneMsg(13200) lawbot hq da lobby
|
||
|
base.cr.sendSetZoneMsg(14100) bossbot hq ceo lobby
|
||
|
base.cr.sendSetZoneMsg(2649) - TTC
|
||
|
base.cr.sendSetZoneMsg(1834) - DD
|
||
|
base.cr.sendSetZoneMsg(5620) - DG
|
||
|
base.cr.sendSetZoneMsg(4835) - MML
|
||
|
base.cr.sendSetZoneMsg(3707) - TB
|
||
|
base.cr.sendSetZoneMsg(9619) - DDL
|
||
|
-------------------------Black Checks-----------------------------------------------------------------------------
|
||
|
gloves = loader.loadTexture("phase_10/maps/BlackWhiteChecks.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.345,0.545,0.4545) - Army Green
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.555,0.429,0.2224) - Bronze Gold
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1,0.5,0.18) - Orange
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.5,000,0.520,0.2220) - Purple
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.777,0.429,0.2224) - Tan
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1.111,0.963,0.5694) - Cream Yellow
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.999,0.222,0.2224) - Red
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.999,0.888,0.2224) - Yellow
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.111,0.5,0.2224) - Money Green
|
||
|
----------------------------------------Tron Suit--------------------------------------------------------------------
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
def red():
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColor(255,0,0)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
gloves = loader.loadTexture("phase_4/maps/it.jpg")
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setTexture(gloves, 1)
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColor(255,0,0)
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColor(255,0,0)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(255,0,0)
|
||
|
base.localAvatar.findAllMatches('**/hands').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/hands')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_cogbuster.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_saveBuilding1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_saveBuilding1.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
def blue():
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0,0,1)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColor(0,0,1)
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColor(0,0,1)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColor(0,0,1)
|
||
|
def rainglov():
|
||
|
rain = Sequence()
|
||
|
rain.append(Func(red))
|
||
|
rain.append(Wait(0.2))
|
||
|
rain.append(Func(blue))
|
||
|
rain.append(Wait(0.2))
|
||
|
rain.append(Func(rainglov))
|
||
|
rain.start()
|
||
|
rainglov()
|
||
|
---------------------------------------------------TOON TROOP HAT-------------------------------------------
|
||
|
from direct.actor.Actor import Actor
|
||
|
from pandac.PandaModules import *
|
||
|
from direct.task import Task
|
||
|
import math
|
||
|
from math import pi, sin, cos
|
||
|
from direct.showbase.ShowBase import ShowBase
|
||
|
from direct.task import Task
|
||
|
from direct.interval.IntervalGlobal import Sequence
|
||
|
from pandac.PandaModules import Point3
|
||
|
from pandac.PandaModules import *
|
||
|
ttHat = loader.loadModel("phase_3.5/models/gui/tt_m_gui_gm_toontroop_whistle.bam")
|
||
|
ttHat.reparentTo(localAvatar)
|
||
|
ttHat.setZ(4)
|
||
|
ttHat.setColorScale(25)
|
||
|
ttHatSpin = ttHat.find('**/whistleIcon').hprInterval(3, Vec3(360, 0, 0))
|
||
|
ttHatSpin.loop()
|
||
|
--------------------------Team Dream Buttons-------------------------------------------------------------------
|
||
|
from direct.gui.OnscreenText import OnscreenText
|
||
|
from direct.gui.DirectGui import *
|
||
|
from pandac.PandaModules import TextNode
|
||
|
|
||
|
bk_text = "Pick A Button!"
|
||
|
textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
|
||
|
scale = 0.09,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||
|
|
||
|
def normal1():
|
||
|
bk_text = "Button Picked!"
|
||
|
textObject.setText(bk_text)
|
||
|
|
||
|
def setText2():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
||
|
var = 1
|
||
|
|
||
|
|
||
|
def setText3():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('TeleportOut')
|
||
|
var = 1
|
||
|
|
||
|
def setText4():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('ScientistWork')
|
||
|
var = 1
|
||
|
|
||
|
def setText5():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('Push')
|
||
|
var = 0
|
||
|
|
||
|
def setText6():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('FallDown')
|
||
|
var = 1
|
||
|
|
||
|
def setText7():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('TeleportIn')
|
||
|
var = 1
|
||
|
|
||
|
def setText8():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('victory')
|
||
|
var = 1
|
||
|
|
||
|
def setText9():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('swim')
|
||
|
var = 1
|
||
|
|
||
|
def setText10():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('Sad')
|
||
|
var = 1
|
||
|
|
||
|
def setText11():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('SitStart')
|
||
|
var = 1
|
||
|
|
||
|
def setText12():
|
||
|
bk_text = "Button Ready"
|
||
|
textObject.setText(bk_text)
|
||
|
base.localAvatar.b_setAnimState('Died')
|
||
|
var = 1
|
||
|
|
||
|
from direct.gui.OnscreenText import OnscreenText
|
||
|
from direct.gui.DirectGui import *
|
||
|
from pandac.PandaModules import TextNode
|
||
|
|
||
|
base.accept("escape", normal1, [])
|
||
|
b1 = DirectButton(text = ("Squish", "activate", "activate", "Squish"), scale=.06, pos = (-.98,-0,-.95), command=setText1)
|
||
|
b2 = DirectButton(text = ("ScientistEmcee", "activate", "activate", "ScientistEmcee"), scale=.06, pos = (-.8,-0,-.87), command=setText2)
|
||
|
b3 = DirectButton(text = ("TeleportOut", "activate", "activate", "TeleportOut"), scale=.06, pos = (-.6,-0,-.95), command=setText3)
|
||
|
b4 = DirectButton(text = ("ScientistWork", "activate", "activate", "ScientistWork"), scale=.06, pos = (-.28,-0,-.87), command=setText4)
|
||
|
b5 = DirectButton(text = ("Push", "activate", "activate", "Push"), scale=.06, pos = (-0,-0,-.95), command=setText5)
|
||
|
b6 = DirectButton(text = ("FallDown", "activate", "activate", "FallDown"), scale=.06, pos = (.16,-0,-.87), command=setText6)
|
||
|
b7 = DirectButton(text = ("TeleportIn", "activate", "activate", "TeleportIn"), scale=.06, pos = (.35,-0,-.95), command=setText7)
|
||
|
b8 = DirectButton(text = ("victory", "activate", "activate", "victory"), scale=.06, pos = (.565,-0,-.87), command=setText8)
|
||
|
b9 = DirectButton(text = ("swim", "activate", "activate", "swim"), scale=.06, pos = (.575,-0,-.95), command=setText9)
|
||
|
b10 = DirectButton(text = ("Sad", "activate", "activate", "Sad"), scale=.06, pos = (.375,-0,-.87), command=setText10)
|
||
|
b11 = DirectButton(text = ("SitStart", "activate", "activate", "SitStart"), scale=.06, pos = (-.28,-0,-.95), command=setText11)
|
||
|
b12 = DirectButton(text = ("Died", "activate", "activate", "Died"), scale=.06, pos = (.14,-0,-.95), command=setText12)
|
||
|
------------------------------------------Team Dream Speedchat-----------------------------------------------
|
||
|
base.localAvatar.setSystemMessage(0,'We Are Team Dream')
|
||
|
|
||
|
base.talkAssistant.sendOpenTalk(' ')
|
||
|
|
||
|
base.talkAssistant.sendOpenTalk(' We Are Team Dream')
|
||
|
base.localAvatar.b_setEmoteState(22,1) - Pose Talk
|
||
|
|
||
|
base.talkAssistant.sendOpenTalk(' We Are Team Dream' * 11, )
|
||
|
|
||
|
base.talkAssistant.sendOpenTalk('.Join Team Dream now :-) Create a cat any blue or purple mouse same thing any clothes name : _ _ Dream Dream _ _')
|
||
|
---------------------------------------------Resistance Ranger bot For Yes------------------------------------
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
def intro():
|
||
|
base.localAvatar.setExperience('9999999999999999999')
|
||
|
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
||
|
base.localAvatar.setSystemMessage(0,'MAXED ALL TRACKS!')
|
||
|
def part2():
|
||
|
import toontown
|
||
|
def new():
|
||
|
return True
|
||
|
def new2(*a,**k):
|
||
|
return 2
|
||
|
base.cr.isPaid = new
|
||
|
base.cr.isParentPasswordSet = new
|
||
|
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
||
|
base.localAvatar.setSystemMessage(0,'MEMBERSHIP AND TRUE FRIEND ACTIVATED')
|
||
|
def part3():
|
||
|
base.localAvatar.setQuestCarryLimit(4)
|
||
|
base.localAvatar.setSystemMessage(0,'HOLD 4 TOONTASK NOW!')
|
||
|
def part4():
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setSystemMessage(0,'MAXED MERITS!')
|
||
|
def part5():
|
||
|
base.localAvatar.setCogLevels([49, 49, 49, 49])
|
||
|
base.localAvatar.setSystemMessage(0,'MAXED COG SUIT LEVEL 50')
|
||
|
def part6():
|
||
|
base.localAvatar.setCogTypes([7, 7, 7, 7])
|
||
|
base.localAvatar.setSystemMessage(0,'MR HOLLYWOOD,ROBBER BARON,BIG WIG,BIG CHEESE Activated!')
|
||
|
def part7():
|
||
|
base.localAvatar.setCogParts([99999999999999999999999999, 99999999999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setSystemMessage(0,'SUITS PARTS ACTIVATED Activated!')
|
||
|
def part8():
|
||
|
base.localAvatar.book.pages[1].showPop = 1
|
||
|
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000,9000, 10000, 11000, 12000, 13000])
|
||
|
base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 7000,8000,9000,10000, 11000, 12000, 13000])
|
||
|
base.localAvatar.setCogSummonsEarned([7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7])
|
||
|
base.localAvatar.setSystemMessage(0,'GLOBAL TELEPORTS AND COG SUMMONS ACTIVATED')
|
||
|
def part9():
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25) base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_sellbotCrusher.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_sellbotCrusher.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_sellbotCrusher.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
gloves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_sellbotCrusher.jpg")
|
||
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||
|
base.localAvatar.setName('OG FD RESISTANCE RANGER Yes OG FD MOD')
|
||
|
base.localAvatar.setNametagStyle(5)
|
||
|
def onTime():
|
||
|
seq = Sequence()
|
||
|
seq.append(Func(intro))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(part2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(part3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(part4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(part5))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(part6))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(part7))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(part8))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(part9))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.start()
|
||
|
onTime()
|
||
|
----------------------------------------------Resistance Ranger Bot Mod--------------------------------------
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
def intro():
|
||
|
base.localAvatar.setExperience('9999999999999999999')
|
||
|
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
||
|
base.localAvatar.setSystemMessage(0,'MAXED ALL TRACKS!')
|
||
|
def part2():
|
||
|
import toontown
|
||
|
def new():
|
||
|
return True
|
||
|
def new2(*a,**k):
|
||
|
return 2
|
||
|
base.cr.isPaid = new
|
||
|
base.cr.isParentPasswordSet = new
|
||
|
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
||
|
base.localAvatar.setSystemMessage(0,'MEMBERSHIP AND TRUE FRIEND ACTIVATED')
|
||
|
def part3():
|
||
|
base.localAvatar.setQuestCarryLimit(4)
|
||
|
base.localAvatar.setSystemMessage(0,'HOLD 4 TOONTASK NOW!')
|
||
|
def part4():
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setSystemMessage(0,'MAXED MERITS!')
|
||
|
def part5():
|
||
|
base.localAvatar.setCogLevels([49, 49, 49, 49])
|
||
|
base.localAvatar.setSystemMessage(0,'MAXED COG SUIT LEVEL 50')
|
||
|
def part6():
|
||
|
base.localAvatar.setCogTypes([7, 7, 7, 7])
|
||
|
base.localAvatar.setSystemMessage(0,'MR HOLLYWOOD,ROBBER BARON,BIG WIG,BIG CHEESE Activated!')
|
||
|
def part7():
|
||
|
base.localAvatar.setCogParts([99999999999999999999999999, 99999999999999999999999999999, 56447, 56411])
|
||
|
base.localAvatar.setSystemMessage(0,'SUITS PARTS ACTIVATED Activated!')
|
||
|
def part8():
|
||
|
base.localAvatar.book.pages[1].showPop = 1
|
||
|
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000,9000, 10000, 11000, 12000, 13000])
|
||
|
base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 7000,8000,9000,10000, 11000, 12000, 13000])
|
||
|
base.localAvatar.setCogSummonsEarned([7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7])
|
||
|
base.localAvatar.setSystemMessage(0,'GLOBAL TELEPORTS AND COG SUMMONS ACTIVATED')
|
||
|
def part9():
|
||
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||
|
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_sellbotCrusher.jpg")
|
||
|
shirt.setTexture(shirttex, 1)
|
||
|
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_sellbotCrusher.jpg")
|
||
|
short.setTexture(shorttex, 1)
|
||
|
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_sellbotCrusher.jpg")
|
||
|
sleeves.setTexture(sleevestex, 1)
|
||
|
base.localAvatar.setName('RESISTANCE RANGER Mod')
|
||
|
base.localAvatar.setNametagStyle(5)
|
||
|
base.localAvatar.setSystemMessage(0,'Welcome to the Toon Resistance! Use CogIndex codes to see your cog suits!Press F1-F4 to get cog suits press F5 to remove cog suit.')
|
||
|
def onTime():
|
||
|
seq = Sequence()
|
||
|
seq.append(Func(intro))
|
||
|
seq.append(Wait(3))
|
||
|
seq.append(Func(part2))
|
||
|
seq.append(Wait(3))
|
||
|
seq.append(Func(part3))
|
||
|
seq.append(Wait(3))
|
||
|
seq.append(Func(part4))
|
||
|
seq.append(Wait(3))
|
||
|
seq.append(Func(part5))
|
||
|
seq.append(Wait(3))
|
||
|
seq.append(Func(part6))
|
||
|
seq.append(Wait(3))
|
||
|
seq.append(Func(part7))
|
||
|
seq.append(Wait(3))
|
||
|
seq.append(Func(part8))
|
||
|
seq.append(Wait(3))
|
||
|
seq.append(Func(part9))
|
||
|
seq.append(Wait(3))
|
||
|
seq.start()
|
||
|
onTime()
|
||
|
----------------------------------------------------CONTROL COLOR OF PANTS---------------------------
|
||
|
TTShorts = base.localAvatar.findAllMatches('**/torso-bot')
|
||
|
base.accept('f1', TTShorts.setColor, [255,0,0])
|
||
|
base.accept('f2', TTShorts.setColor, [1,0,1])
|
||
|
base.accept('f3', TTShorts.setColor, [0,0,1])
|
||
|
base.accept('f4', TTShorts.setColor, [0.5,000,0.520,0.2220])
|
||
|
base.accept('f5', TTShorts.setColor, [1,1,1])
|
||
|
base.accept('f6', TTShorts.setColor, [0,1,0])
|
||
|
base.accept('f7', TTShorts.setColor, [0,0,0])
|
||
|
base.accept('f8', TTShorts.setColor, [0.0,0.8,7.03])
|
||
|
base.accept('f9', TTShorts.setColor, [0.87,0.3,0.3])
|
||
|
base.accept('f10', TTShorts.setColor, [8,1,0,3,0])
|
||
|
base.accept('f11', TTShorts.setColor, [1.999,0.4,0.2220])
|
||
|
base.accept('f12', TTShorts.setColor, [0.111,0.5,0.2224])
|
||
|
---------------------------------------CONTROL COLOR OF SHIRT-----------------------------------------
|
||
|
TTShirt = base.localAvatar.findAllMatches('**/torso-top')
|
||
|
base.accept('f1', TTShirt.setColor, [255,0,0])
|
||
|
base.accept('f2', TTShirt.setColor, [1,0,1])
|
||
|
base.accept('f3', TTShirt.setColor, [0,0,1])
|
||
|
base.accept('f4', TTShirt.setColor, [0.5,000,0.520,0.2220])
|
||
|
base.accept('f5', TTShirt.setColor, [1,1,1])
|
||
|
base.accept('f6', TTShirt.setColor, [0,1,0])
|
||
|
base.accept('f7', TTShirt.setColor, [0,0,0])
|
||
|
base.accept('f8', TTShirt.setColor, [0.0,0.8,7.03])
|
||
|
base.accept('f9', TTShirt.setColor, [0.87,0.3,0.3])
|
||
|
base.accept('f10', TTShirt.setColor, [8,1,0,3,0])
|
||
|
base.accept('f11', TTShirt.setColor, [1.999,0.4,0.2220])
|
||
|
base.accept('f12', TTShirt.setColor, [0.111,0.5,0.2224])
|
||
|
-------------------------------------------------CONTROL COLOR OF SLEEVES--------------------------
|
||
|
TTSleeve = base.localAvatar.findAllMatches('**/sleeves')
|
||
|
base.accept('f1', TTSleeve.setColor, [255,0,0])
|
||
|
base.accept('f2', TTSleeve.setColor, [1,0,1])
|
||
|
base.accept('f3', TTSleeve.setColor, [0,0,1])
|
||
|
base.accept('f4', TTSleeve.setColor, [0.5,000,0.520,0.2220])
|
||
|
base.accept('f5', TTSleeve.setColor, [1,1,1])
|
||
|
base.accept('f6', TTSleeve.setColor, [0,1,0])
|
||
|
base.accept('f7', TTSleeve.setColor, [0,0,0])
|
||
|
base.accept('f8', TTSleeve.setColor, [0.0,0.8,7.03])
|
||
|
base.accept('f9', TTSleeve.setColor, [0.87,0.3,0.3])
|
||
|
base.accept('f10', TTSleeve.setColor, [8,1,0,3,0])
|
||
|
base.accept('f11', TTSleeve.setColor, [1.999,0.4,0.2220])
|
||
|
base.accept('f12', TTSleeve.setColor, [0.111,0.5,0.2224])
|
||
|
-------------------------------------Control Color of Gloves-----------------------------------------------------
|
||
|
TTGloves = base.localAvatar.findAllMatches('**/hands')
|
||
|
base.accept('f1', TTGloves.setColor, [255,0,0])
|
||
|
base.accept('f2', TTGloves.setColor, [1,0,1])
|
||
|
base.accept('f3', TTGloves.setColor, [0,0,1])
|
||
|
base.accept('f4', TTGloves.setColor, [0.5,000,0.520,0.2220])
|
||
|
base.accept('f5', TTGloves.setColor, [1,1,1])
|
||
|
base.accept('f6', TTGloves.setColor, [0,1,0])
|
||
|
base.accept('f7', TTGloves.setColor, [0,0,0])
|
||
|
base.accept('f8', TTGloves.setColor, [0.0,0.8,7.03])
|
||
|
base.accept('f9', TTGloves.setColor, [0.87,0.3,0.3])
|
||
|
base.accept('f10', TTGloves.setColor, [8,1,0,3,0])
|
||
|
base.accept('f11', TTGloves.setColor, [1.999,0.4,0.2220])
|
||
|
base.accept('f12', TTGloves.setColor, [0.111,0.5,0.2224])
|
||
|
----------------------------Easier Cog Suits-----------------------------------------------------------------------
|
||
|
base.localAvatar.putOnSuit('tbc') - BIG CHEESE COG
|
||
|
base.localAvatar.putOnSuit('mh') - MR. HOLLYWOOD
|
||
|
base.localAvatar.putOnSuit('ls') - LOAN SHARK
|
||
|
base.localAvatar.putOnSuit('dt') - Double-Talker
|
||
|
base.localAvatar.putOnSuit('ms') - Mover & Shaker
|
||
|
base.localAvatar.putOnSuit('m') - MINGLER
|
||
|
base.localAvatar.putOnSuit('f') - Flunky
|
||
|
base.localAvatar.putOnSuit('tf') - Two-Face
|
||
|
base.localAvatar.putOnSuit('sc') - Short Change
|
||
|
base.localAvatar.putOnSuit('tm') - TELEMARKETER
|
||
|
base.localAvatar.putOnSuit('rb') - Robber Barron
|
||
|
base.localAvatar.putOnSuit('cc') - COLD CALLER
|
||
|
base.localAvatar.putOnSuit('bf') - BOTTOM FEEDER
|
||
|
base.localAvatar.putOnSuit('b') - BLOOD SUCKER
|
||
|
base.localAvatar.putOnSuit('ym') - YESMAN
|
||
|
base.localAvatar.putOnSuit('cr') - CORPORATE RAIDER
|
||
|
base.localAvatar.putOnSuit('bw') - BIG WIG
|
||
|
base.localAvatar.putOnSuit('sd') - SPIN DOCTOR
|
||
|
base.localAvatar.putOnSuit('hh') - HEAD HUNTER
|
||
|
base.localAvatar.putOnSuit('nc') - NUMBER CRUNCHER
|
||
|
base.localAvatar.putOnSuit('le') - LEGAL EAGLE
|
||
|
base.localAvatar.putOnSuit('mb') - MONEYBAG
|
||
|
base.localAvatar.putOnSuit('nd') - NAME DROPPER
|
||
|
base.localAvatar.putOnSuit('bc') - Bean Counter
|
||
|
base.localAvatar.putOnSuit('ac') - Ambulane Chaser
|
||
|
base.localAvatar.putOnSuit('tw') - TIGHTWAD
|
||
|
base.localAvatar.putOnSuit('gh') - GLAD HANDER
|
||
|
base.localAvatar.putOnSuit('pp') - Penny Pincher
|
||
|
base.localAvatar.putOnSuit('mm') - MICROMANGER
|
||
|
base.localAvatar.putOnSuit('p') - Pencil Pusher
|
||
|
base.localAvatar.putOnSuit('ds') - Downsizer
|
||
|
-----------------------------------------Copy Toon Button-------------------------------------------------------
|
||
|
from direct.gui.OnscreenText import OnscreenText
|
||
|
from direct.gui.DirectGui import *
|
||
|
from pandac.PandaModules import TextNode
|
||
|
|
||
|
bk_text = ""
|
||
|
textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
|
||
|
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||
|
|
||
|
def setText():
|
||
|
bk_text = ""
|
||
|
textObject.setText(bk_text)
|
||
|
cc = base.cr.doFindAll("YO NAME HERE")
|
||
|
for cc in base.cr.doFindAll("YO NAME HERE"):
|
||
|
cc.copyTo(render)
|
||
|
b = DirectButton(text = ("Copy Toon", "Activate", "Activate", "Copy Toon"), scale=.06, pos = (0,-.95,-.95), command=setText)
|
||
|
---------------------------------------------------METAL----------------------------------------------------------
|
||
|
gloves = loader.loadTexture("phase_9/maps/metal_plate_256_irregular.jpg")
|
||
|
base.localAvatar.findAllMatches('**/Sky').setTexture(gloves, 1)
|
||
|
base.localAvatar.findAllMatches('**/').setTexture(gloves, 1)
|
||
|
-------------------MONEY-----------------------------------------------------------------------------------------
|
||
|
gloves = loader.loadTexture("phase_10/maps/CBWrapperBill.jpg")
|
||
|
base.localAvatar.findAllMatches('**/').setTexture(gloves, 1)
|
||
|
base.localAvatar.findAllMatches('**/Sky').setTexture(gloves, 1)
|
||
|
-------------------COG MANIA-----------------------------------------------------------------------------------
|
||
|
gloves = loader.loadTexture("phase_13/maps/parties_palette_4amla_3.jpg")
|
||
|
base.localAvatar.findAllMatches('**/').setTexture(gloves, 1)
|
||
|
base.localAvatar.findAllMatches('**/Sky').setTexture(gloves, 1)
|
||
|
----------------NIGHT TIME--------------------------------------------------------------------------------------
|
||
|
gloves = loader.loadTexture("phase_5.5/maps/windowView_Stars2.jpg")
|
||
|
base.localAvatar.findAllMatches('**/').setTexture(gloves, 1)
|
||
|
base.localAvatar.findAllMatches('**/Sky').setTexture(gloves, 1)
|
||
|
-------------------------BEE LAND-------------------------------------------------------------------------------
|
||
|
gloves = loader.loadTexture("phase_10/maps/BlackWhiteChecks.jpg")
|
||
|
base.localAvatar.findAllMatches('**/').setTexture(gloves, 1)
|
||
|
|
||
|
gloves = loader.loadTexture("phase_10/maps/BlackWhiteChecks.jpg")
|
||
|
base.localAvatar.findAllMatches('**/Sky').setTexture(gloves, 1)
|
||
|
----------------------SNOW PLACE------------------------------------------------------------------------------
|
||
|
gloves = loader.loadTexture("phase_5.5/maps/flakes_border.jpg")
|
||
|
base.localAvatar.findAllMatches('**/').setTexture(gloves, 1)
|
||
|
|
||
|
gloves = loader.loadTexture("phase_5.5/maps/flakes_border.jpg")
|
||
|
base.localAvatar.findAllMatches('**/Sky').setTexture(gloves, 1)
|
||
|
-------------------------COLORFUL SKY------------------------------------------------------------------------
|
||
|
shirts=loader.loadTexture("phase_4/maps/shirtTieDyeNew.jpg")
|
||
|
sleve=loader.loadTexture("phase_4/maps/sleeveTieDye.jpg")
|
||
|
shorts=loader.loadTexture("phase_4/maps/shirtTieDyeNew.jpg")
|
||
|
base.localAvatar.findAllMatches('**/').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/').setTexture(sleve, 1)
|
||
|
|
||
|
shirts=loader.loadTexture("phase_4/maps/shirtTieDyeNew.jpg")
|
||
|
sleve=loader.loadTexture("phase_4/maps/sleeveTieDye.jpg")
|
||
|
shorts=loader.loadTexture("phase_4/maps/shirtTieDyeNew.jpg")
|
||
|
base.localAvatar.findAllMatches('**/Sky').setColorScale(25)
|
||
|
base.localAvatar.findAllMatches('**/Sky').setTexture(sleve, 1)
|
||
|
--------------------EPIC SKY--------------------------------------------------------------------------------------
|
||
|
base.localAvatar.findAllMatches('**/').setColorScale(25)
|
||
|
shirts=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween4.jpg")
|
||
|
sleve=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween4.jpg")
|
||
|
base.localAvatar.findAllMatches('**/').setTexture(sleve, 2)
|
||
|
base.localAvatar.findAllMatches('**/').setColor(0,1,0)
|
||
|
|
||
|
base.localAvatar.findAllMatches('**/Sky').setColorScale(25)
|
||
|
shirts=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween4.jpg")
|
||
|
sleve=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween4.jpg")
|
||
|
base.localAvatar.findAllMatches('**/Sky').setTexture(sleve, 2)
|
||
|
base.localAvatar.findAllMatches('**/Sky').setColor(0,1,0)
|
||
|
--------------client sided & set codes----------------------------------------------------------------------------
|
||
|
base.localAvatar.setTickets(800) - ticket code change 800 - 100000
|
||
|
base.localAvatar.setGhostMode(2) - ghost mode change 0 not to be ghost
|
||
|
base.localAvatar.setEmoteAccess([1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]) - all emotes
|
||
|
base.localAvatar.setName(('put the name here')) = cahnge name
|
||
|
messenger.send('nameTagShowAvId')
|
||
|
base.localAvatar.setBankMoney(10000) - jelly bean
|
||
|
base.localAvatar.setMaxBankMoney(10000) - another jelly bean
|
||
|
base.localAvatar.setMoney(10000)
|
||
|
base.localAvatar.setMaxMoney(10000)
|
||
|
base.localAvatar.setQuestCarryLimit(4) - CARRY 4 TASK
|
||
|
base.localAvatar.setExperience('9999999999999999999')
|
||
|
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1]) - all tracks
|
||
|
base.localAvatar.setCheesyEffect(14, 0, 0) - snow man head
|
||
|
base.localAvatar.setCogIndex(1)--- for lawbot
|
||
|
base.localAvatar.setCogIndex(2)---- for cash bot
|
||
|
base.localAvatar.setCogIndex(3) ----for sellbot
|
||
|
base.localAvatar.setCogIndex(0) --- for bossbot
|
||
|
base.localAvatar.setCogMerits([100,60,40,20])
|
||
|
base.localAvatar.setCogIndex = 1 (2,3,4)
|
||
|
base.localAvatar.setMerits(0,0,0,0)
|
||
|
base.localAvatar.setCogLevels([49, 49, 49, 49])
|
||
|
base.localAvatar.setCogTypes([7, 7, 7, 7])
|
||
|
base.localAvatar.setCogParts([0, 0, 56447, 56411])
|
||
|
---------------------------------------Control Color of your feet------------------------------------------------
|
||
|
TTFeet = base.localAvatar.findAllMatches('**/feet')
|
||
|
base.accept('f1', TTFeet.setColor, [255,0,0])
|
||
|
base.accept('f2', TTFeet.setColor, [1,0,1])
|
||
|
base.accept('f3', TTFeet.setColor, [0,0,1])
|
||
|
base.accept('f4', TTFeet.setColor, [0.5,000,0.520,0.2220])
|
||
|
base.accept('f5', TTFeet.setColor, [1,1,1])
|
||
|
base.accept('f6', TTFeet.setColor, [0,1,0])
|
||
|
base.accept('f7', TTFeet.setColor, [0,0,0])
|
||
|
base.accept('f8', TTFeet.setColor, [0.0,0.8,7.03])
|
||
|
base.accept('f9', TTFeet.setColor, [0.87,0.3,0.3])
|
||
|
base.accept('f10', TTFeet.setColor, [8,1,0,3,0])
|
||
|
base.accept('f11', TTFeet.setColor, [1.999,0.4,0.2220])
|
||
|
base.accept('f12', TTFeet.setColor, [0.111,0.5,0.2224])
|
||
|
----------------------------------------Gloves-----------------------------------------------------------------------
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.25,0.25,0.3) - Black Cat Color
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.345,0.545,0.4545) - Army Green
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.555,0.429,0.2224) - Bronze Gold
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1,0.5,0.18) - Orange
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.5,000,0.520,0.2220) - Purple
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.777,0.429,0.2224) - Tan
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1.111,0.963,0.5694) - Cream Yellow
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.999,0.222,0.2224) - Red
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.999,0.888,0.2224) - Yellow
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.111,0.5,0.2224) - Money Green
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.97,0.3,0.3)# - red
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.96,0.7,0.7)# - pink
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1,0.44,1)# - pinkish
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.86,0.4,0.42)# - pink 2
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.69,0.29,0.95)# - purple
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.44,0,1)# - neon purple
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.4,1,0.4)# - green
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.44,1,0)# - neon green 1
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.0,1.0,0.0)# - neon green 2
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.2,0.3,0.11)# - rusty green
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.55,0.82,0.32)# - lime green
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1,0.95,0.3)# - yellow
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.28,0.33,0.73)# - dark blue
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.3,0.64,0.85)# - blue
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.44,1,1)# - blue 2
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.43,0.9,0.84)# - blue 3
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0,0.44,1)# - weird blue
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0,0.44,0.44)# - rusty aqua
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1,0.5,0.18)# - orange
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1,1,0.57)# - cream
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.55,0.55,1)# - perwinkle
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.70,0.70,0.70)# - gray
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(1.0,1.0,1.0)# - white
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.20,0.20,0.3)# - black
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0,0,0.4)# - ink
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.38,0.72,0.72)# - aqua
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.35,1,0.85)# - aqua 2
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.62,0.26,0.36)# - red, pinkish
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.35,0,0.1)# - rusty red, pinkish
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.64,0.35,0.27)# - brown
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.72,1,0.36)# - olive
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0.57,0.45,0.16)# - swamp
|
||
|
-------------------------------------------Rainbow Gloves and Sky---------------------------------------------
|
||
|
from direct.interval.IntervalGlobal import *
|
||
|
def wakeUp():
|
||
|
base.localAvatar.wakeUp()
|
||
|
def wakeUp2():
|
||
|
base.localAvatar.findAllMatches('**/Sky').setColor(250,0,0)
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(250,0,0)
|
||
|
def wakeUp3():
|
||
|
base,localAvatar.findAllMatches('**/Sky').setColor(0,0,0)
|
||
|
base,localAvatar.findAllMatches('**/hands').setColor(0,0,0)
|
||
|
def wakeUp4():
|
||
|
base.localAvatar.findAllMatches('**/Sky').setColor(250,230,0)
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(250,230,0)
|
||
|
def wakeUp5():
|
||
|
base.localAvatar.findAllMatches('**/Sky').setColor(250,0,20)
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(250,0,20)
|
||
|
def wakeUp5():
|
||
|
base.localAvatar.findAllMatches('**/Sky').setColor(0,6,0)
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0,6,0)
|
||
|
def wakeUp6():
|
||
|
base.localAvatar.findAllMatches('**/Sky').setColor(0,0,1)
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0,0,1)
|
||
|
def wakeUp7():
|
||
|
base.localAvatar.findAllMatches('**/Sky').setColor(0,2,8)
|
||
|
base.localAvatar.findAllMatches('**/hands').setColor(0,2,8)
|
||
|
def onTime():
|
||
|
seq = Sequence()
|
||
|
seq.append(Func(wakeUp))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(wakeUp2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(wakeUp3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(wakeUp4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(wakeUp5))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(wakeUp6))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(wakeUp7))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(onTime))
|
||
|
seq.start()
|
||
|
onTime()
|
||
|
-----------------------------------------------------END-------------------------------------------------------------
|