5175 lines
156 KiB
Text
5175 lines
156 KiB
Text
-------------------------Button Hacks-----------------------------------------------
|
|
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 = "Phrase"
|
|
textObject.setText(bk_text)
|
|
base.localAvatar.setCustomMessages([550, 580, 6000, 6100, 12000, 11010, 590, 820, 40, 100, 170, 230, 890, 290, 320, 370, 380, 400, 420, 460, 470, 440, 480, 510, 500, 560, 570, 650, 660, 670, 680, 710, 770, 830])
|
|
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 = 3
|
|
|
|
def setText4():
|
|
bk_text = "Die"
|
|
textObject.setText(bk_text)
|
|
base.localAvatar.d_squish(2)
|
|
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 = "Nutty River"
|
|
textObject.setText(bk_text)
|
|
base.localAvatar.book.pages[1].showPop = 1
|
|
var = 1
|
|
|
|
def setText8():
|
|
bk_text = "Turbo"
|
|
textObject.setText(bk_text)
|
|
ttv = base.cr.doFindAll("Vehicle")
|
|
for ttv in base.cr.doFindAll("Vehicle"):
|
|
ttv.setTurbo(99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)
|
|
var = 1
|
|
|
|
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 = ("Say", "say", "say", "Say"), 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", "Nutty River"), scale=.06, pos = (.35,-0,-.95), command=setText7)
|
|
b8 = DirectButton(text = ("Race", "race", "race", "Turbo"), scale=.06, pos = (.565,-0,-.95), command=setText8)
|
|
|
|
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 = "Run Fast"
|
|
textObject.setText(bk_text)
|
|
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
|
|
|
b = DirectButton(text = ("Speed", "speed", "speed", "Speed"), scale=.06, pos = (.75,-0,-.95), command=setText)
|
|
----------------------Live Gloves----------------------------------------------
|
|
they dont work anymore:(
|
|
import toontown
|
|
from pandac.PandaModules import VBase4
|
|
from toontown.toon.ToonDNA import ToonDNA
|
|
localAvatarDna = ToonDNA()
|
|
localAvatarDna.gloveColor = VBase4(0.97,0.3,0.3,1)
|
|
def getColor(*args, **kwds):
|
|
return localAvatarDna.gloveColor
|
|
localAvatarDna.getGloveColor = getColor
|
|
localAvatarDna.updateToonProperties()
|
|
--------------------Mix Codes----------------------------------------
|
|
Use In This Form
|
|
Just Replace AnimState
|
|
|
|
from direct.interval.IntervalGlobal import *
|
|
def intro():
|
|
base.localAvatar.b_setAnimState('jumpLand')
|
|
def part2():
|
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
def onTime():
|
|
seq = Sequence()
|
|
seq.append(Func(intro))
|
|
seq.append(Wait(.2555777775))
|
|
seq.append(Func(part2))
|
|
seq.start()
|
|
onTime()
|
|
|
|
1 base.localAvatar.b_setAnimState('Sit')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
You Have Hands On Lap When You Stand Up
|
|
|
|
1 base.localAvatar.b_setAnimState('Push')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
Your A Boxing Teacher
|
|
|
|
1 base.localAvatar.b_setAnimState('swim')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
Your A Poser
|
|
|
|
1 base.localAvatar.b_setAnimState('run')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
Your A Singer
|
|
|
|
1 base.localAvatar.b_setAnimState('walk')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
Your A Guy Talking To People
|
|
|
|
|
|
1 base.localAvatar.b_setAnimState('cringe')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
You Can Bend
|
|
|
|
1 base.localAvatar.b_setAnimState('GolfPuttLoop')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
You Beg For Money
|
|
|
|
1 base.localAvatar.b_setAnimState('GolfBadPutt')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
You Looking In A Book (ARE U BLIND??)
|
|
|
|
1 base.localAvatar.b_setAnimState('GolfGoodPutt')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
Im Punch You
|
|
|
|
1 base.localAvatar.b_setAnimState('ReadBook')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
Read A Book Normally
|
|
|
|
1 base.localAvatar.b_setAnimState('jump')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
You Can Bend 2
|
|
|
|
1 base.localAvatar.b_setAnimState('TeleportOut')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
ScareCrow 2 (Just Have UR Hand In The Air)
|
|
|
|
1 base.localAvatar.b_setAnimState('dive')
|
|
2 base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
ScareCrow 3 (Just Have UR Hand In The Air Look Like U Swiming)
|
|
|
|
----------------------Ainimation 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, .8), 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()
|
|
|
|
-------------------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)
|
|
----------------Change Cogs------------------------------------
|
|
cogs=base.cr.doFindAll("render")
|
|
for cogs in cogs:
|
|
cogs.setSkelecog(True)
|
|
cogs.setColor(255,0.30,0.3)
|
|
cogs.setLevel(0.5)
|
|
--------------------Lose/Gain Laff-----------------------------
|
|
base.localAvatar.d_squish(1)
|
|
----------------------Gloves-----------------------------------------
|
|
gloves base.allToons.see('Gloves')
|
|
-------------------------Buttton Hacks----------------------------------------------------------------
|
|
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 = "Swimming"
|
|
textObject.setText(bk_text)
|
|
base.localAvatar.b_setAnimState('swim')
|
|
var = 0
|
|
----------------------Trick Or Treat Target???-------------------------------------------------------
|
|
base.localAvatar.trickOrTreatTargetMet(20)
|
|
-------------------Name Tag On Feet Server----------------------------------------------------------------------
|
|
base.localAvatar.setHeight(200)
|
|
base.localAvatar.setHeight(0)
|
|
--------------Sounds------------------------------------------------------------------------------------
|
|
base.localAvatar.playSplashEffect(1, 0, 0) Water Splash
|
|
--------------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()
|
|
------------------------------ Animate State-------------------------------------------------------
|
|
base.localAvatar.b_setAnimState(('Words go here'))
|
|
-----------------------------------------Flip----------------------------------------------------
|
|
Flip 1-base.localAvatar.setHpr(0,0,90)
|
|
Flip 2-base.localAvatar.setHpr(0,0,135)
|
|
Flip 3-base.localAvatar.setHpr(0,0,180)
|
|
flip 4-base.localAvatar.setHpr(0,0,225)
|
|
flip 5-base.localAvatar.setHpr(0,0,270)
|
|
flip 6-base.localAvatar.setHpr(0,0,315)
|
|
flip 7-base.localAvatar.setHpr(0,0,360)
|
|
---------------------------------------Toon Modification-------------------------------
|
|
Be the next Hulk/Tiny Tim! [Most likely client-side] [This can cause graphics problems]
|
|
base.localAvatar.setScale(<size you want to be, 1 is normal.>)
|
|
|
|
Change Toon Style [This could probably be used to modify ANYTHING about your Toon]:
|
|
base.localAVatar.setStyle(<?>)
|
|
|
|
How tall are you? Change it all with this function:
|
|
base.localAvatar.setHeight(<Default value varies with character>)
|
|
|
|
---------------------------------------Pie Type??????-----------------------------------
|
|
|
|
base.localAvatar.setEvidenceThrow = 100
|
|
|
|
base.localAvatar.setRefillThrow()
|
|
|
|
base.localAvatar.setPieType(7)
|
|
base.localAvatar.setNumPies(120)
|
|
base.localAvatar.ThrowGagButtonMaxed = true
|
|
|
|
base.localAvatar.setPieType(-3)
|
|
base.localAvatar.setNumPies(120)
|
|
base.localAvatar.ThrowGagButtonMaxed = false
|
|
|
|
base.localAvatar.setPieType(-7)
|
|
base.localAvatar.setNumPies(120)
|
|
base.localAvatar.ThrowGagButtonMaxed = false
|
|
|
|
base.localAvatar.setPieType(0, 1, 2, 3, 4, or 5)
|
|
base.localAvatar.setNumPies(20, 25, 30, 35, 40, or 80)
|
|
base.localAvatar.ThrowGagButtonMaxed = false
|
|
|
|
base.localAvatar.setPieType(7)
|
|
base.localAvatar.setNumPies(12000)
|
|
base.localAvatar.ThrowGagButtonMaxed = true
|
|
|
|
base.localAvatar.setPieType(7)
|
|
|
|
base.localAvatar.setPieType(5)
|
|
--------------------------------------Super Man ----------------------------------
|
|
base.localAvatar.collisionsOff()
|
|
base.localAvatar.setPos(0,0,5)
|
|
base.localAvatar.setHpr (0,270,0)
|
|
------------------------------------Super Speed-------------------
|
|
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
|
----------------------------------Super Jump-----------------------------
|
|
base.localAvatar.physControls.avatarControlJumpForce = 100
|
|
----------------------------------Rotate Speed------------------------------
|
|
base.localAvatar.physControls.avatarControlRotateSpeed=1000
|
|
---------------------------------Reverse Speed--------------------
|
|
base.localAvatar.physControls.avatarControlReverseSpeed=75
|
|
-------------------Rocket Ship----------------------------------------------------
|
|
localAvatar.setHpr(0,50,0)
|
|
---------------DC Ip--------------------------------------------------------------
|
|
base.Disconnect('Enter.Ip.Addresshere')
|
|
base.Disconnect('20.20.20')322374messenger.send('<<name/toonid>>')
|
|
----------------Color Gloves ------------------
|
|
base.localAvatar.find('**/hands').setColor(255,0,0) Red
|
|
base.localAvatar.find('**/hands').setColor(255,0,1) Purple
|
|
base.localAvatar.find('**/hands').setColor(255,1,0) Yellow
|
|
base.localAvatar.find('**/hands').setColor(0,0,0) Black
|
|
base.localAvatar.find('**/hands').setColor(0,255,255) Cyan
|
|
----------------Color Tie Die Gloves---------------------------
|
|
gloves = loader.loadTexture("phase_4/maps/sleeveTieDye.jpg")
|
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
|
---------------Color Nose----------------------
|
|
base.localAvatar.find('**/nose').setColor(255,0,0) Red
|
|
base.localAvatar.find('**/nose').setColor(255,0,1) Purple
|
|
base.localAvatar.find('**/nose').setColor(255,1,0) Yellow
|
|
base.localAvatar.find('**/nose').setColor(0,0,0) Black
|
|
base.localAvatar.find('**/nose').setColor(0,255,255) Cyan
|
|
---------------Color Head-------------------------------
|
|
base.localAvatar.find('**/head').setColor(255,0,0) Red
|
|
base.localAvatar.find('**/head').setColor(255,0,1) Purple
|
|
base.localAvatar.find('**/head').setColor(255,1,0) Yellow
|
|
base.localAvatar.find('**/head').setColor(0,0,0) Black
|
|
base.localAvatar.find('**/head').setColor(0,255,255) Cyan
|
|
---------------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)
|
|
----------------Change Toon Color --------------------------------------------------
|
|
base.localAvatar.setColor(0,0,0,0,0)
|
|
-----------------Chat/TT Whisper/Avater Chat---------------------------------------------------------
|
|
base.talkAssistant.sendOpenTalk('fill me with alot of words ')
|
|
base.localAvatar.setNearbyAvatarChat('HEY!')
|
|
base.localAvatar.setSystemMessage(0,'Put text for a whisper here.')
|
|
base.talkAssistant.sendWhisperTalk('LOL ' * 50, 285668882)
|
|
---------------Cog Suit Merits ----------
|
|
base.cr.sendSetZoneMsg(9504)
|
|
base.localAvatar.cogMerits=[40, 80, 120, 200]
|
|
---------------Cog Suit---------------------
|
|
1 for chqd in
|
|
base.cr.doFindAll("CogHQDoor"):
|
|
chqd.rejectEnter = chqd.avatarEnter(base.localAvatar.doId)
|
|
chqd.setOtherZoneIdAndDoId(11100,113592520)
|
|
GagShopWindow= (-83.642, -90.233, 25.336, -728.746)
|
|
|
|
2 base.localAvatar.setCogIndex(2) non live cog suit
|
|
base.localAvatar.b_setAnimState(('CogIndex')) scare crow
|
|
2513 Toon hall zone for cog suit
|
|
------------------Cog Suit Silent----------------------------------------
|
|
base.localAvatar.setCogIndex(0) 0-3
|
|
base.localAvatar.takeOffSuit()
|
|
---------------Cog Summon--------------------------------------------
|
|
base.localAvatar.setCogSummonsEarned([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])
|
|
1 = summons cog
|
|
2 = building
|
|
3 = invasion
|
|
--------------Cog Level-----------------------------------------
|
|
base.localAvatar.setCogLevels([49, 49, 49, 49])
|
|
--------------Cog Parts-------------------------------------------
|
|
base.localAvatar.setCogParts([0, 0, 56447, 56411])
|
|
---------------Cog Battle-------------------------------------------------
|
|
base.localAvatar.setHP(1) (cog battle)
|
|
base.localAvatar.setBrushOff(10) (cog battle)
|
|
base.localAvatar.setLevelDist(10) (cog battle)
|
|
base.localAvatar.setSkelecog(1) (cog battle)
|
|
base.localAvatar.setInteractivePropTrackBonus(100)
|
|
base.localAvatar.rewardDone() (cog battle)
|
|
base.localAvatar.movieDone() (cog battle)
|
|
base.localAvatar.timeout() (cog battle)
|
|
base.localAvatar.denyLocalToonJoin() (cog battle)
|
|
--------------Pink Slips-------------------------------------
|
|
base.localAvatar.setPinkSlips((10000)) - pink slips change 1 - 10000
|
|
-------------Closet Tickets/Clothes----------------------------------------------
|
|
base.localAvatar.setTickets(800) - ticket code change 800 - 100000
|
|
base.localAvatar.setMaxClothes(500)
|
|
--------------------Ghost Mode--------------------------------------
|
|
base.localAvatar.setGhostMode(2) - enable Hold Ctrl and Left Or Right To Slide That Way
|
|
base.localAvatar.setGhostMode(0) - Disable
|
|
-----------------Emotes Access-------------------------------------------
|
|
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
|
|
---------------------Change Name Silent-----------------------------------------
|
|
base.localAvatar.setName(('MOD CLAN Edger')) = change name
|
|
---------------------------Bank Money -----------------------------------------
|
|
base.localAvatar.setBankMoney(10000) - jelly bean
|
|
base.localAvatar.setMaxBankMoney(10000) - another jelly bean
|
|
base.localAvatar.setMaxMoney(800) [thats your max gag money]
|
|
base.localAvatar.setMoney(800) [thats making your gag money to 800]
|
|
------------Max Laff--------------------------------------
|
|
base.localAvatar.maxHp = 137 max laff
|
|
|
|
Have 137 laff, have to do both codes to work-
|
|
base.localAvatar.setMaxHp(137)
|
|
base.localAvatar.setHp(137)
|
|
|
|
base.localAvatar.toonUp(<toon yourself up by>)
|
|
-------------------Change Name Silent----------------------
|
|
base.localAvatar.setName(('put the name here'))
|
|
---------------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])
|
|
------------FunStuff/Animatians-----------------------------------------
|
|
base.localAvatar.setCheesyEffect(0, 0, 0) Change First Number 0-14 For Big Head Tall ETC
|
|
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')) - swim in air
|
|
base.localAvatar.b_setAnimState(('run')) - run in place
|
|
base.localAvatar.b_setAnimState(('walk')) - walk in place
|
|
base.localAvatar.b_setAnimState(('cringe')) - cringe in place lol
|
|
base.localAvatar.enterSitStart()is sit - sit in air
|
|
base.localAvatar.setZ(150/10) Super Jump
|
|
base.localAvatar.takeDamage(500) - go sad wit full laff (will say u have no laff but u rly have full)
|
|
base.localAvatar.collisionsOff() - boundaries off walk through everything
|
|
base.localAvatar.collisionsOn() - Back To Normal
|
|
base.localAvatar.setHpr(0,0,315) - sideways (alter th last number for degree)
|
|
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')) Run Back Words
|
|
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')) Sit
|
|
base.localAvatar.b_setAnimState(('walk')) Walk in Place
|
|
base.localAvatar.b_setAnimState(('Squish')) Flat For Like 5 Seconds
|
|
base.localAvatar.b_setAnimState(('Flattened')) Flat
|
|
base.localAvatar.b_setAnimState('CatchEating') Catch and Eating
|
|
base.localAvatar.b_setAnimState('Catching') Catch
|
|
base.localAvatar.b_setAnimState('TeleportOut') Invisible Until Move
|
|
base.localAvatar.b_setAnimState('TeleportIn') Come From A Whole
|
|
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') Leaveing Come Back
|
|
base.localAvatar.b_setAnimState('TeleportIn') Leaveing Come Back Faster
|
|
base.localAvatar.setPos(0,0,5)
|
|
base.localAvatar.setHpr (0,270,0)
|
|
base,localAvatar.setHPr(0,40
|
|
base.localAvatar.setHpr(0,0,180) Upside Down (NeedToBeHigh)
|
|
base.localAvatar.setHpr(0,0,315) Side Ways
|
|
base.localAvatar.collisionsOff() Walk Through Anything
|
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
base.localAvatar.b_setAnimState('Push')
|
|
base.localAvatar.b_setAnimStatcats
|
|
---------------Victory Back Words Try Use Another Code Too--------------------------
|
|
Click 1
|
|
Normal base.accept("1", base.localAvatar.b_setAnimState, ['victory', -1])
|
|
Speed base.accept("1", base.localAvatar.b_setAnimState, ['victory', -3])
|
|
Slow base.accept("1", base.localAvatar.b_setAnimState, ['victory', -.1])
|
|
Auto
|
|
messenger.send([base.localAvatar.b_setAnimState('victory', -1)])
|
|
------------------Pharses----------------------------
|
|
Take Out Singing Like This base.localAvatar.b_setSC(50701)
|
|
base.localAvatar.b_setSCSinging(1)
|
|
base.localAvatar.b_setSCSinging(2)
|
|
base.localAvatar.b_setSCSinging(3)
|
|
base.localAvatar.b_setSCSinging(4) = speedchatplus!
|
|
base.localAvatar.b_setSCSinging(1700)
|
|
base.localAvatar.b_setSCSinging(1701)
|
|
base.localAvatar.b_setSCSinging(1702)
|
|
base.localAvatar.b_setSCSinging(1703)
|
|
base.localAvatar.b_setSCSinging(1704)
|
|
base.localAvatar.b_setSCSinging(1700)
|
|
base.localAvatar.b_setSCSinging(2000)
|
|
base.localAvatar.b_setSCSinging(2001)
|
|
base.localAvatar.b_setSCSinging(2002)
|
|
base.localAvatar.b_setSCSinging(2003)
|
|
base.localAvatar.b_setSCSinging(2004)
|
|
base.localAvatar.b_setSCSinging(2005)
|
|
base.localAvatar.b_setSCSinging(2006)
|
|
base.localAvatar.b_setSCSinging(2007)
|
|
base.localAvatar.b_setSCSinging(2008)
|
|
base.localAvatar.b_setSCSinging(2009)
|
|
base.localAvatar.b_setSCSinging(2100)
|
|
base.localAvatar.b_setSCSinging(2101)
|
|
base.localAvatar.b_setSCSinging(2102)
|
|
base.localAvatar.b_setSCSinging(2103)
|
|
base.localAvatar.b_setSCSinging(2104)
|
|
base.localAvatar.b_setSCSinging(2105)
|
|
base.localAvatar.b_setSCSinging(2106)
|
|
base.localAvatar.b_setSCSinging(2107)
|
|
base.localAvatar.b_setSCSinging(2108)
|
|
base.localAvatar.b_setSCSinging(2109)
|
|
base.localAvatar.b_setSCSinging(2200)
|
|
base.localAvatar.b_setSCSinging(2201)
|
|
base.localAvatar.b_setSCSinging(2202)
|
|
base.localAvatar.b_setSCSinging(2203)
|
|
base.localAvatar.b_setSCSinging(2204)
|
|
base.localAvatar.b_setSCSinging(2205)
|
|
base.localAvatar.b_setSCSinging(2206)
|
|
base.localAvatar.b_setSCSinging(2207)
|
|
base.localAvatar.b_setSCSinging(2208)
|
|
base.localAvatar.b_setSCSinging(2209)
|
|
base.localAvatar.b_setSCSinging(2300)
|
|
base.localAvatar.b_setSCSinging(2301)
|
|
base.localAvatar.b_setSCSinging(2302)
|
|
base.localAvatar.b_setSCSinging(2303)
|
|
base.localAvatar.b_setSCSinging(2304)
|
|
base.localAvatar.b_setSCSinging(2305)
|
|
base.localAvatar.b_setSCSinging(2306)
|
|
base.localAvatar.b_setSCSinging(2307)
|
|
base.localAvatar.b_setSCSinging(2308)
|
|
base.localAvatar.b_setSCSinging(2309)
|
|
base.localAvatar.b_setSCSinging(3200)
|
|
base.localAvatar.b_setSCSinging(3201)
|
|
base.localAvatar.b_setSCSinging(3300)
|
|
base.localAvatar.b_setSCSinging(3301)
|
|
base.localAvatar.b_setSCSinging(3400)
|
|
base.localAvatar.b_setSCSinging(3600)
|
|
base.localAvatar.b_setSCSinging(3601)
|
|
base.localAvatar.b_setSCSinging(3602)
|
|
base.localAvatar.b_setSCSinging(3603)
|
|
base.localAvatar.b_setSCSinging(4000)
|
|
base.localAvatar.b_setSCSinging(4001)
|
|
base.localAvatar.b_setSCSinging(4002)
|
|
base.localAvatar.b_setSCSinging(4100)
|
|
base.localAvatar.b_setSCSinging(4101)
|
|
base.localAvatar.b_setSCSinging(4102)
|
|
base.localAvatar.b_setSCSinging(4103)
|
|
base.localAvatar.b_setSCSinging(4104)
|
|
base.localAvatar.b_setSCSinging(4105)
|
|
base.localAvatar.b_setSCSinging(4200)
|
|
base.localAvatar.b_setSCSinging(4201)
|
|
base.localAvatar.b_setSCSinging(4202)
|
|
base.localAvatar.b_setSCSinging(4203)
|
|
base.localAvatar.b_setSCSinging(4204)
|
|
base.localAvatar.b_setSCSinging(4205)
|
|
base.localAvatar.b_setSCSinging(4206)
|
|
base.localAvatar.b_setSCSinging(4207)
|
|
base.localAvatar.b_setSCSinging(4300)
|
|
base.localAvatar.b_setSCSinging(4301)
|
|
base.localAvatar.b_setSCSinging(4302)
|
|
base.localAvatar.b_setSCSinging(4303)
|
|
base.localAvatar.b_setSCSinging(4304)
|
|
base.localAvatar.b_setSCSinging(4305)
|
|
base.localAvatar.b_setSCSinging(4306)
|
|
base.localAvatar.b_setSCSinging(4307)
|
|
base.localAvatar.b_setSCSinging(4400)
|
|
base.localAvatar.b_setSCSinging(5000)
|
|
base.localAvatar.b_setSCSinging(5100)
|
|
base.localAvatar.b_setSCSinging(5200)
|
|
base.localAvatar.b_setSCSinging(5300)
|
|
base.localAvatar.b_setSCSinging(10000)
|
|
base.localAvatar.b_setSCSinging(10001)
|
|
base.localAvatar.b_setSCSinging(10002)
|
|
base.localAvatar.b_setSCSinging(10003)
|
|
base.localAvatar.b_setSCSinging(10004)
|
|
base.localAvatar.b_setSCSinging(10005)
|
|
base.localAvatar.b_setSCSinging(10006)
|
|
base.localAvatar.b_setSCSinging(10007)
|
|
base.localAvatar.b_setSCSinging(20000)
|
|
base.localAvatar.b_setSCSinging(20001)
|
|
base.localAvatar.b_setSCSinging(20002)
|
|
base.localAvatar.b_setSCSinging(20003)
|
|
base.localAvatar.b_setSCSinging(20004)
|
|
base.localAvatar.b_setSCSinging(20005)
|
|
base.localAvatar.b_setSCSinging(20006)
|
|
base.localAvatar.b_setSCSinging(20007)
|
|
base.localAvatar.b_setSCSinging(20008)
|
|
base.localAvatar.b_setSCSinging(20009)
|
|
base.localAvatar.b_setSCSinging(50200)
|
|
base.localAvatar.b_setSCSinging(50201)
|
|
base.localAvatar.b_setSCSinging(50202)
|
|
base.localAvatar.b_setSCSinging(50203)
|
|
base.localAvatar.b_setSCSinging(50204)
|
|
base.localAvatar.b_setSCSinging(50205)
|
|
base.localAvatar.b_setSCSinging(50206)
|
|
base.localAvatar.b_setSCSinging(50207)
|
|
base.localAvatar.b_setSCSinging(50208)
|
|
base.localAvatar.b_setSCSinging(50209)
|
|
base.localAvatar.b_setSCSinging(50210)
|
|
base.localAvatar.b_setSCSinging(50211)
|
|
base.localAvatar.b_setSCSinging(60501) = weird phrases
|
|
base.localAvatar.announceBingo()
|
|
----------cords----------------
|
|
base.localAvatar.setXYZH
|
|
-------toontown central cords----------------------
|
|
base.localAvatar.setXYZH(-60.173, -8.817, 1.227, 99.147)-ttc gazeebo
|
|
base.localAvatar.setXYZH(0.197, -1.698, 3.362, 90.737) - ttc stairs
|
|
base.localAvatar.setXYZH(-118.583, 62.454, 24.603,-1219.699) - pet shop ttc
|
|
base.localAvatar.setXYZH(-83.642, -90.233, 25.336, -728.746) - GAG SHOP TTC-
|
|
base.localAvatar.setXYZH(33.977, -150.424, 3.025, 143.147) - S.S street ttc
|
|
base.localAvatar.setXYZH(-144.263, 4.647, 0.252, 84.718 ) - loopy lane ttc
|
|
base.localAvatar.setXYZH(-48.280, 87.749, 0.525, -13.600) - punchline ttc
|
|
base.localAvatar.setXYZH(15.772, 44.632, 3.825, -235.062) - sitting area ttc
|
|
base.localAvatar.setXYZH(-25.464, 4.378, 5.763, 278.846) - ddl island
|
|
------------toontown estate cords----------------------------
|
|
base.localAvatar.setXYZH(44.834, 82.225, 22.190, 284.419) - pink house
|
|
base.localAvatar.setXYZH(65.880, 10.842, 31.965, 262.562) - blue house
|
|
base.localAvatar.setXYZH(84.289, -79.017, 24.069, 120.691) -green house
|
|
base.localAvatar.setXYZH(-69.684, -125.659, 23.254, 477.882) - purple house
|
|
base.localAvatar.setXYZH(-32.025, 27.665, 11.477, 105.826) - yellow house
|
|
base.localAvatar.setXYZH(-56.939, -34.610, 28.106, -717.942) - red house
|
|
base.localAvatar.setXYZH(17.722, -143.701, -9.975, -880.455) - estate pond
|
|
-----------some zones------------------------------------
|
|
base.cr.sendSetZoneMsg(1000)
|
|
base.cr.sendSetZoneMsg(2000)
|
|
base.cr.sendSetZoneMsg(6000) - chip and dales
|
|
base.cr.sendSetZoneMsg(7000) - funny farm
|
|
base.cr.sendSetZoneMsg(2513) - flippy office
|
|
base.cr.sendSetZoneMsg(2520) - ttc hq
|
|
base.cr.sendSetZoneMsg(11100) Go To Vp Grouping (NEEDRIVER (DOwn) )
|
|
base.cr.sendSetZoneMsg(11100) - sellbot vp lobby
|
|
base.cr.sendSetZoneMsg(13000) - lawbot cj lawby
|
|
base.cr.sendSetZoneMsg(13300) - da office lawby
|
|
base.cr.sendSetZoneMsg(11200) - factory sellbot hq lobby
|
|
base.cr.sendSetZoneMsg(11500)- factory sellbot hq
|
|
base.cr.sendSetZoneMsg(459349) cashbot cfo lobby
|
|
base.cr.sendSetZoneMsg(10100) bossbot ceo lobby
|
|
base.cr.sendSetZoneMsg(66666) - no where
|
|
base.cr.sendSetZoneMsg(??????) shift and f1 copy every thing besides last to make to dig for last to
|
|
base.cr.sendSetZoneMsg(5300)
|
|
base.cr.sendSetZoneMsg(3000)
|
|
base.cr.sendSetZoneMsg(4000)
|
|
base.cr.sendSetZoneMsg(5000)
|
|
base.cr.sendSetZoneMsg(8000)
|
|
base.cr.sendSetZoneMsg(11500)
|
|
base.cr.sendSetZoneMsg(10000)
|
|
base.cr.sendSetZoneMsg(13100)
|
|
base.cr.sendSetZoneMsg(9000)
|
|
base.cr.sendSetZoneMsg(9504) - ddl gag shop
|
|
base.cr.sendSetZoneMsg(2519) - ttc gag shop
|
|
base.cr.sendSetZoneMsg(1507) - dock gag shop
|
|
base.cr.sendSetZoneMsg(9504) - ddl gag shop
|
|
base.cr.sendSetZoneMsg(2519) - ttc
|
|
base.cr.sendSetZoneMsg(11100) sellbot lobby
|
|
base.cr.sendSetZoneMsg(12100) cashbot lobby
|
|
base.cr.sendSetZoneMsg(10100) bossbot lobby
|
|
base.cr.sendSetZoneMsg(13100) lawbot lobby
|
|
-----------------------member ship codes-----------------
|
|
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
|
|
--------------------SBHQ------------Enter all at wonce ScareCrow Bat
|
|
base.localAvatar.collisionsOff()
|
|
base.localAvatar.setXYZH(0.464, -300.716, 18.521, -717.875)
|
|
base.localAvatar.setHpr(0,0,180)
|
|
base.cr.sendSetZoneMsg(7000)
|
|
base.localAvatar.b_setAnimState('teleport')
|
|
base.cr.sendSetZoneMsg(11000)
|
|
-------------------CBHQ------------------------
|
|
base.localAvatar.collisionsOff()
|
|
base.localAvatar.setXYZH(111.901, -455.717, -9.762, -6.151)
|
|
base.localAvatar.setHpr(0,0,180)
|
|
base.cr.sendSetZoneMsg(7000)
|
|
base.localAvatar.b_setAnimState('teleport')
|
|
base.cr.sendSetZoneMsg(12000)
|
|
----------------------LBHQ---------------------------------
|
|
base.localAvatar.setXYZH(-60.996,-8.419,16.232,2972.073)
|
|
base.localAvatar.setXYZH(76.033,-379.405,67.244,-1438.684)
|
|
base.localAvatar.setXYZH(-143.139,-121.279,574.566,1713.366)
|
|
base.localAvatar.setXYZH(-143.139,-121.279,574.566,1713.366)
|
|
--------------------------wire frame-----------------
|
|
base.wireframeOn()
|
|
base.wireframeOff()
|
|
----------------------sideway&flipcodes----------------------
|
|
base.localAvatar.setHpr(0,0,315) - sideway
|
|
base.localAvatar.setHpr(0,0,0) normal
|
|
base.localAvatar.setHpr(0,0,180) upside down
|
|
base.localAvatar.setHpr(0,0,80) sideways
|
|
base.localAvatar.setHpr(0,0,360) straitg
|
|
base.localAvatar.setHpr(315,315,315) - flip1
|
|
base.localAvatar.setHpr(0,90,0) on ur back
|
|
base.localAvatar.setHpr(0,270,0) on your face
|
|
base.localAvatar.setHpr(0,0,10) small sideway
|
|
--------------------Tp Any Where ---------------------
|
|
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
|
|
----------------Scare Crow Upside Down------------Use In TTC Only
|
|
base.localAvatar.collisionsOff()
|
|
base.cr.sendSetZoneMsg(7000)
|
|
base.localAvatar.b_setAnimState('teleport')
|
|
base.cr.sendSetZoneMsg(2000)
|
|
base.localAvatar.setHpr(0,0,550)
|
|
-------------------Scare Crow Normal--------------Use In TTC Only
|
|
base.localAvatar.collisionsOff()
|
|
base.cr.sendSetZoneMsg(7000)
|
|
base.localAvatar.b_setAnimState('teleport')
|
|
base.cr.sendSetZoneMsg(2000)
|
|
-----------------------TTC----------------------------------
|
|
Gazeebo= base.localAvatar.setXYZH(-60.173, -8.817, 1.227, 99.147)
|
|
Steps= base.localAvatar.setXYZH(0.197, -1.698, 3.362, 90.737)
|
|
SittingArea= base.localAvatar.setXYZH(15.772, 44.632, 3.825, -235.062)
|
|
P.PlaceTunnel= base.localAvatar.setXYZH(-48.280, 87.749, 0.525, -13.600)
|
|
L.LaneTunnel= base.localAvatar.setXYZH(-144.263, 4.647, 0.252, 84.718)
|
|
S.StreetTunnel= base.localAvatar.setXYZH(33.977, -150.424, 3.025, 143.147)
|
|
roof of bank = base.localAvatar.setXYZH(75.263, 25.442, 24.960, 1193.982)
|
|
fish tank= base.localAvatar.setXYZH(-121.198, 72.289, 25.792, -181.123)
|
|
flower pot= base.localAvatar.setXYZH(18.581, -49.105, 12.045, 1453.850)
|
|
gag shop= base.localAvatar.setXYZH(-83.642, -90.233, 25.336, -728.746)
|
|
toon hall top= base.localAvatar.setXYZH(118.364, 1.339, 67.339, 1172.075)
|
|
hq= base.localAvatar.setXYZH(33.007, 30.181, 3.698, 141.066)
|
|
back of trolley= base.localAvatar.setXYZH(-145.807, -79.902, 3.362, 47.411)
|
|
arch= base.localAvatar.setXYZH(-60.173, -8.817, 1.227, 99.147)
|
|
staris= base.localAvatar.setXYZH(0.197, -1.698, 3.362, 90.737)
|
|
corner of starirs= base.localAvatar.setXYZH(15.772, 44.632, 3.825, -235.062)
|
|
-------------------------test code-----------------------------------
|
|
base.cr.sendingclientLogout()
|
|
base.cr.sendclientLogout()
|
|
base.cr.sending clientLogout()
|
|
base.cr.send clientLogout()
|
|
base.localAvatar.sendingclientLogout()
|
|
base.localAvatar.sendclientLogout()
|
|
base.localAvatar.sending clientLogout()
|
|
base.localAvatar.send clientLogout()
|
|
base.localAvatar.b_sendingclientLogout()
|
|
base.localAvatar.b_sendclientLogout()
|
|
base.localAvatar.b_sending clientLogout()
|
|
base.localAvatar.b_send clientLogout()
|
|
base.localAvatar.b_sendclientLogout(ToonName)(('It'))
|
|
-------------------Golf Course?-----------------------------------
|
|
base.localAvatar.sendToGolfCourse(1)
|
|
------------Bot Code---------------------------------------
|
|
from direct.interval.IntervalGlobal import *
|
|
def intro():
|
|
base.localAvatar.b_setAnimState(('jumpLand'))
|
|
def part2():
|
|
base.localAvatar.b_setAnimState(('ScientistEmcee'))
|
|
def onTime():
|
|
seq = Sequence()
|
|
seq.append(Func(intro))
|
|
seq.append(Wait(.2555777775))
|
|
seq.append(Func(part2))
|
|
seq.start()
|
|
onTime()
|
|
The More u Put The More U Put With The Number Like 3 4 5
|
|
seq.append(Func(part3))
|
|
seq.append(Func(part4))
|
|
seq.append(Func(part5))
|
|
--------------Flip In Circles--------------------------
|
|
from direct.interval.IntervalGlobal import *
|
|
def start():
|
|
base.localAvatar.setZ(7)
|
|
def anim1():
|
|
base.localAvatar.b_setAnimState(('jumpLand'))
|
|
base.localAvatar.collisionsOff()
|
|
def anim2():
|
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
def flip1():
|
|
base.localAvatar.setP(90)
|
|
def flip2():
|
|
base.localAvatar.setP(180)
|
|
def flip3():
|
|
base.localAvatar.setP(270)
|
|
def flip4():
|
|
base.localAvatar.setP(360)
|
|
def end():
|
|
base.localAvatar.collisionsOn()
|
|
def onTime():
|
|
seq = Sequence()
|
|
seq.append(Func(anim1))
|
|
seq.append(Wait(.45))
|
|
seq.append(Func(anim2))
|
|
seq.append(Func(start))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Func(end))
|
|
seq.start()
|
|
onTime()
|
|
----------------Spin-----------------------------------
|
|
from direct.interval.IntervalGlobal import *
|
|
def start():
|
|
base.localAvatar.setZ(7)
|
|
def anim1():
|
|
base.localAvatar.b_setAnimState(('jumpLand'))
|
|
base.localAvatar.collisionsOff()
|
|
def anim2():
|
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
def flip1():
|
|
base.localAvatar.setH(90)
|
|
def flip2():
|
|
base.localAvatar.setH(180)
|
|
def flip3():
|
|
base.localAvatar.setH(270)
|
|
def flip4():
|
|
base.localAvatar.setH(360)
|
|
def end():
|
|
base.localAvatar.collisionsOn()
|
|
def onTime():
|
|
seq = Sequence()
|
|
seq.append(Func(anim1))
|
|
seq.append(Wait(.45))
|
|
seq.append(Func(anim2))
|
|
seq.append(Func(start))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip1))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip2))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip3))
|
|
seq.append(Wait(.1))
|
|
seq.append(Func(flip4))
|
|
seq.append(Func(end))
|
|
seq.start()
|
|
onTime()
|
|
-------------Camara Codes--------------------------------------------
|
|
base.useTrackball()
|
|
base.useDrive()render.clearFog()
|
|
base.localAvatar.pageDown()
|
|
base.localAvatar.pageUp()
|
|
base.localAvatar.setBillboardPointEye()
|
|
base.localAvatar.setBillboardPointWorld()
|
|
base.camLens.setNear(9) lens.setFov(100, 20)actor =
|
|
base.localAvatar actor.removeNode()
|
|
base.camLens.setFov(150)
|
|
base.camLens.setFar(2000)
|
|
base.localAvatar.printCamPos()
|
|
base.localAvatar.nextCameraPos(0)
|
|
base.localAvatar.clearBillboard()
|
|
base.localAvatar.lookAt(1,1,1)
|
|
base.camLens.setFov(150000000000000000000) Upside Down View
|
|
base.camLens.setFov(1500000000000000) Normal
|
|
------------------Scale Codes-----------------------------------------------
|
|
base.localAvatar.setScale(1,2,5)
|
|
base.localAvatar.setScale(3,3,3)
|
|
base.localAvatar.setScale(2,2,2)
|
|
base.localAvatar.setScale(1,2,2)
|
|
base.localAvatar.setScale(.6,.6,.6)
|
|
base.localAvatar.setScale(1)
|
|
----------------BillBoards---------------------------------------------
|
|
base.localAvatar.setBillboardAxis(10)
|
|
base.localAvatar.setBillboardAxis(5)
|
|
base.localAvatar.clearBillboard()
|
|
----------------Options Codes-------------------------------------------
|
|
base.disableAllAudio()
|
|
base.enableAllAudio()
|
|
base.enableMusic(False)
|
|
base.enableSoundEffects(True)
|
|
-----------------Toon Id/Tp To Some Won--------------------------------
|
|
base.localAvatar.setGhostMode(2)
|
|
messenger.send('gotoAvatar', [245681021, 'Meownaise', 1])
|
|
------------------------Get Id----------------------------------
|
|
messenger.send('nameTagShowAvId')
|
|
-------------------Free Codes Dont No How To Use---------------------------------
|
|
def getmembers(object, predicate=None):
|
|
"""Return all members of an object as (name, value) pairs sorted by name.
|
|
Optionally, only return members that satisfy a given predicate."""
|
|
|
|
results = []
|
|
for key in dir(object):
|
|
value = getattr(object, key)
|
|
if not predicate or predicate(value):
|
|
results.append((key, value))
|
|
print key,value
|
|
results.sort()
|
|
return results
|
|
getmembers [[<<Enter Class Here>>]]
|
|
|
|
|
|
Replace 'Enter Class Here' With: localAvatar
|
|
-------------------------Hot Keys----------------------------------------------
|
|
base.accept("f1", base.localAvatar.b_setAnimState, ['swim'])
|
|
base.accept("f2", base.localAvatar.b_setAnimState, ['SitStart'])
|
|
base.accept("f3", base.localAvatar.b_setAnimState, ['Died'])
|
|
base.accept("f4", base.localAvatar.collisionsOff, [])
|
|
base.accept("f5", base.localAvatar.b_setAnimState, ['Flattened'])
|
|
base.accept("f6", base.localAvatar.b_setAnimState, ['CatchEating'])
|
|
base.accept("f9", base.localAvatar.b_setAnimState, ['TeleportIn'])
|
|
base.accept("f10", base.localAvatar.b_setAnimState, ['TeleportOut'])
|
|
base.accept("f11", base.localAvatar.b_setAnimState, ['Push'])
|
|
base.accept("f12", base.localAvatar.b_setAnimState, ['ReadBook'])
|
|
-------------------------Hot Keys 2------------------------------------------------------
|
|
5,6, What Ever U Want To Be 1 Ft Of Air Do In That Emote
|
|
base.accept("f1", base.localAvatar.b_setAnimState, ['ScientistEmcee'])
|
|
base.accept("f2", base.localAvatar.b_setAnimState, ['ScientistJealous'])
|
|
base.accept("f3", base.localAvatar.b_setAnimState, ['ScientistWork'])
|
|
base.accept("f4", base.localAvatar.b_setAnimState, ['ScientistPlay'])
|
|
base.accept("f5", base.localAvatar.b_setAnimState, ['ScientistLessWork'])
|
|
base.accept("f6", base.localAvatar.b_setAnimState, ['GolfGoodPutt'])
|
|
base.accept("f7", base.localAvatar.b_setAnimState, ['GolfBadPutt'])
|
|
base.accept("1", base.localAvatar.b_setAnimState, ['Flattened'])
|
|
base.accept("2", base.localAvatar.b_setAnimState, ['swim'])
|
|
base.accept("3", base.localAvatar.b_setAnimState, ['victory'])
|
|
base.accept("4", base.localAvatar.b_setAnimState, ['Sit'])
|
|
base.accept("5", base.localAvatar.setZ, [2])
|
|
base.accept("6", base.localAvatar.collisionsOff, [])
|
|
base.accept("7", base.localAvatar.b_setAnimState, ['jumpSquat'])
|
|
base.accept("8", base.localAvatar.b_setAnimState, ['victory', -1])
|
|
-----------------------Hot Key 3 Super Toon---------------------------------------------
|
|
def sjasshk1():
|
|
base.localAvatar.physControls.avatarControlReverseSpeed=50
|
|
base.localAvatar.physControls.avatarControlRotateSpeed=140
|
|
base.localAvatar.physControls.avatarControlJumpForce = 45
|
|
base.localAvatar.physControls.setGravity(35)
|
|
base.localAvatar.physControls.avatarControlForwardSpeed = 60
|
|
base.localAvatar.setSystemMessage(1, 'Super Jump/Super Speed/Reverse Speed Activated')
|
|
base.accept("f2", sjasshk2, [])
|
|
def sjasshk2():
|
|
base.localAvatar.physControls.avatarControlReverseSpeed=10
|
|
base.localAvatar.physControls.avatarControlRotateSpeed=80
|
|
base.localAvatar.physControls.avatarControlJumpForce = 20
|
|
base.localAvatar.physControls.setGravity(40)
|
|
base.localAvatar.physControls.avatarControlForwardSpeed = 17
|
|
base.localAvatar.setSystemMessage(1, 'Super Jump/Super Speed/Reverse Speed De-Activated')
|
|
base.accept("f2", sjasshk1, [])
|
|
base.accept("f2", sjasshk1, [])
|
|
-------------------AnimatesLoops-------------------------------------------------------
|
|
base.localAvatar.loop('neutral')
|
|
|
|
base.localAvatar.loop('run')
|
|
|
|
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('jump-back-right')
|
|
|
|
base.localAvatar.loop('jump-z')
|
|
|
|
base.localAvatar.loop('jump-zend')
|
|
|
|
base.localAvatar.loop('jump-zhang')
|
|
|
|
base.localAvatar.loop('jump-zstart')
|
|
|
|
base.localAvatar.loop('leap-Z')
|
|
|
|
base.localAvatar.loop('leap-zend')
|
|
|
|
base.localAvatar.loop('leap-zhang')
|
|
|
|
base.localAvatar.loop('leap-zhanglong')
|
|
|
|
base.localAvatar.loop('leap-zstart')
|
|
|
|
base.localAvatar.loop('throw')
|
|
|
|
base.localAvatar.loop('press-button')
|
|
|
|
base.localAvatar.loop('running-jump')
|
|
|
|
base.localAvatar.loop('shrug')
|
|
|
|
base.localAvatar.loop('sidestep-left')
|
|
|
|
base.localAvatar.loop('teleport')
|
|
|
|
base.localAvatar.loop('victory-dance')
|
|
|
|
base.localAvatar.loop('walk')
|
|
|
|
base.localAvatar.loop('applause')
|
|
|
|
base.localAvatar.loop('begCycle')
|
|
|
|
base.localAvatar.loop('begOut')
|
|
|
|
base.localAvatar.loop('bored')
|
|
|
|
base.localAvatar.loop('bow')
|
|
|
|
base.localAvatar.loop('cast')
|
|
|
|
base.localAvatar.loop('castlong')
|
|
|
|
base.localAvatar.loop('confused')
|
|
|
|
base.localAvatar.loop('down')
|
|
|
|
base.localAvatar.loop('eat-neutral')
|
|
|
|
base.localAvatar.loop('eat-n-run')
|
|
|
|
base.localAvatar.loop('fish')
|
|
|
|
base.localAvatar.loop('fishAGAIN')
|
|
|
|
base.localAvatar.loop('fishEND')
|
|
|
|
base.localAvatar.loop('fish-neutral')
|
|
|
|
base.localAvatar.loop('game-neutral')
|
|
|
|
base.localAvatar.loop('game-run')
|
|
|
|
base.localAvatar.loop('gameThrow')
|
|
|
|
base.localAvatar.loop('give')
|
|
|
|
base.localAvatar.loop('intoBeg')
|
|
|
|
base.localAvatar.loop('intoSit')
|
|
|
|
base.localAvatar.loop('left')
|
|
|
|
base.localAvatar.loop('lose-walk')
|
|
|
|
base.localAvatar.loop('pet-end')
|
|
|
|
base.localAvatar.loop('pet-in')
|
|
|
|
base.localAvatar.loop('pet-loop')
|
|
|
|
base.localAvatar.loop('pole')
|
|
|
|
base.localAvatar.loop('pole-neutral')
|
|
|
|
base.localAvatar.loop('reel')
|
|
|
|
base.localAvatar.loop('reel-H')
|
|
|
|
base.localAvatar.loop('reel-neutral')
|
|
|
|
base.localAvatar.loop('right')
|
|
|
|
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('taunt')
|
|
|
|
base.localAvatar.loop('think')
|
|
|
|
base.localAvatar.loop('curtsy')
|
|
|
|
base.localAvatar.loop('tug-o-war')
|
|
base.localAvatar.loop('up')
|
|
|
|
base.localAvatar.loop('climb')
|
|
|
|
base.localAvatar.loop('fire-hose')
|
|
|
|
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('shout')
|
|
|
|
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('sound')
|
|
|
|
base.localAvatar.loop('callPet')
|
|
|
|
base.localAvatar.loop('feedPet')
|
|
|
|
base.localAvatar.loop('into-dig')
|
|
|
|
base.localAvatar.loop('jellybeanJar')
|
|
|
|
base.localAvatar.loop('loop-dig')
|
|
|
|
base.localAvatar.loop('phoneBack')
|
|
|
|
base.localAvatar.loop('takePhone')
|
|
|
|
base.localAvatar.loop('water')
|
|
|
|
base.localAvatar.loop('callPet')
|
|
|
|
base.localAvatar.loop('feedPet')
|
|
|
|
base.localAvatar.loop('into-dig')
|
|
|
|
base.localAvatar.loop('phoneNeutral')
|
|
|
|
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('block')
|
|
|
|
base.localAvatar.loop('push')
|
|
|
|
base.localAvatar.loop('leverNeutral')
|
|
|
|
base.localAvatar.loop('leverPull')
|
|
|
|
base.localAvatar.loop('leverReach')
|
|
|
|
base.localAvatar.loop('scientistGame')
|
|
|
|
base.localAvatar.loop('scientistWork')
|
|
|
|
base.localAvatar.loop('scientistWorkLess')
|
|
|
|
base.localAvatar.loop('scientistEmcee')
|
|
|
|
--------------------Elavtor Click Ctrl-----------------------------
|
|
base.localAvatar.physControls.avatarControlJumpForce = .1
|
|
base.localAvatar.physControls.setGravity(.00001)
|
|
|
|
Change For Random Effects
|
|
---------------------My Bot 1----------------------------------------------
|
|
from direct.interval.IntervalGlobal import *
|
|
def intro():
|
|
base.localAvatar.b_setEmoteState(0,0)
|
|
base.localAvatar.b_setSCSinging(50202)
|
|
def part2():
|
|
base.talkAssistant.sendOpenTalk('YOU FAIL')
|
|
base.localAvatar.b_setEmoteState(23,1)
|
|
def part3():
|
|
base.talkAssistant.sendOpenTalk('YES YOU ALL DO')
|
|
base.localAvatar.b_setEmoteState(22,1)
|
|
def part4():
|
|
base.talkAssistant.sendOpenTalk('WE ARE TEAM CHAIN!')
|
|
base.localAvatar.b_setEmoteState(24,1)
|
|
def part5():
|
|
base.talkAssistant.sendOpenTalk('AND YOU CANT STOP US')
|
|
base.localAvatar.b_setEmoteState(22,1)
|
|
def part6():
|
|
base.talkAssistant.sendOpenTalk('PEACE!')
|
|
base.localAvatar.b_setAnimState('TeleportOut')
|
|
def part7():
|
|
base.talkAssistant.sendOpenTalk('IM BACK!!!')
|
|
base.localAvatar.b_setAnimState('TeleportIn')
|
|
def addzone():
|
|
word = base.localAvatar.getZoneId()
|
|
word += 10
|
|
base.localAvatar.b_setLocation(base.localAvatar.defaultShard, word)
|
|
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(5))
|
|
seq.append(Func(part7))
|
|
seq.append(Wait(3))
|
|
seq.append(Func(addzone))
|
|
seq.start()
|
|
onTime()
|
|
--------------------My Bot 2------------------------------------------------------
|
|
from direct.interval.IntervalGlobal import *
|
|
def start():
|
|
base.localAvatar.setPos(23.557,-1.174,6)
|
|
def anim():
|
|
base.localAvatar.b_setAnimState(('GolfGoodPutt'))
|
|
base.localAvatar.collisionss()
|
|
def intro():
|
|
base.localAvatar.setHpr(0,0,90)
|
|
def part2():
|
|
base.localAvatar.setHpr(0,0,180)
|
|
base.talkAssistant.sendOpenTalk('.Go Purple!')
|
|
def part3():
|
|
base.localAvatar.setHpr(0,0,270)
|
|
def part4():
|
|
base.localAvatar.setHpr(0,0,360)
|
|
def part5():
|
|
base.localAvatar.collisionsOn()
|
|
def onTime():
|
|
seq = Sequence()
|
|
seq.append(Func(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Func(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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(anim))
|
|
seq.append(Wait(0))
|
|
seq.append(Func(start))
|
|
seq.append(Wait(0))
|
|
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.start()
|
|
onTime()
|
|
------------------Bot 3----------------------------------
|
|
Purple Bot:
|
|
|
|
localAvatar.b_setAnimState("Disconnected")
|
|
-------------------Force Friend List Code?------------------------------------
|
|
base.localAvatar.setFriendsList(285638390)
|
|
|
|
base.localAvatar.setFriendsList([id, id, id, id])
|
|
|
|
base.localAvatar.setFriendsList([])
|
|
-------------------Flippy Is Alive!-----------------------------------
|
|
base.localAvatar.setWhisperSCFrom(415100056, 4)
|
|
-------------------Fool Toons They Cant Tp ----------------------------------------
|
|
base.localAvatar.hide()
|
|
word = base.localAvatar.getZoneId()
|
|
word += 10
|
|
base.localAvatar.b_setLocation(base.localAvatar.defaultShard, word)
|
|
base.localAvatar.setSystemMessage(1,'Invisibility Activated')
|
|
|
|
to disable invisibility use
|
|
|
|
base.localAvatar.show()
|
|
word = base.localAvatar.getZoneId()
|
|
word -= 10
|
|
base.localAvatar.b_setLocation(base.localAvatar.defaultShard, word)
|
|
base.localAvatar.setSystemMessage(1,'Invisibility Deactivated')
|
|
---------------------Werid Camara View----------------------
|
|
base.localAvatar.setTunnelIn(1, 1, 1, 1, 1, 1)
|
|
base.localAvatar.setTunnelOut(1, 1, 1, 1, 1, 1)
|
|
base.localAvatar.setTunnelIn(1, 10, 10, 10, 100, 100)
|
|
base.localAvatar.setTunnelOut(1, 10, 10, 10, 10, 100, 100)
|
|
--------------------Change Name Server------------------------------
|
|
base.localAvatar.receiveAcceptGetName(id)
|
|
base.localAvatar.getName(id)
|
|
--------------------------Change Book Cover!!----------------------------
|
|
bookText = loader.loadTexture("Custom/Toon/AIM Main Screen.jpg")
|
|
base.localAvatar.book.setTexture(bookText, 1)
|
|
-----------------------------Gay Swinger------------------------------------
|
|
anim1 = base.localAvatar.getAnimControl('swing', 'legs')
|
|
anim1.play()
|
|
----------------------------Hq People Talk To U-------------------------
|
|
messenger.send('enterNPCToon-415100086', [2])
|
|
messenger.send('enterNPCToon-415100085', [2])
|
|
messenger.send('enterNPCToon-415100087', [2])
|
|
messenger.send('enterNPCToon-415100088', [2])
|
|
-----------------------------Race-----------------------------------
|
|
messenger.send('leaveRace')
|
|
messenger.send('imIn-banana')
|
|
messenger.send('leavingRace')
|
|
messenger.send('InputState-forward', [100])
|
|
base.localAvatar.setPos(0,0,2.5)
|
|
------------------------Goffy talk to you--------------------------------------
|
|
messenger.send('enterSuperGoofyBlatherSphere', [1])
|
|
make him stop
|
|
messenger.send('exitSuperGoofyBlatherSphere', [1])
|
|
---------------------------DC ur self----------------------------------
|
|
messenger.send('panda3d-render-error')
|
|
base.cr.lostConnection()
|
|
-----------------------------Chat-------------------------------------------
|
|
messenger.send('enterNormalChat')
|
|
----------------------------Trolley Crash-------------------------------
|
|
messenger.send('playGameDone')
|
|
messenger.send('minigameAbort')
|
|
-------------------------------Trick Or Treat------------------------------------
|
|
<toontown.ai.DistributedTrickOrTreatTarget.DistributedTrickOrTreatTarget instance at 0x1A4B8030>:
|
|
^^^^'SCCustomMsg'
|
|
----------------------------------?????????????????????????--------------------------------------
|
|
base.localAvatar.showLaughMuzzle) () *
|
|
--------------------------------Race Speed!!!!!!!!!--------------------------------------
|
|
ttv = base.cr.doFindAll("Vehicle")
|
|
for ttv in base.cr.doFindAll("Vehicle"):
|
|
ttv.setTurbo(999999)
|
|
base.accept("f6", ttv.startTurbo, [])
|
|
-------------------------------Man Skirt---------------------------------------------------
|
|
getCloset = base.cr.doFindAll("closet")
|
|
for getCloset in base.cr.doFindAll("closet"):
|
|
messenger.send('purchaseDone-' + str(getCloset.doId))
|
|
|
|
go in a closet pick a skirt and shirt
|
|
and use that code
|
|
go back in the closet
|
|
and hit cancel
|
|
-------------------------------Cogs Do What U Command----------------------------------------
|
|
rc = base.cr.doFindAll("render")
|
|
for rc in base.cr.doFindAll("render"):
|
|
rc.displayTalk("We are not worthy")
|
|
|
|
|
|
that would make everyone in the area say that
|
|
including cogs
|
|
if you wanna control doodles
|
|
you gotta change render to
|
|
your doodles name
|
|
-----------------------------------DC TOONS---------------------------------------------------------
|
|
dcToodcToon = base.cr.doFindAll("render/Little Yellow")
|
|
for dcToon in base.cr.doFindAll("render/Little Yellow"):
|
|
dcToon.setSCSinging(4)
|
|
|
|
-------------------------------More Codes-------------------------------
|
|
Faker Codes :P Trick your friends for their codes
|
|
(Administrator Privliges) base.localAvatar.find('PYTHONPATH149267-794630)
|
|
(Server Gloves) base.send.adminServ.acceptServ.localAvatar.findAllMatches('**/hands')
|
|
base.send.adminServ.base.acceptServ('1', TTGloves.setColor, [0.87,0.3,0.3])
|
|
--------------------------------------------------------------------------------------------------------------------------------------
|
|
gloves = loader.loadTexture("phase_5.5/maps/windowView_Stars2.jpg")
|
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
|
|
|
gloves = loader.loadTexture("phase_5.5/maps/flakes_border.jpg")
|
|
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
|
|
|
|
|
base.localAvatar.collisionsOff()
|
|
base.cr.sendSetZoneMsg(7000)
|
|
base.localAvatar.b_setAnimState('Teleport')
|
|
base.cr.sendSetZoneMsg(2000)
|
|
base.cr.sendSetZoneMsg(161111)
|
|
shirts3=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_sellbotCrusher.jpg")
|
|
sleve3=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_sellbotCrusher.jpg")
|
|
shorts3=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_sellbotCrusher.jpg")
|
|
base.localAvatar.findAllMatches('**/torso-top').setTexture(shirts3, 1)
|
|
base.localAvatar.findAllMatches('**/torso-bot').setTexture(shorts3, 1)
|
|
base.localAvatar.findAllMatches('**/sleeves').setTexture(sleve3, 1)
|
|
base.localAvatar.setName('Resistance Ranger')
|
|
base.localAvatar.setColor(111,0.7122,0.544)
|
|
shirts3=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistA.jpg")
|
|
sleve3=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
|
|
shorts3=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistA.jpg")
|
|
base.localAvatar.findAllMatches('**/torso-top').setTexture(shirts3, 1)
|
|
base.localAvatar.findAllMatches('**/torso-bot').setTexture(shorts3, 1)
|
|
base.localAvatar.findAllMatches('**/sleeves').setTexture(sleve3, 1)
|
|
|
|
TTGloves = base.localAvatar.findAllMatches('**/hands')
|
|
base.accept('1', TTGloves.setColor, [0.31,0.31,0.31])
|
|
|
|
messenger.send([base.localAvatar.b_setAnimState('victory',32.01)])
|
|
base.localAvatar.setScale(6)
|
|
print dir(base.localAvatar)
|
|
steps:
|
|
use this code
|
|
then look in ur newest chat log
|
|
and at bottom u will see words
|
|
covered in ' '
|
|
|
|
|
|
base.accept('9', TTGloves.setColor, [0.70,0.3,0.3])
|
|
those r the codes
|
|
messenger.send('minigameAbort')
|
|
base.localAvatar.setName((''))
|
|
TTGloves = base.localAvatar.findAllMatches('**/hands')
|
|
base.accept('1', TTGloves.setColor, [255,0,0])
|
|
base.accept('2', TTGloves.setColor, [1,0,1])
|
|
base.accept('3', TTGloves.setColor, [0,0,1])
|
|
base.accept('4', TTGloves.setColor, [0.5,000,0.520,0.2220])
|
|
base.accept('5', TTGloves.setColor, [1,1,1])
|
|
base.accept('6', TTGloves.setColor, [0,1,0])
|
|
base.accept('7', TTGloves.setColor, [0.44,0,0])
|
|
base.accept('8', TTGloves.setColor, [0.0,0.8,7.03])
|
|
base.accept('9', TTGloves.setColor, [0.87,0.3,0.3])
|
|
base.accept('0', TTGloves.setColor, [8,1,0,3,0])
|
|
base.accept('-', TTGloves.setColor, [1.999,0.4,0.2220])
|
|
base.accept('=', TTGloves.setColor, [0.111,0.5,0.2224])
|
|
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
|
|
TTGloves = base.localAvatar.findAllMatches('**/hands')
|
|
base.accept('1', TTGloves.setColor, [255,0.1,0.2])
|
|
|
|
those r gloves close up
|
|
man skirt:
|
|
closetn = base.cr.doFindAll("closet")
|
|
for closetn in base.cr.doFindAll("closet"):
|
|
messenger.send("purchaseDone-" + str(closetn.doId))
|
|
|
|
|
|
Base.Disconnect.('20.20.20.')
|
|
messenger.send(<<Number/Name>>)
|
|
Red base.localAvatar.find('**/hands').setColor(255,0,0)
|
|
Blue base.localAvatar.find('**/hands').setColor(0,0,255)
|
|
Black base.localAvatar.find('**/hands').setColor(0,0,0)
|
|
Teal base.localAvatar.find('**/hands').setColor(0,150,250)
|
|
Green base.localAvatar.find('**/hands').setColor(0,500,0)
|
|
Yellow base.localAvatar.find('**/hands').setColor(128,64,0)
|
|
Purple base.localAvatar.find('**/hands').setColor(20,0,180)
|
|
|
|
base.localAvatar.loop('reel')
|
|
|
|
|
|
Loops
|
|
base.localAvatar.loop('melt')
|
|
base.localAvatar.loop('tickle')
|
|
base.localAvatar.loop('hold-magnet')
|
|
base.localAvatar.loop('swing')
|
|
base.localAvatar.loop('smooch')
|
|
base.localAvatar.loop('happy-dance')
|
|
base.localAvatar.loop('climb')
|
|
base.localAvatar.loop('struggle')
|
|
base.localAvatar.loop('throw')
|
|
base.localAvatar.loop('reel')
|
|
|
|
base.localAvatar.setPieType(7)
|
|
base.localAvatar.setNumPies(80)
|
|
base.localAvatar.ThrowGagButtorMaxed = true
|
|
base.localAvatar.setScale(6)
|
|
base.localAvatar.b_setAnimState('flattened')
|
|
messenger.send([base.localAvatar.doBlackCatTransformation().1])
|
|
base.localAvatar.physControls.avatarControlReverseSpeed = 50
|
|
base.localAvatar.physControls.avatarControlForwardSpeed = 50
|
|
base.localAvatar.physControls.avatarControlRotateSpeed = 50
|
|
base.localAvatar.physControls.avatarControlJumpForce = 50
|
|
Disconnect Code:
|
|
Ban Block: toontown.toon.LocalToon.LocalToon.getGameAccess
|
|
Disconnect Code (may work): base.Disconnect('20.20.20') 322374
|
|
messenger.send('<< /enter here toon name>>')
|
|
SCIENTIST MOVEMENT:
|
|
base.localAvatar.setAnimState ('ScientistWork')
|
|
|
|
MAX GAGS:
|
|
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
|
base.localAvatar.setTrackBonusLevel([1,1,1,1,1,1,1])
|
|
|
|
|
|
|
|
|
|
sellbot lobby
|
|
base.cr.sendSetZoneMsg (11100)
|
|
|
|
cashbot lobby
|
|
base.cr.sendSetZoneMsg (17100)
|
|
|
|
Lawbot lobby
|
|
base.cr.sendSetZoneMsg (13100)
|
|
|
|
bossbot lobby
|
|
base.cr.sendSetZoneMsg (14100)
|
|
|
|
school house
|
|
base.cr.sendSetZoneMsg (2516)
|
|
|
|
bank
|
|
base.cr.sendSetZoneMsg (2517)
|
|
|
|
clothing shop
|
|
base.cr.sendSetZoneMsg (2521)
|
|
|
|
ttc pet shop
|
|
base.cr.sendSetZoneMsg (2522)
|
|
|
|
ttc gag shop
|
|
base.cr.sendSetZoneMsg (2519)
|
|
|
|
toon hall
|
|
base.cr.sendSetZoneMsg (2513)
|
|
|
|
speedway ticket change:
|
|
base.localAvatar.setTickets(500)
|
|
|
|
annouce bingo
|
|
base.localAvatar.annoucebingo()
|
|
|
|
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000,
|
|
6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
|
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
|
|
|
|
|
|
Sit-base.localAvatar.enterSitStart()
|
|
|
|
swim-base.localAvatar.b_setAnimState('swim')
|
|
|
|
Walk through things-base.localAvatar.collisionsOff()
|
|
|
|
Sellbot suit-base.cr.sendSetZoneMsg(11100)
|
|
|
|
makes u die-base.localAvatar.takeDamage(500)
|
|
base.localAvatar.b_setAnimState('Sad')
|
|
Flip 1-base.localAvatar.setHpr(0,0,90)
|
|
|
|
Flip 2-base.localAvatar.setHpr(0,0,135)
|
|
|
|
Flip 3-base.localAvatar.setHpr(0,0,180)
|
|
|
|
flip 4-base.localAvatar.setHpr(0,0,225)
|
|
|
|
flip 5-base.localAvatar.setHpr(0,0,270)
|
|
|
|
flip 6-base.localAvatar.setHpr(0,0,315)
|
|
|
|
flip 7-base.localAvatar.setHpr(0,0,360)
|
|
|
|
moon walk-base.localAvatar.b_setAnimState('reel')
|
|
|
|
moon run- base.localAvatar.b_setAnimState('run')
|
|
|
|
Weird Cringe thing-base.localAvatar.b_setAnimState('cringe')
|
|
|
|
all gag tracks- base.localAvatar.setTrackAccess((1,1,1,1,1,1,1))
|
|
|
|
all gag tracks bonus-base.localAvatar.setTrackBonusLevel((1,1,1,1,1,1,1)
|
|
|
|
gives u full laff when ur not full-base.localAvatar.toonUp(137)
|
|
|
|
lay on ur back- base.localAvatar.setHpr(0,90,0)
|
|
|
|
lay on ur face-base.localAvatar.setHpr(0,270,0)
|
|
|
|
go to funny farms-base.cr.sendSetZoneMsg(7000)
|
|
|
|
leave funny farms-base.cr.sendSetZoneMsg(6000)
|
|
|
|
Tp into gag shop-base.cr.sendSetZoneMsg(9504)
|
|
|
|
Teleport into Toon HQ-base.cr.sendSetZoneMsg(1507)
|
|
|
|
Have 137 laff, have to do both codes to work-
|
|
base.localAvatar.setMaxHp(137)
|
|
base.localAvatar.setHp(137)
|
|
|
|
Tp into Flippys Office-base.cr.sendSetZoneMsg(2513)
|
|
|
|
|
|
These codes disconnect u but when u log back on ur in that place
|
|
|
|
|
|
Donalds dock-base.cr.sendSetZoneMsg(1000)
|
|
|
|
Toontown Central-base.cr.sendSetZoneMsg(2000)
|
|
|
|
brrrgh-base.cr.sendSetZoneMsg(3000)
|
|
|
|
Minnies Melodyland-base.cr.sendSetZoneMsg(4000)
|
|
|
|
Daisy Garden- base.cr.sendSetZoneMsg(5000)
|
|
|
|
Goofy Speedway-base.cr.sendSetZoneMsg(8000)
|
|
|
|
Donalds Dreamland-base.cr.sendSetZoneMsg(9000)
|
|
|
|
base.localAvatar.b_setAnimState(('swim'))
|
|
|
|
base.localAvatar.collisionsOff()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
base.cr.sendSetZoneMsg(11100)
|
|
|
|
|
|
|
|
base.localAvatar.takeDamage((500))
|
|
base.localAvatar.setHpr(0,0,80)
|
|
base.localAvatar.setHpr(0,0,90)
|
|
base.localAvatar.setHpr(0,0,160)
|
|
base.localAvatar.setHpr(0,0,180)
|
|
base.localAvatar.setCogIndex(2)
|
|
base.cr.sendSetZoneMsg(11100) sellbot lobby
|
|
base.cr.sendSetZoneMsg(509718)
|
|
base.cr.sendSetZoneMsg(12100) cashbot lobby
|
|
base.cr.sendSetZoneMsg(10100) bossbot lobby
|
|
base.cr.sendSetZoneMsg(13100) lawbot lobby
|
|
base.localAvatar.setPinkSlips((1))
|
|
base.cr.sendSetZoneMsg(7000) - funny farm
|
|
base.localAvatar.b_setAnimState(('swim')) - swim in air
|
|
base.localAvatar.b_setAnimState(('run')) - run in place
|
|
base.localAvatar.b_setAnimState(('Teleport')) - walk in place
|
|
base.localAvatar.b_setAnimState(('cringe')) - cringe in place lol
|
|
base.localAvatar.enterSitStart()is sit - sit in air
|
|
base.localAvatar.takeDamage(500) - go sad wit full laff (will say u
|
|
have no laff but u rly have full)
|
|
base.localAvatar.collisionsOff() - boundaries off walk through everything
|
|
base.localAvatar.setHpr(0,0,315) - sideways (alter th last number for degree)
|
|
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
|
base.localAvatar.b_setAnimState('Squish')
|
|
base.localAvatar.b_setAnimState('Push')
|
|
base.localAvatar.b_setAnimState('ReadBook')
|
|
base.localAvatar.b_setAnimState('CloseBook')
|
|
base.localAvatar.b_setAnimState(('GolfGoodPutt'))
|
|
base.localAvatar.b_setAnimState(('GolfBadPutt'))
|
|
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
|
base.localAvatar.b_setAnimState(('Flattened'))
|
|
base.localAvatar.b_setAnimState(('Catching'))
|
|
base.localAvatar.b_setAnimState(('victory'))
|
|
base.cr.sendSetZoneMsg(9505)
|
|
base.localAvatar.b_setAnimState(('teleport'))
|
|
|
|
base.cr.sendSetZoneMsg(2513) --- cog suit
|
|
|
|
base.localAvatar.b_setAnimState(('ScientistEmcee'))
|
|
|
|
base.localAvatar.b_setAnimState(('ScientistJealous')) ---silly meter
|
|
|
|
base.cr.sendSetZoneMsg(9505)
|
|
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])
|
|
base.cr.sendSetZoneMsg(10339)
|
|
|
|
|
|
base.localAvatar.b_setAnimState(('TeleportOut'))
|
|
base.localAvatar.b_setAnimState(('Died'))
|
|
|
|
|
|
Fritz
|
|
|
|
|
|
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(('Died'))
|
|
base.localAvatar.b_setAnimState(('dive'))
|
|
base.localAvatar.b_setAnimState('CatchEating')
|
|
base.localAvatar.b_setAnimState('TeleportOut')
|
|
base.localAvatar.b_setAnimState('TeleportIn')
|
|
base.localAvatar.b_setAnimState(('GolfRotateRight'))
|
|
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.b_setAnimState(('Sleep')
|
|
base.localAvatar.setCheesyEffect(3, 0, 0)
|
|
|
|
base.localAvatar.b_setAnimState('Push')
|
|
Other Scientist Movement:
|
|
base.localAvatar.b_setAnimState('ScientistWork')
|
|
Sad Toon:
|
|
base.localAvatar.b_setAnimState('Sit')
|
|
Change Name:
|
|
base.localAvatar.setName('Freckleslam')
|
|
Flat Toon:
|
|
base.localAvatar.b_setAnimState('Flattened')
|
|
Toon Sleep:
|
|
base.localAvatar.b_setAnimState('Sleep')
|
|
sel
|
|
Walk Everywhere:
|
|
base.localAvatar.collisionsOff()
|
|
Upside Down:
|
|
base.localAvatar.setHpr(0,0,180)
|
|
Go to Funny Farm:
|
|
base.cr.sendSetZoneMsg(7000)
|
|
Leave Funny Farm:
|
|
base.cr.sendSetZoneMsg(6000)
|
|
Scientist EMotion:
|
|
base.localAvatar.b_setAnimState('ScientistLessWork')
|
|
SCarecrow:
|
|
base.localAvatar.b_setAnimState('TeleportOut')
|
|
TTC Toon Hall:
|
|
base.cr.sendSetZoneMsg(2520)
|
|
Cog Lobby's:
|
|
base.cr.sendSetZoneMsg(11100) sellbot lobby
|
|
base.cr.sendSetZoneMsg(12100) cashbot lobby
|
|
base.cr.sendSetZoneMsg(13100) lawbot lobby
|
|
base.cr.sendSetZoneMsg(14100) bossbot lobby
|
|
Pink Slips:
|
|
base.localAvatar.setPinkSlips((200))
|
|
funny emotion:
|
|
base.localAvatar.b_setAnimState('CatchEating')
|
|
TTC Professor Pete:
|
|
base.cr.sendSetZoneMsg(2516)
|
|
TTC Tailor Shop:
|
|
base.cr.sendSetZoneMsg(2521)
|
|
TTC Bank:
|
|
base.cr.sendSetZoneMsg(2517)
|
|
TTC Pet Shop:
|
|
base.cr.sendSetZoneMsg(2522)
|
|
TTC Gag Shop:
|
|
base.cr.sendSetZoneMsg(2522)
|
|
TTC Scientists Office Lab:
|
|
base.cr.sendSetZoneMsg(2513)
|
|
HP For Toon:
|
|
base.localAvatar.setMaxHp(100)
|
|
Donalds Dock HQ
|
|
base.cr.sendSetZoneMsg(7000)
|
|
Ghost Toon:
|
|
base.localAvatar.setGhostMode(8)
|
|
Reduce Toons Health:
|
|
base.localAvatar.takeDamage(15)
|
|
Set How Many Gags you carry:
|
|
base.localAvatar.setMaxCarry(9999)
|
|
Able to have 4 toon taks:
|
|
base.localAvatar.setQuestCarryLimit(4)
|
|
Change amount of clothes you can get:
|
|
base.localAvatar.setMaxClothes(500)
|
|
Few Phrases:
|
|
base.localAvatar.setSCSinging(4) go down to 1
|
|
Set SKill Of Shoveling:
|
|
base.localAvatar.promoteShovel(3)
|
|
Set SKill of Watering Can:
|
|
base.localAvatar.promoteWateringCan(3)
|
|
Set Watering Can SKill:
|
|
base.localAvatar.setWateringCanSkill(30)
|
|
Set Shovel Skill:
|
|
base.localAvatar.setShovelSkill(30)
|
|
Gives u cog suit
|
|
base.localAvatar.setCogIndex(0)
|
|
base.localAvatar.setCogIndex(1)
|
|
base.localAvatar.setCogIndex(2)
|
|
base.localAvatar.setCogIndex(3)
|
|
Wire LOL
|
|
base.wireframeOn()
|
|
Looks like using clip board
|
|
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
|
Pats air
|
|
base.localAvatar.b_setAnimState(('ScientistLessWork'))
|
|
Squish and jump up
|
|
base.localAvatar.b_setAnimState(('Squish'))
|
|
Non stop dancing
|
|
base.localAvatar.b_setAnimState(('victory'))
|
|
Hitting Golf ball
|
|
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
|
Shakes booty
|
|
base.localAvatar.b_setAnimState(('GolfPuttLoop'))
|
|
In groud and cringe
|
|
base.localAvatar.b_setAnimState(('cringe'))
|
|
In battle and died
|
|
base.localAvatar.b_setAnimState(('Died'))
|
|
Tp in
|
|
base.localAvatar.b_setAnimState(('TeleportIn'))
|
|
Tp out(ur a ghost)
|
|
base.localAvatar.b_setAnimState(('TeleportOut'))
|
|
Moonwalk 1
|
|
base.localAvatar.b_setAnimState(('run'))
|
|
Moonwalk 2
|
|
base.localAvatar.b_setAnimState(('walk'))
|
|
Ur a ghost no one can see u till u ipen ur book
|
|
Tilt stuff
|
|
base.localAvatar.setHpr(0,0,90)
|
|
base.localAvatar.setHpr(0,0,135)
|
|
base.localAvatar.setHpr(0,0,180)
|
|
base.localAvatar.setHpr(0,0,225)
|
|
base.localAvatar.setHpr(0,0,270)
|
|
base.localAvatar.setHpr(0,0,315)
|
|
base.localAvatar.setHpr(0,0,360)
|
|
base.localAvatar.b_setAnimState(('Catching'))
|
|
All the Merits,Bucks,Notices,Options
|
|
base.localAvatar.setCogMerits([100,60,40,20])
|
|
Cog suit
|
|
base.cr.sendSetZoneMsg(2520)
|
|
Fishing tropies
|
|
base.localAvatar.setFishingTrophies([0,1,2,3,4,5,6])
|
|
Change name tag
|
|
base.localAvatar.setNametagStyle(13) 0-13
|
|
Go to esates
|
|
base.cr.sendSetZoneMsg(7000)
|
|
Black Mouth:
|
|
base.localAvatar.setColor(0)
|
|
White Mouth:
|
|
base.localAvatar.setColor(1)
|
|
Stay In Mid Air:
|
|
base.localAvatar.b_setAnimState(('jumpAirborne'))
|
|
base.localAvatar.b_setAnimState(('jumpLand'))
|
|
base.localAvatar.setMoney(999)
|
|
ryan denny: base.localAvatar.b_setAnimState(('OpenBook'))
|
|
Super Man
|
|
base.localAvatar.collisionsOff()
|
|
base.localAvatar.setPos(0,0,5)
|
|
base.localAvatar.setHpr(0,270,0)
|
|
Golfing stuff
|
|
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
|
base.localAvatar.b_setAnimState(('GolfPuttLoop'))
|
|
base.localAvatar.b_setAnimState(('GolfBadPutt'))
|
|
base.localAvatar.b_setAnimState(('GolfGoodPutt'))
|
|
Start Garden:
|
|
base.localAvatar.setGardenStarted()
|
|
Ghost Toon:
|
|
base.localAvatar.setGhostMode(8)
|
|
Snowman head
|
|
base.localAvatar.setCheesyEffect(14,0,0)
|
|
Pumpkin head
|
|
base.localAvatar.setCheesyEffect(12,0,0)
|
|
Big Head
|
|
base.localAvatar.setCheesyEffect(1,0,0)
|
|
Tiny Head
|
|
base.localAvatar.setCheesyEffect(2,0,0)
|
|
Big Feet
|
|
base.localAvatar.setCheesyEffect(3,0,0)
|
|
Small Feet
|
|
base.localAvatar.setCheesyEffect(4,0,0)
|
|
Tiny
|
|
base.localAvatar.setCheesyEffect(6,0,0)
|
|
Flat Profile
|
|
base.localAvatar.setCheesyEffect(7,0,0)
|
|
base.localAvatar.setCheesyEffect(8,0,0)
|
|
Transparent
|
|
base.localAvatar.setCheesyEffect(9,0,0)
|
|
White
|
|
base.localAvatar.setCheesyEffect(10,0,0)
|
|
base.localAvatar.setCheesyEffect(13,0,0)
|
|
Invisible
|
|
base.localAvatar.setCheesyEffect(11,0,0)
|
|
base.localAvatar.setEmoteAccess([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])
|
|
FAKE WHISPER/FAKE ADMIN: Only you see it.
|
|
base.localAvatar.setSystemMessage(1,'Attention The Order Of Corrupt Servers: We will be having a party in Corruption Land starting at 8:00PM. Scincerly, Charles ')
|
|
EXAMPLE:
|
|
base.localAvatar.setSystemMessage(1,'Admin: We are going to have maintance cuz of your hack. :).')
|
|
FAKE THROWING PIES/EVIDENCE: - Only you can see it.
|
|
base.localAvatar.setNumPies(100) - ammo
|
|
base.localAvatar.setPieType(7) - From 1-7? - WEDDING THROW DISCONNECTS.
|
|
SUPER SPEED:
|
|
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
|
SUPER JUMP:
|
|
base.localAvatar.physControls.avatarControlJumpForce = 100
|
|
JUST FOR FUN THING TASKS: - Only you can see it.
|
|
base.localAvatar.setCheesyEffect(7,3,5) - Mess with the numbers.
|
|
Version 2:
|
|
COG TUTORIAL
|
|
go into cog vp,ceo,cj,or ceo office
|
|
and type in this code
|
|
after that you will be in flippys office then go outside
|
|
TAHDAH U HAVE A COG SUIT AT PLAYGROUND
|
|
base.cr.sendSetZoneMsg(2513)
|
|
toonup
|
|
base.localAvatar.toonup(137)
|
|
rotate
|
|
base.localAvatar.setHpr(0,90,0)
|
|
base.localAvatar.setHpr(0,270,0)
|
|
somewhere XD
|
|
base.cr.send.SetZonemsg(6000)
|
|
set toon laff points
|
|
base.localAvatar.setMaxHp(137)
|
|
base.localAvatar.setHp(137)
|
|
somewhere
|
|
base.cr.sendSetZoneMsg(1507)
|
|
pink slips
|
|
base.localAvatar.setPinkSlips((1))
|
|
funny farm
|
|
|
|
- swim in air
|
|
base.localAvatar.setColor(0)
|
|
run in place
|
|
base.localAvatar.b_setAnimState(('run')) -
|
|
walk in place
|
|
base.localAvatar.b_setAnimState(('walk')) -
|
|
cringe in place lol
|
|
base.localAvatar.b_setAnimState(('cringe')) -
|
|
sit in air
|
|
base.localAvatar.enterSitStart()is sit
|
|
boundaries walk off walk through everything on and off
|
|
base.localAvatar.collisionsOff() -
|
|
base.localAvatar.collisionsOn()
|
|
underground
|
|
base.localAvatar.b_setAnimState('teleport')
|
|
tickets
|
|
base.localAvatar.setTickets(800)
|
|
Push
|
|
base.localAvatar.b_setAnimState(('Push'))
|
|
Flat
|
|
base.localAvatar.b_setAnimState(('Flattened'))
|
|
Squish
|
|
base.localAvatar.b_setAnimState(('Squish'))
|
|
Dance
|
|
base.localAvatar.b_setAnimState(('victory'))
|
|
Ghost
|
|
base.localAvatar.setGhostMode(2)
|
|
Scientist stuff funny :D
|
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
|
base.localAvatar.b_setAnimState(('ScientistWork'))
|
|
base.localAvatar.b_setAnimState(('ScientistWork'))
|
|
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
|
all gag tracks
|
|
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
|
Everything with wires
|
|
base.wireframeon()
|
|
some place XD
|
|
base.cr.Zone(11000)
|
|
base.localAvatar.numPies? = 100000
|
|
base.localAvatar.loop('climb')
|
|
base.localAvatar.loop('swing')
|
|
base.localAvatar.loop('throw')
|
|
base.localAvatar.loop('sound')
|
|
base.localAvatar.b_setSCSinging(50103) Walk the Plank!
|
|
base.localAvatar.b_setSCSinging(50108) I don't fear death - I attune it!
|
|
base.localAvatar.b_setSCSinging(50702) Yo-Ho-Ho
|
|
base.localAvatar.b_setSCSinging(20000) Its my day off!
|
|
base.localAvatar.b_setSCSinging(20001) I believe you're in the wrong office.
|
|
base.localAvatar.b_setSCSinging(20002) Have your people call my people.
|
|
base.localAvatar.b_setSCSinging(20003) Your in no position to meet with me.
|
|
base.localAvatar.b_setSCSinging(20004) Talk to my Assistant
|
|
Sideways Swim:
|
|
base.localAvatar.setHpr(0,0,80)
|
|
base.localAvatar.collisionsOff()
|
|
base.localAvatar.b_setAnimState(('swim'))
|
|
base.localAvatar.collisionsOff()
|
|
|
|
GOOFY SPEEDWAY
|
|
base.cr.sendSetZoneMsg(8501) car store
|
|
TOONTOWN CENTERAL
|
|
base.localAvatar.b_setSCSinging(20136)
|
|
base.localAvatar.loop('climb')
|
|
base.cr.sendSetZoneMsg(120649)
|
|
base.cr.sendSetZoneMsg(2520) ttc hq
|
|
base.cr.sendSetZoneMsg(2513) ttc toon hall
|
|
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
|
|
CHIP 'N DALE'S ACORN ACRES
|
|
base.cr.sendSetZoneMsg(6000) Chip 'n Dale's Acorn Acres
|
|
base.cr.sendSetZoneMsg(339279)
|
|
DONALD DOCK
|
|
base.cr.sendSetZoneMsg(1507) donald dock hq
|
|
base.cr.sendSetZoneMsg(1508) donald dock cloth store (do after ttc hq)
|
|
DAISY GARDEN
|
|
|
|
base.cr.sendSetZoneMsg(5501) daisy garden gag store
|
|
|
|
base.cr.sendSetZoneMsg(5502) daisy garden hq
|
|
|
|
base.cr.sendSetZoneMsg(5503) daisy garden cloth store
|
|
|
|
|
|
|
|
MINNIE'S MELODYLAND
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
BRRRGH
|
|
|
|
|
|
base.cr.sendSetZoneMsg(3507) Brrrgh gag shop
|
|
|
|
base.cr.sendSetZoneMsg(3508) Brrrgh hq
|
|
|
|
base.cr.sendSetZoneMsg(3509) Brrrgh cloth store
|
|
|
|
|
|
|
|
|
|
|
|
DONALD DREAMLAND
|
|
|
|
|
|
base.cr.sendSetZoneMsg(9504) Donald Dreamland Gag shop
|
|
|
|
base.cr.sendSetZoneMsg(9501) Donald Dreamland Cloth store idk which
|
|
|
|
base.cr.sendSetZoneMsg(9503) Donald Dreamland Cloth store idk which
|
|
|
|
base.cr.sendSetZoneMsg(9505) Donald Dreamland hq
|
|
|
|
|
|
base.cr.sendSetZoneMsg(129071)
|
|
|
|
|
|
Hpr
|
|
|
|
base.localAvatar.setHpr(0,270,0)
|
|
|
|
base.localAvatar.setHpr(0,0,80)
|
|
|
|
base.localAvatar.setExperience('9999999999999999999')
|
|
base.localAvatar.winterCarolingTargetMet(9000)
|
|
Laff
|
|
|
|
base.localAvatar.toonUp(137)
|
|
|
|
base.localAvatar.setMaxHp(137)
|
|
|
|
base.localAvatar.setHp(137)
|
|
|
|
base.localAvatar.takeDamage((500))
|
|
|
|
base.localAvatar.b_setAnimState(('Sad'))
|
|
|
|
base.localAvatar.b_setAnimState(('Died'))
|
|
base.localAvatar.setMaxCarry(10000)
|
|
|
|
|
|
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
|
base.cr.sendSetZoneMsg(7000)
|
|
base.cr.sendSetZoneMsg(2000)
|
|
|
|
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
|
base.localAvatar.setPinkSlips((#))
|
|
|
|
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
|
|
|
base.localAvatar.setTickets(#)
|
|
|
|
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])
|
|
|
|
base.localAvatar.setTrackBonusLevel([7,7,7,7,7,7,7])
|
|
|
|
base.localAvatar.setPetTrickPhrases([0,1,2,3,4,5,6])
|
|
|
|
base.localAvatar.setEmoteAccess([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])
|
|
|
|
base.localAvatar.setPinkSlips((#))
|
|
|
|
base.localAvatar.book.pages[1].showPop = 1
|
|
|
|
Tranform
|
|
base.localAvatar.find('**/hands').setColor(0,0000,0) - black
|
|
base.localAvatar.find('**/hands').setColor(1,0000,0) - red
|
|
base.localAvatar.find('**/hands').setColor(1,0000,1) - pink
|
|
base.localAvatar.find('**/hands').setColor(0,0000,1) - blue
|
|
base.localAvatar.find('**/hands').setColor(0,1000,0) - green
|
|
base.localAvatar.find('**/hands').setColor(0,1000,1) - cyan
|
|
base.localAvatar.find('**/hands').setColor(1,1000,0) - yellow
|
|
base.localAvatar.find('**/hands').setColor(1,1000,1) - white
|
|
|
|
|
|
base.localAvatar.setCheesyEffect(14, 0, 0)
|
|
|
|
base.localAvatar.setCogIndex(2)
|
|
|
|
base.localAvatar.setGhostMode(2)
|
|
|
|
|
|
|
|
Actions
|
|
|
|
base.localAvatar.b_setAnimState(('swim'))
|
|
|
|
base.localAvatar.b_setAnimState(('run'))
|
|
|
|
base.localAvatar.b_setAnimState(('walk'))
|
|
|
|
base.localAvatar.b_setAnimState(('cringe'))
|
|
|
|
base.localAvatar.enterSitStart()
|
|
|
|
base.localAvatar.b_setAnimState('teleport')
|
|
|
|
base.localAvatar.b_setAnimState(('Push'))
|
|
|
|
base.localAvatar.b_setAnimState(('flat'))
|
|
base.localAvatar.b_setAnimStatebase.Disconnect('20.20.20') 322374
|
|
base.localAvatar.b_setAnimState(('Squish'))
|
|
base.localAvatar.b_setAnimState(('victory'))
|
|
base.localAvatar.b_setAnimState(('jumpSquat'))
|
|
base.localAvatar.b_setAnimState(('FallDown'))
|
|
base.cr.sendSetZoneMsg(11100) sellbot lobby
|
|
base.localAvatar.b_setAnimState(('GolfRotateRight'))
|
|
TTGloves = base.localAvatar.findAllMatches('**/hands')
|
|
base.accept('1', TTGloves.setColor, [255,0,0])
|
|
base.accept('2', TTGloves.setColor, [1,0,1])
|
|
base.accept('3', TTGloves.setColor, [0,0,1])
|
|
base.accept('4', TTGloves.setColor, [0.5,000,0.520,0.2220])
|
|
base.accept('5', TTGloves.setColor, [1,1,1])
|
|
base.accept('6', TTGloves.setColor, [0,1,0])
|
|
base.accept('7', TTGloves.setColor, [0,0,0])
|
|
base.accept('8', TTGloves.setColor, [0.0,0.8,7.03])
|
|
base.accept('9', TTGloves.setColor, [0.87,0.3,0.3])
|
|
base.accept('0', TTGloves.setColor, [8,1,0,3,0])
|
|
base.accept('-', TTGloves.setColor, [1.999,0.4,0.2220])
|
|
base.accept('=', TTGloves.setColor, [0.111,0.5,0.2224])
|
|
base.localAvatar.b_setAnimState('ScientistPlay')
|
|
base.localAvatar.b_setAnimState('ScientistWork')
|
|
base.localAvatar.b_setAnimState('ScientistLessWork')
|
|
base.localAvatar.b_setSCSinging(4)
|
|
base.localAvatar.b_setAnimState(('dive'))
|
|
base.localAvatar.setName(('put the name here'))
|
|
base.localAvatar.setXYZH(86.419,-80.021,22.293,-10.502)
|
|
base.localAvatar.b_setAnimState(('GolfBadPutt'))
|
|
base.localAvatar.b_setAnimState(('GolfPuttLoop'))
|
|
|
|
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
|
|
|
base.localAvatar.b_setAnimState(('Sit'))
|
|
|
|
base.localAvatar.b_setAnimState('CatchEating')
|
|
|
|
base.localAvatar.b_setAnimState('Flattened')
|
|
|
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
|
|
base.localAvatar.b_setAnimState(('ReadBook'))
|
|
|
|
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
|
|
|
base.localAvatar.b_setAnimState(('GolfPuttLoop'))
|
|
|
|
base.localAvatar.b_setAnimState('walk')
|
|
|
|
base.localAvatar.b_setAnimState(('TeleportIn'))
|
|
|
|
base.localAvatar.b_setAnimState(('TeleportOut'))
|
|
|
|
base.localAvatar.b_setAnimState('SitStart')
|
|
|
|
base.cr.sendSetZoneMsg(7000)
|
|
|
|
base.localAvatar.setNumPies(100)
|
|
|
|
|
|
base.localAvatar.setColor(0)
|
|
|
|
|
|
base.localAvatar.setPieType(5)
|
|
|
|
|
|
|
|
base.wireframeOn()
|
|
base.localAvatar.collisionsOff()
|
|
base.localAvatar.collisionsOn()
|
|
|
|
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
|
|
|
base.localAvatar.physControls.avatarControlJumpForce = 100
|
|
|
|
|
|
Members
|
|
|
|
def new():
|
|
return True
|
|
def new2(*a,**k):
|
|
return 2
|
|
base.cr.isPaid = new
|
|
base.cr.isParentPasswordSet = new
|
|
toontown.toon.LocalToon.LocalToon.getGameAccess=
|
|
Item land:
|
|
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 *
|
|
environ = loader.loadModel("phase_4/models/minigames/tag_arena.bam")
|
|
environ.reparentTo(render)
|
|
environ.setPos(0,0,0)
|
|
environ.setHpr(0,0,0)
|
|
environ.setScale(3)
|
|
|
|
hall = loader.loadModel("phase_4/models/modules/toonhall.bam")
|
|
hall.reparentTo(render)
|
|
hall.setPos(-56.763,137.830,0.025)
|
|
hall.setHpr(0,0,0)
|
|
hall.setScale(3)
|
|
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
|
e.reparentTo(render)
|
|
e.setHpr(0,0,0)
|
|
e.setPos(10.389,85.279,0.025)
|
|
|
|
pandaPosInterval22 = e.posInterval(13,Point3(10.389,85.279,0.025),
|
|
startPos=Point3(0,114.03,127.50))
|
|
pandaPosInterval33 = e.posInterval(13,Point3(10.389,85.279,150.50),
|
|
startPos=Point3(10.389,85.279,0.025))
|
|
pandaHprInterval11 = e.hprInterval(3,Point3(0,0,0),
|
|
startHpr=Point3(0, 0, 0))
|
|
pandaHprInterval22 = e.hprInterval(3,Point3(0, 0, 0),
|
|
startHpr=Point3(0, 0, 0))
|
|
pandaPace = Sequence(pandaPosInterval22,
|
|
pandaHprInterval11,
|
|
pandaPosInterval33,
|
|
pandaHprInterval22,
|
|
name="pandaPace")
|
|
pandaPace.loop()
|
|
|
|
e.find('**/wall_back').removeNode()
|
|
e.find('**/wall_front').removeNode()
|
|
|
|
c = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
|
c.setPos(-9.98,139.11,117.38)
|
|
c.setHpr(0,340.30,0)
|
|
c.hide()
|
|
c.reparentTo(render)
|
|
c.find('**/wall_back').removeNode()
|
|
c.find('**/wall_front').removeNode()
|
|
c.find('**/wall_left').removeNode()
|
|
c.find('**/wall_right').removeNode()
|
|
c.find('**/ceiling').removeNode()
|
|
|
|
castle = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_castle.bam")
|
|
castle.reparentTo(render)
|
|
castle.setPos(-75.215,-196.153,0.025)
|
|
castle.setHpr(2218,0,0)
|
|
castle.setScale(10)
|
|
|
|
mail1 = Actor("phase_5/models/char/tt_r_ara_ttc_mailbox.bam",{"cheer":"phase_5/models/char/tt_a_ara_ttc_mailbox_fightCheer.bam"})
|
|
mail1.reparentTo(render)
|
|
mail1.loop("cheer")
|
|
mail1.setPos(-41.727,-105.031,0.025)
|
|
mail1.setHpr(100.490,0,0)
|
|
mail1.setScale(1)
|
|
|
|
mgr = loader.loadModel("phase_13/models/parties/partyMerryGoRound.bam")
|
|
mgr.reparentTo(render)
|
|
mgr.setPos(-174.215,-35.153,0.025)
|
|
mgr.setHpr(0,0,0)
|
|
mgr.setScale(5)
|
|
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()
|
|
evsign = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
|
evsign.reparentTo(render)
|
|
evsign.setPos(-3.082,85.281,0.025)
|
|
evsign.setHpr(0,0,0)
|
|
evsign.setScale(2)
|
|
|
|
cogplat = loader.loadModel("phase_9/models/cogHQ/platform2.bam")
|
|
cogplat.reparentTo(render)
|
|
cogplat.setPos(9,80.153,150)
|
|
cogplat.setHpr(0,0,0)
|
|
cogplat.setScale(5)
|
|
|
|
cogplat1 = loader.loadModel("phase_9/models/cogHQ/platform2.bam")
|
|
cogplat1.reparentTo(render)
|
|
cogplat1.setPos(9,40.153,150)
|
|
cogplat1.setHpr(0,0,0)
|
|
cogplat1.setScale(1)
|
|
|
|
cogstairs6 = loader.loadModel("phase_9/models/cogHQ/StairTen3060_15wide.bam")
|
|
cogstairs6.reparentTo(render)
|
|
cogstairs6.setPos(15,34.153,150)
|
|
cogstairs6.setHpr(270,0,0)
|
|
cogstairs6.setScale(25)
|
|
cogstairs2 = loader.loadModel("phase_9/models/cogHQ/StairTen3060_15wide.bam")
|
|
cogstairs2.reparentTo(render)
|
|
cogstairs2.setPos(15,16.153,158)
|
|
cogstairs2.setHpr(270,0,0)
|
|
cogstairs2.setScale(25)
|
|
|
|
cogplat5 = loader.loadModel("phase_9/models/cogHQ/platform1.bam")
|
|
cogplat5.reparentTo(render)
|
|
cogplat5.setPos(9,-20,166)
|
|
cogplat5.setHpr(0,0,0)
|
|
cogplat5.setScale(8)
|
|
|
|
cogplat3 = loader.loadModel("phase_9/models/cogHQ/platform1.bam")
|
|
cogplat3.reparentTo(render)
|
|
cogplat3.setPos(9,-82,166)
|
|
cogplat3.setHpr(0,0,0)
|
|
cogplat3.setScale(8)
|
|
|
|
cogplat4 = loader.loadModel("phase_9/models/cogHQ/platform1.bam")
|
|
cogplat4.reparentTo(render)
|
|
cogplat4.setPos(65,-82,166)
|
|
cogplat4.setHpr(0,0,0)
|
|
cogplat4.setScale(8)
|
|
nc = loader.loadModel("phase_12/models/bossbotHQ/BanquetInterior_1.bam")
|
|
nc.reparentTo(render)
|
|
nc.setPos(300,-82,166)
|
|
nc.setHpr(270,0,0)
|
|
nc.setScale(2)
|
|
|
|
|
|
cogplat4 = loader.loadModel("phase_9/models/cogHQ/platform1.bam")
|
|
cogplat4.reparentTo(render)
|
|
cogplat4.setPos(125,-82,166)
|
|
cogplat4.setHpr(0,0,0)
|
|
cogplat4.setScale(8)
|
|
|
|
nc.find('**/doorwood').setHpr(90,0,0)
|
|
|
|
ceosign = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
|
ceosign.reparentTo(render)
|
|
ceosign.setPos(289.082,-62.281,166.025)
|
|
ceosign.setHpr(270,0,0)
|
|
ceosign.setScale(2)
|
|
|
|
dance = loader.loadModel("phase_13/models/parties/danceFloor.bam")
|
|
dance.reparentTo(render)
|
|
dance.setPos(618.082,-109.281,166.025)
|
|
dance.setHpr(270,0,0)
|
|
dance.setScale(8)
|
|
messenger.send('clearOutToonInterior')
|
|
|
|
from direct.interval.IntervalGlobal import *
|
|
def intro():
|
|
base.localAvatar.b_setEmoteState(0,0)
|
|
base.localAvatar.b_setSCSinging(50701)
|
|
def part2():
|
|
base.talkAssistant.sendOpenTalk('.I AM KING I AM KING I AM KING I AM KING I AM KING I AM KING I AM KING')
|
|
base.localAvatar.b_setEmoteState(23,1)
|
|
def part3():
|
|
base.talkAssistant.sendOpenTalk('CEO CEO CEO CEO CEO CEO CEO CEO CEO CEO CEO CEO CEO CEO!)
|
|
base.localAvatar.b_setEmoteState(22,1)
|
|
def part4():
|
|
base.talkAssistant.sendOpenTalk('ANTIS FAIL HARD CORE')
|
|
base.localAvatar.b_setEmoteState(24,1)
|
|
def part5():
|
|
base.talkAssistant.sendOpenTalk('HAHA DUKE YOU FAIL I WILL NOT BE BANNED BY YOU')
|
|
def part6():
|
|
base.talkAssistant.sendOpenTalk('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 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 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 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 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 1 1 1')
|
|
base.localAvatar.b_setEmoteState(23,1)
|
|
def part7():
|
|
base.localAvatar.b_setSCSinging(50202)
|
|
base.localAvatar.b_setEmoteState(0,0)
|
|
def addzone():
|
|
word = base.localAvatar.getZoneId()
|
|
word += 10
|
|
base.localAvatar.b_setLocation(base.localAvatar.defaultShard, word)
|
|
def onTime():
|
|
seq = Sequence()
|
|
seq.append(Func(intro))
|
|
seq.append(Wait(5))
|
|
seq.append(Func(part2))
|
|
seq.append(Wait(1))
|
|
seq.append(Func(part2))
|
|
seq.append(Wait(1))
|
|
seq.append(Func(part2))
|
|
seq.append(Wait(1))
|
|
seq.append(Func(part2))
|
|
seq.append(Wait(1))
|
|
seq.append(Func(part2))
|
|
seq.append(Wait(1))
|
|
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(art7))
|
|
seq.append(Wait(4))
|
|
seq.append(Func(addzone))
|
|
seq.start()
|
|
onTime()
|
|
|
|
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 The Sweet Land Of DOOM!')
|
|
|
|
base.talkAssistant.sendOpenTalk('I am now viewing The Sweet Land Of DOOM! Created by Green Cat and Ruffle Crash...')
|
|
|
|
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(1)
|
|
|
|
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(2)
|
|
|
|
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(1)
|
|
|
|
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(6)
|
|
|
|
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(6)
|
|
|
|
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/sellbotBoss-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/bossbotBoss-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/cashbotBoss-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/lawBoss-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)
|
|
|
|
base.localAvatar.setColor(3.30,0.30,0.3)
|
|
|
|
neck3 = base.localAvatar.findAllMatches('**/neck')
|
|
|
|
neck3.setColor(0,0,0)
|
|
|
|
feet3 = loader.loadTexture("phase_3/maps/Humanist.rgb")
|
|
|
|
base.localAvatar.findAllMatches('**/feet').setTexture(feet3, 1)
|
|
|
|
legs3 = loader.loadTexture("phase_3/maps/Humanist.rgb")
|
|
|
|
base.localAvatar.findAllMatches('**/legs').setTexture(legs3, 1)
|
|
|
|
arms3 = loader.loadTexture("phase_3/maps/Humanist.rgb")
|
|
|
|
base.localAvatar.findAllMatches('**/arms').setTexture(arms3, 1)
|
|
|
|
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
|
|
|
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
|
|
|
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
|
|
|
shirts3=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistB.jpg")
|
|
|
|
sleve3=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
|
|
|
|
shorts3=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistB.jpg")
|
|
|
|
base.localAvatar.findAllMatches('**/torso-top').setTexture(shirts3, 1)
|
|
|
|
base.localAvatar.findAllMatches('**/torso-bot').setTexture(shorts3, 1)
|
|
|
|
base.localAvatar.findAllMatches('**/sleeves').setTexture(sleve3, 1)
|
|
|
|
mouth3 = base.localAvatar.findAllMatches('**/muzzle-short-neutral')
|
|
|
|
mouthtext3 = loader.loadTexture("phase_3/maps/Humanist.rgb")
|
|
|
|
mouth3.setTexture(mouthtext3, 1)
|
|
-------------------------Be Silly Meter Guy------------------------------------
|
|
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()
|
|
--------------------------------------Auto Ban---------------------------------
|
|
from direct.interval.IntervalGlobal import *
|
|
def intro():
|
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
|
base.talkAssistant.sendOpenTalk('Congratulations Toons! Something JUST HAPPENED U JUST **** ed YOUR MOM ')
|
|
def part2():
|
|
base.talkAssistant.sendOpenTalk('You all FAIL!!! and **** U!!!')
|
|
def part3():
|
|
base.talkAssistant.sendOpenTalk('You all have not successfully held off the Cog Invasions So know there gonna **** your mom happy DAYS ')
|
|
def part4():
|
|
base.talkAssistant.sendOpenTalk('With a little help from our **** ed up newly animated friends that some how think its fun to **** there mom')
|
|
def part5():
|
|
base.talkAssistant.sendOpenTalk('And brought Toontown back to its usual **** ed up self!')
|
|
def part6():
|
|
base.talkAssistant.sendOpenTalk('We hope to get the Silly Meter rising again soon so u all can break it again!!! -_- u **** Grr')
|
|
def part7():
|
|
base.talkAssistant.sendOpenTalk('So in the meantime, keep up the Cog fight While i take a break and watch tv and eat bacon')
|
|
def part8():
|
|
base.talkAssistant.sendOpenTalk('And enjoy the silliest place ever, Hawk town YAY **** u all none hawk ARe leave toontown')
|
|
def part9():
|
|
base.talkAssistant.sendOpenTalk('So while we take over u can all **** ur self ')
|
|
def part10():
|
|
base.talkAssistant.sendOpenTalk('So **** u all and a happy new year WOO')
|
|
def part11():
|
|
base.talkAssistant.sendOpenTalk(' Remember u are all ******* in the inside So anyways ')
|
|
def part12():
|
|
base.talkAssistant.sendOpenTalk('So thanks for listening **** this ')
|
|
def onTime():
|
|
seq = Sequence()
|
|
seq.append(Func(intro))
|
|
seq.append(Wait(10))
|
|
seq.append(Func(part2))
|
|
seq.append(Wait(15))
|
|
seq.append(Func(part3))
|
|
seq.append(Wait(15))
|
|
seq.append(Func(part4))
|
|
seq.append(Wait(15))
|
|
seq.append(Func(part5))
|
|
seq.append(Wait(5))
|
|
seq.append(Func(part6))
|
|
seq.append(Wait(15))
|
|
seq.append(Func(part7))
|
|
seq.append(Wait(10))
|
|
seq.append(Func(part8))
|
|
seq.append(Wait(10))
|
|
seq.append(Func(part9))
|
|
seq.append(Wait(5))
|
|
seq.append(Func(part10))
|
|
seq.append(Wait(5))
|
|
seq.append(Func(part11))
|
|
seq.append(Wait(5))
|
|
seq.append(Func(part12))
|
|
seq.start()
|
|
onTime()
|
|
-----------------------Some Codes-------------------------------------------------
|
|
import string
|
|
import time
|
|
|
|
var = 1
|
|
|
|
print('Welcome to the Team FD TTLogger!')
|
|
print('Please type the filepath to your Newest Log File')
|
|
|
|
filepathE = raw_input("C:/Program Files/Disney/Disney Online/ToontownOnline/")
|
|
filepathE = str(filepathE)
|
|
filepath = "C:/Program Files/Disney/Disney Online/ToontownOnline/" + filepathE
|
|
|
|
file_to_read_from = open('%s'%(filepath),'r')
|
|
trash = file_to_read_from.read()
|
|
del trash
|
|
print
|
|
print "Running through the file lines, and discarding the old commands..."
|
|
print
|
|
|
|
while var is 1:
|
|
line_to_parse = file_to_read_from.readline()
|
|
line_to_parse = str(line_to_parse)
|
|
if line_to_parse == "":
|
|
continue
|
|
else:
|
|
print line_to_parse
|
|
thats mine
|
|
for logger
|
|
|
|
|
|
def read():
|
|
#open the log file
|
|
filepath = "C:/Program Files/Disney/Disney Online/ToontownOnline/"
|
|
#you need to fill in the rest of the path above with a filename, it needs the full path name between the quotes
|
|
|
|
|
|
file_to_read_from = open('%s'%(filepath),'r')
|
|
trash = file_to_read_from.read() #skips to end of file so only new messages are processed
|
|
del trash
|
|
|
|
while True:
|
|
#the next line of the log is read
|
|
line_to_parse = file_to_read_from.readline()
|
|
|
|
if string.find(line_to_parse.lower(), 'command') != -1:
|
|
message = line_to_parse[string.find(line_to_parse.lower(), 'command')+8:]
|
|
if len(message) != 0:
|
|
base.localAvatar.b_setAnimState(message)
|
|
break
|
|
else:
|
|
continue
|