Scrap codes
This commit is contained in:
commit
5f35433c9b
1746 changed files with 1423766 additions and 0 deletions
21
....txt
Normal file
21
....txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
print dir(), print help(), import inspect;print inspect.getmembers(base.localAvatar)
|
||||
|
||||
from dis import *
|
||||
print dis(base.localAvatar.setCogIndex)
|
||||
|
||||
print dir(base.localAvatar)
|
||||
|
||||
print help(base.localAvatar.setAnimState)
|
||||
|
||||
import inspect
|
||||
print inspect.getmembers(base.localAvatar)
|
||||
|
||||
from dis import *
|
||||
print dis(base.localAvatar)
|
||||
and finally
|
||||
|
||||
base.cr.wantUpdateCalls = True
|
||||
to make live codes appear
|
||||
|
||||
doodle = base.cr.doFindAll("Recall")[0]
|
||||
print dir(doodle)
|
8
5 Or 10 DOLLAR.txt
Normal file
8
5 Or 10 DOLLAR.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
hp = loader.loadModel("phase_5/models/props/toon-prop-textures.bam")
|
||||
hp.reparentTo(base.localAvatar.find('**/head-short'))
|
||||
hp.setZ(0.1)
|
||||
hp.setR(720)
|
||||
hp.setX(-2)
|
||||
hp.setY(0)
|
||||
hp.setH(-10)
|
||||
hp.setColor(1,1,1)
|
991
ADMIN LAND PART 1.txt
Normal file
991
ADMIN LAND PART 1.txt
Normal file
|
@ -0,0 +1,991 @@
|
|||
from direct.actor.Actor import Actor
|
||||
from pandac.PandaModules import *
|
||||
from direct.task import Task
|
||||
import math
|
||||
from math import pi, sin, cos
|
||||
from direct.showbase.ShowBase import ShowBase
|
||||
from direct.task import Task
|
||||
from direct.interval.IntervalGlobal import Sequence
|
||||
from pandac.PandaModules import Point3
|
||||
from pandac.PandaModules import *
|
||||
environ1 = loader.loadModel('phase_13/models/parties/partyGrounds.bam')
|
||||
environ1.reparentTo(render)
|
||||
environ1.setPos(12.931,0.839,110.525)
|
||||
environ1.setHpr(0,0,0)
|
||||
environ1.setScale(1)
|
||||
catch1 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||||
catch1.reparentTo(render)
|
||||
catch1.setPos(12.931,0.839,110.540)
|
||||
catch1.setHpr(0,0,0)
|
||||
catch1.setScale(2)
|
||||
catch2 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||||
catch2.reparentTo(render)
|
||||
catch2.setPos(12.931,0.839,110.540)
|
||||
catch2.setHpr(0,0,0)
|
||||
catch2.setScale(1)
|
||||
stair1 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair1.reparentTo(render)
|
||||
stair1.setPos(-44.350,-3.603,115.031)
|
||||
stair1.setHpr(0,0,0)
|
||||
stair1.setScale(1)
|
||||
stair2 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair2.reparentTo(render)
|
||||
stair2.setPos(-49.592,4.492,119.451)
|
||||
stair2.setHpr(0,0,0)
|
||||
stair2.setScale(1)
|
||||
stair3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair3.reparentTo(render)
|
||||
stair3.setPos(-54.221,12.194,122.359)
|
||||
stair3.setHpr(0,0,0)
|
||||
stair3.setScale(1)
|
||||
stair4 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair4.reparentTo(render)
|
||||
stair4.setPos(-59.905,21.822,126.716)
|
||||
stair4.setHpr(0,0,0)
|
||||
stair4.setScale(1)
|
||||
stair5 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair5.reparentTo(render)
|
||||
stair5.setPos(-64.772,30.703,130.709)
|
||||
stair5.setHpr(0,0,0)
|
||||
stair5.setScale(1)
|
||||
stair6 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair6.reparentTo(render)
|
||||
stair6.setPos(-62.772,39.703,134.638)
|
||||
stair6.setHpr(0,0,0)
|
||||
stair6.setScale(1)
|
||||
stair7 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair7.reparentTo(render)
|
||||
stair7.setPos(-59.416,44.442,139.154)
|
||||
stair7.setHpr(0,0,0)
|
||||
stair7.setScale(1)
|
||||
stair8 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair8.reparentTo(render)
|
||||
stair8.setPos(-55,53,143.624)
|
||||
stair8.setHpr(0,0,0)
|
||||
stair8.setScale(1)
|
||||
stair9 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair9.reparentTo(render)
|
||||
stair9.setPos(-51,58,148)
|
||||
stair9.setHpr(0,0,0)
|
||||
stair9.setScale(1)
|
||||
stair10 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair10.reparentTo(render)
|
||||
stair10.setPos(-47,66,152)
|
||||
stair10.setHpr(0,0,0)
|
||||
stair10.setScale(1)
|
||||
|
||||
stair11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair11.reparentTo(render)
|
||||
stair11.setPos(-43,73,156)
|
||||
stair11.setHpr(0,0,0)
|
||||
stair11.setScale(1)
|
||||
|
||||
stair12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair12.reparentTo(render)
|
||||
stair12.setPos(-39,80,160)
|
||||
stair12.setHpr(0,0,0)
|
||||
stair12.setScale(1)
|
||||
|
||||
stair13 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair13.reparentTo(render)
|
||||
stair13.setPos(-34,85,164)
|
||||
stair13.setHpr(0,0,0)
|
||||
stair13.setScale(1)
|
||||
|
||||
stair14 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair14.reparentTo(render)
|
||||
stair14.setPos(-27,89,168)
|
||||
stair14.setHpr(0,0,0)
|
||||
stair14.setScale(1)
|
||||
|
||||
stair15 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair15.reparentTo(render)
|
||||
stair15.setPos(-21,94,172)
|
||||
stair15.setHpr(0,0,0)
|
||||
stair15.setScale(1)
|
||||
|
||||
stair16 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair16.reparentTo(render)
|
||||
stair16.setPos(-14,98,176)
|
||||
stair16.setHpr(0,0,0)
|
||||
stair16.setScale(1)
|
||||
|
||||
stair17 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair17.reparentTo(render)
|
||||
stair17.setPos(-9,103,180)
|
||||
stair17.setHpr(0,0,0)
|
||||
stair17.setScale(1)
|
||||
|
||||
stair18 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair18.reparentTo(render)
|
||||
stair18.setPos(-4,109,184)
|
||||
stair18.setHpr(0,0,0)
|
||||
stair18.setScale(1)
|
||||
|
||||
stair19 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair19.reparentTo(render)
|
||||
stair19.setPos(-0,116,187)
|
||||
stair19.setHpr(0,0,0)
|
||||
stair19.setScale(1)
|
||||
|
||||
stair20 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair20.reparentTo(render)
|
||||
stair20.setPos(3,123,191)
|
||||
stair20.setHpr(0,0,0)
|
||||
stair20.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_4/models/props/construction_sign.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(4,128,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(6,136,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(-7,134,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(15,125,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(14,150,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(21,162,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(29,176,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(36,189,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(44,203,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairm = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairm.reparentTo(render)
|
||||
stairm.setPos(56,226,191)
|
||||
stairm.setHpr(0,0,0)
|
||||
stairm.setScale(2.5)
|
||||
|
||||
stairs = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
stairs.reparentTo(render)
|
||||
stairs.setPos(56,226,191)
|
||||
stairs.setHpr(60,0,0)
|
||||
stairs.setScale(3)
|
||||
|
||||
cbl = loader.loadModel("phase_4/models/modules/suit_landmark_legal.bam")
|
||||
cbl.reparentTo(render)
|
||||
cbl.setPos(61.138,13.386,110.550)
|
||||
cbl.setHpr(270,0,0)
|
||||
cbl.setScale(1)
|
||||
|
||||
c3l = loader.loadModel("phase_4/models/modules/elevator.bam")
|
||||
c3l.reparentTo(render)
|
||||
c3l.setPos(55.423,-1.493,110.565)
|
||||
c3l.setHpr(270,0,0)
|
||||
c3l.setScale(1)
|
||||
|
||||
f = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
f.reparentTo(render)
|
||||
f.setHpr(90,0,0)
|
||||
f.setPos(47.825,-1.672,110.565)
|
||||
pandaPosInterval22 = f.posInterval(13,Point3(47.825,-1.672,110.565),
|
||||
startPos=Point3(47.825,-1.672,220.565))
|
||||
pandaPosInterval33 = f.posInterval(13,Point3(47.825,-1.672,220.565),
|
||||
|
||||
startPos=Point3(47.825,-1.672,110.565))
|
||||
pandaHprInterval11 = f.hprInterval(3,Point3(0,0,0),
|
||||
|
||||
startHpr=Point3(0, 0, 0))
|
||||
pandaHprInterval22 = f.hprInterval(3,Point3(0, 0, 0),
|
||||
|
||||
startHpr=Point3(0, 0, 0))
|
||||
pandaPace = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="pandaPace")
|
||||
pandaPace.loop()
|
||||
f.find('**/wall_back').removeNode()
|
||||
f.find('**/wall_front').removeNode()
|
||||
f.find('**/wall_left').removeNode()
|
||||
f.find('**/wall_right').removeNode()
|
||||
f.find('**/ceiling').removeNode()
|
||||
r = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
r.setPos(12.931,0.839,4.024)
|
||||
r.setHpr(0,340.30,0)
|
||||
r.hide()
|
||||
r.reparentTo(render)
|
||||
r.find('**/wall_back').removeNode()
|
||||
r.find('**/wall_front').removeNode()
|
||||
r.find('**/wall_left').removeNode()
|
||||
r.find('**/wall_right').removeNode()
|
||||
r.find('**/ceiling').removeNode()
|
||||
|
||||
environ2 = loader.loadModel('phase_8/models/neighborhoods/the_burrrgh.bam')
|
||||
environ2.reparentTo(render)
|
||||
environ2.setPos(47.825,-1.672,220.590)
|
||||
environ2.setHpr(0,0,0)
|
||||
environ2.setScale(1)
|
||||
|
||||
hg1 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg1.reparentTo(render)
|
||||
hg1.loop("cheer")
|
||||
hg1.setPos(59.932,-9.914,223.599)
|
||||
hg1.setHpr(90,0,0)
|
||||
hg1.setScale(3)
|
||||
|
||||
hg2 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg2.reparentTo(render)
|
||||
hg2.loop("cheer")
|
||||
hg2.setPos(66.932,2.914,223.599)
|
||||
hg2.setHpr(90,0,0)
|
||||
hg2.setScale(3)
|
||||
|
||||
hg3 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg3.reparentTo(render)
|
||||
hg3.loop("cheer")
|
||||
hg3.setPos(68.932,17.914,223.599)
|
||||
hg3.setHpr(90,0,0)
|
||||
hg3.setScale(3)
|
||||
|
||||
hg4 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg4.reparentTo(render)
|
||||
hg4.loop("cheer")
|
||||
hg4.setPos(58.932,25.914,223.599)
|
||||
hg4.setHpr(180,0,0)
|
||||
hg4.setScale(3)
|
||||
|
||||
base.localAvatar.setPos(12.931,0.839,110.601)
|
||||
|
||||
base.localAvatar.setHpr(270,0,0)
|
||||
|
||||
base.localAvatar.setSystemMessage(1,'Welcome to Team Admin Land!')
|
||||
|
||||
base.talkAssistant.sendOpenTalk('HOLY...')
|
||||
|
||||
hg5 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg5.reparentTo(render)
|
||||
hg5.loop("cheer")
|
||||
hg5.setPos(47.932,32.914,223.599)
|
||||
hg5.setHpr(180,0,0)
|
||||
hg5.setScale(3)
|
||||
|
||||
hg6 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg6.reparentTo(render)
|
||||
hg6.loop("cheer")
|
||||
hg6.setPos(32.932,28.914,223.599)
|
||||
hg6.setHpr(180,0,0)
|
||||
hg6.setScale(3)
|
||||
|
||||
hg7 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg7.reparentTo(render)
|
||||
hg7.loop("cheer")
|
||||
hg7.setPos(22.932,17.914,223.599)
|
||||
hg7.setHpr(220,0,0)
|
||||
hg7.setScale(3)
|
||||
|
||||
hg8 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg8.reparentTo(render)
|
||||
hg8.loop("cheer")
|
||||
hg8.setPos(19.932,5.914,223.599)
|
||||
hg8.setHpr(270,0,0)
|
||||
hg8.setScale(3)
|
||||
|
||||
hg9 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg9.reparentTo(render)
|
||||
hg9.loop("cheer")
|
||||
hg9.setPos(28.932,-11.914,223.599)
|
||||
hg9.setHpr(310,0,0)
|
||||
hg9.setScale(3)
|
||||
|
||||
hg10 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg10.reparentTo(render)
|
||||
hg10.loop("cheer")
|
||||
hg10.setPos(46.932,-18.914,223.599)
|
||||
hg10.setHpr(350,0,0)
|
||||
hg10.setScale(3)
|
||||
|
||||
mill1 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
mill1.reparentTo(render)
|
||||
mill1.setPos(26,56,229)
|
||||
mill1.setHpr(90,0,0)
|
||||
mill1.setScale(3)
|
||||
|
||||
tug1 = loader.loadModel('phase_13/models/parties/partyTugOfWar.bam')
|
||||
tug1.reparentTo(render)
|
||||
tug1.setPos(132,50,226)
|
||||
tug1.setHpr(90,0,0)
|
||||
tug1.setScale(1)
|
||||
|
||||
cupcake1 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
cupcake1.reparentTo(render)
|
||||
cupcake1.setPos(98,-68,226)
|
||||
cupcake1.setHpr(120,0,0)
|
||||
cupcake1.setScale(1)
|
||||
|
||||
cupcake2 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
cupcake2.reparentTo(render)
|
||||
cupcake2.setPos(122,-51,226)
|
||||
cupcake2.setHpr(120,0,0)
|
||||
cupcake2.setScale(1)
|
||||
|
||||
cupcake3 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
cupcake3.reparentTo(render)
|
||||
cupcake3.setPos(73,-79,226)
|
||||
cupcake3.setHpr(120,0,0)
|
||||
cupcake3.setScale(1)
|
||||
|
||||
dance = loader.loadModel("phase_13/models/parties/danceFloor.bam")
|
||||
dance.reparentTo(render)
|
||||
dance.setPos(116.949,-4.932,226.782)
|
||||
dance.setHpr(180,0,0)
|
||||
dance.setScale(1)
|
||||
carouselSpin=dance.hprInterval(20, Vec3(360, 0, 0))
|
||||
mgr = loader.loadModel("phase_13/models/parties/partyMerryGoRound.bam")
|
||||
mgr.reparentTo(render)
|
||||
mgr.setPos(-50.115,31.640,226.782)
|
||||
mgr.setHpr(0,0,0)
|
||||
mgr.setScale(4)
|
||||
pandaHprInterval1 = mgr.hprInterval(3,Point3(0,0,0),
|
||||
startHpr=Point3(270, 0, 0))
|
||||
pandaHprInterval2 = mgr.hprInterval(3,Point3(270, 0, 0),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
maryspin = Sequence(pandaHprInterval1,
|
||||
name="maryspin")
|
||||
maryspin.loop()
|
||||
carouselSpin.loop()
|
||||
pk1 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||||
pk1.reparentTo(render)
|
||||
pk1.setPos(109.563,-59.050,229.282)
|
||||
pk1.setHpr(210,0,0)
|
||||
pk1.setScale(1)
|
||||
carouselSpin=pk1.hprInterval(2, Vec3(360, 0, 0))
|
||||
pk2 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||||
pk2.reparentTo(render)
|
||||
pk2.setPos(84.250,-73.585,229.282)
|
||||
pk2.setHpr(210,0,0)
|
||||
pk2.setScale(1)
|
||||
carouselSpin.loop()
|
||||
boat1 = loader.loadModel("phase_6/models/neighborhoods/donalds_dock.bam")
|
||||
boat1.reparentTo(render)
|
||||
boat1.setPos(0,0,111111111111)
|
||||
boat1.setHpr(0,0,0)
|
||||
boat1.setScale(1)
|
||||
carouselSpin=pk2.hprInterval(2, Vec3(360, 0, 0))
|
||||
boat2 = boat1.find('**/donalds_boat')
|
||||
boat2.reparentTo(render)
|
||||
boat2.setPos(64.301,-45.289,226.782)
|
||||
boat2.setHpr(0,0,315)
|
||||
boat2.setScale(1)
|
||||
carouselSpin.loop()
|
||||
donald1 = Actor("phase_6/models/char/DL_donald-500.bam",
|
||||
{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
donald1.reparentTo(render)
|
||||
donald1.loop("neutral")
|
||||
donald1.setPos(72.411,-34.692,226.782)
|
||||
donald1.setHpr(270,50,0)
|
||||
donald1.setScale(1.5)
|
||||
|
||||
daisy1 = Actor("phase_4/models/char/daisyduck_1600.bam",
|
||||
{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
daisy1.reparentTo(render)
|
||||
daisy1.loop("idle")
|
||||
daisy1.setPos(77,-37,226)
|
||||
daisy1.setHpr(70,0,0)
|
||||
daisy1.setScale(1.5)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(61.301,-37.289,226.782)
|
||||
broken.setHpr(0,0,315)
|
||||
broken.setScale(2)
|
||||
|
||||
maze1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotMazex1_C.bam')
|
||||
maze1.reparentTo(render)
|
||||
maze1.setPos(-9,-111,226)
|
||||
maze1.setHpr(0,0,0)
|
||||
maze1.setScale(2)
|
||||
|
||||
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
e.reparentTo(render)
|
||||
e.setHpr(90,0,0)
|
||||
e.setPos(-94.567,-27.908,226.782)
|
||||
e.setScale(3)
|
||||
|
||||
e.find('**/wall_back').removeNode()
|
||||
e.find('**/wall_front').removeNode()
|
||||
e.find('**/wall_left').removeNode()
|
||||
e.find('**/wall_right').removeNode()
|
||||
e.find('**/ceiling').removeNode()
|
||||
|
||||
mazesign1 = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
||||
mazesign1.reparentTo(render)
|
||||
mazesign1.setPos(-101.681,-37.524,226.807)
|
||||
mazesign1.setHpr(90,0,0)
|
||||
mazesign1.setScale(2)
|
||||
|
||||
mill2 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
mill2.reparentTo(render)
|
||||
mill2.setPos(-148.5,-26,225)
|
||||
mill2.setHpr(180,0,0)
|
||||
mill2.setScale(3)
|
||||
|
||||
fence1 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence1.reparentTo(render)
|
||||
fence1.setPos(-142.5,-42,225)
|
||||
fence1.setHpr(90,0,0)
|
||||
|
||||
fence2 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence2.reparentTo(render)
|
||||
fence2.setPos(-142.5,-52,225)
|
||||
fence2.setHpr(90,0,0)
|
||||
|
||||
fence3 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence3.reparentTo(render)
|
||||
fence3.setPos(-142.5,-57,225)
|
||||
fence3.setHpr(90,0,0)
|
||||
|
||||
fence4 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence4.reparentTo(render)
|
||||
fence4.setPos(-142.5,-22,225)
|
||||
fence4.setHpr(90,0,0)
|
||||
|
||||
fence5 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence5.reparentTo(render)
|
||||
fence5.setPos(-142.5,-12,225)
|
||||
fence5.setHpr(90,0,0)
|
||||
|
||||
fence6 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence6.reparentTo(render)
|
||||
fence6.setPos(-142.5,-7,225)
|
||||
fence6.setHpr(90,0,0)
|
||||
|
||||
fence7 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence7.reparentTo(render)
|
||||
fence7.setPos(67.5,214,191)
|
||||
fence7.setHpr(140,0,0)
|
||||
|
||||
fence8 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence8.reparentTo(render)
|
||||
fence8.setPos(48.5,225,191)
|
||||
fence8.setHpr(140,0,0)
|
||||
|
||||
block1 = loader.loadModel("phase_4/models/props/construction_sign.bam")
|
||||
block1.reparentTo(render)
|
||||
block1.setPos(-138,-25,225)
|
||||
block1.setHpr(90,0,0)
|
||||
block1.setScale(2)
|
||||
|
||||
cow = loader.loadModel('phase_13/models/parties/cogPieArena_model')
|
||||
cow.reparentTo(render)
|
||||
cow.setPos(-38,-75,227)
|
||||
cow.setHpr(330,0,0)
|
||||
cow.setScale(1)
|
||||
|
||||
launch1 = loader.loadModel('phase_13/models/parties/launchPad')
|
||||
launch1.reparentTo(render)
|
||||
launch1.setPos(17,-99,226)
|
||||
launch1.setHpr(0,0,0)
|
||||
launch1.setScale(1)
|
||||
|
||||
castle = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_castle.bam")
|
||||
castle.reparentTo(render)
|
||||
castle.setPos(143,-153,226)
|
||||
castle.setHpr(120,0,0)
|
||||
castle.setScale(8)
|
||||
|
||||
tiki = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam")
|
||||
tiki.reparentTo(render)
|
||||
tiki.setPos(250,-50,226)
|
||||
tiki.setHpr(160,0,0)
|
||||
tiki.setScale(8)
|
||||
|
||||
mr1 = loader.loadModel('phase_7/models/modules/cubicle_room.bam')
|
||||
mr1.reparentTo(render)
|
||||
mr1.setPos(-416,-27,226)
|
||||
mr1.setHpr(90,0,0)
|
||||
mr1.setScale(1)
|
||||
|
||||
mrt = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt.reparentTo(render)
|
||||
mrt.setPos(-416,-27,226)
|
||||
mrt.setHpr(90,0,0)
|
||||
mrt.setScale(.9)
|
||||
|
||||
rocket1 = loader.loadModel('phase_13/models/parties/rocket_model.bam')
|
||||
rocket1.reparentTo(render)
|
||||
rocket1.setPos(-2,-89,226)
|
||||
rocket1.setHpr(0,0,0)
|
||||
rocket1.setScale(2)
|
||||
|
||||
rexp1 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||||
rexp1.reparentTo(render)
|
||||
rexp1.setPos(-2,-89,226)
|
||||
rexp1.setHpr(0,0,0)
|
||||
rexp1.setScale(2)
|
||||
|
||||
rexp2 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||||
rexp2.reparentTo(render)
|
||||
rexp2.setPos(-2,-89,226)
|
||||
rexp2.setHpr(180,0,0)
|
||||
rexp2.setScale(2)
|
||||
|
||||
c1 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c1.reparentTo(render)
|
||||
c1.setPos(-198.5,16,224)
|
||||
c1.setHpr(180,0,0)
|
||||
c1.setScale(4)
|
||||
|
||||
c2 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c2.reparentTo(render)
|
||||
c2.setPos(-301.5,-65,224)
|
||||
c2.setHpr(0,0,0)
|
||||
c2.setScale(4)
|
||||
|
||||
c3 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c3.reparentTo(render)
|
||||
c3.setPos(-217.5,-31,224)
|
||||
c3.setHpr(0,0,0)
|
||||
c3.setScale(4)
|
||||
|
||||
c4 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c4.reparentTo(render)
|
||||
c4.setPos(-199.5,-44,224)
|
||||
c4.setHpr(0,0,0)
|
||||
c4.setScale(4)
|
||||
|
||||
c5 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c5.reparentTo(render)
|
||||
c5.setPos(-217.5,3,224)
|
||||
c5.setHpr(180,0,0)
|
||||
c5.setScale(4)
|
||||
|
||||
c6 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c6.reparentTo(render)
|
||||
c6.setPos(-284.5,-30,224)
|
||||
c6.setHpr(180,0,0)
|
||||
c6.setScale(4)
|
||||
|
||||
c7 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c7.reparentTo(render)
|
||||
c7.setPos(-198.5,-1,224)
|
||||
c7.setHpr(0,0,0)
|
||||
c7.setScale(4)
|
||||
|
||||
f1 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
f1.reparentTo(render)
|
||||
f1.setHpr(90,0,0)
|
||||
f1.setPos(250,-50,226)
|
||||
f1.setScale(7)
|
||||
|
||||
f1.find('**/wall_back').removeNode()
|
||||
f1.find('**/wall_front').removeNode()
|
||||
f1.find('**/wall_left').removeNode()
|
||||
f1.find('**/wall_right').removeNode()
|
||||
f1.find('**/ceiling').removeNode()
|
||||
|
||||
fb1 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb1.reparentTo(render)
|
||||
fb1.setPos(277,-21,226)
|
||||
fb1.setHpr(270,0,0)
|
||||
fb1.setScale(3)
|
||||
|
||||
fb2 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb2.reparentTo(render)
|
||||
fb2.setPos(277,-33,226)
|
||||
fb2.setHpr(270,0,0)
|
||||
fb2.setScale(3)
|
||||
|
||||
fb3 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb3.reparentTo(render)
|
||||
fb3.setPos(277,-46,226)
|
||||
fb3.setHpr(270,0,0)
|
||||
fb3.setScale(3)
|
||||
|
||||
ca1 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca1.reparentTo(render)
|
||||
ca1.setPos(-431.768,-17.630,226.025)
|
||||
ca1.setHpr(260,0,0)
|
||||
ca1.setScale(2)
|
||||
|
||||
ca2 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca2.reparentTo(render)
|
||||
ca2.setPos(-431.768,-38.630,226.025)
|
||||
ca2.setHpr(280,0,0)
|
||||
ca2.setScale(2)
|
||||
|
||||
ca3 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca3.reparentTo(render)
|
||||
ca3.setPos(-366.768,-35.630,226.025)
|
||||
ca3.setHpr(290,0,0)
|
||||
ca3.setScale(2)
|
||||
|
||||
ca4 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca4.reparentTo(render)
|
||||
ca4.setPos(-366.768,-17.630,226.025)
|
||||
ca4.setHpr(250,0,0)
|
||||
ca4.setScale(2)
|
||||
|
||||
ca5 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca5.reparentTo(render)
|
||||
ca5.setPos(-398.768,-15.630,226.025)
|
||||
ca5.setHpr(120,0,0)
|
||||
ca5.setScale(2)
|
||||
|
||||
ca6 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca6.reparentTo(render)
|
||||
ca6.setPos(-398.768,-38.630,226.025)
|
||||
ca6.setHpr(60,0,0)
|
||||
ca6.setScale(2)
|
||||
|
||||
environ3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ3.reparentTo(render)
|
||||
environ3.setPos(-508.081,-29.392,226.025)
|
||||
environ3.setHpr(0,0,0)
|
||||
environ3.setScale(7)
|
||||
|
||||
rope1 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope1.reparentTo(render)
|
||||
rope1.setPos(-508.081,-29.392,226.025)
|
||||
rope1.setHpr(0,0,0)
|
||||
rope1.setScale(1)
|
||||
|
||||
meter1 = Actor("phase_4/models/props/tt_a_ara_ttc_sillyMeter_default.bam",
|
||||
{"lol":"phase_4/models/props/tt_a_ara_ttc_sillyMeter_phaseFive.bam"})
|
||||
meter1.reparentTo(render)
|
||||
meter1.loop('lol')
|
||||
meter1.setPos(-508.081,-29.392,226.025)
|
||||
meter1.setHpr(90,0,0)
|
||||
meter1.setScale(1)
|
||||
|
||||
rope2 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope2.reparentTo(render)
|
||||
rope2.setPos(-507.867,-59.050,225.995)
|
||||
rope2.setHpr(0,0,0)
|
||||
rope2.setScale(.4)
|
||||
|
||||
mickey = Actor("phase_3/models/char/mickey-1200.bam",
|
||||
{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||||
mickey.reparentTo(render)
|
||||
mickey.loop('wait')
|
||||
mickey.setPos(-507.867,-59.050,225.995)
|
||||
mickey.setHpr(270,0,0)
|
||||
mickey.setScale(2)
|
||||
|
||||
rope3 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope3.reparentTo(render)
|
||||
rope3.setPos(-486.485,-51.431,226.075)
|
||||
rope3.setHpr(0,0,0)
|
||||
rope3.setScale(.4)
|
||||
|
||||
minnie = Actor("phase_3/models/char/minnie-1200.bam",
|
||||
{"wait":"phase_3/models/char/minnie-wait.bam"})
|
||||
minnie.reparentTo(render)
|
||||
minnie.loop('wait')
|
||||
minnie.setPos(-486.485,-51.431,226.075)
|
||||
minnie.setHpr(270,0,0)
|
||||
minnie.setScale(2)
|
||||
|
||||
rope4 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope4.reparentTo(render)
|
||||
rope4.setPos(-486.497,-7.691,226.076)
|
||||
rope4.setHpr(0,0,0)
|
||||
rope4.setScale(.4)
|
||||
|
||||
dd2 = Actor("phase_4/models/char/daisyduck_1600.bam",{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
dd2.reparentTo(render)
|
||||
dd2.loop('idle')
|
||||
dd2.setPos(-486.497,-7.691,226.076)
|
||||
dd2.setHpr(270,0,0)
|
||||
dd2.setScale(2)
|
||||
|
||||
rope5 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope5.reparentTo(render)
|
||||
rope5.setPos(-507.929,3.536,226.051)
|
||||
rope5.setHpr(0,0,0)
|
||||
rope5.setScale(.4)
|
||||
|
||||
dd1 = Actor("phase_6/models/char/DL_donald-500.bam",{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
dd1.reparentTo(render)
|
||||
dd1.loop('neutral')
|
||||
dd1.setPos(-507.929,3.536,226.051)
|
||||
dd1.setHpr(270,0,0)
|
||||
dd1.setScale(2)
|
||||
|
||||
rope6 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope6.reparentTo(render)
|
||||
rope6.setPos(-530.552,-4.198,226.057)
|
||||
rope6.setHpr(0,0,0)
|
||||
rope6.setScale(.4)
|
||||
|
||||
chip1 = Actor("phase_6/models/char/chip_250",{"idle":"phase_6/models/char/chip_idle.bam"})
|
||||
chip1.reparentTo(render)
|
||||
chip1.loop('idle')
|
||||
chip1.setPos(-530.552,-4.198,226.057)
|
||||
chip1.setHpr(270,0,0)
|
||||
chip1.setScale(2)
|
||||
|
||||
rope7 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope7.reparentTo(render)
|
||||
rope7.setPos(-530.552,-52.467,226.069)
|
||||
rope7.setHpr(0,0,0)
|
||||
rope7.setScale(.4)
|
||||
|
||||
dale1 = Actor("phase_6/models/char/dale_250",{"idle":"phase_6/models/char/dale_idle.bam"})
|
||||
dale1.reparentTo(render)
|
||||
dale1.loop('idle')
|
||||
dale1.setPos(-530.552,-52.467,226.069)
|
||||
dale1.setHpr(270,0,0)
|
||||
dale1.setScale(2)
|
||||
|
||||
pluto1 = Actor("phase_6/models/char/pluto-1000.bam",
|
||||
{"neutral":"phase_6/models/char/pluto-neutral.bam"})
|
||||
pluto1.reparentTo(render)
|
||||
pluto1.loop('neutral')
|
||||
pluto1.setPos(-542.602,-30.061,226.070)
|
||||
pluto1.setHpr(270,0,0)
|
||||
pluto1.setScale(15)
|
||||
|
||||
fb4 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb4.reparentTo(render)
|
||||
fb4.setPos(277,-59,226)
|
||||
fb4.setHpr(270,0,0)
|
||||
fb4.setScale(3)
|
||||
|
||||
fb5 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb5.reparentTo(render)
|
||||
fb5.setPos(227,-26,226)
|
||||
fb5.setHpr(0,0,0)
|
||||
fb5.setScale(1)
|
||||
|
||||
fb6 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb6.reparentTo(render)
|
||||
fb6.setPos(241,-26,226)
|
||||
fb6.setHpr(0,0,0)
|
||||
fb6.setScale(1)
|
||||
|
||||
fb7 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb7.reparentTo(render)
|
||||
fb7.setPos(255,-26,226)
|
||||
fb7.setHpr(0,0,0)
|
||||
fb7.setScale(1)
|
||||
|
||||
fb8 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb8.reparentTo(render)
|
||||
fb8.setPos(255,-52,226)
|
||||
fb8.setHpr(0,0,0)
|
||||
fb8.setScale(1)
|
||||
|
||||
fb9 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb9.reparentTo(render)
|
||||
fb9.setPos(241,-52,226)
|
||||
fb9.setHpr(0,0,0)
|
||||
fb9.setScale(1)
|
||||
|
||||
fb10 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb10.reparentTo(render)
|
||||
fb10.setPos(227,-52,226)
|
||||
fb10.setHpr(0,0,0)
|
||||
fb10.setScale(1)
|
||||
|
||||
fb11 = loader.loadModel('phase_13/models/parties/partyClock')
|
||||
fb11.reparentTo(render)
|
||||
fb11.setPos(290,-45,226)
|
||||
fb11.setHpr(90,0,0)
|
||||
fb11.setScale(3)
|
||||
|
||||
fb12 = loader.loadModel('phase_13/models/parties/jukebox_model.bam')
|
||||
fb12.reparentTo(render)
|
||||
fb12.setPos(243,-4,226)
|
||||
fb12.setHpr(0,0,0)
|
||||
fb12.setScale(5)
|
||||
|
||||
fb13 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb13.reparentTo(render)
|
||||
fb13.setPos(219,-76,226)
|
||||
fb13.setHpr(0,0,0)
|
||||
fb13.setScale(25)
|
||||
|
||||
fb14 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb14.reparentTo(render)
|
||||
fb14.setPos(235,-76,234)
|
||||
fb14.setHpr(0,0,0)
|
||||
fb14.setScale(25)
|
||||
|
||||
fb15 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb15.reparentTo(render)
|
||||
fb15.setPos(250,-76,242)
|
||||
fb15.setHpr(0,0,0)
|
||||
fb15.setScale(25)
|
||||
|
||||
fb16 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb16.reparentTo(render)
|
||||
fb16.setPos(265,-76,250)
|
||||
fb16.setHpr(0,0,0)
|
||||
|
||||
fb17 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb17.reparentTo(render)
|
||||
fb17.setPos(265,-76,250)
|
||||
fb17.setHpr(90,0,0)
|
||||
fb17.setScale(25)
|
||||
|
||||
fb18 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb18.reparentTo(render)
|
||||
fb18.setPos(265,-60,258)
|
||||
fb18.setHpr(90,0,0)
|
||||
fb18.setScale(25)
|
||||
|
||||
fb19 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb19.reparentTo(render)
|
||||
fb19.setPos(265,-43,266)
|
||||
fb19.setHpr(90,0,0)
|
||||
fb19.setScale(25)
|
||||
|
||||
fb20 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb20.reparentTo(render)
|
||||
fb20.setPos(265,-26,274)
|
||||
fb20.setHpr(90,0,0)
|
||||
fb20.setScale(25)
|
||||
|
||||
fb21 = loader.loadModel('phase_9/models/cogHQ/Elevator.bam')
|
||||
fb21.reparentTo(render)
|
||||
fb21.setPos(275,-81,250)
|
||||
fb21.setHpr(0,0,0)
|
||||
fb21.setScale(1)
|
||||
|
||||
fb21.find('**/wall_back').removeNode()
|
||||
fb21.find('**/wall_front').removeNode()
|
||||
fb21.find('**/wall_left').removeNode()
|
||||
fb21.find('**/wall_right').removeNode()
|
||||
fb21.find('**/ceiling').removeNode()
|
||||
|
||||
f2 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
f2.reparentTo(render)
|
||||
f2.setHpr(90,0,0)
|
||||
f2.setPos(250,-40,282)
|
||||
f2.setScale(4)
|
||||
|
||||
f2.find('**/wall_back').removeNode()
|
||||
f2.find('**/wall_front').removeNode()
|
||||
f2.find('**/wall_left').removeNode()
|
||||
f2.find('**/wall_right').removeNode()
|
||||
f2.find('**/ceiling').removeNode()
|
||||
|
||||
cogplat1 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
cogplat1.reparentTo(render)
|
||||
cogplat1.setPos(59,267,190)
|
||||
cogplat1.setHpr(0,0,0)
|
||||
cogplat1.setScale(5)
|
||||
|
||||
smr = loader.loadModel("phase_9/models/cogHQ/SellbotHQLobby.bam")
|
||||
smr.reparentTo(render)
|
||||
smr.setHpr(180,0,0)
|
||||
smr.setPos(59,386,169)
|
||||
smr.setScale(7)
|
||||
|
||||
mrt1 = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt1.reparentTo(render)
|
||||
mrt1.setPos(60,363,169)
|
||||
mrt1.setHpr(90,0,0)
|
||||
mrt1.setScale(9)
|
||||
|
||||
c8 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c8.reparentTo(render)
|
||||
c8.setPos(80,362,166)
|
||||
c8.setHpr(0,0,0)
|
||||
c8.setScale(9)
|
||||
|
||||
c9 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c9.reparentTo(render)
|
||||
c9.setPos(40,362,166)
|
||||
c9.setHpr(0,0,0)
|
||||
c9.setScale(9)
|
||||
|
||||
b = loader.loadModel("phase_12/models/char/lawbotBoss-legs-zero.bam")
|
||||
b.reparentTo(render)
|
||||
b.setPos(45,444,196)
|
||||
b.setHpr(0,0,0)
|
||||
b.setScale(1)
|
||||
c = loader.loadModel("phase_12/models/char/cashbotBoss-torso-zero.bam")
|
||||
c.reparentTo(render)
|
||||
c.setPos(45,444,206)
|
||||
c.setHpr(0,0,0)
|
||||
c.setScale(1)
|
||||
d = loader.loadModel("phase_12/models/char/bossbotBoss-head-zero.bam")
|
||||
d.reparentTo(render)
|
||||
d.setPos(45,444,214.2)
|
||||
d.setHpr(90,0,-90)
|
||||
d.setScale(1)
|
||||
|
||||
serv1 = loader.loadModel("phase_12/models/char/cashbotBoss-legs-zero.bam")
|
||||
serv1.reparentTo(render)
|
||||
serv1.setPos(74,444,196)
|
||||
serv1.setHpr(0,0,0)
|
||||
serv1.setScale(1)
|
||||
serv2 = loader.loadModel("phase_10/models/char/lawbotBoss-torso-zero.bam")
|
||||
serv2.reparentTo(render)
|
||||
serv2.setPos(74,444,206)
|
||||
serv2.setHpr(0,0,0)
|
||||
serv2.setScale(1)
|
||||
serv3 = loader.loadModel("phase_10/models/char/sellbotBoss-head-zero.bam")
|
||||
serv3.reparentTo(render)
|
||||
serv3.setPos(74,444,214.2)
|
||||
serv3.setHpr(270,0,-90)
|
||||
serv3.setScale(1)
|
||||
|
||||
mole1 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||||
mole1.reparentTo(render)
|
||||
mole1.setPos(59,321,182)
|
||||
mole1.setHpr(180,0,0)
|
||||
mole1.setScale(6)
|
||||
|
||||
rm1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotKartBoardingRm.bam')
|
||||
rm1.reparentTo(render)
|
||||
rm1.setPos(58,502,196)
|
||||
rm1.setHpr(90,0,0)
|
||||
rm1.setScale(1)
|
||||
|
||||
mole2 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||||
mole2.reparentTo(render)
|
||||
mole2.setPos(40,530,194)
|
||||
mole2.setHpr(0,0,0)
|
||||
mole2.setScale(4)
|
1
ALL baselocalavatarcodes.txt
Normal file
1
ALL baselocalavatarcodes.txt
Normal file
File diff suppressed because one or more lines are too long
16
Admin Privileges Code + Membership.txt
Normal file
16
Admin Privileges Code + Membership.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
import toontown
|
||||
def new():
|
||||
return True
|
||||
def new2(*a,**k):
|
||||
return 1
|
||||
base.cr.isPaid = new
|
||||
base.cr.allowSecretChat = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
base.cr.isAdmin = False
|
||||
base.cr.isAdmin = True
|
||||
base.cr.isParentPasswordSet = Admin
|
||||
base.cr.isPaidFromGameServer = True
|
||||
base.cr.toons.hide()
|
||||
base.cr.toons.delete()
|
||||
base.localAvatar.setHpr(0,0,31)
|
||||
base.localAvatar.getGameAccess = new2
|
17
Automatic House Raid.txt
Normal file
17
Automatic House Raid.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
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 = "ZoneFound"
|
||||
textObject.setText(bk_text)
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
|
||||
b = DirectButton(text = ("Raid House", "Raid", "Raid", "Raid House"), scale=.06, pos = (0,-.95,-.95), command=setText)
|
294
Azurite's Ultimate Hacker-Pack.txt
Normal file
294
Azurite's Ultimate Hacker-Pack.txt
Normal file
|
@ -0,0 +1,294 @@
|
|||
Hello, I'm Azurite the friendly hacker. This is what used to be my personal ULTIMATE HACKER-PACK, which I'm giving to the public now! It includes nearly every code I have ever laid eyes on! I hope you enjoy them, and please use them responsibly! They are somewhat in order by their actions.. that's right. SOMEWHAT. :3
|
||||
|
||||
|
||||
Access All Emotes from Speedchat -
|
||||
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])
|
||||
Confused -
|
||||
base.localAvatar.loop('confused')
|
||||
Think -
|
||||
base.localAvatar.loop('think')
|
||||
Bored -
|
||||
base.localAvatar.loop('bored')
|
||||
Juggle -
|
||||
base.localAvatar.loop('juggle')
|
||||
Call Doodle -
|
||||
base.localAvatar.loop('callPet')
|
||||
Feed Doodle -
|
||||
base.localAvatar.loop('feedPet')
|
||||
Finish Doodle Interaction -
|
||||
base.localAvatar.loop('pet-end')
|
||||
Doodle Scratch Loop -
|
||||
base.localAvatar.loop('pet-loop')
|
||||
Feather Tickle -
|
||||
base.localAvatar.loop('tickle')
|
||||
Bamboo Cane Dance -
|
||||
base.localAvatar.loop('happy-dance')
|
||||
Lipstick Kiss -
|
||||
base.localAvatar.loop('smooch')
|
||||
Quicksand Drown -
|
||||
base.localAvatar.loop('melt')
|
||||
Dodge Right -
|
||||
base.localAvatar.loop('sidestep-right')
|
||||
Dodge Left -
|
||||
base.localAvatar.loop('sidestep-left')
|
||||
Hypno-Goggles -
|
||||
base.localAvatar.loop('hypnotize')
|
||||
Seltzer Bottle -
|
||||
base.localAvatar.loop('hold-bottle')
|
||||
Big Magnet -
|
||||
base.localAvatar.loop('hold-magnet')
|
||||
Squirt Gun -
|
||||
base.localAvatar.loop('water-gun')
|
||||
Fire Hose
|
||||
base.localAvatar.loop('firehose')
|
||||
Throw Trap Gag -
|
||||
base.localAvatar.loop('toss')
|
||||
Red Tape Shuffle -
|
||||
base.localAvatar.loop('struggle')
|
||||
Glass of Water Drink & Spit -
|
||||
base.localAvatar.loop('spit')
|
||||
Duck from Exploding Cog -
|
||||
base.localAvatar.loop('duck')
|
||||
Holding Lever -
|
||||
base.localAvatar.loop('leverNeutral')
|
||||
Grab Lever -
|
||||
base.localAvatar.loop('leverReach')
|
||||
Pull Lever -
|
||||
base.localAvatar.loop('leverPull')
|
||||
Garden Dig -
|
||||
base.localAvatar.loop('loop-dig')
|
||||
Run & Jump -
|
||||
base.localAvatar.loop('running-jump')
|
||||
Put Up Phone -
|
||||
base.localAvatar.loop('phoneBack')
|
||||
Grab Phone -
|
||||
base.localAvatar.loop('takePhone')
|
||||
On the Phone -
|
||||
base.localAvatar.loop('phoneNeutral')
|
||||
Level 7 Toonup -
|
||||
base.localAvatar.loop('climb')
|
||||
Jungle Vines Swing -
|
||||
base.localAvatar.loop('swing')
|
||||
Open, Read & Close Book -
|
||||
base.localAvatar.loop('book')
|
||||
Wave "Hello!" -
|
||||
base.localAvatar.loop('wave')
|
||||
Running -
|
||||
base.localAvatar.loop('run')
|
||||
Walking -
|
||||
base.localAvatar.loop('walk')
|
||||
Jumping -
|
||||
base.localAvatar.loop('jump')
|
||||
Crate Push -
|
||||
base.localAvatar.loop('push')
|
||||
Angry -
|
||||
base.localAvatar.loop('angry')
|
||||
Teleport -
|
||||
base.localAvatar.loop('teleport')
|
||||
Sound Gag -
|
||||
base.localAvatar.loop('sound')
|
||||
Throw Gag -
|
||||
base.localAvatar.loop('throw')
|
||||
Cringe -
|
||||
base.localAvatar.loop('cringe')
|
||||
Pixie Dust Gag -
|
||||
base.localAvatar.loop('sprinkle-dust')
|
||||
Fishing Reel 1 -
|
||||
base.localAvatar.loop('reel-H')
|
||||
Fishing Reel 2 -
|
||||
base.localAvatar.loop('reel')
|
||||
Fishing Reel 3 -
|
||||
base.localAvatar.loop('reel-neutral')
|
||||
Tug-of-War Game -
|
||||
base.localAvatar.loop('tug-o-war')
|
||||
Catch, Eat then Run -
|
||||
base.localAvatar.loop('catch-eatnrun')
|
||||
Fishing Cast -
|
||||
base.localAvatar.loop('cast')
|
||||
Long Fishing Cast -
|
||||
base.localAvatar.loop('castlong')
|
||||
Stop Fishing -
|
||||
base.localAvatar.loop('fish-end')
|
||||
Fish Again -
|
||||
base.localAvatar.loop('fish-again')
|
||||
Holding Fishing Pole -
|
||||
base.localAvatar.loop('pole-neutral')
|
||||
Banana Peel -
|
||||
base.localAvatar.loop('slip-backward')
|
||||
Belly Flop -
|
||||
base.localAvatar.loop('slip-forward')
|
||||
Swim -
|
||||
base.localAvatar.loop('swim')
|
||||
Lose -
|
||||
base.localAvatar.loop('lose')
|
||||
Sit -
|
||||
base.localAvatar.loop('sit')
|
||||
Shrug -
|
||||
base.localAvatar.loop('shrug')
|
||||
Negative Laff Walk -
|
||||
base.localAvatar.loop('sad-walk')
|
||||
Take Jellybean Jar -
|
||||
base.localAvatar.loop('jellybeanJar')
|
||||
|
||||
Applause -
|
||||
base.localAvatar.loop('applause')
|
||||
Bow (Male) -
|
||||
base.localAvatar.loop('bow')
|
||||
Bow (Female) -
|
||||
base.localAvatar.loop('curtsy')
|
||||
Up -
|
||||
base.localAvatar.loop('up')
|
||||
Down -
|
||||
base.localAvatar.loop('down')
|
||||
Left -
|
||||
base.localAvatar.loop('left')
|
||||
Right -
|
||||
base.localAvatar.loop('right')
|
||||
Catching Game Eat Loop (also known as makeout) -
|
||||
base.localAvatar.b_setAnimState('CatchEating')
|
||||
"Scarecrow" -
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
Ran Over by Train -
|
||||
base.localAvatar.b_setAnimState(('Squish'))
|
||||
Golf Shake Ass -
|
||||
base.localAvatar.b_setAnimState(('GolfPuttLoop'))
|
||||
Loop Bad Putt -
|
||||
base.localAvatar.loop('badloop-putt')
|
||||
Bad Putt -
|
||||
base.localAvatar.loop('bad-putt')
|
||||
Good Putt -
|
||||
base.localAvatar.loop('good-putt')
|
||||
Head-Down Putt -
|
||||
base.localAvatar.loop('headdown-putt')
|
||||
Into Putt -
|
||||
base.localAvatar.loop('into-putt')
|
||||
Loop Watch Putt -
|
||||
base.localAvatar.loop('lookloop-putt')
|
||||
Watch Putt -
|
||||
base.localAvatar.loop('look-putt')
|
||||
Shuffle Right Putt -
|
||||
base.localAvatar.loop('rotateL-putt')
|
||||
Shuffle Left Putt -
|
||||
base.localAvatar.loop('rotateR-putt')
|
||||
Hit Golfball -
|
||||
base.localAvatar.loop('swing-putt')
|
||||
Constant Dancing -
|
||||
base.localAvatar.b_setAnimState(('victory'))
|
||||
Start Sitting -
|
||||
base.localAvatar.b_setAnimState('SitStart')
|
||||
Swim in Air -
|
||||
base.localAvatar.b_setAnimState(('swim'))
|
||||
Splash -
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
Camera Hack -
|
||||
base.oobe()
|
||||
White Shirt & Denim Skirt (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x01\x02\x00\x1b\x00\x1b\x08\x1b\x00\x00\x00\x00')
|
||||
White Shirt & Rainbow Skirt (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x01\x02\x00\x1b\x00\x1b\x0e\x1b\x00\x00\x00\x00')
|
||||
White Shirt & Shorts with Belt (Male) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x01\x02\x00\x1b\x00\x1b\x0d\x1b\x00\x00\x00\x00')
|
||||
Striped Mahogany & Blue Shirt & Denim Skirt (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x00\x18\x04\x0a\x04\x0a\x07\x0a\x00\x00\x0e\x0e')
|
||||
Light Blue & Light Green Striped Shirt & Denim Skirt (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x00\x18\x04\x09\x04\x09\x07\x09\x00\x00\x0e\x0e')
|
||||
Lemon-Lime Striped Shirt & Denim Skirt (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x00\x18\x04\x05\x04\x05\x07\x05\x00\x00\x0e\x0e')
|
||||
Earth-Toned Striped Shirt & Denim Skirt (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x00\x18\x04\x10\x04\x10\x07\x10\x00\x00\x0e\x0e')
|
||||
Red Cowgirl (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x00\x18\x36\x00\x42\x00\x0c\x00\x00\x00\x0e\x0e')
|
||||
Red & Grey Striped Shirt & Skirt (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x00\x18\x04\x00\x04\x00\x07\x00\x00\x00\x0e\x0e')
|
||||
Racing Skirt (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x02\x00\x02\x00\x1b\x00\x1b\x20\x1b\x01\x00\x01\x01')
|
||||
Dull Stripes Outfit (Female) -
|
||||
base.localAvatar.setDNAString('t\x05\x01\x01\x04\x04\x0c\x04\x0c\x0e\x0c\x11\x00\x11\x11')
|
||||
Purple Patched Outfit (Female) -
|
||||
base.localAvatar.setDNAString('t\x01\x01\x02\x04\x04\x0c\x04\x0c\x25\x0c\x11\x00\x11\x11')
|
||||
Manskirt (Male) -
|
||||
cln = base.cr.doFindAll("closet")
|
||||
for cln in base.cr.doFindAll("closet"):
|
||||
generateClothes = "purchaseDone-" + str(cln.doId)
|
||||
messenger.send(generateClothes)
|
||||
Lay on Back -
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
Lay on Face -
|
||||
base.localAvatar.setHpr(0,270,0)
|
||||
Enter Funny Farm -
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
Leave Funny Farm -
|
||||
base.cr.sendSetZoneMsg(6000)
|
||||
Die Immediately -
|
||||
base.localAvatar.b_setAnimState(('Died'))
|
||||
Sideways Walking -
|
||||
base.localAvatar.setHpr(0,0,315)
|
||||
Catching Game Neutral Loop -
|
||||
base.localAvatar.b_setAnimState(('Catching'))
|
||||
Golfing Neutral Loop -
|
||||
base.localAvatar.b_setAnimState(('GolfPuttLoop'))
|
||||
Negative Laff Neutral Loop -
|
||||
base.localAvatar.b_setAnimState(('Sad'))
|
||||
Teleport In -
|
||||
base.localAvatar.b_setAnimState(('TeleportIn'))
|
||||
Teleport Out -
|
||||
base.localAvatar.b_setAnimState(('TeleportIn'))
|
||||
Teleport Access -
|
||||
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||||
Visited Playgrounds -
|
||||
base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||||
*** ONLY PASTE WITH ONE OF THOSE NUMBERS! ***
|
||||
Number = Playground:
|
||||
1000 = Donald's Dock
|
||||
2000 = Toontown Central
|
||||
3000 = The Brrrgh
|
||||
4000 = Minnie's Melodyland
|
||||
5000 = Daisy Gardens
|
||||
6000 = Chip 'n Dale's Acorn Acres
|
||||
7000 = Funny Farm
|
||||
8000 = Goofy Speedway
|
||||
9000 = Donald's Dreamland
|
||||
10000 = Bossbot HQ
|
||||
11000 = Sellbot HQ
|
||||
12000 = Cashbot HQ
|
||||
13000 = Lawbot HQ
|
||||
Change Name -
|
||||
base.localAvatar.setName('your name here')
|
||||
Doodle Tricks -
|
||||
base.localAvatar.setPetTrickPhrases([0,1,2,3,4,5,6])
|
||||
All Gags -
|
||||
base.localAvatar.setTrackBonusLevel([7,7,7,7,7,7,7])
|
||||
and
|
||||
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
||||
Toonup Yourself -
|
||||
base.localAvatar.toonUp(<number of Toonup points>)
|
||||
Walk Through Walls -
|
||||
base.localAvatar.collisionsOff()
|
||||
Opposite of Walk Through Anything -
|
||||
base.localAvatar.collisionsOn()
|
||||
Upside-Down -
|
||||
base.localAvatar.setHpr((0,0,180))
|
||||
Change Nametag -
|
||||
base.localAvatar.setNametagStyle(enter a number between 1-14)
|
||||
Long Dialogue -
|
||||
base.talkAssistant.sendOpenTalk('type your words here type your words here type your words here type your words here type your words here type your words here type your words here type your words here type your words here type your words here')
|
||||
Whisper to Everyone -
|
||||
base.talkAssistant.sendWhisperTalk('Your text goes here. ' * 50, 285960783)
|
||||
Scientist Blue (Unisex) -
|
||||
base.localAvatar.setDNAString('t\x01\x01\x01\x01\x62\x1c\x02\x1c\x27\x1c\x14\x00\x14\x14')
|
||||
Scientist Purple (Unisex) -
|
||||
base.localAvatar.setDNAString('t\x01\x01\x01\x01\x62\x1b\x01\x1b\x29\x1b\x14\x00\x14\x14')
|
||||
Scientist Green (Unisex) -
|
||||
base.localAvatar.setDNAString('t\x01\x01\x01\x01\x63\x1b\x01\x1b\x29\x1b\x14\x00\x14\x14')
|
||||
Scientist Red (Unisex) -
|
||||
base.localAvatar.setDNAString('t\x01\x01\x01\x01\x61\x1b\x01\x1b\x29\x1b\x14\x00\x14\x14')
|
||||
Shirt with Medal (Unisex) -
|
||||
base.localAvatar.setDNAString('t\x01\x01\x01\x01\x54\x1b\x01\x1b\x29\x1b\x14\x00\x14\x14')
|
||||
Rainbow Outfit (Female) -
|
||||
base.localAvatar.setDNAString('t\x01\x01\x01\x01\x2d\x1b\x22\x1b\x0e\x1b\x12\x00\x14\x14')
|
||||
White Toon -
|
||||
import toontown
|
||||
try:getGenderColorList
|
||||
except:getGenderColorList = toontown.makeatoon.ColorShop.ColorShop.getGenderColorList
|
||||
def returnColorList(self, *args): return range(-1,26,1)
|
||||
toontown.makeatoon.ColorShop.ColorShop.getGenderColorList = returnColorList
|
305
Better Team Fd land.txt
Normal file
305
Better Team Fd land.txt
Normal file
|
@ -0,0 +1,305 @@
|
|||
|
||||
base.cr.sendSetZoneMsg(1000000)
|
||||
base.camLens.setFar(100000000)
|
||||
base.localAvatar.setPos(0, 6, 0.025)
|
||||
base.localAvatar.setH(183)
|
||||
from direct.actor.Actor import Actor
|
||||
from pandac.PandaModules import *
|
||||
from direct.task import Task
|
||||
import math
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from pandac.PandaModules import CollisionTraverser, CollisionHandlerEvent
|
||||
from pandac.PandaModules import CollisionNode, CollisionSphere
|
||||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from direct.gui.DirectGui import DirectFrame
|
||||
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 *
|
||||
|
||||
accessID = 903129
|
||||
|
||||
newsLine1 = "Welcome to TTGlobal! V.BETA \n \n This is where we will post the latest about the land. \n"
|
||||
newsLine2 = "Such as New Areas, Features, and More! \n Be sure to keep checking, as we update often. \n"
|
||||
newsLine3 = "You will always be able to get the Version here. \n \n Until next time. \n ~ Team FD ~"
|
||||
getLatestNews = newsLine1 + newsLine2 + newsLine3
|
||||
blankTextNode = ""
|
||||
|
||||
newsFrame = DirectFrame(frameColor=(1, 1, 1, 1),
|
||||
frameSize=(-1, 1, -0.3, 1),
|
||||
pos=(-0.010, 0.013, 0.5))
|
||||
|
||||
|
||||
newsText = OnscreenText(text = blankTextNode, pos = (-0.010, 0.9),
|
||||
scale = 0.07,fg=(0,0,0,1),align=TextNode.ACenter,mayChange=1)
|
||||
newsFrame.hide()
|
||||
|
||||
def openNews():
|
||||
newsFrame.show()
|
||||
newsText.setText(getLatestNews)
|
||||
mnuBtn1.hide()
|
||||
nwsCloseBtn.show()
|
||||
|
||||
def closeNews():
|
||||
newsFrame.hide()
|
||||
newsText.setText(blankTextNode)
|
||||
mnuBtn1.show()
|
||||
nwsCloseBtn.hide()
|
||||
|
||||
mnuBtn1 = DirectButton(text = ("NEWS", "news", "news", "NEWS"), scale=0.07, pos = (-1.24, 0.710, 0.710), command=openNews)
|
||||
nwsCloseBtn = DirectButton(text = ("CLOSE", "close", "close", "close"), scale=.06, pos = (0, 0, 0.25), command=closeNews)
|
||||
nwsCloseBtn.hide()
|
||||
|
||||
environ1 = loader.loadModel("phase_8/models/minigames/tag_arena_DG.bam")
|
||||
environ1.reparentTo(render)
|
||||
|
||||
sky1 = loader.loadModel("phase_3.5/models/props/TT_sky.bam")
|
||||
sky1.reparentTo(render)
|
||||
|
||||
gfdHead = loader.loadModel("phase_3/models/char/cat-heads-1000.bam")
|
||||
gfdHead.setPos(9999,9999,9999)
|
||||
gfdHead.setHpr(180,0,0)
|
||||
|
||||
gfdHead.find('**/head-short').setColor(0.242, 0.742, 0.516, 1)
|
||||
gfdHead.find('**/head-front-short').setColor(0.242, 0.742, 0.516, 1)
|
||||
gfdHead.find('**/ears-short').setColor(0.242, 0.742, 0.516, 1)
|
||||
|
||||
gfdBody = Actor({"torso":"phase_3/models/char/dogLL_Skirt-torso-1000.bam", \
|
||||
"legs":"phase_3/models/char/dogSS_Shorts-legs-1000.bam"}, \
|
||||
|
||||
{"torso":{"neutral":"phase_3/models/char/dogLL_Skirt-torso-neutral.bam"}, \
|
||||
"legs":{"neutral":"phase_3/models/char/dogSS_Shorts-legs-neutral.bam"} \
|
||||
})
|
||||
|
||||
gfdShirt = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween4.jpg")
|
||||
gfdSleeves = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween4.jpg")
|
||||
gfdManSkirt = loader.loadTexture("phase_3/maps/desat_shorts_10.jpg")
|
||||
gfdBody.find('**/torso-bot').setColor(0.996, 0.695, 0.512, 1)
|
||||
|
||||
gfdBody.find('**/torso-top').setTexture(gfdShirt, 1)
|
||||
gfdBody.find('**/torso-bot').setTexture(gfdManSkirt, 1)
|
||||
gfdBody.find('**/sleeves').setTexture(gfdSleeves, 1)
|
||||
|
||||
gfdBody.attach("torso", "legs", "joint_hips")
|
||||
|
||||
gfdGloves = gfdBody.find('**/hands')
|
||||
gfdGloves.setColor(0.97,0.3,0.3,1)
|
||||
|
||||
gfdBody.reparentTo(render)
|
||||
gfdBody.loop("neutral")
|
||||
|
||||
neck = gfdBody.find('**/neck')
|
||||
neck.setColor(0.242, 0.742, 0.516, 1)
|
||||
gfdBody.setScale(0.76)
|
||||
|
||||
gfdBody.find('**/arms').setColor(0.242, 0.742, 0.516, 1)
|
||||
gfdBody.find('**/legs').setColor(0.242, 0.742, 0.516, 1)
|
||||
gfdBody.find('**/feet').setColor(0.242, 0.742, 0.516, 1)
|
||||
|
||||
gfdHeadJoint = gfdBody.find('**/joint_head')
|
||||
gfdHead.find('**/muzzle-short-neutral').reparentTo(gfdHeadJoint)
|
||||
gfdHead.find('**/joint_pupilR_short').reparentTo(gfdHeadJoint)
|
||||
gfdHead.find('**/joint_pupilL_short').reparentTo(gfdHeadJoint)
|
||||
gfdHead.find('**/ears-short').reparentTo(gfdHeadJoint)
|
||||
gfdHead.find('**/head-front-short').reparentTo(gfdHeadJoint)
|
||||
gfdHead.find('**/head-short').reparentTo(gfdHeadJoint)
|
||||
gfdHead.find('**/eyes-short').reparentTo(gfdHeadJoint)
|
||||
|
||||
gfdc1 = gfdBody.attachNewNode(CollisionNode('colNode'))
|
||||
gfdc1.node().addSolid(CollisionSphere(0,0,4,1))
|
||||
|
||||
gfdp1 = CollisionHandlerPusher()
|
||||
gfdp1.addCollider(gfdc1, gfdBody)
|
||||
|
||||
gfdc2 = gfdBody.attachNewNode(CollisionNode('colNode'))
|
||||
gfdc2.node().addSolid(CollisionSphere(0,0,6,1))
|
||||
|
||||
gfdp2 = CollisionHandlerPusher()
|
||||
gfdp2.addCollider(gfdc2, gfdBody)
|
||||
|
||||
gfdc3 = gfdBody.attachNewNode(CollisionNode('colNode'))
|
||||
gfdc3.node().addSolid(CollisionSphere(0,0,1,1))
|
||||
|
||||
gfdp3 = CollisionHandlerPusher()
|
||||
gfdp3.addCollider(gfdc3, gfdBody)
|
||||
|
||||
getEmblemSource = loader.loadModel("phase_3.5/models/gui/tt_m_gui_gm_toontroop_whistle.bam")
|
||||
getEmblemSource.reparentTo(render)
|
||||
emblemSourceText = loader.loadTexture("TTGlobal/Textures/gamegui_palette_3clla_1.jpg")
|
||||
getEmblemSource.setTexture(emblemSourceText, 1)
|
||||
getEmblemSource.hide()
|
||||
emblem = getEmblemSource.find('**/whistleIcon')
|
||||
emblem.reparentTo(gfdBody)
|
||||
emblem.show()
|
||||
emblem.setScale(3)
|
||||
emblem.setZ(2)
|
||||
emblemSpin = emblem.hprInterval(3, Vec3(360, 0, 0))
|
||||
emblemSpin.loop()
|
||||
emblemText = loader.loadTexture("TTGlobal/Textures/gamegui_palette_3clla_1.jpg")
|
||||
emblem.setTexture(emblemText, 1)
|
||||
|
||||
kartTransport1 = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport1.reparentTo(render)
|
||||
kartTransport1.setPos(13, 16, 0.025)
|
||||
kartTransport1.setH(142)
|
||||
kartTransport1.setScale(0.8)
|
||||
|
||||
kartTransport2 = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport2.reparentTo(render)
|
||||
kartTransport2.setPos(-13, 17, 0.025)
|
||||
kartTransport2.setH(219)
|
||||
kartTransport2.setScale(0.8)
|
||||
|
||||
kartTransport3 = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport3.reparentTo(render)
|
||||
kartTransport3.setPos(-21, -5.5, 0.025)
|
||||
kartTransport3.setH(-72)
|
||||
kartTransport3.setScale(0.8)
|
||||
|
||||
kartTransport4 = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport4.reparentTo(render)
|
||||
kartTransport4.setPos(-0.107,-22,0.025)
|
||||
kartTransport4.setH(0)
|
||||
kartTransport4.setScale(0.8)
|
||||
|
||||
kartTransport5 = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport5.reparentTo(render)
|
||||
kartTransport5.setPos(20,-6,0.025)
|
||||
kartTransport5.setH(75)
|
||||
kartTransport5.setScale(0.8)
|
||||
|
||||
counter1 = loader.loadModel("phase_3.5/models/modules/counterShort.bam")
|
||||
counter1.reparentTo(gfdBody)
|
||||
counter1.setY(3)
|
||||
counter1.setX(5.75)
|
||||
|
||||
counterc1 = counter1.attachNewNode(CollisionNode('colNode'))
|
||||
counterc1.node().addSolid(CollisionSphere(-2,-0.5,1,1))
|
||||
|
||||
counterp1 = CollisionHandlerPusher()
|
||||
counterp1.addCollider(counterc1, counter1)
|
||||
|
||||
counterc2 = counter1.attachNewNode(CollisionNode('colNode'))
|
||||
counterc2.node().addSolid(CollisionSphere(-4,-0.5,1,1))
|
||||
|
||||
counterp2 = CollisionHandlerPusher()
|
||||
counterp2.addCollider(counterc2, counter1)
|
||||
|
||||
counterc3 = counter1.attachNewNode(CollisionNode('colNode'))
|
||||
counterc3.node().addSolid(CollisionSphere(-6,-0.5,1,1))
|
||||
|
||||
counterp3 = CollisionHandlerPusher()
|
||||
counterp3.addCollider(counterc3, counter1)
|
||||
|
||||
counterc4 = counter1.attachNewNode(CollisionNode('colNode'))
|
||||
counterc4.node().addSolid(CollisionSphere(-8,-0.5,1,1))
|
||||
|
||||
counterp4 = CollisionHandlerPusher()
|
||||
counterp4.addCollider(counterc4, counter1)
|
||||
|
||||
counterc5 = counter1.attachNewNode(CollisionNode('colNode'))
|
||||
counterc5.node().addSolid(CollisionSphere(-9.3,-0.5,1,1))
|
||||
|
||||
counterp5 = CollisionHandlerPusher()
|
||||
counterp5.addCollider(counterc5, counter1)
|
||||
|
||||
environ1.find('**/hedge').setColor(0.8, 0.3, 0.7)
|
||||
environ1.find('**/ground').setColor(0.8, 0.3, 0.7)
|
||||
environ1.find('**/trellis').setColor(0.8, 0.3, 0.7)
|
||||
environ1.find('**/trellis1').setColor(0.8, 0.3, 0.7)
|
||||
environ1.find('**/trellis2').setColor(0.8, 0.3, 0.7)
|
||||
environ1.find('**/trellis3').setColor(0.8, 0.3, 0.7)
|
||||
environ1.find('**/trellis4').setColor(0.8, 0.3, 0.7)
|
||||
environ1.find('**/trees').setColor(0.8, 0.3, 0.7)
|
||||
environ1.find('**/g15').setColor(0.8, 0.3, 0.7)
|
||||
environ1.find('**/shadow').setColor(0.8, 0.3, 0.7)
|
||||
sky1.setColor(0.8, 0.3, 0.1)
|
||||
kartTransport1.setColor(1,1,1)
|
||||
kartTransport2.setColor(1,1,1)
|
||||
kartTransport3.setColor(1,1,1)
|
||||
kartTransport4.setColor(1,1,1)
|
||||
kartTransport5.setColor(1,1,1)
|
||||
counter1.setColorScale(0.5)
|
||||
|
||||
def kartTransport2CollCheck():
|
||||
x = int(base.localAvatar.getX())
|
||||
y = int(base.localAvatar.getY())
|
||||
z = int(base.localAvatar.getZ())
|
||||
|
||||
if x >= -16 and x <= -9 and z <= 4 and z >= 0 and y <= 20 and y >=11 :
|
||||
print "Land Collisions: \'localAvatar\' has collided with \'kartTransport2\'"
|
||||
mnuBtn1.hide()
|
||||
base.localAvatar.collisionsOff()
|
||||
base.localAvatar.physControls.disableAvatarControls()
|
||||
base.localAvatar.b_setAnimState('Sit')
|
||||
base.localAvatar.setPosHpr(9985,17,0,40,0,0)
|
||||
base.cam.setPos(1, -3, 0)
|
||||
base.camera.setHpr(0.0391477, -0.15114, 0)
|
||||
base.localAvatar.hideBooks()
|
||||
|
||||
def waitTillCheckCollisions():
|
||||
seq = Sequence()
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(kartTransport2CollCheck))
|
||||
seq.append(Func(waitTillCheckCollisions))
|
||||
seq.start()
|
||||
|
||||
waitTillCheckCollisions()
|
||||
|
||||
sky1copy = loader.loadModel("phase_3.5/models/props/TT_sky.bam")
|
||||
sky1copy.reparentTo(render)
|
||||
sky1copy.setX(9999)
|
||||
|
||||
environ1copy = loader.loadModel("phase_8/models/minigames/tag_arena_DG.bam")
|
||||
environ1copy.reparentTo(render)
|
||||
environ1copy.setX(9999)
|
||||
|
||||
kartTransport1copy = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport1copy.reparentTo(render)
|
||||
kartTransport1copy.setPos(10012, 16, 0.025)
|
||||
kartTransport1copy.setH(142)
|
||||
kartTransport1copy.setScale(0.8)
|
||||
|
||||
kartTransport2copy = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport2copy.reparentTo(render)
|
||||
kartTransport2copy.setPos(9986, 17, 0.025)
|
||||
kartTransport2copy.setH(219)
|
||||
kartTransport2copy.setScale(0.8)
|
||||
|
||||
kartTransport3copy = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport3copy.reparentTo(render)
|
||||
kartTransport3copy.setPos(9978, -5.5, 0.025)
|
||||
kartTransport3copy.setH(-72)
|
||||
kartTransport3copy.setScale(0.8)
|
||||
|
||||
kartTransport4copy = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport4copy.reparentTo(render)
|
||||
kartTransport4copy.setPos(9998.893,-22,0.025)
|
||||
kartTransport4copy.setH(0)
|
||||
kartTransport4copy.setScale(0.8)
|
||||
|
||||
kartTransport5copy = loader.loadModel("phase_12/models/bossbotHQ/Coggolf_cart3.bam")
|
||||
kartTransport5copy.reparentTo(render)
|
||||
kartTransport5copy.setPos(10019,-6,0.025)
|
||||
kartTransport5copy.setH(75)
|
||||
kartTransport5copy.setScale(0.8)
|
||||
|
||||
environ1copy.find('**/hedge').setColor(0.8, 0.3, 0.7)
|
||||
environ1copy.find('**/ground').setColor(0.8, 0.3, 0.7)
|
||||
environ1copy.find('**/trellis').setColor(0.8, 0.3, 0.7)
|
||||
environ1copy.find('**/trellis1').setColor(0.8, 0.3, 0.7)
|
||||
environ1copy.find('**/trellis2').setColor(0.8, 0.3, 0.7)
|
||||
environ1copy.find('**/trellis3').setColor(0.8, 0.3, 0.7)
|
||||
environ1copy.find('**/trellis4').setColor(0.8, 0.3, 0.7)
|
||||
environ1copy.find('**/trees').setColor(0.8, 0.3, 0.7)
|
||||
environ1copy.find('**/g15').setColor(0.8, 0.3, 0.7)
|
||||
environ1copy.find('**/shadow').setColor(0.8, 0.3, 0.7)
|
||||
sky1copy.setColor(0.8, 0.3, 0.1)
|
||||
kartTransport1copy.setColor(1,1,1)
|
||||
kartTransport2copy.setColor(1,1,1)
|
||||
kartTransport3copy.setColor(1,1,1)
|
||||
kartTransport4copy.setColor(1,1,1)
|
||||
kartTransport5copy.setColor(1,1,1)
|
3
Black Toon.txt
Normal file
3
Black Toon.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Girl: base.localAvatar.setDNAString('t\x05\x04\x00\x12\x54\x11\x49\x11\x23\x11\x1a\x00\x1a\x1a')
|
||||
|
||||
Boy: base.localAvatar.setDNAString('t\x01\x01\x01\x12\x74\x1b\x69\x1b\x22\x1b\x1a\x00\x1a\x1a')
|
154
Butch.txt
Normal file
154
Butch.txt
Normal file
|
@ -0,0 +1,154 @@
|
|||
|
||||
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)
|
748
CHAIN LAND.txt
Normal file
748
CHAIN LAND.txt
Normal file
|
@ -0,0 +1,748 @@
|
|||
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)
|
||||
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
|
||||
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
e.reparentTo(render)
|
||||
e.setHpr(0,0,0)
|
||||
e.setPos(0,114.03,3.20)
|
||||
pandaPosInterval22 = e.posInterval(13,Point3(0,114.03,3.20),
|
||||
startPos=Point3(0,114.03,127.50))
|
||||
pandaPosInterval33 = e.posInterval(13,Point3(0,114.03,127.50),
|
||||
startPos=Point3(0,114.03,3.20))
|
||||
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()
|
||||
environ = loader.loadModel('phase_6/models/neighborhoods/donalds_dock.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-0.291,111.382,127.5250)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
ceo = Actor({"head":"phase_12/models/char/bossbotBoss-head-zero.bam", \
|
||||
"torso":"phase_12/models/char/bossbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
ceo.attach("head", "torso", "joint34")
|
||||
ceo.attach("torso", "legs", "joint_legs")
|
||||
ceo.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = ceo.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
ceo.setPos(91.396,148.476,130.805)
|
||||
ceo.loop("walk")
|
||||
ceo.setHpr(120,0,0)
|
||||
ceo.setScale(0.7)
|
||||
environ = loader.loadModel('phase_4/models/modules/gazebo.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(99.964,115.230,130.805)
|
||||
environ.setHpr(150,0,0)
|
||||
environ.setScale(1.4)
|
||||
environ = loader.loadModel('phase_4/models/modules/gagShop_TT.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(63.847,6.181,130.805)
|
||||
environ.setHpr(30,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_4/models/modules/PetShopExterior_TT.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(86.408,26.923,130.805)
|
||||
environ.setHpr(150,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_4/models/modules/clothshopTT.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(109.730,33.439,130.806)
|
||||
environ.setHpr(150,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(208.448,98.306,130.807)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(226.864,88.035,130.847)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(244.464,75.184,130.847)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(262.593,58.083,130.911)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(310.701,12.238,130.556)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(10)
|
||||
cj = Actor({"head":"phase_11/models/char/lawbotBoss-head-zero.bam", \
|
||||
"torso":"phase_11/models/char/lawbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
cj.attach("head", "torso", "joint34")
|
||||
cj.attach("torso", "legs", "joint_legs")
|
||||
cj.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = ceo.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
cj.setPos(312.391,9.363,130.881)
|
||||
cj.loop("walk")
|
||||
cj.setHpr(50,0,0)
|
||||
cj.setScale(1.3)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(312.391,9.363,130.881)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1.2)
|
||||
mail2 = Actor("phase_3/models/char/mickey-1200.bam",{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||||
mail2.reparentTo(render)
|
||||
mail2.loop("wait")
|
||||
mail2.setPos(283.801,33.283,130.685)
|
||||
mail2.setHpr(50,0,0)
|
||||
mail2.setScale(2.6)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(283.801,33.283,130.685)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
mail1 = Actor("phase_3/models/char/minnie-1200.bam",{"wait":"phase_3/models/char/minnie-wait.bam"})
|
||||
mail1.reparentTo(render)
|
||||
mail1.loop("wait")
|
||||
mail1.setPos(274.926,-8.749,130.628)
|
||||
mail1.setHpr(50,0,0)
|
||||
mail1.setScale(2.7)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(274.926,-8.749,130.628)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
mail3 = Actor("phase_6/models/char/pluto-1000.bam",{"neutral":"phase_6/models/char/pluto-neutral.bam"})
|
||||
mail3.reparentTo(render)
|
||||
mail3.loop("neutral")
|
||||
mail3.setPos(301.347,-33.796,130.615)
|
||||
mail3.setHpr(50,0,0)
|
||||
mail3.setScale(2.7)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(301.347,-33.796,130.615)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
daisy = Actor("phase_4/models/char/daisyduck_1600.bam",{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
daisy.reparentTo(render)
|
||||
daisy.loop("idle")
|
||||
daisy.setPos(340.174,-19.351,130.646)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(340.174,-19.351,130.646)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
dlD = Actor("phase_6/models/char/DL_donald-500.bam",{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
dlD.reparentTo(render)
|
||||
dlD.loop("neutral")
|
||||
dlD.setPos(353.124,20.487,130.644)
|
||||
dlD.setHpr(50,0,0)
|
||||
dlD.setScale(2.6)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(353.124,20.487,130.644)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel("phase_6/models/char/chip_1000.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(332.303,43.855,130.651)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(3.3)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(332.303,43.855,130.651)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(0.6)
|
||||
environ = loader.loadModel("phase_6/models/char/dale_1000.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(311.853,54.206,130.628)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(3.3)
|
||||
daisy.setHpr(50,0,0)
|
||||
daisy.setScale(2.6)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(311.853,54.206,130.628)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(0.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(386.037,-61.904,130.502)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(6)
|
||||
environ = loader.loadModel('phase_3.5/models/props/glow.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(283.801,33.283,130.685)
|
||||
environ.setHpr(30,0,0)
|
||||
environ.setScale(10.7)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(436.708,-105.933,130.394)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.5)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(436.708,-105.933,130.394)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(385.118,-65.318,130.698)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(385.309,-45.009,130.607)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(389.312,-56.345,130.681)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(372.062,-56.829,130.617)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(372.474,-41.391,130.563)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(366.564,-70.988,130.581)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(354.116,-59.047,130.506)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(355.354,-46.187,130.490)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(380.582,-77.716,130.617)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(371.491,-88.432,130.523)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(391.769,-93.535,130.503)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(401.664,-68.369,130.608)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(405.414,-49.205,130.567)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_13/models/parties/jukebox_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(423.091,-47.127,130.470)
|
||||
environ.setHpr(250,0,0)
|
||||
environ.setScale(2.2)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(54.396,202.156,133.217)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(134.565,302.285,132.852)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_geyser_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(151.421,278.208,132.810)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_bridge.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(144.568,251.144,132.804)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_tunnel1.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(125.895,328.998,132.767)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_tunnel2.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(145.402,314.844,132.738)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(61.379,213.281,133.256)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(102.604,276.979,132.745)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(11)
|
||||
environ = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(102.604,276.979,132.745)
|
||||
environ.setHpr(100,0,0)
|
||||
environ.setScale(5)
|
||||
environ = loader.loadModel('phase_6/models/golf/findfour_game.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(52.342,278.182,132.792)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(10)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_cart3.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(65.110,229.863,132.718)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_cart3.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(104.835,212.641,132.697)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_gazebo.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(81.651,307.736,132.888)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(30.771,325.539,132.619)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-17.232,345.975,132.629)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(7)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-34.539,328.741,132.712)
|
||||
environ.setHpr(60,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-39.021,351.151,132.725)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_castle.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-23.707,367.647,132.726)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-66.527,379.206,132.511)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-66.527,379.206,132.511)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-58.507,387.105,132.557)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(3.5)
|
||||
environ = loader.loadModel('phase_7/models/modules/cubicle_room.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-150.577,445.196,132.554)
|
||||
environ.setHpr(51,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-99.498,395.610,132.130)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-118.799,415.360,132.579)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.5)
|
||||
environ = loader.loadModel('phase_13/models/parties/partyGrounds.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-272.631,543.657,132.579)
|
||||
environ.setHpr(250,0,0)
|
||||
environ.setScale(0.6)
|
||||
environ = loader.loadModel('phase_13/models/parties/launchPad.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-305.209,566.607,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_13/models/parties/trampoline_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-314.420,590.814,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_13/models/parties/cogPieArena_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-254.592,583.645,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/trampoline_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-223.332,551.987,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/partyTugOfWar.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-290.104,509.896,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/danceFloor.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-241.280,506.135,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/partyCatchTree.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-340.963,516.785,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/rocket_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-310.840,474.424,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/props/suit_explosion-mod.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-160.398,451.367,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/props/splat-mod.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-160.398,451.367,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_scientistDuckFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-160.398,451.367,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_sillyMeterFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-167.491,460.000,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_scientistMonkeyFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-153.341,455.967,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_scientistHorseFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-162.629,442.043,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_tepee.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(6.068,362.580,132.689)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/houseB.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(1.164,312.351,132.628)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_4/models/minigames/maze_2player.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(497.903,-160.595,130.644)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_4/models/minigames/toon_cannon_water_tower.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(545.021,-199.975,130.669)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(555.806,-214.478,130.669)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(577.106,-232.985,130.599)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(39.253,346.648,132.553)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(51.144,370.555,132.500)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(63.171,399.032,132.405)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/bugRoomTV.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(63.171,399.032,132.405)
|
||||
environ.setHpr(-10 ,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(596.120,-252.319,132.756)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(608.716,-264.300,137.245)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(621.928,-277.616,139.929)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(636.260,-294.036,144.328)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(649.899,-307.395,148.563)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(662.962,-318.933,148.583)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(693.770,-348.836,148.400)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(5)
|
||||
environ = loader.loadModel('phase_4/models/modules/school_house.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(693.770,-348.836,148.400)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/Organ.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(707.414,-339.706,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/popcornCart.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(698.120,-329.884,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1.8)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/gag_fan.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(675.003,-343.285,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1.8)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/garden_donald.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(665.519,-351.356,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(0.2)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(723.557,-366.607,155.054)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(739.145,-379.744,159.139)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(751.657,-390.274,163.552)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(759.657,-390.274,163.552)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(765.657,-390.274,163.552)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.574,-403.053,163.774)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(6.4)
|
||||
environ = loader.loadModel('phase_4/models/char/BearAcuda-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.574,-403.053,163.774)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3.3)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.574,-403.053,163.774)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_4/models/char/seaHorse-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(809.774,-374.149,163.817)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/seaHorse-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(789.995,-424.755,163.811)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/kingCrab-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(779.376,-393.726,163.796)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/poolShark-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.259,-428.313,163.839)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/pianoTuna-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(771.176,-405.605,163.766)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/nurseShark-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(781.339,-378.910,163.782)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/starFish-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(825.436,-379.646,163.814)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(4)
|
||||
environ = loader.loadModel('phase_4/models/char/clownFish-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(833.749,-396.824,163.854)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(4)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(863.727,-390.577,168.048)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(880.387,-385.629,171.331)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(898.844,-382.299,175.529)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(917.931,-378.344,178.093)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(934.766,-375.420,181.253)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_4/models/props/mickey_on_horse.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(952.412,-342.760,181.199)
|
||||
environ.setHpr(50,0,0)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(952.412,-342.760,181.199)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(3.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(985.239,-322.653,181.219)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(931.974,-377.464,181.305)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(.5)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(931.974,-370.464,186.305)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(.5)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(931.974,-363.464,188.305)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(.5)
|
42
Ceo.txt
Normal file
42
Ceo.txt
Normal file
|
@ -0,0 +1,42 @@
|
|||
ceo = Actor({"head":"phase_12/models/char/bossbotBoss-head-zero.bam", \
|
||||
"torso":"phase_12/models/char/bossbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
ceo.attach("head", "torso", "joint34")
|
||||
ceo.attach("torso", "legs", "joint_legs")
|
||||
ceo.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = ceo.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
ceo.setPos(-816, -365, 65)
|
||||
ceo.loop("walk")
|
||||
ceo.setHpr(-121,0,0)
|
||||
ceo.setScale(1)
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from pandac.PandaModules import Point3
|
||||
from pandac.PandaModules import *
|
||||
|
||||
|
||||
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
e.reparentTo(render)
|
||||
e.setHpr(0,0,0)
|
||||
e.setPos(0,0,0)
|
||||
pandaPosInterval22 = e.posInterval(13,Point3(0,0,0),
|
||||
startPos=Point3(0,0,25))
|
||||
pandaPosInterval33 = e.posInterval(13,Point3(0,0,25),
|
||||
startPos=Point3(0,0,0))
|
||||
pandaPace = Sequence(pandaPosInterval22,
|
||||
pandaPosInterval33,
|
||||
name="pandaPace")
|
||||
pandaPace.loop()
|
||||
e.find('**/wall_back').removeNode()
|
||||
e.find('**/wall_front').removeNode()
|
777
ChainLand UPDATED.txt
Normal file
777
ChainLand UPDATED.txt
Normal file
|
@ -0,0 +1,777 @@
|
|||
base.talkAssistant.sendOpenTalk('Welcome to Chain Land! Created by Sea Green Kat and Master Lefty ONLY!...')
|
||||
base.localAvatar.setSystemMessage(1,'Welcome to Chain Land! Created by Master Lefty and Sea Green Kat!')
|
||||
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)
|
||||
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
|
||||
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
e.reparentTo(render)
|
||||
e.setHpr(0,0,0)
|
||||
e.setPos(0,114.03,3.20)
|
||||
pandaPosInterval22 = e.posInterval(13,Point3(0,114.03,3.20),
|
||||
startPos=Point3(0,114.03,127.50))
|
||||
pandaPosInterval33 = e.posInterval(13,Point3(0,114.03,127.50),
|
||||
startPos=Point3(0,114.03,3.20))
|
||||
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()
|
||||
environ = loader.loadModel('phase_6/models/neighborhoods/donalds_dock.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-0.291,111.382,127.5250)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
ceo = Actor({"head":"phase_12/models/char/bossbotBoss-head-zero.bam", \
|
||||
"torso":"phase_12/models/char/bossbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
ceo.attach("head", "torso", "joint34")
|
||||
ceo.attach("torso", "legs", "joint_legs")
|
||||
ceo.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = ceo.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
ceo.setPos(91.396,148.476,130.805)
|
||||
ceo.loop("walk")
|
||||
ceo.setHpr(120,0,0)
|
||||
ceo.setScale(0.7)
|
||||
environ = loader.loadModel('phase_4/models/modules/gazebo.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(99.964,115.230,130.805)
|
||||
environ.setHpr(150,0,0)
|
||||
environ.setScale(1.4)
|
||||
environ = loader.loadModel('phase_4/models/modules/gagShop_TT.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(63.847,6.181,130.805)
|
||||
environ.setHpr(30,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_4/models/modules/PetShopExterior_TT.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(86.408,26.923,130.805)
|
||||
environ.setHpr(150,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_4/models/modules/clothshopTT.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(109.730,33.439,130.806)
|
||||
environ.setHpr(150,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(208.448,98.306,130.807)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(226.864,88.035,130.847)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(244.464,75.184,130.847)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(262.593,58.083,130.911)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(310.701,12.238,130.556)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(10)
|
||||
cj = Actor({"head":"phase_11/models/char/lawbotBoss-head-zero.bam", \
|
||||
"torso":"phase_11/models/char/lawbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
cj.attach("head", "torso", "joint34")
|
||||
cj.attach("torso", "legs", "joint_legs")
|
||||
cj.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = ceo.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
cj.setPos(312.391,9.363,130.881)
|
||||
cj.loop("walk")
|
||||
cj.setHpr(50,0,0)
|
||||
cj.setScale(1.3)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(312.391,9.363,130.881)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1.2)
|
||||
mail2 = Actor("phase_3/models/char/mickey-1200.bam",{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||||
mail2.reparentTo(render)
|
||||
mail2.loop("wait")
|
||||
mail2.setPos(283.801,33.283,130.685)
|
||||
mail2.setHpr(50,0,0)
|
||||
mail2.setScale(2.6)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(283.801,33.283,130.685)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
mail1 = Actor("phase_3/models/char/minnie-1200.bam",{"wait":"phase_3/models/char/minnie-wait.bam"})
|
||||
mail1.reparentTo(render)
|
||||
mail1.loop("wait")
|
||||
mail1.setPos(274.926,-8.749,130.628)
|
||||
mail1.setHpr(50,0,0)
|
||||
mail1.setScale(2.7)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(274.926,-8.749,130.628)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
mail3 = Actor("phase_6/models/char/pluto-1000.bam",{"neutral":"phase_6/models/char/pluto-neutral.bam"})
|
||||
mail3.reparentTo(render)
|
||||
mail3.loop("neutral")
|
||||
mail3.setPos(301.347,-33.796,130.615)
|
||||
mail3.setHpr(50,0,0)
|
||||
mail3.setScale(2.7)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(301.347,-33.796,130.615)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
daisy = Actor("phase_4/models/char/daisyduck_1600.bam",{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
daisy.reparentTo(render)
|
||||
daisy.loop("idle")
|
||||
daisy.setPos(340.174,-19.351,130.646)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(340.174,-19.351,130.646)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
dlD = Actor("phase_6/models/char/DL_donald-500.bam",{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
dlD.reparentTo(render)
|
||||
dlD.loop("neutral")
|
||||
dlD.setPos(353.124,20.487,130.644)
|
||||
dlD.setHpr(50,0,0)
|
||||
dlD.setScale(2.6)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(353.124,20.487,130.644)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel("phase_6/models/char/chip_1000.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(332.303,43.855,130.651)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(3.3)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(332.303,43.855,130.651)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(0.6)
|
||||
environ = loader.loadModel("phase_6/models/char/dale_1000.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(311.853,54.206,130.628)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(3.3)
|
||||
daisy.setHpr(50,0,0)
|
||||
daisy.setScale(2.6)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(311.853,54.206,130.628)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(0.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(386.037,-61.904,130.502)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(6)
|
||||
environ = loader.loadModel('phase_3.5/models/props/glow.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(283.801,33.283,130.685)
|
||||
environ.setHpr(30,0,0)
|
||||
environ.setScale(10.7)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(436.708,-105.933,130.394)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.5)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(436.708,-105.933,130.394)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(385.118,-65.318,130.698)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(385.309,-45.009,130.607)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(389.312,-56.345,130.681)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(372.062,-56.829,130.617)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(372.474,-41.391,130.563)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(366.564,-70.988,130.581)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(354.116,-59.047,130.506)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(355.354,-46.187,130.490)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(380.582,-77.716,130.617)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(371.491,-88.432,130.523)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(391.769,-93.535,130.503)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(401.664,-68.369,130.608)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(405.414,-49.205,130.567)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_13/models/parties/jukebox_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(423.091,-47.127,130.470)
|
||||
environ.setHpr(250,0,0)
|
||||
environ.setScale(2.2)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(54.396,202.156,133.217)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(134.565,302.285,132.852)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_geyser_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(151.421,278.208,132.810)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_bridge.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(144.568,251.144,132.804)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_tunnel1.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(125.895,328.998,132.767)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_tunnel2.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(145.402,314.844,132.738)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(61.379,213.281,133.256)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(102.604,276.979,132.745)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(11)
|
||||
environ = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(102.604,276.979,132.745)
|
||||
environ.setHpr(100,0,0)
|
||||
environ.setScale(5)
|
||||
environ = loader.loadModel('phase_6/models/golf/findfour_game.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(52.342,278.182,132.792)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(10)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_cart3.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(65.110,229.863,132.718)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_cart3.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(104.835,212.641,132.697)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_gazebo.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(81.651,307.736,132.888)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(30.771,325.539,132.619)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-17.232,345.975,132.629)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(7)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-34.539,328.741,132.712)
|
||||
environ.setHpr(60,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-39.021,351.151,132.725)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_castle.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-23.707,367.647,132.726)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-66.527,379.206,132.511)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-66.527,379.206,132.511)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-58.507,387.105,132.557)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(3.5)
|
||||
environ = loader.loadModel('phase_7/models/modules/cubicle_room.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-150.577,445.196,132.554)
|
||||
environ.setHpr(51,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-99.498,395.610,132.130)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-118.799,415.360,132.579)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.5)
|
||||
environ = loader.loadModel('phase_13/models/parties/partyGrounds.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-272.631,543.657,132.579)
|
||||
environ.setHpr(250,0,0)
|
||||
environ.setScale(0.6)
|
||||
environ = loader.loadModel('phase_13/models/parties/launchPad.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-305.209,566.607,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_13/models/parties/trampoline_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-314.420,590.814,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_13/models/parties/cogPieArena_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-254.592,583.645,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/trampoline_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-223.332,551.987,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/partyTugOfWar.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-290.104,509.896,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/danceFloor.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-241.280,506.135,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/partyCatchTree.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-340.963,516.785,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/rocket_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-310.840,474.424,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/props/suit_explosion-mod.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-160.398,451.367,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/props/splat-mod.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-160.398,451.367,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_scientistDuckFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-160.398,451.367,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_sillyMeterFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-167.491,460.000,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_scientistMonkeyFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-153.341,455.967,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_scientistHorseFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-162.629,442.043,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_tepee.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(6.068,362.580,132.689)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/houseB.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(1.164,312.351,132.628)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_4/models/minigames/maze_2player.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(497.903,-160.595,130.644)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_4/models/minigames/toon_cannon_water_tower.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(545.021,-199.975,130.669)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(555.806,-214.478,130.669)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(577.106,-232.985,130.599)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(39.253,346.648,132.553)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(51.144,370.555,132.500)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(63.171,399.032,132.405)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/bugRoomTV.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(63.171,399.032,132.405)
|
||||
environ.setHpr(-10 ,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(596.120,-252.319,132.756)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(608.716,-264.300,137.245)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(621.928,-277.616,139.929)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(636.260,-294.036,144.328)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(649.899,-307.395,148.563)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(662.962,-318.933,148.583)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(693.770,-348.836,148.400)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(5)
|
||||
environ = loader.loadModel('phase_4/models/modules/school_house.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(693.770,-348.836,148.400)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/Organ.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(707.414,-339.706,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/popcornCart.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(698.120,-329.884,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1.8)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/gag_fan.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(675.003,-343.285,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1.8)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/garden_donald.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(665.519,-351.356,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(0.2)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(723.557,-366.607,155.054)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(739.145,-379.744,159.139)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(751.657,-390.274,163.552)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(759.657,-390.274,163.552)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(765.657,-390.274,163.552)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.574,-403.053,163.774)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(6.4)
|
||||
environ = loader.loadModel('phase_4/models/char/BearAcuda-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.574,-403.053,163.774)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3.3)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.574,-403.053,163.774)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_4/models/char/seaHorse-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(809.774,-374.149,163.817)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/seaHorse-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(789.995,-424.755,163.811)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/kingCrab-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(779.376,-393.726,163.796)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/poolShark-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.259,-428.313,163.839)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/pianoTuna-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(771.176,-405.605,163.766)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/nurseShark-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(781.339,-378.910,163.782)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/starFish-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(825.436,-379.646,163.814)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(4)
|
||||
environ = loader.loadModel('phase_4/models/char/clownFish-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(833.749,-396.824,163.854)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(4)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(863.727,-390.577,168.048)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(880.387,-385.629,171.331)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(898.844,-382.299,175.529)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(917.931,-378.344,178.093)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(934.766,-375.420,181.253)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_4/models/props/mickey_on_horse.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(952.412,-342.760,181.199)
|
||||
environ.setHpr(50,0,0)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(952.412,-342.760,181.199)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(3.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(985.239,-322.653,181.219)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(931.974,-377.464,184.305)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(.5)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(931.974,-370.464,186.305)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(.5)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(931.974,-363.464,188.305)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(.5)
|
||||
environ2 = loader.loadModel('phase_8/models/neighborhoods/the_burrrgh.bam')
|
||||
environ2.reparentTo(render)
|
||||
environ2.setPos(1058.114,-310.535,181.365)
|
||||
environ2.setHpr(0,0,0)
|
||||
environ2.setScale(1)
|
||||
|
||||
from direct.actor.Actor import Actor
|
||||
from pandac.PandaModules import *
|
||||
from direct.task import Task
|
||||
import math
|
||||
from math import pi, sin, cos
|
||||
from direct.showbase.ShowBase import ShowBase
|
||||
from direct.task import Task
|
||||
from direct.interval.IntervalGlobal import Sequence
|
||||
from pandac.PandaModules import Point3
|
||||
|
||||
cheesesss = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
cheesesss.reparentTo(render)
|
||||
cheesesss.loop("walk")
|
||||
mole = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese = mole.find('**/bigcheese')
|
||||
bigcheese.setColor(0,0,3)
|
||||
hands = cheesesss.find('**/hands')
|
||||
hands.setColor(0.345, 0.333, 1, 0.000)
|
||||
cheesesss.setPos(964.926,-233.685,193.554)
|
||||
cheesesss.setScale(1.5)
|
||||
cheesesss.setHpr((0,0,0))
|
551
Cog Meeting Room/Cog Meeting Room.txt
Normal file
551
Cog Meeting Room/Cog Meeting Room.txt
Normal file
|
@ -0,0 +1,551 @@
|
|||
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 *
|
||||
|
||||
maze = loader.loadModel("phase_12/models/bossbotHQ/BossbotMazex2_straight_C.bam")
|
||||
maze.reparentTo(render)
|
||||
maze.setHpr(180,0,0)
|
||||
maze.setPos(-88.605,-501.840,-499.975)
|
||||
maze.setScale(1)
|
||||
|
||||
stair1 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair1.reparentTo(render)
|
||||
stair1.setHpr(180,0,0)
|
||||
stair1.setPos(-166.267,-578.642,-500.101)
|
||||
stair1.setScale(1)
|
||||
|
||||
stair2 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair2.reparentTo(render)
|
||||
stair2.setHpr(180,0,0)
|
||||
stair2.setPos(-180.667,-578.642,-500.101)
|
||||
stair2.setScale(1)
|
||||
|
||||
stair3 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair3.reparentTo(render)
|
||||
stair3.setHpr(180,0,0)
|
||||
stair3.setPos(-194.667,-578.642,-500.101)
|
||||
stair3.setScale(1)
|
||||
|
||||
stair4 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair4.reparentTo(render)
|
||||
stair4.setHpr(180,0,0)
|
||||
stair4.setPos(-209.267,-578.642,-500.101)
|
||||
stair4.setScale(1)
|
||||
|
||||
stair5 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair5.reparentTo(render)
|
||||
stair5.setHpr(180,0,0)
|
||||
stair5.setPos(-224.267,-578.642,-500.101)
|
||||
stair5.setScale(1)
|
||||
|
||||
stair6 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair6.reparentTo(render)
|
||||
stair6.setHpr(180,0,0)
|
||||
stair6.setPos(-239.267,-578.642,-500.101)
|
||||
stair6.setScale(1)
|
||||
|
||||
stair7 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair7.reparentTo(render)
|
||||
stair7.setHpr(180,0,0)
|
||||
stair7.setPos(-254.267,-578.642,-500.101)
|
||||
stair7.setScale(1)
|
||||
|
||||
stair8 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair8.reparentTo(render)
|
||||
stair8.setHpr(180,0,0)
|
||||
stair8.setPos(-269.267,-578.642,-500.101)
|
||||
stair8.setScale(1)
|
||||
|
||||
stair9 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair9.reparentTo(render)
|
||||
stair9.setHpr(180,0,0)
|
||||
stair9.setPos(-284.267,-578.642,-500.101)
|
||||
stair9.setScale(1)
|
||||
|
||||
stair10 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair10.reparentTo(render)
|
||||
stair10.setHpr(180,0,0)
|
||||
stair10.setPos(-299.267,-578.642,-500.101)
|
||||
stair10.setScale(1)
|
||||
|
||||
stair11 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair11.reparentTo(render)
|
||||
stair11.setHpr(180,0,0)
|
||||
stair11.setPos(-314.267,-577.642,-500.101)
|
||||
stair11.setScale(1)
|
||||
|
||||
stair12 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair12.reparentTo(render)
|
||||
stair12.setHpr(180,0,0)
|
||||
stair12.setPos(-315.765,-590.956,-500.101)
|
||||
stair12.setScale(1)
|
||||
|
||||
stair13 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair13.reparentTo(render)
|
||||
stair13.setHpr(180,0,0)
|
||||
stair13.setPos(-315.765,-604.051,-500.101)
|
||||
stair13.setScale(1)
|
||||
|
||||
stair14 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair14.reparentTo(render)
|
||||
stair14.setHpr(180,0,0)
|
||||
stair14.setPos(-315.765,-617.151,-500.101)
|
||||
stair14.setScale(1)
|
||||
|
||||
stair15 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair15.reparentTo(render)
|
||||
stair15.setHpr(180,0,0)
|
||||
stair15.setPos(-315.765,-630.352,-500.101)
|
||||
stair15.setScale(1)
|
||||
|
||||
stair16 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair16.reparentTo(render)
|
||||
stair16.setHpr(180,0,0)
|
||||
stair16.setPos(-330.265,-630.352,-500.101)
|
||||
stair16.setScale(1)
|
||||
|
||||
stair17 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair17.reparentTo(render)
|
||||
stair17.setHpr(180,0,0)
|
||||
stair17.setPos(-345.265,-630.352,-500.101)
|
||||
stair17.setScale(1)
|
||||
|
||||
stair18 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair18.reparentTo(render)
|
||||
stair18.setHpr(180,0,0)
|
||||
stair18.setPos(-360.265,-630.352,-500.101)
|
||||
stair18.setScale(1)
|
||||
|
||||
stair19 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
stair19.reparentTo(render)
|
||||
stair19.setHpr(180,0,0)
|
||||
stair19.setPos(-375.265,-630.352,-500.101)
|
||||
stair19.setScale(1)
|
||||
|
||||
goon1 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon1.reparentTo(render)
|
||||
goon1.loop("goonwalk")
|
||||
goon1.setPos(187.334,-580.305,-500.168)
|
||||
goon1.setHpr(360,0,0)
|
||||
goon1.setScale(2.5)
|
||||
|
||||
goon2 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon2.reparentTo(render)
|
||||
goon2.loop("goonwalk")
|
||||
goon2.setPos(101.258,-568.789,-500.168)
|
||||
goon2.setHpr(180,0,0)
|
||||
goon2.setScale(2.5)
|
||||
|
||||
goon3 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon3.reparentTo(render)
|
||||
goon3.loop("goonwalk")
|
||||
goon3.setPos(120.422,-581.837,-500.168)
|
||||
goon3.setHpr(180,0,0)
|
||||
goon3.setScale(2.5)
|
||||
|
||||
goon4 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon4.reparentTo(render)
|
||||
goon4.loop("goonwalk")
|
||||
goon4.setPos(203.955,-541.389,-500.168)
|
||||
goon4.setHpr(270,0,0)
|
||||
goon4.setScale(2.5)
|
||||
|
||||
goon5 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon5.reparentTo(render)
|
||||
goon5.loop("goonwalk")
|
||||
goon5.setPos(101.486,-631.648,-500.168)
|
||||
goon5.setHpr(360,0,0)
|
||||
goon5.setScale(2.5)
|
||||
|
||||
goon6 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon6.reparentTo(render)
|
||||
goon6.loop("goonwalk")
|
||||
goon6.setPos(119.298,-619.101,-500.168)
|
||||
goon6.setHpr(360,0,0)
|
||||
goon6.setScale(2.5)
|
||||
|
||||
goon7 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon7.reparentTo(render)
|
||||
goon7.loop("goonwalk")
|
||||
goon7.setPos(-66.717,-629.977,-500.168)
|
||||
goon7.setHpr(360,0,0)
|
||||
goon7.setScale(2.5)
|
||||
|
||||
goon8 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon8.reparentTo(render)
|
||||
goon8.loop("goonwalk")
|
||||
goon8.setPos(-39.498,-628.479,-500.168)
|
||||
goon8.setHpr(450,0,0)
|
||||
goon8.setScale(2.5)
|
||||
|
||||
goon9 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon9.reparentTo(render)
|
||||
goon9.loop("goonwalk")
|
||||
goon9.setPos(19.200,-581.041,-500.168)
|
||||
goon9.setHpr(360,0,0)
|
||||
goon9.setScale(2.5)
|
||||
|
||||
goon10 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"goonwalk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon10.reparentTo(render)
|
||||
goon10.loop("goonwalk")
|
||||
goon10.setPos(-64.940,-567.107,-500.168)
|
||||
goon10.setHpr(180,0,0)
|
||||
goon10.setScale(2.5)
|
||||
|
||||
banquet = loader.loadModel("phase_12/models/bossbotHQ/BanquetInterior_1.bam")
|
||||
banquet.reparentTo(render)
|
||||
banquet.setHpr(180,0,0)
|
||||
banquet.setPos(-500.000,-500.000,-500.000)
|
||||
banquet.setScale(1)
|
||||
|
||||
elevator = loader.loadModel("phase_12/models/bossbotHQ/BB_Inside_Elevator.bam")
|
||||
elevator.reparentTo(render)
|
||||
elevator.setHpr(0,0,0)
|
||||
elevator.setPos(-500.367,-419.934,-499.975)
|
||||
elevator.setScale(1)
|
||||
|
||||
tablemeet = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
tablemeet.reparentTo(render)
|
||||
tablemeet.setPos(-499.106,-692.525,-499.975)
|
||||
tablemeet.setHpr(90,0,0)
|
||||
tablemeet.setScale(.9)
|
||||
|
||||
wall1 = loader.loadModel("phase_12/models/bossbotHQ/BB_Inside_Elevator.bam")
|
||||
wall1.reparentTo(render)
|
||||
wall1.setPos(282.779,-583.407,-500.000)
|
||||
wall1.setHpr(270,0,0)
|
||||
wall1.setScale(1)
|
||||
|
||||
wall2 = loader.loadModel("phase_12/models/bossbotHQ/BB_Inside_Elevator.bam")
|
||||
wall2.reparentTo(render)
|
||||
wall2.setPos(282.779,-575.407,-500.000)
|
||||
wall2.setHpr(270,0,0)
|
||||
wall2.setScale(1)
|
||||
|
||||
|
||||
guard1 = Actor({"head":"phase_3/models/char/dogSS_Shorts-head-1000.bam", \
|
||||
"torso":"phase_3/models/char/dogLL_Shorts-torso-1000.bam", \
|
||||
"legs":"phase_3/models/char/dogMM_Shorts-legs-1000.bam"}, \
|
||||
{"head":{"guard1neutral":"phase_3/models/char/dogSS_Shorts-head-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-head-neutral.bam"}, \
|
||||
"torso":{"guard1neutral":"phase_3/models/char/dogLL_Shorts-torso-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-torso-neutral.bam"}, \
|
||||
"legs":{"guard1neutral":"phase_3/models/char/dogMM_Shorts-legs-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-legs-neutral.bam"} \
|
||||
})
|
||||
guard1.attach("head", "torso", "joint_head")
|
||||
shirts1=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistC.jpg")
|
||||
sleeves1=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
|
||||
shorts1=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistA.jpg")
|
||||
guard1.find('**/torso-top').setTexture(shirts1, 1)
|
||||
guard1.find('**/torso-bot').setTexture(shorts1, 1)
|
||||
guard1.find('**/sleeves').setTexture(sleeves1, 1)
|
||||
guard1.find('**/torso-bot-cap').setTexture(shorts1, 1)
|
||||
guard1.attach("torso", "legs", "joint_hips")
|
||||
gloves = guard1.findAllMatches('**/hands')
|
||||
gloves.setColor(0.4,1,0.4)
|
||||
guard1.find('**/head-front').setColor(1,0.5,0.18)
|
||||
guard1.find('**/head').setColor(1,0.5,0.18)
|
||||
guard1.find('**/arms').setColor(1,0.5,0.18)
|
||||
guard1.find('**/legs').setColor(1,0.5,0.18)
|
||||
guard1.find('**/feet').setColor(1,0.5,0.18)
|
||||
guard1.find('**/neck').setColor(1,0.5,0.18)
|
||||
guard1.find('**/torso-bot').setColor(1.0,1.0,1.0)
|
||||
guard1.find('**/torso-bot-cap').setColor(1.0,1.0,1.0)
|
||||
guard1.loop("guard1neutral")
|
||||
guard1.reparentTo(render)
|
||||
guard1.setPos(251.576,-575.339,-499.950)
|
||||
guard1.setScale(2)
|
||||
guard1.setHpr(270,0,0)
|
||||
|
||||
guard2 = Actor({"head":"phase_3/models/char/dogLL_Shorts-head-1000.bam", \
|
||||
"torso":"phase_3/models/char/dogMM_Shorts-torso-1000.bam", \
|
||||
"legs":"phase_3/models/char/dogSS_Shorts-legs-1000.bam"}, \
|
||||
{"head":{"guard2neutral":"phase_3/models/char/dogLL_Shorts-head-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogLL_Shorts-head-neutral.bam"}, \
|
||||
"torso":{"guard2neutral":"phase_3/models/char/dogMM_Shorts-torso-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-torso-neutral.bam"}, \
|
||||
"legs":{"guard2neutral":"phase_3/models/char/dogSS_Shorts-legs-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogSS_Shorts-legs-neutral.bam"} \
|
||||
})
|
||||
guard2.attach("head", "torso", "joint_head")
|
||||
shirts2=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistC.jpg")
|
||||
sleeves2=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
|
||||
shorts2=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistB.jpg")
|
||||
guard2.find('**/torso-top').setTexture(shirts2, 1)
|
||||
guard2.find('**/torso-bot').setTexture(shorts2, 1)
|
||||
guard2.find('**/sleeves').setTexture(sleeves2, 1)
|
||||
guard2.find('**/torso-bot-cap').setTexture(shorts2, 1)
|
||||
guard2.attach("torso", "legs", "joint_hips")
|
||||
guard2.find('**/hands').setColor(0.96,0.7,0.7)
|
||||
guard2.find('**/head-front').setColor(0.4,1,0.4)
|
||||
guard2.find('**/head').setColor(0.4,1,0.4)
|
||||
guard2.find('**/arms').setColor(0.4,1,0.4)
|
||||
guard2.find('**/legs').setColor(0.4,1,0.4)
|
||||
guard2.find('**/feet').setColor(0.4,1,0.4)
|
||||
guard2.find('**/torso-bot').setColor(1.0,1.0,1.0)
|
||||
guard2.find('**/torso-bot-cap').setColor(1.0,1.0,1.0)
|
||||
guard2.find('**/neck').setColor(0.4,1,0.4)
|
||||
guard2.loop("guard2neutral")
|
||||
guard2.reparentTo(render)
|
||||
guard2.setPos(251.203,-598.164,-499.950)
|
||||
guard2.setScale(2)
|
||||
guard2.setHpr(270,0,0)
|
||||
|
||||
goofy = Actor("phase_6/models/char/tt_a_chr_csc_goofyCostume_1200.bam",{"goofyneutral":"phase_6/models/char/tt_a_chr_csc_goofyCostume_neutral.bam"})
|
||||
goofy.reparentTo(render)
|
||||
goofy.loop("goofyneutral")
|
||||
goofy.setPos(262.098,-600.125,-499.950)
|
||||
goofy.setHpr(360,0,0)
|
||||
goofy.setScale(1.5)
|
||||
|
||||
mickey = Actor("phase_3/models/char/mickey-800.bam",{"mickeyneutral":"phase_3/models/char/mickey-wait.bam"})
|
||||
mickey.reparentTo(render)
|
||||
mickey.loop("mickeyneutral")
|
||||
mickey.setPos(268.050,-599.871,-499.950)
|
||||
mickey.setHpr(360,0,0)
|
||||
mickey.setScale(1.5)
|
||||
|
||||
hydrant = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",{"hydrantanim":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hydrant.reparentTo(render)
|
||||
hydrant.loop("hydrantanim")
|
||||
hydrant.setPos(258.836,-573.261,-499.950)
|
||||
hydrant.setHpr(0,0,0)
|
||||
hydrant.setScale(2)
|
||||
|
||||
mailbox = Actor("phase_5/models/char/tt_r_ara_ttc_mailbox.bam",{"mailboxanim":"phase_5/models/char/tt_a_ara_ttc_mailbox_idleAwesome3.bam"})
|
||||
mailbox.reparentTo(render)
|
||||
mailbox.loop("mailboxanim")
|
||||
mailbox.setPos(265.615,-573.825,-499.950)
|
||||
mailbox.setHpr(0,0,0)
|
||||
mailbox.setScale(1.5)
|
||||
|
||||
trashcan = Actor("phase_5/models/char/tt_r_ara_ttc_trashcan.bam",{"trashanim":"phase_5/models/char/tt_a_ara_ttc_trashcan_idleHiccup0.bam"})
|
||||
trashcan.reparentTo(render)
|
||||
trashcan.loop("trashanim")
|
||||
trashcan.setPos(270.940,-573.595,-499.950)
|
||||
trashcan.setHpr(0,0,0)
|
||||
trashcan.setScale(1.5)
|
||||
|
||||
tablespy = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
tablespy.reparentTo(render)
|
||||
tablespy.setPos(-505.533,-819.645,-500.168)
|
||||
tablespy.setHpr(90,0,0)
|
||||
tablespy.setScale(2.5)
|
||||
|
||||
mickey2 = Actor("phase_3/models/char/mickey-800.bam",{"mickeyneutral":"phase_3/models/char/mickey-wait.bam"})
|
||||
mickey2.reparentTo(render)
|
||||
mickey2.loop("mickeyneutral")
|
||||
mickey2.setPos(-515.529,-817.715,-499.888)
|
||||
mickey2.setHpr(360,0,0)
|
||||
mickey2.setScale(1.5)
|
||||
|
||||
goofy2 = Actor("phase_6/models/char/tt_a_chr_csc_goofyCostume_1200.bam",{"goofyneutral":"phase_6/models/char/tt_a_chr_csc_goofyCostume_neutral.bam"})
|
||||
goofy2.reparentTo(render)
|
||||
goofy2.loop("goofyneutral")
|
||||
goofy2.setPos(-512.255,-818.361,-499.888)
|
||||
goofy2.setHpr(360,0,0)
|
||||
goofy2.setScale(1.5)
|
||||
|
||||
chip = Actor("phase_6/models/char/chip_1000.bam",{"chipneutral":"phase_6/models/char/chip_idle.bam"})
|
||||
chip.reparentTo(render)
|
||||
chip.loop("chipneutral")
|
||||
chip.setPos(-508.255,-818.361,-499.888)
|
||||
chip.setHpr(360,0,0)
|
||||
chip.setScale(1.5)
|
||||
|
||||
dale = Actor("phase_6/models/char/dale_1000.bam",{"daleneutral":"phase_6/models/char/dale_idle.bam"})
|
||||
dale.reparentTo(render)
|
||||
dale.loop("daleneutral")
|
||||
dale.setPos(-506.255,-818.361,-499.888)
|
||||
dale.setHpr(360,0,0)
|
||||
dale.setScale(1.5)
|
||||
|
||||
donald = Actor("phase_6/models/char/DL_donald-1000.bam",{"donaldneutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
donald.reparentTo(render)
|
||||
donald.loop("donaldneutral")
|
||||
donald.setPos(-503.255,-818.361,-499.888)
|
||||
donald.setHpr(360,0,0)
|
||||
donald.setScale(1.5)
|
||||
|
||||
pluto = Actor("phase_6/models/char/pluto-1000.bam",{"plutosit":"phase_6/models/char/pluto-neutral.bam"})
|
||||
pluto.reparentTo(render)
|
||||
pluto.loop("plutosit")
|
||||
pluto.setPos(-499.255,-818.361,-499.888)
|
||||
pluto.setHpr(360,0,0)
|
||||
pluto.setScale(1.5)
|
||||
|
||||
minnie = Actor("phase_3/models/char/minnie-1200.bam",{"minnieneutral":"phase_3/models/char/minnie-wait.bam"})
|
||||
minnie.reparentTo(render)
|
||||
minnie.loop("minnieneutral")
|
||||
minnie.setPos(-494.255,-818.361,-499.888)
|
||||
minnie.setHpr(360,0,0)
|
||||
minnie.setScale(1.5)
|
||||
|
||||
daisy = Actor("phase_4/models/char/daisyduck_1600.bam",{"daisyneutral":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
daisy.reparentTo(render)
|
||||
daisy.loop("daisyneutral")
|
||||
daisy.setPos(-490.255,-818.361,-499.888)
|
||||
daisy.setHpr(360,0,0)
|
||||
daisy.setScale(1.5)
|
||||
|
||||
botcam1 = Actor("phase_9/models/char/BotCam-zero.bam",{"botcamneutral":"phase_9/models/char/BotCam-neutral.bam"})
|
||||
botcam1.reparentTo(render)
|
||||
botcam1.loop("botcamneutral")
|
||||
botcam1.setPos(-438.435,-571.196,-496.888)
|
||||
botcam1.setHpr(0,0,0)
|
||||
botcam1.setScale(1)
|
||||
|
||||
botcam2 = Actor("phase_9/models/char/BotCam-zero.bam",{"botcamneutral":"phase_9/models/char/BotCam-neutral.bam"})
|
||||
botcam2.reparentTo(render)
|
||||
botcam2.loop("botcamneutral")
|
||||
botcam2.setPos(-563.572,-572.418,-496.888)
|
||||
botcam2.setHpr(0,0,0)
|
||||
botcam2.setScale(1)
|
||||
|
||||
botcam3 = Actor("phase_9/models/char/BotCam-zero.bam",{"botcamneutral":"phase_9/models/char/BotCam-neutral.bam"})
|
||||
botcam3.reparentTo(render)
|
||||
botcam3.loop("botcamneutral")
|
||||
botcam3.setPos(-521.533,-511.029,-496.888)
|
||||
botcam3.setHpr(0,0,0)
|
||||
botcam3.setScale(1)
|
||||
|
||||
botcam4 = Actor("phase_9/models/char/BotCam-zero.bam",{"botcamneutral":"phase_9/models/char/BotCam-neutral.bam"})
|
||||
botcam4.reparentTo(render)
|
||||
botcam4.loop("botcamneutral")
|
||||
botcam4.setPos(-479.610,-510.840,-496.888)
|
||||
botcam4.setHpr(0,0,0)
|
||||
botcam4.setScale(1)
|
||||
|
||||
botcam5 = Actor("phase_9/models/char/BotCam-zero.bam",{"botcamneutral":"phase_9/models/char/BotCam-neutral.bam"})
|
||||
botcam5.reparentTo(render)
|
||||
botcam5.loop("botcamneutral")
|
||||
botcam5.setPos(-386.623,-685.724,-496.888)
|
||||
botcam5.setHpr(270,0,0)
|
||||
botcam5.setScale(1)
|
||||
|
||||
botcam6 = Actor("phase_9/models/char/BotCam-zero.bam",{"botcamneutral":"phase_9/models/char/BotCam-neutral.bam"})
|
||||
botcam6.reparentTo(render)
|
||||
botcam6.loop("botcamneutral")
|
||||
botcam6.setPos(-614.703,-676.147,-496.888)
|
||||
botcam6.setHpr(450,0,0)
|
||||
botcam6.setScale(1)
|
||||
|
||||
botcam7 = Actor("phase_9/models/char/BotCam-zero.bam",{"botcamneutral":"phase_9/models/char/BotCam-neutral.bam"})
|
||||
botcam7.reparentTo(render)
|
||||
botcam7.loop("botcamneutral")
|
||||
botcam7.setPos(-528.993,-893.101,-494.888)
|
||||
botcam7.setHpr(180,0,0)
|
||||
botcam7.setScale(1)
|
||||
|
||||
botcam8 = Actor("phase_9/models/char/BotCam-zero.bam",{"botcamneutral":"phase_9/models/char/BotCam-neutral.bam"})
|
||||
botcam8.reparentTo(render)
|
||||
botcam8.loop("botcamneutral")
|
||||
botcam8.setPos(-469.330,-893.101,-494.888)
|
||||
botcam8.setHpr(180,0,0)
|
||||
botcam8.setScale(1)
|
||||
|
||||
ceo = Actor({"head":"phase_12/models/char/bossbotBoss-head-zero.bam", \
|
||||
"torso":"phase_12/models/char/bossbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
{"head":{"cogwave":"phase_9/models/char/bossCog-head-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-wave.bam"}, \
|
||||
"torso":{"cogwave":"phase_9/models/char/bossCog-torso-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-wave.bam"}, \
|
||||
"legs":{"cogwave":"phase_9/models/char/bossCog-legs-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-wave.bam"} \
|
||||
})
|
||||
ceo.attach("head", "torso", "joint34")
|
||||
ceo.attach("torso", "legs", "joint_legs")
|
||||
ceo.reparentTo(render)
|
||||
ceotreads = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
ceorear = ceo.find('**/joint_axle')
|
||||
ceotreads.reparentTo(ceorear)
|
||||
ceo.setPos(-499.131,-674.666,-499.975)
|
||||
ceo.loop("cogwave")
|
||||
ceo.setHpr(0,0,0)
|
||||
|
||||
cfo = Actor({"head":"phase_10/models/char/cashbotBoss-head-zero.bam", \
|
||||
"torso":"phase_10/models/char/cashbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
{"head":{"cogwave":"phase_9/models/char/bossCog-head-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-wave.bam"}, \
|
||||
"torso":{"cogwave":"phase_9/models/char/bossCog-torso-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-wave.bam"}, \
|
||||
"legs":{"cogwave":"phase_9/models/char/bossCog-legs-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-wave.bam"} \
|
||||
})
|
||||
cfo.attach("head", "torso", "joint34")
|
||||
cfo.attach("torso", "legs", "joint_legs")
|
||||
cfo.reparentTo(render)
|
||||
cfotreads = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
cforear = cfo.find('**/joint_axle')
|
||||
cfotreads.reparentTo(cforear)
|
||||
cfo.setPos(-515.732,-692.769,-499.975)
|
||||
cfo.loop("cogwave")
|
||||
cfo.setHpr(450,0,0)
|
||||
|
||||
cj = Actor({"head":"phase_11/models/char/lawbotBoss-head-zero.bam", \
|
||||
"torso":"phase_11/models/char/lawbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
{"head":{"cogwave":"phase_9/models/char/bossCog-head-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-wave.bam"}, \
|
||||
"torso":{"cogwave":"phase_9/models/char/bossCog-torso-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-wave.bam"}, \
|
||||
"legs":{"cogwave":"phase_9/models/char/bossCog-legs-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-wave.bam"} \
|
||||
})
|
||||
cj.attach("head", "torso", "joint34")
|
||||
cj.attach("torso", "legs", "joint_legs")
|
||||
cj.reparentTo(render)
|
||||
cjtreads = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
cjrear = cj.find('**/joint_axle')
|
||||
cjtreads.reparentTo(cjrear)
|
||||
cj.setPos(-499.193,-711.807,-499.975)
|
||||
cj.loop("cogwave")
|
||||
cj.setHpr(180,0,0)
|
||||
|
||||
vp = Actor({"head":"phase_9/models/char/sellbotBoss-head-zero.bam", \
|
||||
"torso":"phase_9/models/char/sellbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
{"head":{"cogwave":"phase_9/models/char/bossCog-head-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-wave.bam"}, \
|
||||
"torso":{"cogwave":"phase_9/models/char/bossCog-torso-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-wave.bam"}, \
|
||||
"legs":{"cogwave":"phase_9/models/char/bossCog-legs-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-wave.bam"} \
|
||||
})
|
||||
vp.attach("head", "torso", "joint34")
|
||||
vp.attach("torso", "legs", "joint_legs")
|
||||
vp.reparentTo(render)
|
||||
vptreads = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
vprear = vp.find('**/joint_axle')
|
||||
vptreads.reparentTo(vprear)
|
||||
vp.setPos(-479.906,-692.412,-499.975)
|
||||
vp.loop("cogwave")
|
||||
vp.setHpr(270,0,0)
|
||||
|
||||
mole1 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||||
mole1.reparentTo(render)
|
||||
mole1.setHpr(0,0,0)
|
||||
mole1.setPos(-611.985,-570.600,-501.975)
|
||||
mole1.setScale(4)
|
||||
|
||||
mole2 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||||
mole2.reparentTo(render)
|
||||
mole2.setHpr(0,0,0)
|
||||
mole2.setPos(-389.414,-570.506,-501.975)
|
||||
mole2.setScale(4)
|
||||
|
||||
mole3 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||||
mole3.reparentTo(render)
|
||||
mole3.setHpr(0,0,0)
|
||||
mole3.setPos(-500.593,-514.827,-504.257)
|
||||
mole3.setScale(11.5)
|
104
Cog Meeting Room/Remove.txt
Normal file
104
Cog Meeting Room/Remove.txt
Normal file
|
@ -0,0 +1,104 @@
|
|||
from direct.interval.IntervalGlobal import *
|
||||
def openbook():
|
||||
base.localAvatar.b_setAnimState('OpenBook')
|
||||
def readbook():
|
||||
base.localAvatar.b_setAnimState('ReadBook')
|
||||
base.localAvatar.setSystemMessage(1,'Toon HQ: Thanks for helping us!')
|
||||
def closebook():
|
||||
base.localAvatar.b_setAnimState('CloseBook')
|
||||
def tptohole():
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
def black():
|
||||
base.localAvatar.setXYZH(275.299,-585.794,-500.168,-268.849)
|
||||
base.localAvatar.pageDown()
|
||||
def revland():
|
||||
maze.removeNode()
|
||||
stair1.removeNode()
|
||||
stair2.removeNode()
|
||||
stair3.removeNode()
|
||||
stair4.removeNode()
|
||||
stair5.removeNode()
|
||||
stair6.removeNode()
|
||||
stair7.removeNode()
|
||||
stair8.removeNode()
|
||||
stair9.removeNode()
|
||||
stair10.removeNode()
|
||||
stair11.removeNode()
|
||||
stair12.removeNode()
|
||||
stair13.removeNode()
|
||||
stair14.removeNode()
|
||||
stair15.removeNode()
|
||||
stair16.removeNode()
|
||||
stair17.removeNode()
|
||||
stair18.removeNode()
|
||||
stair19.removeNode()
|
||||
wall1.removeNode()
|
||||
wall2.removeNode()
|
||||
elevator.removeNode()
|
||||
tablespy.removeNode()
|
||||
goon1.removeNode()
|
||||
goon2.removeNode()
|
||||
goon3.removeNode()
|
||||
goon4.removeNode()
|
||||
goon5.removeNode()
|
||||
goon6.removeNode()
|
||||
goon7.removeNode()
|
||||
goon8.removeNode()
|
||||
goon9.removeNode()
|
||||
goon10.removeNode()
|
||||
banquet.removeNode()
|
||||
tablemeet.removeNode()
|
||||
guard1.removeNode()
|
||||
guard2.removeNode()
|
||||
hydrant.removeNode()
|
||||
mailbox.removeNode()
|
||||
trashcan.removeNode()
|
||||
goofy.removeNode()
|
||||
mickey.removeNode()
|
||||
goofy2.removeNode()
|
||||
mickey2.removeNode()
|
||||
dale.removeNode()
|
||||
chip.removeNode()
|
||||
donald.removeNode()
|
||||
daisy.removeNode()
|
||||
pluto.removeNode()
|
||||
botcam1.removeNode()
|
||||
botcam2.removeNode()
|
||||
botcam3.removeNode()
|
||||
botcam4.removeNode()
|
||||
botcam5.removeNode()
|
||||
botcam6.removeNode()
|
||||
botcam7.removeNode()
|
||||
botcam8.removeNode()
|
||||
vp.removeNode()
|
||||
cj.removeNode()
|
||||
cfo.removeNode()
|
||||
ceo.removeNode()
|
||||
mole1.removeNode()
|
||||
mole2.removeNode()
|
||||
mole3.removeNode()
|
||||
def avmov():
|
||||
base.localAvatar.clearPageUpDown()
|
||||
def tpfromhole():
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
base.localAvatar.setXYZH(0.000,0.000,0.000,-268.849)
|
||||
base.localAvatar.setZ(0)
|
||||
base.localAvatar.collisionsOn()
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(openbook))
|
||||
seq.append(Wait(1.0))
|
||||
seq.append(Func(readbook))
|
||||
seq.append(Wait(5.0))
|
||||
seq.append(Func(closebook))
|
||||
seq.append(Wait(2.0))
|
||||
seq.append(Func(tptohole))
|
||||
seq.append(Wait(4.0))
|
||||
seq.append(Func(revland))
|
||||
seq.append(Func(black))
|
||||
seq.append(Wait(2.0))
|
||||
seq.append(Func(avmov))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(tpfromhole))
|
||||
seq.start()
|
||||
onTime()
|
49
Cog Meeting Room/Teleport.txt
Normal file
49
Cog Meeting Room/Teleport.txt
Normal file
|
@ -0,0 +1,49 @@
|
|||
from direct.interval.IntervalGlobal import *
|
||||
def toonhq1():
|
||||
base.localAvatar.setSystemMessage(1,'Toon HQ: Oh no! The Cog Bosses are having a talk!')
|
||||
def toonhq2():
|
||||
base.localAvatar.setSystemMessage(1,'Toon HQ: You must beat the maze. (Watch out for the goons!)')
|
||||
def toonhq3():
|
||||
base.localAvatar.setSystemMessage(1,'Toon HQ: The Toon Council will be helping you.')
|
||||
def toonhq4():
|
||||
base.localAvatar.setSystemMessage(1,'Toon HQ: Quickly, beat the maze and find out the Cog Bosses plan!')
|
||||
def toonhq5():
|
||||
base.localAvatar.setSystemMessage(1,'Toon HQ: Good luck!')
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(toonhq1))
|
||||
seq.append(Wait(5))
|
||||
seq.append(Func(toonhq2))
|
||||
seq.append(Wait(5))
|
||||
seq.append(Func(toonhq3))
|
||||
seq.append(Wait(5))
|
||||
seq.append(Func(toonhq4))
|
||||
seq.append(Wait(5))
|
||||
seq.append(Func(toonhq5))
|
||||
seq.start()
|
||||
onTime()
|
||||
def openbook():
|
||||
base.localAvatar.b_setAnimState('OpenBook')
|
||||
def readbook():
|
||||
base.localAvatar.b_setAnimState('ReadBook')
|
||||
def closebook():
|
||||
base.localAvatar.b_setAnimState('CloseBook')
|
||||
def tptohole():
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
def tpfromhole():
|
||||
base.localAvatar.setXYZH(275.299,-585.794,-500.168,-268.849)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Wait(5))
|
||||
seq.append(Func(openbook))
|
||||
seq.append(Wait(1))
|
||||
seq.append(Func(readbook))
|
||||
seq.append(Wait(5.0))
|
||||
seq.append(Func(closebook))
|
||||
seq.append(Wait(2.0))
|
||||
seq.append(Func(tptohole))
|
||||
seq.append(Wait(4.0))
|
||||
seq.append(Func(tpfromhole))
|
||||
seq.start()
|
||||
onTime()
|
20
Cog Nation/Cog Nation/bcg.txt
Normal file
20
Cog Nation/Cog Nation/bcg.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
bccog = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
bccog.reparentTo(render)
|
||||
bccog.loop("walk")
|
||||
cheeser = bccog.find('**/joint_head')
|
||||
bccogh = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
cheesef = bccogh.find('**/bccog')
|
||||
cheesef.setColor(0,0,3)
|
||||
cheesef.reparentTo(cheeser)
|
||||
bccog.setPos(77,-5,30)
|
||||
bccog.setScale(2)
|
||||
bccog.setHpr(420,0,0)
|
836
Cog Nation/Cog Nation/part1.txt
Normal file
836
Cog Nation/Cog Nation/part1.txt
Normal file
|
@ -0,0 +1,836 @@
|
|||
#COG NATION V1.00 Land music: http://www.youtube.com/watch?v=hJ6w8cB44eo
|
||||
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
base.localAvatar.setName(('Cog Nation V1.00 Tester'))
|
||||
base.localAvatar.setSystemMessage(0,'Welcome Cog Nation V1.00 Press F1 to put your suit on and F2 to take it off. Enter Cog Nation coding 2 to get those features.')
|
||||
base.localAvatar.setPos(-16,-7,23)
|
||||
base.localAvatar.setHpr(-155,0,0)
|
||||
|
||||
|
||||
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
|
||||
|
||||
#Hub
|
||||
|
||||
tunnel = loader.loadModel("phase_6/models/cogHQ/Cog_Tunnel.bam")
|
||||
tunnel.reparentTo(render)
|
||||
tunnel.setPos(0.897,-61.632,23.025)
|
||||
tunnel.setHpr(0,0,0)
|
||||
tunnel.setScale(0.9)
|
||||
tunnel.setColor(361,0,0)
|
||||
hub1 = loader.loadModel("phase_8/models/neighborhoods/daisys_garden.bam")
|
||||
hub1.reparentTo(render)
|
||||
hub1.setPos(0,-65,23)
|
||||
hub1.setHpr(0,0,0)
|
||||
hub1.setScale(1)
|
||||
hub1.setColor(0.3,0.3,0.3)
|
||||
wall = loader.loadModel("phase_11/models/lawbotHQ/LB_wall_panel.bam")
|
||||
wall.reparentTo(render)
|
||||
wall.setPos(-86,83,23)
|
||||
wall.setHpr(290,0,0)
|
||||
wall.setScale(2.2)
|
||||
wall2 = loader.loadModel("phase_11/models/lawbotHQ/LB_wall_panel.bam")
|
||||
wall2.reparentTo(render)
|
||||
wall2.setPos(74,24,23)
|
||||
wall2.setHpr(290,0,0)
|
||||
wall2.setScale(2.5)
|
||||
street1 = loader.loadModel("phase_12/models/bossbotHQ/BossbotMazex1_C.bam")
|
||||
street1.reparentTo(render)
|
||||
street1.setPos(50.125,-173.599,25)
|
||||
street1.setHpr(0,0,0)
|
||||
street1.setScale(1,1,10)
|
||||
|
||||
|
||||
paint = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint.reparentTo(render)
|
||||
paint.setPos(77,-5,30)
|
||||
paint.setHpr(0,0,0)
|
||||
paint.setScale(1)
|
||||
paint.setColor(0.3,0.3,0.3)
|
||||
|
||||
cheese1 = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
cheese1.reparentTo(render)
|
||||
cheese1.loop("walk")
|
||||
j = cheese1.find('**/joint_head')
|
||||
mole = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese = mole.find('**/bigcheese')
|
||||
bigcheese.setColor(0,0,3)
|
||||
bigcheese.reparentTo(j)
|
||||
hands = cheese1.find('**/hands')
|
||||
hands.setColor(0.345, 0.333, 1, 0.000)
|
||||
cheese1.setPos(77,-5,30)
|
||||
cheese1.setScale(2)
|
||||
cheese1.setHpr(420,0,0)
|
||||
|
||||
cheese2 = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-victory.bam"})
|
||||
cheese2.reparentTo(render)
|
||||
cheese2.loop("walk")
|
||||
k = cheese2.find('**/joint_head')
|
||||
mole2 = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese2 = mole2.find('**/bigcheese')
|
||||
bigcheese2.setColor(0,0,3)
|
||||
bigcheese2.reparentTo(k)
|
||||
hands2 = cheese2.find('**/hands')
|
||||
hands2.setColor(0.345, 0.333, 1, 0.000)
|
||||
cheese2.setPos(-89,76,25)
|
||||
cheese2.setScale(2)
|
||||
cheese2.setHpr(530,0,0)
|
||||
paintx = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paintx.reparentTo(render)
|
||||
paintx.setPos(-89,76,25)
|
||||
paintx.setHpr(0,0,0)
|
||||
paintx.setScale(4)
|
||||
paintx.setColor(0,1,0)
|
||||
cheese3 = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
cheese3.reparentTo(render)
|
||||
cheese3.loop("walk")
|
||||
l = cheese3.find('**/joint_head')
|
||||
mole3 = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese3 = mole3.find('**/bigcheese')
|
||||
bigcheese3.reparentTo(l)
|
||||
hands3 = cheese3.find('**/hands')
|
||||
hands3.setColor(0.745, 0.933, 0.729, 0.000)
|
||||
cheese3.setPos(7.5,-50,25)
|
||||
cheese3.setScale(1)
|
||||
cheese3.setHpr(0,0,0)
|
||||
cheese4 = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
cheese4.reparentTo(render)
|
||||
cheese4.loop("walk")
|
||||
m = cheese4.find('**/joint_head')
|
||||
mole4 = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese4 = mole4.find('**/bigcheese')
|
||||
bigcheese4.reparentTo(m)
|
||||
hands4 = cheese4.find('**/hands')
|
||||
hands4.setColor(0.745, 0.933, 0.729, 0.000)
|
||||
cheese4.setPos(-7.5,-50,25)
|
||||
cheese4.setScale(1)
|
||||
cheese4.setHpr(0,0,0)
|
||||
|
||||
max = Actor({"torso":"phase_3/models/char/dogLL_Shorts-torso-1000.bam", \
|
||||
"legs":"phase_3/models/char/dogMM_Shorts-legs-1000.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"torso":{"walk":"phase_3/models/char/dogLL_Shorts-torso-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-torso-sad-neutral.bam"}, \
|
||||
"legs":{"walk":"phase_3/models/char/dogMM_Shorts-legs-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-legs-sad-neutral.bam"} \
|
||||
})
|
||||
shirts=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistA.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')
|
||||
gloves.setColor(255,0,0)
|
||||
max.loop("walk")
|
||||
max.setPos(-15,-44,23)
|
||||
max.setHpr(327,0,0)
|
||||
max.setScale(1.2)
|
||||
max.reparentTo(render)
|
||||
zhead = loader.loadModel("phase_3/models/char/monkey-heads-1000.bam")
|
||||
head = zhead.find('**/head-long')
|
||||
head.setColor(0.7, 0.0, 3.0)
|
||||
headf = zhead.find('**/head-front-long')
|
||||
headf.setColor(0.7, 0.0, 3.0)
|
||||
neck = max.find('**/neck')
|
||||
neck.setColor(0.7, 0.0, 3.0)
|
||||
max.find('**/arms').setColor(0.7, 0.0, 3.0)
|
||||
max.find('**/legs').setColor(0.7, 0.0, 3.0)
|
||||
max.find('**/feet').setColor(0.7, 0.0, 3.0)
|
||||
max.find('**/torso-bot').setColor(0.7, 0.0, 1.0)
|
||||
joint = max.find('**/joint_head')
|
||||
zhead.find('**/muzzle-short-neutral').reparentTo(joint)
|
||||
zhead.find('**/joint_pupilR_long').reparentTo(joint)
|
||||
zhead.find('**/joint_pupilL_long').reparentTo(joint)
|
||||
zhead.find('**/ears-long').reparentTo(joint)
|
||||
zhead.find('**/head-front-long').reparentTo(joint)
|
||||
zhead.find('**/eyes-long').reparentTo(joint)
|
||||
zhead.find('**/head-long').reparentTo(joint)
|
||||
gloves1 = max.find('**/joint_Rhold')
|
||||
|
||||
mail2 = Actor("phase_3/models/char/mickey-1200.bam",{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||||
mail2.reparentTo(render)
|
||||
mail2.loop("wait")
|
||||
mail2.setPos(-91,59,25)
|
||||
mail2.setHpr(350,0,0)
|
||||
mail2.setScale(2)
|
||||
paint2 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint2.reparentTo(render)
|
||||
paint2.setPos(-185,-91,33)
|
||||
paint2.setHpr(0,0,0)
|
||||
paint2.setScale(1,1,1)
|
||||
paint2.setColor(1,0,0)
|
||||
paint3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint3.reparentTo(render)
|
||||
paint3.setPos(-177,-110,33)
|
||||
paint3.setHpr(0,0,0)
|
||||
paint3.setScale(1,1,1)
|
||||
paint3.setColor(1,0,0)
|
||||
paint4 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint4.reparentTo(render)
|
||||
paint4.setPos(-225,-95,28)
|
||||
paint4.setHpr(0,0,0)
|
||||
paint4.setScale(1,1,1)
|
||||
paint4.setColor(1,0,0)
|
||||
paint5 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint5.reparentTo(render)
|
||||
paint5.setPos(-205,-80,33)
|
||||
paint5.setHpr(0,0,0)
|
||||
paint5.setScale(2,1,0.01)
|
||||
paint5.setColor(1,0,0)
|
||||
paint6 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint6.reparentTo(render)
|
||||
paint6.setPos(-238,-125,28)
|
||||
paint6.setHpr(0,0,0)
|
||||
paint6.setScale(1,1,1)
|
||||
paint6.setColor(1,0,0)
|
||||
paint7 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint7.reparentTo(render)
|
||||
paint7.setPos(-200,-130,33)
|
||||
paint7.setHpr(0,0,0)
|
||||
paint7.setScale(5,1,0.001)
|
||||
paint7.setColor(1,0,0)
|
||||
paint8 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint8.reparentTo(render)
|
||||
paint8.setPos(-200,-150,34)
|
||||
paint8.setHpr(0,0,0)
|
||||
paint8.setScale(10,1,0.001)
|
||||
paint8.setColor(1,0,0)
|
||||
paint9 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint9.reparentTo(render)
|
||||
paint9.setPos(-270,-89,33)
|
||||
paint9.setHpr(0,0,0)
|
||||
paint9.setScale(1,1,1)
|
||||
paint9.setColor(1,0,0)
|
||||
paint10 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint10.reparentTo(render)
|
||||
paint10.setPos(-260,-120,35)
|
||||
paint10.setHpr(0,0,0)
|
||||
paint10.setScale(1,5,0.001)
|
||||
paint10.setColor(1,0,0)
|
||||
|
||||
painth1 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
painth1.reparentTo(render)
|
||||
painth1.setPos(-30,-90,-40)
|
||||
painth1.setHpr(90,80,0)
|
||||
painth1.setScale(1,10,1)
|
||||
painth1.setColor(0,1,0)
|
||||
|
||||
vp = Actor({"head":"phase_9/models/char/sellbotBoss-head-zero.bam", \
|
||||
"torso":"phase_9/models/char/sellbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/sellbot-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/sellbot-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
vp.attach("head", "torso", "joint34")
|
||||
vp.attach("torso", "legs", "joint_legs")
|
||||
vp.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = vp.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
vp.setPos(-10,30,23)
|
||||
vp.setScale(1,1,1)
|
||||
vp.loop("walk")
|
||||
vp.setHpr(180,0,0)
|
||||
|
||||
cheese5 = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-victory.bam"})
|
||||
cheese5.reparentTo(render)
|
||||
cheese5.loop("walk")
|
||||
headjoint5 = cheese5.find('**/joint_head')
|
||||
mole5 = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese5 = mole5.find('**/bigcheese')
|
||||
bigcheese5.reparentTo(headjoint5)
|
||||
bigcheese5.setColor(1,0,0)
|
||||
hands5 = cheese5.find('**/hands')
|
||||
hands5.setColor(1, 0.233, 0.329, 0.000)
|
||||
cheese5.setPos(-10,30,45)
|
||||
cheese5.setScale(5)
|
||||
cheese5.setHpr(0,0,0)
|
||||
|
||||
#Oil Ocean
|
||||
|
||||
oil = loader.loadModel('phase_8/models/modules/BR_pond.bam')
|
||||
oil.reparentTo(render)
|
||||
oil.setPos(-560,-120,20)
|
||||
oil.setHpr(270,0,0)
|
||||
oil.setScale(8)
|
||||
oil.setColor(1,0,0)
|
||||
paint11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint11.reparentTo(render)
|
||||
paint11.setPos(-400,-120,15)
|
||||
paint11.setHpr(0,0,0)
|
||||
paint11.setScale(5,5,5)
|
||||
paint11.setColor(0,1,0)
|
||||
paint12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint12.reparentTo(render)
|
||||
paint12.setPos(-700,-120,15)
|
||||
paint12.setHpr(0,0,0)
|
||||
paint12.setScale(5,5,5)
|
||||
paint12.setColor(0,1,0)
|
||||
|
||||
e = loader.loadModel("phase_10/models/cashbotHQ/ZONE31a.bam")
|
||||
e.reparentTo(render)
|
||||
e.setHpr(90,0,0)
|
||||
e.setPos(-400,-120,15)
|
||||
e.setColor(0,1,0)
|
||||
pandaPosInterval22 = e.posInterval(13,Point3(-400,-120,15),
|
||||
startPos=Point3(-700,-120,15))
|
||||
pandaPosInterval33 = e.posInterval(13,Point3(-700,-120,15),
|
||||
startPos=Point3(-400,-120,15))
|
||||
pandaHprInterval11 = e.hprInterval(3,Point3(270,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = e.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(270, 0, 0))
|
||||
pandaPace = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="pandaPace")
|
||||
pandaPace.loop()
|
||||
|
||||
f = loader.loadModel("phase_10/models/cashbotHQ/ZONE31a.bam")
|
||||
f.reparentTo(render)
|
||||
f.setHpr(90,0,0)
|
||||
f.setPos(-700,-120,15)
|
||||
f.setColor(0,1,0)
|
||||
pandaPosInterval22 = f.posInterval(13,Point3(-700,-120,15),
|
||||
startPos=Point3(-700,-120,1000))
|
||||
pandaPosInterval33 = f.posInterval(13,Point3(-700,-120,1000),
|
||||
startPos=Point3(-700,-120,15))
|
||||
pandaHprInterval11 = f.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = f.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaPace2 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="pandaPace2")
|
||||
pandaPace2.loop()
|
||||
|
||||
elepaint1 = loader.loadModel("phase_11/models/lawbotHQ/LB_couchA.bam")
|
||||
elepaint1.reparentTo(render)
|
||||
elepaint1.setHpr(90,0,0)
|
||||
elepaint1.setPos(-720,-120,15)
|
||||
elepaint1.setColor(0,1,0)
|
||||
pandaPosInterval22 = elepaint1.posInterval(13,Point3(-720,-120,15),
|
||||
startPos=Point3(-720,-120,1003))
|
||||
pandaPosInterval33 = elepaint1.posInterval(13,Point3(-720,-120,1000),
|
||||
startPos=Point3(-720,-120,18))
|
||||
pandaHprInterval11 = elepaint1.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = elepaint1.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
paintPace1 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="paintPace1")
|
||||
paintPace1.loop()
|
||||
|
||||
elepaint2 = loader.loadModel("phase_11/models/lawbotHQ/LB_couchA.bam")
|
||||
elepaint2.reparentTo(render)
|
||||
elepaint2.setHpr(90,0,0)
|
||||
elepaint2.setPos(-710,-110,15)
|
||||
elepaint2.setColor(0,1,0)
|
||||
pandaPosInterval22 = elepaint2.posInterval(13,Point3(-710,-110,15),
|
||||
startPos=Point3(-710,-110,1003))
|
||||
pandaPosInterval33 = elepaint2.posInterval(13,Point3(-710,-110,1000),
|
||||
startPos=Point3(-710,-110,18))
|
||||
pandaHprInterval11 = elepaint2.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = elepaint2.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
paintPace2 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="paintPace2")
|
||||
paintPace2.loop()
|
||||
|
||||
elepaint3 = loader.loadModel("phase_11/models/lawbotHQ/LB_couchA.bam")
|
||||
elepaint3.reparentTo(render)
|
||||
elepaint3.setHpr(90,0,0)
|
||||
elepaint3.setPos(-710,-130,15)
|
||||
elepaint3.setColor(0,1,0)
|
||||
pandaPosInterval22 = elepaint3.posInterval(13,Point3(-710,-130,15),
|
||||
startPos=Point3(-710,-130,1003))
|
||||
pandaPosInterval33 = elepaint3.posInterval(13,Point3(-710,-130,1000),
|
||||
startPos=Point3(-710,-130,18))
|
||||
pandaHprInterval11 = elepaint3.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = elepaint3.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
paintPace3 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="paintPace3")
|
||||
paintPace3.loop()
|
||||
|
||||
paint11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint11.reparentTo(render)
|
||||
paint11.setPos(-670,-120,1000)
|
||||
paint11.setHpr(0,0,0)
|
||||
paint11.setScale(1,1,1)
|
||||
paint11.setColor(0,1,0)
|
||||
paint12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint12.reparentTo(render)
|
||||
paint12.setPos(-550,-120,1000)
|
||||
paint12.setHpr(0,0,0)
|
||||
paint12.setScale(1,1,1)
|
||||
paint12.setColor(0,1,0)
|
||||
paint13 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint13.reparentTo(render)
|
||||
paint13.setPos(-670,-120,1000)
|
||||
paint13.setHpr(0,0,0)
|
||||
paint13.setScale(1,1,0.0001)
|
||||
paint13.setColor(1,0,0)
|
||||
pandaPosInterval22 = paint13.posInterval(13,Point3(-550,-120,1000),
|
||||
startPos=Point3(-670,-120,1000))
|
||||
pandaPosInterval33 = paint13.posInterval(13,Point3(-670,-120,1000),
|
||||
startPos=Point3(-550,-120,1000))
|
||||
pandaHprInterval11 = paint13.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = paint13.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaPace3 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="pandaPace3")
|
||||
pandaPace3.loop()
|
||||
|
||||
paint14 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint14.reparentTo(render)
|
||||
paint14.setPos(-550,-140,1000)
|
||||
paint14.setHpr(0,0,0)
|
||||
paint14.setScale(1)
|
||||
paint14.setColor(0,1,0)
|
||||
pandaHprInterval1 = paint14.hprInterval(3,Point3(0,0,0),
|
||||
startHpr=Point3(0, 0, 359))
|
||||
pandaHprInterval2 = paint14.hprInterval(3,Point3(0, 0, 359),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
Spin1 = Sequence(pandaHprInterval1,
|
||||
name="Spin1")
|
||||
Spin1.loop()
|
||||
|
||||
paint15 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint15.reparentTo(render)
|
||||
paint15.setPos(-550,-160,1000)
|
||||
paint15.setHpr(0,0,0)
|
||||
paint15.setScale(1,1,1)
|
||||
paint15.setColor(0,1,0)
|
||||
|
||||
paint16 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint16.reparentTo(render)
|
||||
paint16.setPos(-550,-180,1000)
|
||||
paint16.setHpr(0,0,0)
|
||||
paint16.setScale(1)
|
||||
paint16.setColor(0,1,0)
|
||||
pandaHprInterval1 = paint16.hprInterval(3,Point3(0,0,0),
|
||||
startHpr=Point3(0, 0, 359))
|
||||
pandaHprInterval2 = paint16.hprInterval(3,Point3(0, 0, 359),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
Spin2 = Sequence(pandaHprInterval1,
|
||||
name="Spin2")
|
||||
Spin2.loop()
|
||||
|
||||
paint17 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint17.reparentTo(render)
|
||||
paint17.setPos(-550,-200,1000)
|
||||
paint17.setHpr(0,0,180)
|
||||
paint17.setScale(1)
|
||||
paint17.setColor(0,1,0)
|
||||
pandaHprInterval1 = paint17.hprInterval(3,Point3(0,0,180),
|
||||
startHpr=Point3(0, 0, 539))
|
||||
pandaHprInterval2 = paint17.hprInterval(3,Point3(0, 0, 539),
|
||||
startHpr=Point3(0, 0, 180))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
Spin3 = Sequence(pandaHprInterval1,
|
||||
name="Spin3")
|
||||
Spin3.loop()
|
||||
|
||||
paint18 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint18.reparentTo(render)
|
||||
paint18.setPos(-550,-220,1000)
|
||||
paint18.setHpr(0,0,0)
|
||||
paint18.setScale(1,1,1)
|
||||
paint18.setColor(0,1,0)
|
||||
|
||||
paint19 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint19.reparentTo(render)
|
||||
paint19.setPos(-550,-240,1000)
|
||||
paint19.setHpr(0,0,0)
|
||||
paint19.setScale(1)
|
||||
paint19.setColor(0,1,0)
|
||||
pandaHprInterval1 = paint19.hprInterval(3,Point3(0,0,0),
|
||||
startHpr=Point3(0, 0, 359))
|
||||
pandaHprInterval2 = paint19.hprInterval(3,Point3(0, 0, 359),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
Spin4 = Sequence(pandaHprInterval1,
|
||||
name="Spin4")
|
||||
Spin4.loop()
|
||||
|
||||
paint20 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint20.reparentTo(render)
|
||||
paint20.setPos(-550,-260,1000)
|
||||
paint20.setHpr(0,0,180)
|
||||
paint20.setScale(1)
|
||||
paint20.setColor(0,1,0)
|
||||
pandaHprInterval1 = paint20.hprInterval(3,Point3(0,0,180),
|
||||
startHpr=Point3(0, 0, 539))
|
||||
pandaHprInterval2 = paint20.hprInterval(3,Point3(0, 0, 539),
|
||||
startHpr=Point3(0, 0, 180))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
Spin5 = Sequence(pandaHprInterval1,
|
||||
name="Spin5")
|
||||
Spin5.loop()
|
||||
|
||||
paint21 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint21.reparentTo(render)
|
||||
paint21.setPos(-550,-280,1000)
|
||||
paint21.setHpr(0,0,0)
|
||||
paint21.setScale(1)
|
||||
paint21.setColor(0,1,0)
|
||||
pandaHprInterval1 = paint21.hprInterval(3,Point3(0,0,0),
|
||||
startHpr=Point3(0, 0, 359))
|
||||
pandaHprInterval2 = paint21.hprInterval(3,Point3(0, 0, 359),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
Spin6 = Sequence(pandaHprInterval1,
|
||||
name="Spin6")
|
||||
Spin6.loop()
|
||||
|
||||
paint22 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint22.reparentTo(render)
|
||||
paint22.setPos(-550,-300,1000)
|
||||
paint22.setHpr(0,0,0)
|
||||
paint22.setScale(1,1,1)
|
||||
paint22.setColor(0,1,0)
|
||||
paint777 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint777.reparentTo(render)
|
||||
paint777.setPos(-279,-89,27)
|
||||
paint777.setHpr(0,0,0)
|
||||
paint777.setScale(1.2)
|
||||
paint777.setColor(1,0,0)
|
||||
tower1 = loader.loadModel('phase_6/models/cogHQ/WaterTowerSimple.bam')
|
||||
tower1.reparentTo(render)
|
||||
tower1.setPos(-714,38,20)
|
||||
tower1.setHpr(0,0,0)
|
||||
tower1.setScale(5)
|
||||
tower1.setColor(1,0,0)
|
||||
tower2 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
tower2.reparentTo(render)
|
||||
tower2.setPos(-652,-291,-10)
|
||||
tower2.setHpr(-212,0,0)
|
||||
tower2.setScale(50)
|
||||
peel = loader.loadModel('phase_5/models/props/banana-peel-mod.bam')
|
||||
peel.reparentTo(render)
|
||||
peel.setPos(-494,-300,20)
|
||||
peel.setHpr(-212,0,0)
|
||||
peel.setScale(15)
|
||||
ship1 = loader.loadModel('phase_5/models/props/ship.bam')
|
||||
ship1.reparentTo(render)
|
||||
ship1.setPos(-624,12,3)
|
||||
ship1.setHpr(50,50,0)
|
||||
ship1.setScale(5)
|
||||
|
||||
#Plateau of Haunted Paint Mixers
|
||||
|
||||
desert = loader.loadModel("phase_4/models/minigames/tag_arena.bam")
|
||||
desert.reparentTo(render)
|
||||
desert.setPos(-550,-410,1000)
|
||||
desert.setHpr(0,0,0)
|
||||
desert.setScale(1,1,25)
|
||||
desert.setColor(0,0,1,1)
|
||||
|
||||
paint23 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint23.reparentTo(render)
|
||||
paint23.setPos(-550,-351,1005)
|
||||
paint23.setHpr(180,80,0)
|
||||
paint23.setScale(1,1,1)
|
||||
paint23.setColor(0,0,1)
|
||||
paint24 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint24.reparentTo(render)
|
||||
paint24.setPos(-550,-351,1015)
|
||||
paint24.setHpr(180,80,0)
|
||||
paint24.setScale(1,1,1)
|
||||
paint24.setColor(0,0,1)
|
||||
paint25 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint25.reparentTo(render)
|
||||
paint25.setPos(-560,-351,1025)
|
||||
paint25.setHpr(180,80,0)
|
||||
paint25.setScale(1,1,1)
|
||||
paint25.setColor(0,0,1)
|
||||
paint26 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint26.reparentTo(render)
|
||||
paint26.setPos(-570,-351,1025)
|
||||
paint26.setHpr(180,80,0)
|
||||
paint26.setScale(1,1,1)
|
||||
paint26.setColor(0,0,1)
|
||||
paint27 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint27.reparentTo(render)
|
||||
paint27.setPos(-590,-351,1025)
|
||||
paint27.setHpr(180,80,0)
|
||||
paint27.setScale(1,1,1)
|
||||
paint27.setColor(0,0,1)
|
||||
paint28 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint28.reparentTo(render)
|
||||
paint28.setPos(-590,-351,1040)
|
||||
paint28.setHpr(180,80,0)
|
||||
paint28.setScale(1,1,1)
|
||||
paint28.setColor(0,0,1)
|
||||
paint29 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint29.reparentTo(render)
|
||||
paint29.setPos(-570,-351,1050)
|
||||
paint29.setHpr(180,80,0)
|
||||
paint29.setScale(1,1,1)
|
||||
paint29.setColor(0,0,1)
|
||||
paint30 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint30.reparentTo(render)
|
||||
paint30.setPos(-570,-360,1060)
|
||||
paint30.setHpr(180,80,0)
|
||||
paint30.setScale(1,1,1)
|
||||
paint30.setColor(0,0,1)
|
||||
paint31 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint31.reparentTo(render)
|
||||
paint31.setPos(-570,-370,1070)
|
||||
paint31.setHpr(180,80,0)
|
||||
paint31.setScale(1,1,1)
|
||||
paint31.setColor(0,0,1)
|
||||
paint32 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint32.reparentTo(render)
|
||||
paint32.setPos(-550,-380,1070)
|
||||
paint32.setHpr(180,80,0)
|
||||
paint32.setScale(1,1,1)
|
||||
paint32.setColor(0,0,1)
|
||||
paint33 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint33.reparentTo(render)
|
||||
paint33.setPos(-550,-370,1080)
|
||||
paint33.setHpr(0,80,0)
|
||||
paint33.setScale(1,1,1)
|
||||
paint33.setColor(0,0,1)
|
||||
paint34 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint34.reparentTo(render)
|
||||
paint34.setPos(-550,-380,1090)
|
||||
paint34.setHpr(180,80,0)
|
||||
paint34.setScale(1,1,1)
|
||||
paint34.setColor(0,0,1)
|
||||
paint35 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint35.reparentTo(render)
|
||||
paint35.setPos(-550,-370,1100)
|
||||
paint35.setHpr(0,80,0)
|
||||
paint35.setScale(1,1,1)
|
||||
paint35.setColor(0,0,1)
|
||||
paint36 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint36.reparentTo(render)
|
||||
paint36.setPos(-550,-380,1110)
|
||||
paint36.setHpr(180,80,0)
|
||||
paint36.setScale(1,1,1)
|
||||
paint36.setColor(0,0,1)
|
||||
paint37 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint37.reparentTo(render)
|
||||
paint37.setPos(-550,-370,1120)
|
||||
paint37.setHpr(0,80,0)
|
||||
paint37.setScale(1,1,1)
|
||||
paint37.setColor(0,0,1)
|
||||
paint38 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint38.reparentTo(render)
|
||||
paint38.setPos(-550,-380,1130)
|
||||
paint38.setHpr(180,80,0)
|
||||
paint38.setScale(1,1,1)
|
||||
paint38.setColor(0,0,1)
|
||||
paint39 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint39.reparentTo(render)
|
||||
paint39.setPos(-550,-370,1140)
|
||||
paint39.setHpr(0,80,0)
|
||||
paint39.setScale(1,1,1)
|
||||
paint39.setColor(0,0,1)
|
||||
paint40 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint40.reparentTo(render)
|
||||
paint40.setPos(-550,-380,1150)
|
||||
paint40.setHpr(180,80,0)
|
||||
paint40.setScale(1,1,1)
|
||||
paint40.setColor(0,0,1)
|
||||
|
||||
paint41 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint41.reparentTo(render)
|
||||
paint41.setPos(-550,-380,1150)
|
||||
paint41.setHpr(0,0,0)
|
||||
paint41.setScale(2,2,0.0001)
|
||||
paint41.setColor(1,0,0)
|
||||
pandaPosInterval22 = paint41.posInterval(13,Point3(-550,-380,1150),
|
||||
startPos=Point3(-550,-380,2150))
|
||||
pandaPosInterval33 = paint41.posInterval(13,Point3(-550,-380,2150),
|
||||
startPos=Point3(-550,-380,1150))
|
||||
pandaHprInterval11 = paint41.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = paint41.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaPace4 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="pandaPace4")
|
||||
pandaPace4.loop()
|
||||
|
||||
paint42 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint42.reparentTo(render)
|
||||
paint42.setPos(-550,-400,2150)
|
||||
paint42.setHpr(0,0,0)
|
||||
paint42.setScale(1,1,1)
|
||||
paint42.setColor(0,0,0)
|
||||
|
||||
cfo = Actor({"head":"phase_10/models/char/cashbotBoss-head-zero.bam", \
|
||||
"torso":"phase_10/models/char/cashbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
cfo.attach("head", "torso", "joint34")
|
||||
cfo.attach("torso", "legs", "joint_legs")
|
||||
cfo.reparentTo(render)
|
||||
cfo.loop("walk")
|
||||
tread5 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear6 = cfo.find('**/joint_axle')
|
||||
tread5.reparentTo(rear6)
|
||||
cfo.setPos(-534,-447,1000)
|
||||
cfo.setColor(0,0,1)
|
||||
cfo.setScale(2.5)
|
||||
cfo.setHpr(550,0,0)
|
||||
|
||||
#Toon Filter Zone
|
||||
|
||||
crate1 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate1.reparentTo(render)
|
||||
crate1.setPos(-550,-420,2135)
|
||||
crate1.setHpr(0,0,0)
|
||||
crate1.setScale(3)
|
||||
crate1.setColor(1,0,0)
|
||||
crate2 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate2.reparentTo(render)
|
||||
crate2.setPos(-550,-438,2135)
|
||||
crate2.setHpr(0,0,0)
|
||||
crate2.setScale(3)
|
||||
crate2.setColor(1,0,0)
|
||||
crate3 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate3.reparentTo(render)
|
||||
crate3.setPos(-514,-420,2151)
|
||||
crate3.setHpr(0,0,0)
|
||||
crate3.setScale(9,3,3)
|
||||
crate3.setColor(0,0,0)
|
||||
crate4 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate4.reparentTo(render)
|
||||
crate4.setPos(-514,-438,2135)
|
||||
crate4.setHpr(0,0,0)
|
||||
crate4.setScale(9,3,3)
|
||||
crate4.setColor(0,0,0)
|
||||
crate5 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate5.reparentTo(render)
|
||||
crate5.setPos(-532,-455,2151)
|
||||
crate5.setHpr(0,0,0)
|
||||
crate5.setScale(9,3,3)
|
||||
crate5.setColor(0,0,0)
|
||||
sign1 = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
||||
sign1.reparentTo(render)
|
||||
sign1.setPos(-490,-438,2151)
|
||||
sign1.setHpr(270,0,0)
|
||||
sign1.setScale(1)
|
||||
sign1.setColor(0.2,0.2,0.2)
|
||||
street2 = loader.loadModel("phase_12/models/bossbotHQ/BossbotMazex1_C.bam")
|
||||
street2.reparentTo(render)
|
||||
street2.setPos(-400,-500,2151)
|
||||
street2.setHpr(90,0,0)
|
||||
street2.setScale(1,1,1)
|
||||
street2.setColor(0,0,0)
|
||||
crate6 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate6.reparentTo(render)
|
||||
crate6.setPos(-478,-450,2151)
|
||||
crate6.setHpr(90,0,0)
|
||||
crate6.setScale(9,3,3)
|
||||
crate6.setColor(0,0,0)
|
||||
crate7 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate7.reparentTo(render)
|
||||
crate7.setPos(-494,-520,2135)
|
||||
crate7.setHpr(90,0,0)
|
||||
crate7.setScale(27,3,3)
|
||||
crate7.setColor(0,0,0)
|
||||
|
||||
#End of Street
|
||||
|
||||
tunnel2 = loader.loadModel("phase_6/models/cogHQ/Cog_Tunnel.bam")
|
||||
tunnel2.reparentTo(render)
|
||||
tunnel2.setPos(-481,-949,2151)
|
||||
tunnel2.setHpr(-360,0,0)
|
||||
tunnel2.setScale(2.5)
|
||||
tunnel2.setColor(361,0,0)
|
||||
Nwall = loader.loadModel("phase_11/models/lawbotHQ/LB_wall_panel.bam")
|
||||
Nwall.reparentTo(render)
|
||||
Nwall.setPos(-572,-819,2151)
|
||||
Nwall.setHpr(-93,0,0)
|
||||
Nwall.setScale(10)
|
||||
Nwall.setColor(361,0,0)
|
||||
Nwall2 = loader.loadModel("phase_11/models/lawbotHQ/LB_wall_panel.bam")
|
||||
Nwall2.reparentTo(render)
|
||||
Nwall2.setPos(-394,-948,2151)
|
||||
Nwall2.setHpr(-268,0,0)
|
||||
Nwall2.setScale(10)
|
||||
Nwall2.setColor(361,0,0)
|
||||
sign20 = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
||||
sign20.reparentTo(render)
|
||||
sign20.setPos(-589,-1057,2151)
|
||||
sign20.setHpr(-268,0,0)
|
||||
sign20.setScale(1.5)
|
||||
sky1 = loader.loadModel("phase_12/models/bossbotHQ/BossTestSkyBox.bam")
|
||||
sky1.reparentTo(render)
|
||||
sky1.setPos(-485,-837,2152)
|
||||
sky1.setScale(0.4)
|
||||
sky1.setColor(361,0,0)
|
||||
|
||||
g = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
g.reparentTo(render)
|
||||
g.setHpr(90,0,0)
|
||||
g.setPos(-549,-1027,2151)
|
||||
g.setColor(1,0,0)
|
||||
pandaPosInterval22 = g.posInterval(13,Point3(-579,-1027,2151),
|
||||
startPos=Point3(-579,-1027,2351))
|
||||
pandaPosInterval33 = g.posInterval(13,Point3(-579,-1027,2351),
|
||||
startPos=Point3(-579,-1027,2151))
|
||||
pandaHprInterval11 = g.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = g.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaPace5 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="pandaPace5")
|
||||
pandaPace5.loop()
|
||||
g.find('**/wall_back').removeNode()
|
||||
g.find('**/wall_front').removeNode()
|
||||
g.find('**/wall_left').removeNode()
|
||||
g.find('**/wall_right').removeNode()
|
453
Cog Nation/Cog Nation/part2.txt
Normal file
453
Cog Nation/Cog Nation/part2.txt
Normal file
|
@ -0,0 +1,453 @@
|
|||
from direct.showbase import DirectObject
|
||||
class Index(DirectObject.DirectObject):
|
||||
def __init__(self):
|
||||
self.accept('f1',self.Index)
|
||||
def Index(self):
|
||||
base.localAvatar.setCogIndex(0)
|
||||
base.localAvatar.setSystemMessage(0, 'This is your Cog Nation disguise, use it to get into the Chairmans Castle!')
|
||||
i = Index()
|
||||
|
||||
|
||||
|
||||
from direct.showbase import DirectObject
|
||||
class Index(DirectObject.DirectObject):
|
||||
def __init__(self):
|
||||
self.accept('f2',self.Index)
|
||||
def Index(self):
|
||||
base.localAvatar.setCogIndex(-1)
|
||||
base.localAvatar.setSystemMessage(0, 'Cog Nation Disguise is Off.')
|
||||
i = Index()
|
||||
|
||||
|
||||
|
||||
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
|
||||
|
||||
#Cog Nation
|
||||
|
||||
paint43 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint43.reparentTo(render)
|
||||
paint43.setPos(-850,-1027,2350)
|
||||
paint43.setHpr(0,0,0)
|
||||
paint43.setScale(35)
|
||||
paint43.setColor(0,1,0)
|
||||
crate8 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate8.reparentTo(render)
|
||||
crate8.setPos(-650,-1160,2335)
|
||||
crate8.setHpr(0,0,0)
|
||||
crate8.setScale(20,40,10)
|
||||
crate9 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate9.reparentTo(render)
|
||||
crate9.setPos(-650,-895,2335)
|
||||
crate9.setHpr(0,0,0)
|
||||
crate9.setScale(20,40,10)
|
||||
goon1 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"walk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon1.reparentTo(render)
|
||||
goon1.loop("walk")
|
||||
goon1.setPos(-670,-1020,2350)
|
||||
goon1.setHpr(0,0,0)
|
||||
goon1.setScale(2)
|
||||
goon2 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"walk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon2.reparentTo(render)
|
||||
goon2.loop("walk")
|
||||
goon2.setPos(-670,-1035,2350)
|
||||
goon2.setHpr(180,0,0)
|
||||
goon2.setScale(2)
|
||||
walkway1 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
walkway1.reparentTo(render)
|
||||
walkway1.setPos(-1180,-1025,2349)
|
||||
walkway1.setHpr(0,0,0)
|
||||
walkway1.setScale(15,3,3)
|
||||
crate10 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate10.reparentTo(render)
|
||||
crate10.setPos(-1050,-1160,2335)
|
||||
crate10.setHpr(0,0,0)
|
||||
crate10.setScale(20,40,10)
|
||||
crate11 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate11.reparentTo(render)
|
||||
crate11.setPos(-1050,-895,2335)
|
||||
crate11.setHpr(0,0,0)
|
||||
crate11.setScale(20,40,10)
|
||||
underwork2 = loader.loadModel("phase_4/models/props/construction_sign.bam")
|
||||
underwork2.reparentTo(render)
|
||||
underwork2.setPos(-850,-805,2350)
|
||||
underwork2.setHpr(0,0,0)
|
||||
underwork2.setScale(15)
|
||||
underwork3 = loader.loadModel("phase_4/models/props/construction_sign.bam")
|
||||
underwork3.reparentTo(render)
|
||||
underwork3.setPos(-850,-1255,2350)
|
||||
underwork3.setHpr(180,0,0)
|
||||
underwork3.setScale(15)
|
||||
castle = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_castle.bam")
|
||||
castle.reparentTo(render)
|
||||
castle.setPos(-1500,-970,2350)
|
||||
castle.setHpr(-370,0,0)
|
||||
castle.setScale(25,50,25)
|
||||
castle.setColor(1,0,0)
|
||||
|
||||
goon3 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon3.reparentTo(render)
|
||||
goon3.setPos(-1120,-1015,2350.45)
|
||||
goon3.setHpr(0,0,0)
|
||||
goon3.setScale(2)
|
||||
goon4 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon4.reparentTo(render)
|
||||
goon4.setPos(-1130,-1015,2350.45)
|
||||
goon4.setHpr(0,0,0)
|
||||
goon4.setScale(2)
|
||||
goon5 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon5.reparentTo(render)
|
||||
goon5.setPos(-1140,-1015,2350.45)
|
||||
goon5.setHpr(0,0,0)
|
||||
goon5.setScale(2)
|
||||
goon6 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon6.reparentTo(render)
|
||||
goon6.setPos(-1150,-1015,2350.45)
|
||||
goon6.setHpr(0,0,0)
|
||||
goon6.setScale(2)
|
||||
goon7 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon7.reparentTo(render)
|
||||
goon7.setPos(-1160,-1015,2350.45)
|
||||
goon7.setHpr(0,0,0)
|
||||
goon7.setScale(2)
|
||||
goon8 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon8.reparentTo(render)
|
||||
goon8.setPos(-1170,-1015,2350.45)
|
||||
goon8.setHpr(0,0,0)
|
||||
goon8.setScale(2)
|
||||
goon9 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon9.reparentTo(render)
|
||||
goon9.setPos(-1180,-1015,2350.45)
|
||||
goon9.setHpr(0,0,0)
|
||||
goon9.setScale(2)
|
||||
goon10 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon10.reparentTo(render)
|
||||
goon10.setPos(-1190,-1015,2350.45)
|
||||
goon10.setHpr(0,0,0)
|
||||
goon10.setScale(2)
|
||||
goon11 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon11.reparentTo(render)
|
||||
goon11.setPos(-1200,-1015,2350.45)
|
||||
goon11.setHpr(0,0,0)
|
||||
goon11.setScale(2)
|
||||
goon12 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon12.reparentTo(render)
|
||||
goon12.setPos(-1210,-1015,2350.45)
|
||||
goon12.setHpr(0,0,0)
|
||||
goon12.setScale(2)
|
||||
goon13 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon13.reparentTo(render)
|
||||
goon13.setPos(-1220,-1015,2350.45)
|
||||
goon13.setHpr(0,0,0)
|
||||
goon13.setScale(2)
|
||||
goon14 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon14.reparentTo(render)
|
||||
goon14.setPos(-1230,-1015,2350.45)
|
||||
goon14.setHpr(0,0,0)
|
||||
goon14.setScale(2)
|
||||
goon15 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon15.reparentTo(render)
|
||||
goon15.setPos(-1240,-1015,2350.45)
|
||||
goon15.setHpr(0,0,0)
|
||||
goon15.setScale(2)
|
||||
|
||||
goon16 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon16.reparentTo(render)
|
||||
goon16.setPos(-1120,-1035,2350.45)
|
||||
goon16.setHpr(180,0,0)
|
||||
goon16.setScale(2)
|
||||
goon17 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon17.reparentTo(render)
|
||||
goon17.setPos(-1130,-1035,2350.45)
|
||||
goon17.setHpr(180,0,0)
|
||||
goon17.setScale(2)
|
||||
goon18 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon18.reparentTo(render)
|
||||
goon18.setPos(-1140,-1035,2350.45)
|
||||
goon18.setHpr(180,0,0)
|
||||
goon18.setScale(2)
|
||||
goon19 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon19.reparentTo(render)
|
||||
goon19.setPos(-1150,-1035,2350.45)
|
||||
goon19.setHpr(180,0,0)
|
||||
goon19.setScale(2)
|
||||
goon20 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon20.reparentTo(render)
|
||||
goon20.setPos(-1160,-1035,2350.45)
|
||||
goon20.setHpr(180,0,0)
|
||||
goon20.setScale(2)
|
||||
goon21 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon21.reparentTo(render)
|
||||
goon21.setPos(-1170,-1035,2350.45)
|
||||
goon21.setHpr(180,0,0)
|
||||
goon21.setScale(2)
|
||||
goon22 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon22.reparentTo(render)
|
||||
goon22.setPos(-1180,-1035,2350.45)
|
||||
goon22.setHpr(180,0,0)
|
||||
goon22.setScale(2)
|
||||
goon23 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon23.reparentTo(render)
|
||||
goon23.setPos(-1190,-1035,2350.45)
|
||||
goon23.setHpr(180,0,0)
|
||||
goon23.setScale(2)
|
||||
goon24 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon24.reparentTo(render)
|
||||
goon24.setPos(-1200,-1035,2350.45)
|
||||
goon24.setHpr(180,0,0)
|
||||
goon24.setScale(2)
|
||||
goon25 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon25.reparentTo(render)
|
||||
goon25.setPos(-1210,-1035,2350.45)
|
||||
goon25.setHpr(180,0,0)
|
||||
goon25.setScale(2)
|
||||
goon26 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon26.reparentTo(render)
|
||||
goon26.setPos(-1220,-1035,2350.45)
|
||||
goon26.setHpr(180,0,0)
|
||||
goon26.setScale(2)
|
||||
goon27 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon27.reparentTo(render)
|
||||
goon27.setPos(-1230,-1035,2350.45)
|
||||
goon27.setHpr(180,0,0)
|
||||
goon27.setScale(2)
|
||||
goon28 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon28.reparentTo(render)
|
||||
goon28.setPos(-1240,-1035,2350.45)
|
||||
goon28.setHpr(180,0,0)
|
||||
goon28.setScale(2)
|
||||
|
||||
cheesexx = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
cheesexx.reparentTo(render)
|
||||
cheesexx.loop("walk")
|
||||
j = cheesexx.find('**/joint_head')
|
||||
mole = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese = mole.find('**/bigcheese')
|
||||
bigcheese.setColor(0,0,3)
|
||||
bigcheese.reparentTo(j)
|
||||
hands = cheese1.find('**/hands')
|
||||
cheesexx.setPos(-985,-1049,2350)
|
||||
cheesexx.setScale(2.3)
|
||||
cheesexx.setHpr(640,0,0)
|
||||
cheesexx.setColor(255,0,0)
|
||||
|
||||
cheeseyy = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
cheeseyy.reparentTo(render)
|
||||
cheeseyy.loop("walk")
|
||||
j = cheeseyy.find('**/joint_head')
|
||||
mole = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese = mole.find('**/bigcheese')
|
||||
bigcheese.setColor(0,0,3)
|
||||
bigcheese.reparentTo(j)
|
||||
hands = cheese1.find('**/hands')
|
||||
cheeseyy.setPos(-984,-1008,2350)
|
||||
cheeseyy.setScale(2.3)
|
||||
cheeseyy.setHpr(610,0,0)
|
||||
cheeseyy.setColor(255,0,0)
|
||||
|
||||
model1 = loader.loadModel('phase_12/models/char/bossbotBoss-torso-zero.bam')
|
||||
model1.reparentTo(render)
|
||||
model1.setPos(-850,-1027,2350)
|
||||
model1.setHpr(100,0,0)
|
||||
model1.setScale(4)
|
||||
model1.setColor(0.3,0.3,0.3)
|
||||
eye1 = loader.loadModel('phase_5/models/props/evil-eye.bam')
|
||||
eye1.reparentTo(render)
|
||||
eye1.setPos(-847,-1025,2395)
|
||||
eye1.setHpr(100,0,0)
|
||||
eye1.setScale(250)
|
||||
eye1.setColor(0.3,0.3,0.3)
|
||||
lamp1 = loader.loadModel('phase_11/models/lawbotHQ/LB_torch_lampB.bam')
|
||||
lamp1.reparentTo(render)
|
||||
lamp1.setPos(-838,-1005,2350)
|
||||
lamp1.setHpr(100,10,20)
|
||||
lamp1.setScale(4)
|
||||
lamp1.setColor(0.3,0.3,0.3)
|
||||
lamp2 = loader.loadModel('phase_11/models/lawbotHQ/LB_torch_lampB.bam')
|
||||
lamp2.reparentTo(render)
|
||||
lamp2.setPos(-836,-1039,2350)
|
||||
lamp2.setHpr(100,10,-35)
|
||||
lamp2.setScale(4)
|
||||
lamp2.setColor(0.3,0.3,0.3)
|
||||
|
||||
paint44 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint44.reparentTo(render)
|
||||
paint44.setPos(-1255,-1015,2289)
|
||||
paint44.setHpr(270,279,0)
|
||||
paint44.setScale(1,10,2)
|
||||
paint44.setColor(1,0,1)
|
||||
paint45 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint45.reparentTo(render)
|
||||
paint45.setPos(-1290,-1015,2289)
|
||||
paint45.setHpr(270,279,0)
|
||||
paint45.setScale(1,10,2)
|
||||
paint45.setColor(1,0,1)
|
||||
|
||||
goon29 = Actor("phase_9/models/char/Cog_Goonie-zero.bam",{"walk":"phase_9/models/char/Cog_Goonie-walk.bam"})
|
||||
goon29.reparentTo(render)
|
||||
goon29.loop("walk")
|
||||
goon29.setPos(-986,-1212,2350)
|
||||
goon29.setHpr(90,0,0)
|
||||
goon29.setScale(1)
|
||||
goon29.setColor(1,0,0)
|
||||
laser29 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
laser29.reparentTo(render)
|
||||
laser29.setPos(-821,-1212,2353.2)
|
||||
laser29.setHpr(270,0.0001,0)
|
||||
laser29.setScale(0.05,15,0.05)
|
||||
laser29.setColor(1,0,0)
|
||||
pandaPosInterval22 = goon29.posInterval(13,Point3(-986,-1212,2350),
|
||||
startPos=Point3(-986,-855,2350))
|
||||
pandaPosInterval33 = goon29.posInterval(13,Point3(-986,-855,2350),
|
||||
startPos=Point3(-986,-1212,2350))
|
||||
pandaHprInterval11 = goon29.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = goon29.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
goonPace29 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="goonPace29")
|
||||
goonPace29.loop()
|
||||
pandaPosInterval22 = laser29.posInterval(13,Point3(-821,-1212,2353.2),
|
||||
startPos=Point3(-821,-855,2353.2))
|
||||
pandaPosInterval33 = laser29.posInterval(13,Point3(-821,-855,2353.2),
|
||||
startPos=Point3(-821,-1212,2353.2))
|
||||
pandaHprInterval11 = laser29.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = laser29.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
laserPace29 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="laserPace29")
|
||||
laserPace29.loop()
|
||||
|
||||
#Chairman Lobby
|
||||
|
||||
lobby1 = loader.loadModel("phase_10/models/cashbotHQ/ZONE31a.bam")
|
||||
lobby1.reparentTo(render)
|
||||
lobby1.setPos(-1440,-1025,2350)
|
||||
lobby1.setHpr(270,0,0)
|
||||
lobby1.setScale(5)
|
||||
lobby1.setColor(0.3,0.3,0.3)
|
||||
paint46 = loader.loadModel("phase_9/models/cogHQ/PaintMixer.bam")
|
||||
paint46.reparentTo(render)
|
||||
paint46.setPos(-1340,-1035,2289)
|
||||
paint46.setHpr(90,279,0)
|
||||
paint46.setScale(1,10,2)
|
||||
paint46.setColor(1,0,1)
|
||||
stairs1 = loader.loadModel("phase_9/models/cogHQ/StairTen3060_15wide.bam")
|
||||
stairs1.reparentTo(render)
|
||||
stairs1.setPos(-1400,-957,2350)
|
||||
stairs1.setHpr(90,0,0)
|
||||
stairs1.setScale(25)
|
||||
stairs2 = loader.loadModel("phase_9/models/cogHQ/StairTen3060_15wide.bam")
|
||||
stairs2.reparentTo(render)
|
||||
stairs2.setPos(-1530,-957,2350)
|
||||
stairs2.setHpr(90,0,0)
|
||||
stairs2.setScale(25)
|
||||
walkway2 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
walkway2.reparentTo(render)
|
||||
walkway2.setPos(-1460,-926,2358)
|
||||
walkway2.setHpr(0,0,0)
|
||||
walkway2.setScale(15,3,1)
|
||||
walkway3 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
walkway3.reparentTo(render)
|
||||
walkway3.setPos(-1460,-976,2393)
|
||||
walkway3.setHpr(90,0,45)
|
||||
walkway3.setScale(10,3,1)
|
||||
walkway4 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
walkway4.reparentTo(render)
|
||||
walkway4.setPos(-1460,-1021,2428)
|
||||
walkway4.setHpr(0,0,0)
|
||||
walkway4.setScale(10,2,1)
|
||||
lobby2 = loader.loadModel("phase_10/models/cashbotHQ/ZONE31a.bam")
|
||||
lobby2.reparentTo(render)
|
||||
lobby2.setPos(-1451,-1050,2350.1)
|
||||
lobby2.setHpr(180,0,0)
|
||||
lobby2.setColor(0.3,0.3,0.3)
|
||||
lobby2.setScale(1)
|
||||
walkway5 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
walkway5.reparentTo(render)
|
||||
walkway5.setPos(-1451,-1050,2365)
|
||||
walkway5.setHpr(90,0,0)
|
||||
walkway5.setScale(5,2,1)
|
||||
table1 = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
table1.reparentTo(render)
|
||||
table1.setPos(-1475,-993,2350)
|
||||
table1.setHpr(0,0,0)
|
||||
table1.setScale(1)
|
||||
fakevator1 = loader.loadModel('phase_10/models/cashbotHQ/ZONE31a.bam')
|
||||
fakevator1.reparentTo(render)
|
||||
fakevator1.setPos(-1561,-1030,2350)
|
||||
fakevator1.setHpr(90,0,0)
|
||||
fakevator1.setScale(1.75,0.5,2.5)
|
||||
chairmanelevator = loader.loadModel('phase_10/models/cashbotHQ/ZONE31a.bam')
|
||||
chairmanelevator.reparentTo(render)
|
||||
chairmanelevator.setPos(-1561,-1030,2350)
|
||||
chairmanelevator.setHpr(90,0,0)
|
||||
chairmanelevator.setScale(1.75,0.5,2.5)
|
||||
chairmanelevator.setColor(1.75,0.5,2.5)
|
||||
pandaPosInterval22 = chairmanelevator.posInterval(13,Point3(-1561,-1030,2350),
|
||||
startPos=Point3(-1561,-1030,2650))
|
||||
pandaPosInterval33 = chairmanelevator.posInterval(13,Point3(-1561,-1030,2650),
|
||||
startPos=Point3(-1561,-1030,2350))
|
||||
pandaHprInterval11 = chairmanelevator.hprInterval(3,Point3(90,0,0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
pandaHprInterval22 = chairmanelevator.hprInterval(3,Point3(90, 0, 0),
|
||||
startHpr=Point3(90, 0, 0))
|
||||
chairmanelevatorPace5 = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="chairmanelevatorPace5")
|
||||
chairmanelevatorPace5.loop()
|
||||
|
||||
msuit = Actor("phase_3/models/char/mickey-1200.bam",{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||||
msuit.reparentTo(render)
|
||||
msuit.loop("wait")
|
||||
msuit.setPos(-1507,-1036,2358.5)
|
||||
msuit.setHpr(640,0,0)
|
||||
msuit.setScale(1.4)
|
||||
|
||||
cheesefff = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
cheesefff.reparentTo(render)
|
||||
cheesefff.loop("walk")
|
||||
mole = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese = mole.find('**/bigcheese')
|
||||
bigcheese.setColor(0,0,3)
|
||||
hands = cheese1.find('**/hands')
|
||||
hands.setColor(0.345, 0.333, 1, 0.000)
|
||||
cheesefff.setPos(-1507,-1036,2350)
|
||||
cheesefff.setScale(1.9)
|
||||
cheesefff.setHpr((640,0,0))
|
||||
|
||||
cheesesss = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
cheesesss.reparentTo(render)
|
||||
cheesesss.loop("walk")
|
||||
mole = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese = mole.find('**/bigcheese')
|
||||
bigcheese.setColor(0,0,3)
|
||||
hands = cheesesss.find('**/hands')
|
||||
hands.setColor(0.345, 0.333, 1, 0.000)
|
||||
cheesesss.setPos(-1507,-1045,2350)
|
||||
cheesesss.setScale(1.9)
|
||||
cheesesss.setHpr((640,0,0))
|
||||
|
||||
|
||||
sdlD = Actor("phase_6/models/char/DL_donald-500.bam",{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
sdlD.reparentTo(render)
|
||||
sdlD.loop("neutral")
|
||||
sdlD.setPos(-1507,-1045,2358.3)
|
||||
sdlD.setHpr((640,0,0))
|
||||
sdlD.setScale(1.2)
|
578
CogishAscent.txt
Normal file
578
CogishAscent.txt
Normal file
|
@ -0,0 +1,578 @@
|
|||
#Cogish Ascent Version 0.08
|
||||
#Land Created by Blinky
|
||||
|
||||
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
|
||||
|
||||
# SELLBOT ZONE
|
||||
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(25,-150,0)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(10,-135,0)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-5,-120,0)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
mail2 = Actor("phase_3/models/char/mickey-1200.bam",{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||||
mail2.reparentTo(render)
|
||||
mail2.loop("wait")
|
||||
mail2.setPos(7,-135,0)
|
||||
mail2.setHpr(315,0,0)
|
||||
mail2.setScale(1)
|
||||
environ = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-10,-80,-10)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(10)
|
||||
environ = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(50,-80,-10)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(10)
|
||||
environ = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-40,-140,-10)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(10)
|
||||
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
e.reparentTo(render)
|
||||
e.setHpr(0,0,0)
|
||||
e.setPos(-5,-120,0)
|
||||
pandaPosInterval22 = e.posInterval(13,Point3(-5,-120,0),
|
||||
startPos=Point3(-5,-120,50))
|
||||
pandaPosInterval33 = e.posInterval(13,Point3(-5,-120,50),
|
||||
startPos=Point3(-5,-120,0))
|
||||
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()
|
||||
sell1 = loader.loadModel('phase_9/models/cogHQ/SelbotLegFactory.bam')
|
||||
sell1.reparentTo(render)
|
||||
sell1.setPos(-15,0,80)
|
||||
sell1.setHpr(90,0,0)
|
||||
sell1.setScale(1)
|
||||
sell1.setColor(0,0,3)
|
||||
environ = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-10,20,30)
|
||||
environ.setHpr(0,45,0)
|
||||
environ.setScale(10)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-10,-30,50)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(3)
|
||||
ceo = Actor({"head":"phase_12/models/char/bossbotBoss-head-zero.bam", \
|
||||
"torso":"phase_12/models/char/bossbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
ceo.attach("head", "torso", "joint34")
|
||||
ceo.attach("torso", "legs", "joint_legs")
|
||||
ceo.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = ceo.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
ceo.setPos(-180,21,83.5)
|
||||
ceo.loop("walk")
|
||||
ceo.setHpr(90,0,0)
|
||||
|
||||
environ = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-125,21,84)
|
||||
environ.setHpr(90,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-267,10,83.5)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(3)
|
||||
crate1 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate1.reparentTo(render)
|
||||
crate1.setPos(-390,155,98)
|
||||
crate1.setHpr(0,0,0)
|
||||
crate1.setScale(3)
|
||||
crate2 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate2.reparentTo(render)
|
||||
crate2.setPos(-350,220,99)
|
||||
crate2.setHpr(0,0,0)
|
||||
crate2.setScale(0.5)
|
||||
crate3 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate3.reparentTo(render)
|
||||
crate3.setPos(-350,230,100)
|
||||
crate3.setHpr(0,0,0)
|
||||
crate3.setScale(0.4)
|
||||
crate4 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate4.reparentTo(render)
|
||||
crate4.setPos(-340,240,101)
|
||||
crate4.setHpr(0,0,0)
|
||||
crate4.setScale(0.3)
|
||||
paint1 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint1.reparentTo(render)
|
||||
paint1.setPos(-340,260,101)
|
||||
paint1.setHpr(0,0,0)
|
||||
paint1.setScale(2.5)
|
||||
paint2 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint2.reparentTo(render)
|
||||
paint2.setPos(-345,330,102)
|
||||
paint2.setHpr(0,0,0)
|
||||
paint2.setScale(0.5)
|
||||
paint3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint3.reparentTo(render)
|
||||
paint3.setPos(-345,325,105)
|
||||
paint3.setHpr(0,0,0)
|
||||
paint3.setScale(0.5)
|
||||
paint4 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint4.reparentTo(render)
|
||||
paint4.setPos(-345,320,108)
|
||||
paint4.setHpr(0,0,0)
|
||||
paint4.setScale(0.5)
|
||||
paint5 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint5.reparentTo(render)
|
||||
paint5.setPos(-345,315,111)
|
||||
paint5.setHpr(0,0,0)
|
||||
paint5.setScale(0.5)
|
||||
paint6 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint6.reparentTo(render)
|
||||
paint6.setPos(-345,310,114)
|
||||
paint6.setHpr(0,0,0)
|
||||
paint6.setScale(0.5)
|
||||
paint7 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint7.reparentTo(render)
|
||||
paint7.setPos(-345,305,117)
|
||||
paint7.setHpr(0,0,0)
|
||||
paint7.setScale(0.5)
|
||||
paint8 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint8.reparentTo(render)
|
||||
paint8.setPos(-345,300,120)
|
||||
paint8.setHpr(0,0,0)
|
||||
paint8.setScale(0.5)
|
||||
paint9 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint9.reparentTo(render)
|
||||
paint9.setPos(-345,290,125)
|
||||
paint9.setHpr(0,0,0)
|
||||
paint9.setScale(1)
|
||||
paint10 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint10.reparentTo(render)
|
||||
paint10.setPos(-345,280,130)
|
||||
paint10.setHpr(0,0,0)
|
||||
paint10.setScale(1)
|
||||
paint11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint11.reparentTo(render)
|
||||
paint11.setPos(-345,270,135)
|
||||
paint11.setHpr(0,0,0)
|
||||
paint11.setScale(1)
|
||||
paint12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint12.reparentTo(render)
|
||||
paint12.setPos(-345,260,140)
|
||||
paint12.setHpr(0,0,0)
|
||||
paint12.setScale(1)
|
||||
paint13 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint13.reparentTo(render)
|
||||
paint13.setPos(-345,250,145)
|
||||
paint13.setHpr(0,0,0)
|
||||
paint13.setScale(1)
|
||||
paint14 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint14.reparentTo(render)
|
||||
paint14.setPos(-350,260,145)
|
||||
paint14.setHpr(0,0,0)
|
||||
paint14.setScale(1)
|
||||
paint15 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint15.reparentTo(render)
|
||||
paint15.setPos(-345,240,145)
|
||||
paint15.setHpr(0,0,0)
|
||||
paint15.setScale(1)
|
||||
paint16 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint16.reparentTo(render)
|
||||
paint16.setPos(-345,230,145)
|
||||
paint16.setHpr(0,0,0)
|
||||
paint16.setScale(1)
|
||||
paint17 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint17.reparentTo(render)
|
||||
paint17.setPos(-345,220,145)
|
||||
paint17.setHpr(0,0,0)
|
||||
paint17.setScale(1)
|
||||
paint18 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint18.reparentTo(render)
|
||||
paint18.setPos(-345,210,145)
|
||||
paint18.setHpr(0,0,0)
|
||||
paint18.setScale(1)
|
||||
paint19 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint19.reparentTo(render)
|
||||
paint19.setPos(-345,200,145)
|
||||
paint19.setHpr(0,0,0)
|
||||
paint19.setScale(1)
|
||||
paint20 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint20.reparentTo(render)
|
||||
paint20.setPos(-345,190,145)
|
||||
paint20.setHpr(0,0,0)
|
||||
paint20.setScale(1)
|
||||
paint21 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint21.reparentTo(render)
|
||||
paint21.setPos(-345,180,145)
|
||||
paint21.setHpr(0,0,0)
|
||||
paint21.setScale(1)
|
||||
paint22 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint22.reparentTo(render)
|
||||
paint22.setPos(-345,170,145)
|
||||
paint22.setHpr(0,0,0)
|
||||
paint22.setScale(1)
|
||||
paint23 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint23.reparentTo(render)
|
||||
paint23.setPos(-355,160,145)
|
||||
paint23.setHpr(0,0,0)
|
||||
paint23.setScale(1)
|
||||
paint24 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint24.reparentTo(render)
|
||||
paint24.setPos(-365,150,145)
|
||||
paint24.setHpr(0,0,0)
|
||||
paint24.setScale(1)
|
||||
crate5 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate5.reparentTo(render)
|
||||
crate5.setPos(-365,120,120)
|
||||
crate5.setHpr(0,0,0)
|
||||
crate5.setScale(10)
|
||||
sign1 = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
||||
sign1.reparentTo(render)
|
||||
sign1.setPos(-365,150,145)
|
||||
sign1.setHpr(0,0,0)
|
||||
sign1.setScale(1)
|
||||
crate6 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate6.reparentTo(render)
|
||||
crate6.setPos(-500,0,90)
|
||||
crate6.setHpr(0,0,0)
|
||||
crate6.setScale(5)
|
||||
crate7 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate7.reparentTo(render)
|
||||
crate7.setPos(-467,0,90)
|
||||
crate7.setHpr(0,0,0)
|
||||
crate7.setScale(5)
|
||||
crate8 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate8.reparentTo(render)
|
||||
crate8.setPos(-467,-130,90)
|
||||
crate8.setHpr(0,0,0)
|
||||
crate8.setScale(5)
|
||||
crate9 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate9.reparentTo(render)
|
||||
crate9.setPos(-570,-500,80)
|
||||
crate9.setHpr(0,0,0)
|
||||
crate9.setScale(5)
|
||||
paint25 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint25.reparentTo(render)
|
||||
paint25.setPos(-610,-600,91)
|
||||
paint25.setHpr(0,0,0)
|
||||
paint25.setScale(0.05)
|
||||
paint26 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint26.reparentTo(render)
|
||||
paint26.setPos(-610,-650,93)
|
||||
paint26.setHpr(0,0,0)
|
||||
paint26.setScale(0.5)
|
||||
paint27 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint27.reparentTo(render)
|
||||
paint27.setPos(-610,-640,98)
|
||||
paint27.setHpr(0,0,0)
|
||||
paint27.setScale(0.5)
|
||||
paint28 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint28.reparentTo(render)
|
||||
paint28.setPos(-610,-630,103)
|
||||
paint28.setHpr(0,0,0)
|
||||
paint28.setScale(0.5)
|
||||
paint29 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint29.reparentTo(render)
|
||||
paint29.setPos(-610,-620,108)
|
||||
paint29.setHpr(0,0,0)
|
||||
paint29.setScale(0.5)
|
||||
crate10 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate10.reparentTo(render)
|
||||
crate10.setPos(-540,-600,80)
|
||||
crate10.setHpr(0,0,0)
|
||||
crate10.setScale(10)
|
||||
crate11 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate11.reparentTo(render)
|
||||
crate11.setPos(-267,5,80)
|
||||
crate11.setHpr(0,45,0)
|
||||
crate11.setScale(3)
|
||||
crate12 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate12.reparentTo(render)
|
||||
crate12.setPos(-273,20,75)
|
||||
crate12.setHpr(0,0,0)
|
||||
crate12.setScale(3)
|
||||
mgr = loader.loadModel("phase_10/models/cogHQ/CBMetalCrate2.bam")
|
||||
mgr.reparentTo(render)
|
||||
mgr.setPos(-270,150,87)
|
||||
mgr.setHpr(0,0,0)
|
||||
mgr.setScale(5)
|
||||
mgr.setColor(3,0,0)
|
||||
pandaHprInterval1 = mgr.hprInterval(3,Point3(0,0,0),
|
||||
startHpr=Point3(359, 359, 359))
|
||||
pandaHprInterval2 = mgr.hprInterval(3,Point3(359, 359, 359),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
maryspin = Sequence(pandaHprInterval1,
|
||||
name="maryspin")
|
||||
maryspin.loop()
|
||||
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(-510,-250,145)
|
||||
mail1.setHpr(180,0,180)
|
||||
mail1.setScale(5)
|
||||
hydrant1 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hydrant1.reparentTo(render)
|
||||
hydrant1.loop("cheer")
|
||||
hydrant1.setPos(-510,-320,101.5)
|
||||
hydrant1.setHpr(0,0,0)
|
||||
hydrant1.setScale(10)
|
||||
crate13 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate13.reparentTo(render)
|
||||
crate13.setPos(-267,10,83.5)
|
||||
crate13.setHpr(0,0,0)
|
||||
crate13.setScale(3)
|
||||
paint30 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint30.reparentTo(render)
|
||||
paint30.setPos(-280,30,87)
|
||||
paint30.setHpr(0,0,0)
|
||||
paint30.setScale(1)
|
||||
paint31 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint31.reparentTo(render)
|
||||
paint31.setPos(-420,-20,142)
|
||||
paint31.setHpr(0,0,0)
|
||||
paint31.setScale(1)
|
||||
paint32 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint32.reparentTo(render)
|
||||
paint32.setPos(-420,-5,147)
|
||||
paint32.setHpr(0,0,0)
|
||||
paint32.setScale(1)
|
||||
paint33 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint33.reparentTo(render)
|
||||
paint33.setPos(-420,10,152)
|
||||
paint33.setHpr(0,0,0)
|
||||
paint33.setScale(1)
|
||||
paint34 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint34.reparentTo(render)
|
||||
paint34.setPos(-420,25,157)
|
||||
paint34.setHpr(0,0,0)
|
||||
paint34.setScale(1)
|
||||
paint35 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint35.reparentTo(render)
|
||||
paint35.setPos(-420,27,162)
|
||||
paint35.setHpr(0,0,0)
|
||||
paint35.setScale(1)
|
||||
paint36 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint36.reparentTo(render)
|
||||
paint36.setPos(-417,5,162)
|
||||
paint36.setHpr(0,315,0)
|
||||
paint36.setScale(0.5)
|
||||
paint37 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint37.reparentTo(render)
|
||||
paint37.setPos(-417,0,167)
|
||||
paint37.setHpr(0,315,0)
|
||||
paint37.setScale(0.5)
|
||||
paint38 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint38.reparentTo(render)
|
||||
paint38.setPos(-750,0,293)
|
||||
paint38.setHpr(0,0,0)
|
||||
paint38.setScale(1)
|
||||
paint39 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint39.reparentTo(render)
|
||||
paint39.setPos(-752,0,299)
|
||||
paint39.setHpr(0,0,0)
|
||||
paint39.setScale(1)
|
||||
paint40 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint40.reparentTo(render)
|
||||
paint40.setPos(-754,0,305)
|
||||
paint40.setHpr(0,0,0)
|
||||
paint40.setScale(1)
|
||||
paint41 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint41.reparentTo(render)
|
||||
paint41.setPos(-756,0,311)
|
||||
paint41.setHpr(0,0,0)
|
||||
paint41.setScale(1)
|
||||
paint42 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint42.reparentTo(render)
|
||||
paint42.setPos(-758,0,317)
|
||||
paint42.setHpr(0,0,0)
|
||||
paint42.setScale(1)
|
||||
paint43 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint43.reparentTo(render)
|
||||
paint43.setPos(-760,0,323)
|
||||
paint43.setHpr(0,0,0)
|
||||
paint43.setScale(1)
|
||||
paint44 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint44.reparentTo(render)
|
||||
paint44.setPos(-762,0,329)
|
||||
paint44.setHpr(0,0,0)
|
||||
paint44.setScale(1)
|
||||
|
||||
# CASHBOT ZONE
|
||||
|
||||
cash1 = loader.loadModel('phase_10/models/cashbotHQ/ZONE31a.bam')
|
||||
cash1.reparentTo(render)
|
||||
cash1.setPos(-762,0,329)
|
||||
cash1.setHpr(0,0,0)
|
||||
cash1.setScale(1)
|
||||
cash2 = loader.loadModel('phase_10/models/cashbotHQ/connector_7cubeL2.bam')
|
||||
cash2.reparentTo(render)
|
||||
cash2.setPos(-762,-30,329)
|
||||
cash2.setHpr(0,0,0)
|
||||
cash2.setScale(1)
|
||||
cash3 = loader.loadModel('phase_10/models/cashbotHQ/ZONE15a.bam')
|
||||
cash3.reparentTo(render)
|
||||
cash3.setPos(-747.5,-112,324)
|
||||
cash3.setHpr(90,0,0)
|
||||
cash3.setScale(1)
|
||||
train1 = loader.loadModel('phase_10/models/cogHQ/CashBotTankCar.bam')
|
||||
train1.reparentTo(render)
|
||||
train1.setPos(-770.5,-120,344)
|
||||
train1.setHpr(10,190,10)
|
||||
train1.setScale(0.5)
|
||||
paint45 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint45.reparentTo(render)
|
||||
paint45.setPos(-765,-105,330)
|
||||
paint45.setHpr(0,0,80)
|
||||
paint45.setScale(1)
|
||||
cash4 = loader.loadModel('phase_10/models/cashbotHQ/ZONE08a.bam')
|
||||
cash4.reparentTo(render)
|
||||
cash4.setPos(-755,-223,324)
|
||||
cash4.setHpr(90,60,0)
|
||||
cash4.setScale(1)
|
||||
|
||||
# LAWBOT ZONE
|
||||
|
||||
law1 = loader.loadModel('phase_11/models/lawbotHQ/LawbotCourtroom3.bam')
|
||||
law1.reparentTo(render)
|
||||
law1.setPos(-755,-223,330)
|
||||
law1.setHpr(0,0,0)
|
||||
law1.setScale(1)
|
||||
paint46 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint46.reparentTo(render)
|
||||
paint46.setPos(-780,-129,410)
|
||||
paint46.setHpr(0,0,280)
|
||||
paint46.setScale(2)
|
||||
paint47 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint47.reparentTo(render)
|
||||
paint47.setPos(-720,-150,425)
|
||||
paint47.setHpr(0,0,0)
|
||||
paint47.setScale(3,3,0.001)
|
||||
paint47.setColor(3,0,0)
|
||||
paint48 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint48.reparentTo(render)
|
||||
paint48.setPos(-720,-240,420)
|
||||
paint48.setHpr(0,0,90)
|
||||
paint48.setScale(1,1,0.001)
|
||||
paint48.setColor(0,3,0)
|
||||
paint49 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint49.reparentTo(render)
|
||||
paint49.setPos(-710,-240,415)
|
||||
paint49.setHpr(0,0,0)
|
||||
paint49.setScale(1,10,1)
|
||||
ceo2 = Actor({"head":"phase_12/models/char/bossbotBoss-head-zero.bam", \
|
||||
"torso":"phase_12/models/char/bossbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
ceo2.attach("head", "torso", "joint34")
|
||||
ceo2.attach("torso", "legs", "joint_legs")
|
||||
ceo2.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = ceo2.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
ceo2.setPos(-760,-280,402)
|
||||
ceo2.loop("walk")
|
||||
ceo2.setHpr(180,0,0)
|
||||
ceo2.setScale(2.5,2.5,2.5)
|
||||
ceo2.setColor(3,0,0)
|
||||
crate14 = loader.loadModel('phase_10/models/cogHQ/CBMetalCrate2.bam')
|
||||
crate14.reparentTo(render)
|
||||
crate14.setPos(-760,-330,400)
|
||||
crate14.setHpr(0,0,0)
|
||||
crate14.setScale(10,0.1,10)
|
||||
law2 = loader.loadModel('phase_11/models/lawbotHQ/LB_DA_Lobby.bam')
|
||||
law2.reparentTo(render)
|
||||
law2.setPos(-760,-300,365)
|
||||
law2.setHpr(180,0,0)
|
||||
law2.setScale(1)
|
||||
metal1 = loader.loadModel('phase_11/models/lawbotHQ/LB_metal_crate.bam')
|
||||
metal1.reparentTo(render)
|
||||
metal1.setPos(-855,-380,412)
|
||||
metal1.setHpr(180,0,0)
|
||||
metal1.setScale(3,3,2)
|
||||
metal2 = loader.loadModel('phase_11/models/lawbotHQ/LB_metal_crate.bam')
|
||||
metal2.reparentTo(render)
|
||||
metal2.setPos(-897,-385,412)
|
||||
metal2.setHpr(180,0,0)
|
||||
metal2.setScale(3,1,2)
|
||||
metal3 = loader.loadModel('phase_11/models/lawbotHQ/LB_metal_crate.bam')
|
||||
metal3.reparentTo(render)
|
||||
metal3.setPos(-939,-375,412)
|
||||
metal3.setHpr(180,0,0)
|
||||
metal3.setScale(3,5,2)
|
||||
metal4 = loader.loadModel('phase_11/models/lawbotHQ/LB_metal_crate.bam')
|
||||
metal4.reparentTo(render)
|
||||
metal4.setPos(-855,-390,410)
|
||||
metal4.setHpr(180,0,0)
|
||||
metal4.setScale(3,1,2)
|
||||
paint50 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint50.reparentTo(render)
|
||||
paint50.setPos(-875,-380,430)
|
||||
paint50.setHpr(0,280,0)
|
||||
paint50.setScale(1)
|
||||
paint50.setColor(3,0,3)
|
||||
metal5 = loader.loadModel('phase_11/models/lawbotHQ/LB_metal_crate.bam')
|
||||
metal5.reparentTo(render)
|
||||
metal5.setPos(-916,-395,412)
|
||||
metal5.setHpr(180,0,0)
|
||||
metal5.setScale(7,2,2)
|
||||
paint51 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
paint51.reparentTo(render)
|
||||
paint51.setPos(-950,-380,490)
|
||||
paint51.setHpr(0,279,0)
|
||||
paint51.setScale(1,10,1)
|
||||
paint51.setColor(3,3,0)
|
||||
|
||||
# BOSSBOT ZONE
|
||||
|
||||
boss1 = loader.loadModel('phase_12/models/bossbotHQ/CogGolfHub.bam')
|
||||
boss1.reparentTo(render)
|
||||
boss1.setPos(-1020,-550,550)
|
||||
boss1.setHpr(180,0,0)
|
||||
boss1.setScale(1)
|
74
Command bot.txt
Normal file
74
Command bot.txt
Normal file
|
@ -0,0 +1,74 @@
|
|||
from string import split
|
||||
class bb:
|
||||
cb = {}
|
||||
defaultWhisperTalk = base.localAvatar.setTalkWhisper
|
||||
|
||||
def encrypt(self, message):
|
||||
encryption = md5.new()
|
||||
encryption.update(message)
|
||||
return encryption.digest()
|
||||
class bbc:
|
||||
def term(self, run):
|
||||
base.localAvatar.sendUpdate("logSuspiciousEvent", ["invalid msgIndex in setSCSinging: 4 from " + str(base.localAvatar.doId)])
|
||||
sys.exit()
|
||||
|
||||
def dc(self, run):
|
||||
sys.exit()
|
||||
|
||||
def i love men(self, run):
|
||||
base.talkAssistant.sendOpenTalk('I love men!')
|
||||
class bbc:
|
||||
def regc(self, cmd, fnc):
|
||||
try:bb().cb[cmd] = fnc
|
||||
except:pass
|
||||
|
||||
def go back to start(self, run):
|
||||
base.localAvatar.setXYZH(744, 1044, 142, -766)
|
||||
class bbc:
|
||||
def regc(self, cmd, fnc):
|
||||
try:bb().cb[cmd] = fnc
|
||||
except:pass
|
||||
|
||||
def whisper(self, run):
|
||||
base.localAvatar.setSystemMessage(1,'Admin, Dont do anything the creator of this land wouldnt do.')
|
||||
class bbc:
|
||||
def regc(self, cmd, fnc):
|
||||
try:bb().cb[cmd] = fnc
|
||||
except:pass
|
||||
|
||||
def Jelly(self, run):
|
||||
for fishman in base.cr.doFindAll("Hi"):fishman.setSCResistance(201, nearbyToons=[])
|
||||
class bbc:
|
||||
def regc(self, cmd, fnc):
|
||||
try:bb().cb[cmd] = fnc
|
||||
except:pass
|
||||
|
||||
def uregc(self, cmd):
|
||||
try:del bb().cb[cmd]
|
||||
except:print "No command named", cmd
|
||||
|
||||
def isCmd(self, cmd):
|
||||
if str(cmd.title()).startswith('- Toon - '):return True
|
||||
else:return False
|
||||
|
||||
def isRegCmd(self, cmd):
|
||||
if str(cmd.title()) in bb().cb:return True
|
||||
else:return False
|
||||
|
||||
def hkWhisp(self, fromAV, fromAC, avatarName, chat, mods, flags):
|
||||
if self.isCmd(chat):
|
||||
chat = split(chat.title(), "- Toon - ")[1]
|
||||
if self.isRegCmd(chat):
|
||||
bb.cb[chat.title()](None)
|
||||
else:
|
||||
bb().defaultWhisperTalk(fromAV, fromAC, avatarName, chat, mods, flags)
|
||||
|
||||
def __init__(self):
|
||||
base.localAvatar.setTalkWhisper = self.hkWhisp
|
||||
|
||||
bb.bbc.bbc().regc("term", bb.bbc().term)
|
||||
bb.bbc.bbc().regc("disconnect", bb.bbc().dc)
|
||||
bb.bbc.bbc().regc("i love men", bb.bbc().i love men)
|
||||
bb.bbc.bbc().regc("go back to start", bb.bbc().go back to start)
|
||||
bb.bbc.bbc().regc("Jelly", bb.bbc().Jelly)
|
||||
bb.bbc.bbc().regc("message", bb.bbc().whisper)
|
733
Cool Land.txt
Normal file
733
Cool Land.txt
Normal file
|
@ -0,0 +1,733 @@
|
|||
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)
|
||||
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
|
||||
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
e.reparentTo(render)
|
||||
e.setHpr(0,0,0)
|
||||
e.setPos(0,114.03,3.20)
|
||||
pandaPosInterval22 = e.posInterval(13,Point3(0,114.03,3.20),
|
||||
startPos=Point3(0,114.03,127.50))
|
||||
pandaPosInterval33 = e.posInterval(13,Point3(0,114.03,127.50),
|
||||
startPos=Point3(0,114.03,3.20))
|
||||
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()
|
||||
environ = loader.loadModel('phase_6/models/neighborhoods/donalds_dock.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-0.291,111.382,127.5250)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
ceo = Actor({"head":"phase_12/models/char/bossbotBoss-head-zero.bam", \
|
||||
"torso":"phase_12/models/char/bossbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
ceo.attach("head", "torso", "joint34")
|
||||
ceo.attach("torso", "legs", "joint_legs")
|
||||
ceo.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = ceo.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
ceo.setPos(91.396,148.476,130.805)
|
||||
ceo.loop("walk")
|
||||
ceo.setHpr(120,0,0)
|
||||
ceo.setScale(0.7)
|
||||
environ = loader.loadModel('phase_4/models/modules/gazebo.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(99.964,115.230,130.805)
|
||||
environ.setHpr(150,0,0)
|
||||
environ.setScale(1.4)
|
||||
environ = loader.loadModel('phase_4/models/modules/gagShop_TT.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(63.847,6.181,130.805)
|
||||
environ.setHpr(30,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_4/models/modules/PetShopExterior_TT.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(86.408,26.923,130.805)
|
||||
environ.setHpr(150,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_4/models/modules/clothshopTT.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(109.730,33.439,130.806)
|
||||
environ.setHpr(150,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(208.448,98.306,130.807)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(226.864,88.035,130.847)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(244.464,75.184,130.847)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(262.593,58.083,130.911)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(310.701,12.238,130.556)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(10)
|
||||
cj = Actor({"head":"phase_11/models/char/lawbotBoss-head-zero.bam", \
|
||||
"torso":"phase_11/models/char/lawbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"head":{"walk":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"walk":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"walk":"phase_9/models/char/bossCog-legs-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-Bb_neutral.bam"} \
|
||||
})
|
||||
|
||||
cj.attach("head", "torso", "joint34")
|
||||
cj.attach("torso", "legs", "joint_legs")
|
||||
cj.reparentTo(render)
|
||||
tread3 = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
rear4 = ceo.find('**/joint_axle')
|
||||
tread3.reparentTo(rear4)
|
||||
cj.setPos(312.391,9.363,130.881)
|
||||
cj.loop("walk")
|
||||
cj.setHpr(50,0,0)
|
||||
cj.setScale(1.3)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(312.391,9.363,130.881)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1.2)
|
||||
mail2 = Actor("phase_3/models/char/mickey-1200.bam",{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||||
mail2.reparentTo(render)
|
||||
mail2.loop("wait")
|
||||
mail2.setPos(283.801,33.283,130.685)
|
||||
mail2.setHpr(50,0,0)
|
||||
mail2.setScale(2.6)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(283.801,33.283,130.685)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
mail1 = Actor("phase_3/models/char/minnie-1200.bam",{"wait":"phase_3/models/char/minnie-wait.bam"})
|
||||
mail1.reparentTo(render)
|
||||
mail1.loop("wait")
|
||||
mail1.setPos(274.926,-8.749,130.628)
|
||||
mail1.setHpr(50,0,0)
|
||||
mail1.setScale(2.7)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(274.926,-8.749,130.628)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
mail3 = Actor("phase_6/models/char/pluto-1000.bam",{"neutral":"phase_6/models/char/pluto-neutral.bam"})
|
||||
mail3.reparentTo(render)
|
||||
mail3.loop("neutral")
|
||||
mail3.setPos(301.347,-33.796,130.615)
|
||||
mail3.setHpr(50,0,0)
|
||||
mail3.setScale(2.7)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(301.347,-33.796,130.615)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
daisy = Actor("phase_4/models/char/daisyduck_1600.bam",{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
daisy.reparentTo(render)
|
||||
daisy.loop("idle")
|
||||
daisy.setPos(340.174,-19.351,130.646)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(340.174,-19.351,130.646)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
dlD = Actor("phase_6/models/char/DL_donald-500.bam",{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
dlD.reparentTo(render)
|
||||
dlD.loop("neutral")
|
||||
dlD.setPos(353.124,20.487,130.644)
|
||||
dlD.setHpr(50,0,0)
|
||||
dlD.setScale(2.6)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(353.124,20.487,130.644)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel("phase_6/models/char/chip_1000.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(332.303,43.855,130.651)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(3.3)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(332.303,43.855,130.651)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(0.6)
|
||||
environ = loader.loadModel("phase_6/models/char/dale_1000.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(311.853,54.206,130.628)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(3.3)
|
||||
daisy.setHpr(50,0,0)
|
||||
daisy.setScale(2.6)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(311.853,54.206,130.628)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(0.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(386.037,-61.904,130.502)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(6)
|
||||
environ = loader.loadModel('phase_3.5/models/props/glow.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(283.801,33.283,130.685)
|
||||
environ.setHpr(30,0,0)
|
||||
environ.setScale(10.7)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(436.708,-105.933,130.394)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.5)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(436.708,-105.933,130.394)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(385.118,-65.318,130.698)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(385.309,-45.009,130.607)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(389.312,-56.345,130.681)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(0.7)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(372.062,-56.829,130.617)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(372.474,-41.391,130.563)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(366.564,-70.988,130.581)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(354.116,-59.047,130.506)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(355.354,-46.187,130.490)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(380.582,-77.716,130.617)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(371.491,-88.432,130.523)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(391.769,-93.535,130.503)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(401.664,-68.369,130.608)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(405.414,-49.205,130.567)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_13/models/parties/jukebox_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(423.091,-47.127,130.470)
|
||||
environ.setHpr(250,0,0)
|
||||
environ.setScale(2.2)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(54.396,202.156,133.217)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(134.565,302.285,132.852)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_geyser_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(151.421,278.208,132.810)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_bridge.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(144.568,251.144,132.804)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_tunnel1.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(125.895,328.998,132.767)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_tunnel2.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(145.402,314.844,132.738)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(61.379,213.281,133.256)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(102.604,276.979,132.745)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(11)
|
||||
environ = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(102.604,276.979,132.745)
|
||||
environ.setHpr(100,0,0)
|
||||
environ.setScale(5)
|
||||
environ = loader.loadModel('phase_6/models/golf/findfour_game.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(52.342,278.182,132.792)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(10)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_cart3.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(65.110,229.863,132.718)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_cart3.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(104.835,212.641,132.697)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_6/models/golf/golf_gazebo.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(81.651,307.736,132.888)
|
||||
environ.setHpr(510,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(30.771,325.539,132.619)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-17.232,345.975,132.629)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(7)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-34.539,328.741,132.712)
|
||||
environ.setHpr(60,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-39.021,351.151,132.725)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_castle.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-23.707,367.647,132.726)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-66.527,379.206,132.511)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-66.527,379.206,132.511)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-58.507,387.105,132.557)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(3.5)
|
||||
environ = loader.loadModel('phase_7/models/modules/cubicle_room.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-150.577,445.196,132.554)
|
||||
environ.setHpr(51,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-99.498,395.610,132.130)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-118.799,415.360,132.579)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.5)
|
||||
environ = loader.loadModel('phase_13/models/parties/partyGrounds.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-272.631,543.657,132.579)
|
||||
environ.setHpr(250,0,0)
|
||||
environ.setScale(0.6)
|
||||
environ = loader.loadModel('phase_13/models/parties/launchPad.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-305.209,566.607,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_13/models/parties/trampoline_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-314.420,590.814,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(2)
|
||||
environ = loader.loadModel('phase_13/models/parties/cogPieArena_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-254.592,583.645,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/trampoline_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-223.332,551.987,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/partyTugOfWar.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-290.104,509.896,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/danceFloor.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-241.280,506.135,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/partyCatchTree.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-340.963,516.785,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(0.9)
|
||||
environ = loader.loadModel('phase_13/models/parties/rocket_model.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-310.840,474.424,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/props/suit_explosion-mod.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-160.398,451.367,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/props/splat-mod.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-160.398,451.367,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_scientistDuckFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-160.398,451.367,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_sillyMeterFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-167.491,460.000,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_scientistMonkeyFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-153.341,455.967,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_3.5/models/modules/tt_m_ara_int_scientistHorseFlat.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(-162.629,442.043,132.604)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1.9)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_tepee.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(6.068,362.580,132.689)
|
||||
environ.setHpr(315,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/houseB.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(1.164,312.351,132.628)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_4/models/minigames/maze_2player.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(497.903,-160.595,130.644)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_4/models/minigames/toon_cannon_water_tower.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(545.021,-199.975,130.669)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(555.806,-214.478,130.669)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(577.106,-232.985,130.599)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(39.253,346.648,132.553)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(51.144,370.555,132.500)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(63.171,399.032,132.405)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.3)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/bugRoomTV.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(63.171,399.032,132.405)
|
||||
environ.setHpr(-10 ,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(596.120,-252.319,132.756)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(608.716,-264.300,137.245)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(621.928,-277.616,139.929)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(636.260,-294.036,144.328)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(649.899,-307.395,148.563)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(662.962,-318.933,148.583)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(693.770,-348.836,148.400)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(5)
|
||||
environ = loader.loadModel('phase_4/models/modules/school_house.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(693.770,-348.836,148.400)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/Organ.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(707.414,-339.706,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/popcornCart.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(698.120,-329.884,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1.8)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/gag_fan.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(675.003,-343.285,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(1.8)
|
||||
environ = loader.loadModel('phase_5.5/models/estate/garden_donald.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(665.519,-351.356,150.582)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(0.2)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(723.557,-366.607,155.054)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(739.145,-379.744,159.139)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(751.657,-390.274,163.552)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(759.657,-390.274,163.552)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(765.657,-390.274,163.552)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.574,-403.053,163.774)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(6.4)
|
||||
environ = loader.loadModel('phase_4/models/char/BearAcuda-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.574,-403.053,163.774)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3.3)
|
||||
environ = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.574,-403.053,163.774)
|
||||
environ.setHpr(0,0,0)
|
||||
environ.setScale(1)
|
||||
environ = loader.loadModel('phase_4/models/char/seaHorse-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(809.774,-374.149,163.817)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/seaHorse-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(789.995,-424.755,163.811)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/kingCrab-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(779.376,-393.726,163.796)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/poolShark-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(808.259,-428.313,163.839)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/pianoTuna-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(771.176,-405.605,163.766)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/nurseShark-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(781.339,-378.910,163.782)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(3)
|
||||
environ = loader.loadModel('phase_4/models/char/starFish-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(825.436,-379.646,163.814)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(4)
|
||||
environ = loader.loadModel('phase_4/models/char/clownFish-zero.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(833.749,-396.824,163.854)
|
||||
environ.setHpr(-115,0,0)
|
||||
environ.setScale(4)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(863.727,-390.577,168.048)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(880.387,-385.629,171.331)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(898.844,-382.299,175.529)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(917.931,-378.344,178.093)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(934.766,-375.420,181.253)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(1.6)
|
||||
environ = loader.loadModel('phase_4/models/props/mickey_on_horse.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(952.412,-342.760,181.199)
|
||||
environ.setHpr(50,0,0)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(952.412,-342.760,181.199)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(3.6)
|
||||
environ = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(985.239,-322.653,181.219)
|
||||
environ.setHpr(74,0,0)
|
||||
environ.setScale(2.6)
|
16
DNA.txt
Normal file
16
DNA.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
----------- DNA
|
||||
|
||||
from toontown.toon.ToonDNA import ToonDNA
|
||||
tdna = ToonDNA()
|
||||
print tdna.getGloveColor()
|
||||
|
||||
render.findAllMatches('**/hands').setColor(0.97,0.3,0.3,1)
|
||||
|
||||
|
||||
------ DARK RED
|
||||
|
||||
from toontown.toon.ToonDNA import ToonDNA
|
||||
tdna = ToonDNA()
|
||||
print tdna.getGloveColor()
|
||||
|
||||
render.findAllMatches('**/hands').setColor(250,0,0)
|
1
DarkSuperMan.txt
Normal file
1
DarkSuperMan.txt
Normal file
|
@ -0,0 +1 @@
|
|||
base.localAvatar.setDNAString('t\x01\x02\x01\x01\x55\x1c\x02\x1c\x20\x1c\x14\x00\x14\x14')
|
316
Disyer's Museum 2.txt
Normal file
316
Disyer's Museum 2.txt
Normal file
|
@ -0,0 +1,316 @@
|
|||
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
|
||||
|
||||
grounds = loader.loadModel("phase_13/models/parties/partyGrounds.bam")
|
||||
grounds.reparentTo(render)
|
||||
grounds.setPos(-100.000,-100.000,-1000.000)
|
||||
grounds.setHpr(0,0,0)
|
||||
grounds.setScale(1.5)
|
||||
|
||||
rope = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope.reparentTo(render)
|
||||
rope.setPos(-129.087,-82.320,-999.975)
|
||||
rope.setHpr(0,0,0)
|
||||
rope.setScale(0.4)
|
||||
|
||||
mickey = Actor("phase_3/models/char/mickey-800.bam",{"mickeyneutral":"phase_3/models/char/mickey-wait.bam"})
|
||||
mickey.reparentTo(render)
|
||||
mickey.loop("mickeyneutral")
|
||||
mickey.setPos(-128.777,-84.400,-999.975)
|
||||
mickey.setHpr(180,0,0)
|
||||
mickey.setScale(1.5)
|
||||
|
||||
rope2 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope2.reparentTo(render)
|
||||
rope2.setPos(-116.087,-86.320,-999.975)
|
||||
rope2.setHpr(0,0,0)
|
||||
rope2.setScale(0.4)
|
||||
|
||||
minnie = Actor("phase_3/models/char/minnie-1200.bam",{"minnieneutral":"phase_3/models/char/minnie-wait.bam"})
|
||||
minnie.reparentTo(render)
|
||||
minnie.loop("minnieneutral")
|
||||
minnie.setPos(-116.777,-88.400,-999.975)
|
||||
minnie.setHpr(180,0,0)
|
||||
minnie.setScale(1.5)
|
||||
|
||||
rope3 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope3.reparentTo(render)
|
||||
rope3.setPos(-134.087,-96.320,-999.975)
|
||||
rope3.setHpr(0,0,0)
|
||||
rope3.setScale(0.4)
|
||||
|
||||
donald = Actor("phase_6/models/char/DL_donald-1000.bam",{"donaldsleep":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
donald.reparentTo(render)
|
||||
donald.loop("donaldsleep")
|
||||
donald.setPos(-134.777,-96.400,-999.975)
|
||||
donald.setHpr(180,0,0)
|
||||
donald.setScale(1.5)
|
||||
|
||||
rope4 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope4.reparentTo(render)
|
||||
rope4.setPos(-120.087,-99.320,-999.975)
|
||||
rope4.setHpr(0,0,0)
|
||||
rope4.setScale(0.4)
|
||||
|
||||
daisy = Actor("phase_4/models/char/daisyduck_1600.bam",{"daisyneutral":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
daisy.reparentTo(render)
|
||||
daisy.loop("daisyneutral")
|
||||
daisy.setPos(-120.777,-100.400,-999.975)
|
||||
daisy.setHpr(180,0,0)
|
||||
daisy.setScale(1.5)
|
||||
|
||||
rope5 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope5.reparentTo(render)
|
||||
rope5.setPos(-130.087,-109.320,-999.975)
|
||||
rope5.setHpr(0,0,0)
|
||||
rope5.setScale(0.4)
|
||||
|
||||
chip = Actor("phase_6/models/char/chip_1000.bam",{"chipneutral":"phase_6/models/char/chip_idle.bam"})
|
||||
chip.reparentTo(render)
|
||||
chip.loop("chipneutral")
|
||||
chip.setPos(-131.777,-110.400,-999.975)
|
||||
chip.setHpr(180,0,0)
|
||||
chip.setScale(1.5)
|
||||
|
||||
dale = Actor("phase_6/models/char/dale_1000.bam",{"daleneutral":"phase_6/models/char/dale_idle.bam"})
|
||||
dale.reparentTo(render)
|
||||
dale.loop("daleneutral")
|
||||
dale.setPos(-129.777,-110.400,-999.975)
|
||||
dale.setHpr(180,0,0)
|
||||
dale.setScale(1.5)
|
||||
|
||||
rope6 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope6.reparentTo(render)
|
||||
rope6.setPos(-145.087,-118.320,-999.975)
|
||||
rope6.setHpr(0,0,0)
|
||||
rope6.setScale(0.4)
|
||||
|
||||
pluto = Actor("phase_6/models/char/pluto-1000.bam",{"plutosit":"phase_6/models/char/pluto-neutral.bam"})
|
||||
pluto.reparentTo(render)
|
||||
pluto.loop("plutosit")
|
||||
pluto.setPos(-144.777,-120.400,-999.975)
|
||||
pluto.setHpr(180,0,0)
|
||||
pluto.setScale(1.5)
|
||||
|
||||
rope7 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope7.reparentTo(render)
|
||||
rope7.setPos(-134.087,-128.320,-999.975)
|
||||
rope7.setHpr(0,0,0)
|
||||
rope7.setScale(0.4)
|
||||
|
||||
goofy = Actor("phase_6/models/char/TT_G-1500.bam",{"goofyneutral":"phase_6/models/char/TT_GWait.bam"})
|
||||
goofy.reparentTo(render)
|
||||
goofy.loop("goofyneutral")
|
||||
goofy.setPos(-135.777,-128.400,-999.975)
|
||||
goofy.setHpr(120,0,0)
|
||||
goofy.setScale(1.5)
|
||||
|
||||
rope8 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope8.reparentTo(render)
|
||||
rope8.setPos(-156.087,-93.151,-999.975)
|
||||
rope8.setHpr(0,0,0)
|
||||
rope8.setScale(0.6)
|
||||
|
||||
sillymt = Actor("phase_4/models/props/tt_a_ara_ttc_sillyMeter_default.bam",{"sillier":"phase_4/models/props/tt_a_ara_ttc_sillyMeter_phaseFour.bam"})
|
||||
sillymt.reparentTo(render)
|
||||
sillymt.loop("sillier")
|
||||
sillymt.setPos(-153.070,-96.151,-999.975)
|
||||
sillymt.setHpr(360,0,0)
|
||||
sillymt.setScale(1)
|
||||
|
||||
scientist1 = Actor({"head":"phase_3/models/char/dogSS_Shorts-head-1000.bam", \
|
||||
"torso":"phase_3/models/char/dogLL_Shorts-torso-1000.bam", \
|
||||
"legs":"phase_3/models/char/dogMM_Shorts-legs-1000.bam"}, \
|
||||
{"head":{"neutralsc1":"phase_3/models/char/dogSS_Shorts-head-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-head-neutral.bam"}, \
|
||||
"torso":{"neutralsc1":"phase_3/models/char/dogLL_Shorts-torso-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-torso-neutral.bam"}, \
|
||||
"legs":{"neutralsc1":"phase_3/models/char/dogMM_Shorts-legs-neutral.bam", \
|
||||
"run":"phase_5/models/char/dogMM_Shorts-legs-neutral.bam"} \
|
||||
})
|
||||
|
||||
scientist1.attach("head", "torso", "joint_head")
|
||||
shirts=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistC.jpg")
|
||||
sleve=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
|
||||
shorts=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistA.jpg")
|
||||
scientist1.find('**/torso-top').setTexture(shirts, 1)
|
||||
scientist1.find('**/torso-bot').setTexture(shorts, 1)
|
||||
scientist1.find('**/torso-bot-cap').setTexture(shorts, 1)
|
||||
scientist1.find('**/sleeves').setTexture(sleve, 1)
|
||||
gloves = scientist1.find('**/hands')
|
||||
gloves.setColor(1.0,1.0,1.0)
|
||||
scientist1.find('**/head').setColor(1,0.95,0.3)
|
||||
scientist1.find('**/head-front').setColor(1,0.95,0.3)
|
||||
scientist1.find('**/neck').setColor(1,0.95,0.3)
|
||||
scientist1.find('**/torso-top').setColor(1.0,1.0,1.0)
|
||||
scientist1.find('**/torso-bot').setColor(1.0,1.0,1.0)
|
||||
scientist1.find('**/arms').setColor(1,0.95,0.3)
|
||||
scientist1.find('**/legs').setColor(1,0.95,0.3)
|
||||
scientist1.find('**/feet').setColor(1,0.95,0.3)
|
||||
scientist1.find('**/torso-bot-cap').setColor(1.0,1.0,1.0)
|
||||
scientist1.attach("torso", "legs", "joint_hips")
|
||||
scientist1.loop("neutralsc1")
|
||||
scientist1.reparentTo(render)
|
||||
scientist1.setPos(-155.044,-88.889,-999.975)
|
||||
scientist1.setHpr(410,0,0)
|
||||
scientist1.setScale(1.5)
|
||||
|
||||
scientist2 = Actor({"head":"phase_3/models/char/dogLL_Shorts-head-1000.bam", \
|
||||
"torso":"phase_3/models/char/dogMM_Shorts-torso-1000.bam", \
|
||||
"legs":"phase_3/models/char/dogSS_Shorts-legs-1000.bam"}, \
|
||||
{"head":{"neutralsc2":"phase_3/models/char/dogLL_Shorts-head-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogLL_Shorts-head-neutral.bam"}, \
|
||||
"torso":{"neutralsc2":"phase_3/models/char/dogMM_Shorts-torso-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-torso-neutral.bam"}, \
|
||||
"legs":{"neutralsc2":"phase_3/models/char/dogSS_Shorts-legs-neutral.bam", \
|
||||
"run":"phase_5/models/char/dogSS_Shorts-legs-neutral.bam"} \
|
||||
})
|
||||
|
||||
scientist2.attach("head", "torso", "joint_head")
|
||||
shirts=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistC.jpg")
|
||||
sleve=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
|
||||
shorts=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistC.jpg")
|
||||
scientist2.find('**/torso-top').setTexture(shirts, 1)
|
||||
scientist2.find('**/torso-bot').setTexture(shorts, 1)
|
||||
scientist2.find('**/torso-bot-cap').setTexture(shorts, 1)
|
||||
scientist2.find('**/sleeves').setTexture(sleve, 1)
|
||||
gloves = scientist2.find('**/hands')
|
||||
gloves.setColor(1.0,1.0,1.0)
|
||||
scientist2.find('**/head').setColor(0.72,0.36,0.36)
|
||||
scientist2.find('**/head-front').setColor(0.72,0.36,0.36)
|
||||
scientist2.find('**/neck').setColor(0.72,0.36,0.36)
|
||||
scientist2.find('**/torso-top').setColor(1.0,1.0,1.0)
|
||||
scientist2.find('**/torso-bot').setColor(1.0,1.0,1.0)
|
||||
scientist2.find('**/arms').setColor(0.72,0.36,0.36)
|
||||
scientist2.find('**/legs').setColor(0.72,0.36,0.36)
|
||||
scientist2.find('**/feet').setColor(0.72,0.36,0.36)
|
||||
scientist2.find('**/torso-bot-cap').setColor(1.0,1.0,1.0)
|
||||
scientist2.attach("torso", "legs", "joint_hips")
|
||||
scientist2.loop("neutralsc2")
|
||||
scientist2.reparentTo(render)
|
||||
scientist2.setPos(-160.620,-97.929,-999.975)
|
||||
scientist2.setHpr(410,0,0)
|
||||
scientist2.setScale(1.5)
|
||||
|
||||
crate1 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate1.reparentTo(render)
|
||||
crate1.setPos(-153.223,-162.865,-999.975)
|
||||
crate1.setHpr(0,0,0)
|
||||
crate1.setScale(15)
|
||||
|
||||
crate2 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate2.reparentTo(render)
|
||||
crate2.setPos(-124.223,-162.865,-999.975)
|
||||
crate2.setHpr(0,0,0)
|
||||
crate2.setScale(15)
|
||||
|
||||
crate3 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate3.reparentTo(render)
|
||||
crate3.setPos(-94.223,-162.865,-999.975)
|
||||
crate3.setHpr(0,0,0)
|
||||
crate3.setScale(15)
|
||||
|
||||
crate4 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate4.reparentTo(render)
|
||||
crate4.setPos(-66.223,-162.865,-999.975)
|
||||
crate4.setHpr(0,0,0)
|
||||
crate4.setScale(15)
|
||||
|
||||
crate5 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate5.reparentTo(render)
|
||||
crate5.setPos(-65.144,-132.806,-999.975)
|
||||
crate5.setHpr(180,0,0)
|
||||
crate5.setScale(15)
|
||||
|
||||
crate6 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate6.reparentTo(render)
|
||||
crate6.setPos(-65.144,-102.806,-999.975)
|
||||
crate6.setHpr(180,0,0)
|
||||
crate6.setScale(15)
|
||||
|
||||
crate7 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate7.reparentTo(render)
|
||||
crate7.setPos(-65.144,-72.806,-999.975)
|
||||
crate7.setHpr(180,0,0)
|
||||
crate7.setScale(15)
|
||||
|
||||
crate8 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate8.reparentTo(render)
|
||||
crate8.setPos(-65.144,-42.806,-999.975)
|
||||
crate8.setHpr(180,0,0)
|
||||
crate8.setScale(15)
|
||||
|
||||
crate9 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate9.reparentTo(render)
|
||||
crate9.setPos(-94.565,-29.814,-999.975)
|
||||
crate9.setHpr(180,0,0)
|
||||
crate9.setScale(15)
|
||||
|
||||
crate10 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate10.reparentTo(render)
|
||||
crate10.setPos(-124.565,-29.814,-999.975)
|
||||
crate10.setHpr(180,0,0)
|
||||
crate10.setScale(15)
|
||||
|
||||
crate11 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate11.reparentTo(render)
|
||||
crate11.setPos(-154.565,-29.814,-999.975)
|
||||
crate11.setHpr(180,0,0)
|
||||
crate11.setScale(15)
|
||||
|
||||
crate12 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate12.reparentTo(render)
|
||||
crate12.setPos(-184.565,-29.814,-999.975)
|
||||
crate12.setHpr(180,0,0)
|
||||
crate12.setScale(15)
|
||||
|
||||
crate13 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate13.reparentTo(render)
|
||||
crate13.setPos(-184.565,-59.814,-999.975)
|
||||
crate13.setHpr(180,0,0)
|
||||
crate13.setScale(15)
|
||||
|
||||
crate14 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate14.reparentTo(render)
|
||||
crate14.setPos(-184.565,-119.814,-999.975)
|
||||
crate14.setHpr(180,0,0)
|
||||
crate14.setScale(15)
|
||||
|
||||
crate15 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate15.reparentTo(render)
|
||||
crate15.setPos(-184.565,-149.814,-999.975)
|
||||
crate15.setHpr(180,0,0)
|
||||
crate15.setScale(15)
|
||||
|
||||
crate16 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate16.reparentTo(render)
|
||||
crate16.setPos(-174.565,-149.814,-999.975)
|
||||
crate16.setHpr(180,0,0)
|
||||
crate16.setScale(15)
|
||||
|
||||
crate17 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate17.reparentTo(render)
|
||||
crate17.setPos(-172.322,-178.344,-999.975)
|
||||
crate17.setHpr(180,0,0)
|
||||
crate17.setScale(15)
|
||||
|
||||
crate18 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate18.reparentTo(render)
|
||||
crate18.setPos(-168.322,-162.934,-999.975)
|
||||
crate18.setHpr(180,0,0)
|
||||
crate18.setScale(15)
|
||||
|
||||
crate19 = loader.loadModel("phase_5/models/props/crate.bam")
|
||||
crate19.reparentTo(render)
|
||||
crate19.setPos(-184.815,-90.143,-999.975)
|
||||
crate19.setHpr(180,0,0)
|
||||
crate19.setScale(15)
|
||||
|
||||
base.localAvatar.setXYZH(-142.913,-138.989,-999.975,-33.975)
|
267
Disyer's Museum.txt
Normal file
267
Disyer's Museum.txt
Normal file
|
@ -0,0 +1,267 @@
|
|||
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
|
||||
elevator1 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
elevator1.reparentTo(render)
|
||||
elevator1.setHpr(0,0,0)
|
||||
elevator1.setPos(0,114.03,3.20)
|
||||
pandaPosInterval22 = elevator1.posInterval(13,Point3(0,114.03,3.20),
|
||||
startPos=Point3(0,114.03,127.50))
|
||||
pandaPosInterval33 = elevator1.posInterval(13,Point3(0,114.03,127.50),
|
||||
startPos=Point3(0,114.03,3.20))
|
||||
pandaHprInterval11 = elevator1.hprInterval(3,Point3(0,0,0),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
pandaHprInterval22 = elevator1.hprInterval(3,Point3(0, 0, 0),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
pandaPace = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="pandaPace")
|
||||
pandaPace.loop()
|
||||
elevator1.find('**/wall_back').removeNode()
|
||||
elevator1.find('**/wall_front').removeNode()
|
||||
elevator2 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
elevator2.setPos(-9.98,139.11,117.38)
|
||||
elevator2.setHpr(0,340.30,0)
|
||||
elevator2.hide()
|
||||
elevator2.reparentTo(render)
|
||||
elevator2.find('**/wall_back').removeNode()
|
||||
elevator2.find('**/wall_front').removeNode()
|
||||
elevator2.find('**/wall_left').removeNode()
|
||||
elevator2.find('**/wall_right').removeNode()
|
||||
elevator2.find('**/ceiling').removeNode()
|
||||
brrrgh = loader.loadModel("phase_8/models/neighborhoods/the_burrrgh.bam")
|
||||
brrrgh.reparentTo(render)
|
||||
brrrgh.setPos(1,115,127)
|
||||
brrrgh.setHpr(0,0,0)
|
||||
brrrgh.setScale(1)
|
||||
castle = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_castle.bam')
|
||||
castle.reparentTo(render)
|
||||
castle.setPos(1,-10,133)
|
||||
castle.setHpr(74,0,0)
|
||||
castle.setScale(1)
|
||||
platform1 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform1.reparentTo(render)
|
||||
platform1.setPos(25,-10,133)
|
||||
platform1.setHpr(74,0,0)
|
||||
platform1.setScale(1)
|
||||
platform2 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform2.reparentTo(render)
|
||||
platform2.setPos(25,-20,133)
|
||||
platform2.setHpr(74,0,0)
|
||||
platform2.setScale(1)
|
||||
base.cr.sendSetZoneMsg(100000)
|
||||
platform3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform3.reparentTo(render)
|
||||
platform3.setPos(25,-30,133)
|
||||
platform3.setHpr(74,0,0)
|
||||
platform3.setScale(1)
|
||||
platform4 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform4.reparentTo(render)
|
||||
platform4.setPos(25,-40,133)
|
||||
platform4.setHpr(74,0,0)
|
||||
platform4.setScale(1)
|
||||
platform5 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform5.reparentTo(render)
|
||||
platform5.setPos(25,-50,133)
|
||||
platform5.setHpr(74,0,0)
|
||||
platform5.setScale(1)
|
||||
platform6 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform6.reparentTo(render)
|
||||
platform6.setPos(25,-60,133)
|
||||
platform6.setHpr(74,0,0)
|
||||
platform6.setScale(1)
|
||||
platform7 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform7.reparentTo(render)
|
||||
platform7.setPos(25,-70,133)
|
||||
platform7.setHpr(74,0,0)
|
||||
platform7.setScale(1)
|
||||
platform8 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform8.reparentTo(render)
|
||||
platform8.setPos(25,-80,133)
|
||||
platform8.setHpr(74,0,0)
|
||||
platform8.setScale(1)
|
||||
platform9 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform9.reparentTo(render)
|
||||
platform9.setPos(25,-90,133)
|
||||
platform9.setHpr(74,0,0)
|
||||
platform9.setScale(1)
|
||||
platform10 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform10.reparentTo(render)
|
||||
platform10.setPos(25,-100,133)
|
||||
platform10.setHpr(74,0,0)
|
||||
platform10.setScale(1)
|
||||
platform11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform11.reparentTo(render)
|
||||
platform11.setPos(25,-110,133)
|
||||
platform11.setHpr(74,0,0)
|
||||
platform11.setScale(1)
|
||||
platform12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform12.reparentTo(render)
|
||||
platform12.setPos(25,-120,133)
|
||||
platform12.setHpr(74,0,0)
|
||||
platform12.setScale(1)
|
||||
platform13 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform13.reparentTo(render)
|
||||
platform13.setPos(25,-120,133)
|
||||
platform13.setHpr(74,0,0)
|
||||
platform14.setScale(1)
|
||||
platform15 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform15.reparentTo(render)
|
||||
platform15.setPos(25,-130,133)
|
||||
platform15.setHpr(74,0,0)
|
||||
platform15.setScale(1)
|
||||
|
||||
part 2
|
||||
|
||||
platform16 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform16.reparentTo(render)
|
||||
platform16.setPos(25,-140,133)
|
||||
platform16.setHpr(74,0,0)
|
||||
platform16.setScale(1)
|
||||
platform17 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform17.reparentTo(render)
|
||||
platform17.setPos(25,-150,133)
|
||||
platform17.setHpr(74,0,0)
|
||||
platform17.setScale(1)
|
||||
platform17 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform17.reparentTo(render)
|
||||
platform17.setPos(25,-160,133)
|
||||
platform17.setHpr(74,0,0)
|
||||
platform17.setScale(1)
|
||||
platform18 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
platform18.reparentTo(render)
|
||||
platform18.setPos(25,-170,133)
|
||||
platform18.setHpr(74,0,0)
|
||||
platform18.setScale(1)
|
||||
platform19 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam')
|
||||
platform19.reparentTo(render)
|
||||
platform19.setPos(40,-10,133)
|
||||
platform19.setHpr(110,0,0)
|
||||
platform19.setScale(1)
|
||||
platform20 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
platform20.reparentTo(render)
|
||||
platform20.setPos(60,-6,133)
|
||||
platform20.setHpr(110,0,0)
|
||||
platform20.setScale(1)
|
||||
pluto = Actor("phase_6/models/char/pluto-1000.bam",{"plutosit":"phase_6/models/char/pluto-neutral.bam"})
|
||||
pluto.reparentTo(render)
|
||||
pluto.loop("plutosit")
|
||||
pluto.setPos(-10,-245,133)
|
||||
pluto.setHpr(0,0,0)
|
||||
pluto.setScale(3)
|
||||
mainplatform = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
mainplatform.reparentTo(render)
|
||||
mainplatform.setPos(25,-220,133)
|
||||
mainplatform.setHpr(74,0,0)
|
||||
mainplatform.setScale(9)
|
||||
ceo = Actor({"head":"phase_12/models/char/bossbotBoss-head-zero.bam", \
|
||||
"torso":"phase_12/models/char/bossbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
{"head":{"ceoneutral":"phase_9/models/char/bossCog-head-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-Bb_neutral.bam"}, \
|
||||
"torso":{"ceoneutral":"phase_9/models/char/bossCog-torso-Bb_neutral.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-Bb_neutral.bam"}, \
|
||||
"legs":{"ceoneutral":"phase_12/models/char/bossbotBoss-legs-Bb_neutral.bam", \
|
||||
"run":"phase_12/models/char/bossbotBoss-legs-Bb_neutral.bam"} \
|
||||
|
||||
})
|
||||
ceo.attach("head", "torso", "joint34")
|
||||
ceo.attach("torso", "legs", "joint_legs")
|
||||
ceo.reparentTo(render)
|
||||
ceotreads = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
ceorear = ceo.find('**/joint_axle')
|
||||
ceotreads.reparentTo(ceorear)
|
||||
ceo.setPos(25,-220,133)
|
||||
ceo.loop("ceoneutral")
|
||||
ceo.setHpr(180,0,0)
|
||||
ropes1 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
ropes1.reparentTo(render)
|
||||
ropes1.setPos(25,-220,133)
|
||||
ropes1.setHpr(0,0,0)
|
||||
ropes1.setScale(1)
|
||||
mickey = Actor("phase_3/models/char/mickey-1200.bam",{"mickeyneutral":"phase_3/models/char/mickey-wait.bam"})
|
||||
mickey.reparentTo(render)
|
||||
mickey.loop("mickeyneutral")
|
||||
mickey.setPos(65,-225,133)
|
||||
mickey.setHpr(0,0,0)
|
||||
mickey.setScale(3)
|
||||
base.localAvatar.setXYZH(25.087,-120.129,133.056,-900.258)
|
||||
ropes2 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
ropes2.reparentTo(render)
|
||||
ropes2.setPos(65,-225,133)
|
||||
ropes2.setHpr(0,0,0)
|
||||
ropes2.setScale(0.7)
|
||||
minnie = Actor("phase_3/models/char/minnie-1200.bam",{"minnieneutral":"phase_3/models/char/minnie-wait.bam"})
|
||||
minnie.reparentTo(render)
|
||||
minnie.loop("minnieneutral")
|
||||
minnie.setPos(-15,-225,133)
|
||||
minnie.setHpr(0,0,0)
|
||||
minnie.setScale(3)
|
||||
ropes3 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
ropes3.reparentTo(render)
|
||||
ropes3.setPos(-15,-225,133)
|
||||
ropes3.setHpr(0,0,0)
|
||||
ropes3.setScale(0.6)
|
||||
ropes4 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
ropes4.reparentTo(render)
|
||||
ropes4.setPos(-10,-245,133)
|
||||
ropes4.setHpr(0,0,0)
|
||||
ropes4.setScale(0.6)
|
||||
hydrant = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",{"hydrantcheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hydrant.reparentTo(render)
|
||||
hydrant.loop("hydrantcheer")
|
||||
hydrant.setPos(45,-245,133)
|
||||
hydrant.setHpr(0,0,0)
|
||||
hydrant.setScale(3)
|
||||
ropes5 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
ropes5.reparentTo(render)
|
||||
ropes5.setPos(45,-245,133)
|
||||
ropes5.setHpr(0,0,0)
|
||||
ropes5.setScale(0.6)
|
||||
|
||||
remove land
|
||||
|
||||
elevator1.removeNode()
|
||||
elevator2.removeNode()
|
||||
brrrgh.removeNode()
|
||||
castle.removeNode()
|
||||
platform1.removeNode()
|
||||
platform2.removeNode()
|
||||
platform3.removeNode()
|
||||
platform4.removeNode()
|
||||
platform5.removeNode()
|
||||
platform6.removeNode()
|
||||
platform7.removeNode()
|
||||
platform8.removeNode()
|
||||
platform9.removeNode()
|
||||
platform10.removeNode()
|
||||
platform11.removeNode()
|
||||
platform12.removeNode()
|
||||
platform13.removeNode()
|
||||
platform14.removeNode()
|
||||
platform15.removeNode()
|
||||
platform16.removeNode()
|
||||
platform17.removeNode()
|
||||
platform18.removeNode()
|
||||
platform19.removeNode()
|
||||
platform20.removeNode()
|
||||
ceo.removeNode()
|
||||
pluto.removeNode()
|
||||
mickey.removeNode()
|
||||
hydrant.removeNode()
|
||||
minnie.removeNode()
|
||||
ropes1.removeNode()
|
||||
ropes2.removeNode()
|
||||
ropes3.removeNode()
|
||||
ropes4.removeNode()
|
||||
ropes5.removeNode()
|
||||
ceotreads.removeNode()
|
||||
ceorear.removeNode()
|
1
Dixie's Clothes.txt
Normal file
1
Dixie's Clothes.txt
Normal file
|
@ -0,0 +1 @@
|
|||
base.localAvatar.setDNAString('t\x05\x01\x00\x01\x59\x01\x54\x09\14\x13\x19\x00\x19\x19')
|
19935
Eric's Code List.txt
Normal file
19935
Eric's Code List.txt
Normal file
File diff suppressed because it is too large
Load diff
330
FD Land.txt
Normal file
330
FD Land.txt
Normal file
|
@ -0,0 +1,330 @@
|
|||
environ = loader.loadModel('phase_4/models/minigames/maze_2player.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(207.432,64.809,133.154)
|
||||
environ.setHpr(50,0,0)
|
||||
environ.setScale(5)
|
||||
|
||||
base.cr.sendSetZoneMsg(161111)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(133.726,127.121,133.179)
|
||||
broken.setHpr(0,0,0)
|
||||
broken.setScale(2)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(150.138,112.956,133.179)
|
||||
broken.setHpr(0,0,0)
|
||||
broken.setScale(3)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(176.469,91.271,133.179)
|
||||
broken.setHpr(0,0,0)
|
||||
broken.setScale(5)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(237.248,39.407,133.179)
|
||||
broken.setHpr(0,0,0)
|
||||
broken.setScale(5)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(209.436,62.422,133.179)
|
||||
broken.setHpr(0,0,0)
|
||||
broken.setScale(6)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(257.354,23.445,133.179)
|
||||
broken.setHpr(0,0,0)
|
||||
broken.setScale(4)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(274.436,9.550,133.179)
|
||||
broken.setHpr(0,0,0)
|
||||
broken.setScale(3)
|
||||
|
||||
mrt = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt.reparentTo(render)
|
||||
mrt.setPos(307.077,21.488,133.179)
|
||||
mrt.setHpr(0,0,0)
|
||||
mrt.setScale(.8)
|
||||
|
||||
mrt = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt.reparentTo(render)
|
||||
mrt.setPos(281.628,42.406,133.179)
|
||||
mrt.setHpr(0,0,0)
|
||||
mrt.setScale(.8)
|
||||
|
||||
mrt = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt.reparentTo(render)
|
||||
mrt.setPos(254.735,64.250,133.179)
|
||||
mrt.setHpr(0,0,0)
|
||||
mrt.setScale(.8)
|
||||
|
||||
mrt = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt.reparentTo(render)
|
||||
mrt.setPos(231.895,83.014,133.179)
|
||||
mrt.setHpr(0,0,0)
|
||||
mrt.setScale(.8)
|
||||
|
||||
tiki = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam")
|
||||
tiki.reparentTo(render)
|
||||
tiki.setPos(38.980,143.540,133.179)
|
||||
tiki.setHpr(0,0,0)
|
||||
tiki.setScale(.3)
|
||||
|
||||
tiki = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam")
|
||||
tiki.reparentTo(render)
|
||||
tiki.setPos(97.573,218.041,133.179)
|
||||
tiki.setHpr(0,0,0)
|
||||
tiki.setScale(.3)
|
||||
|
||||
game4 = loader.loadModel("phase_13/models/parties/danceFloor.bam")
|
||||
game4.reparentTo(render)
|
||||
game4.setPos(101.773,153.323,133.179)
|
||||
game4.setHpr(0,0,0)
|
||||
game4.setScale(.7)
|
||||
|
||||
ropesf = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
ropesf.reparentTo(render)
|
||||
ropesf.setPos(163.580,22.064,133.179)
|
||||
ropesf.setHpr(0,0,0)
|
||||
ropesf.setScale(.6)
|
||||
|
||||
s1 = loader.loadModel("phase_3.5/models/modules/tt_m_ara_int_sillyMeterFlat.bam")
|
||||
s1.reparentTo(render)
|
||||
s1.setPos(163.580,22.064,133.179)
|
||||
s1.setHpr(0,0,0)
|
||||
s1.setScale(1)
|
||||
|
||||
|
||||
rocket1 = loader.loadModel('phase_13/models/parties/rocket_model.bam')
|
||||
rocket1.reparentTo(render)
|
||||
rocket1.setPos(160.209,-14.948,133.179)
|
||||
rocket1.setHpr(0,0,0)
|
||||
rocket1.setScale(1)
|
||||
|
||||
cogplat1 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
cogplat1.reparentTo(render)
|
||||
cogplat1.setPos(312.768,-21.047,133.179)
|
||||
cogplat1.setHpr(0,0,0)
|
||||
cogplat1.setScale(2)
|
||||
|
||||
environ = loader.loadModel('phase_5/models/char/cogA_robot-lose-mod.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(256.933,123.751,133.179)
|
||||
environ.setHpr(-210,0,0)
|
||||
environ.setScale(6)
|
||||
|
||||
environ = loader.loadModel('phase_5/models/char/cogB_robot-lose-mod.bam')
|
||||
environ.reparentTo(render)
|
||||
environ.setPos(477.797,25.663,133.179)
|
||||
environ.setHpr(-210,0,0)
|
||||
environ.setScale(8)
|
||||
|
||||
eye1 = loader.loadModel('phase_5/models/props/evil-eye.bam')
|
||||
eye1.reparentTo(render)
|
||||
eye1.setPos(198.653,53.966,133.179)
|
||||
eye1.setHpr(100,0,0)
|
||||
eye1.setScale(90)
|
||||
eye1.setColor(1,1,1)
|
||||
|
||||
goon22 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon22.reparentTo(render)
|
||||
goon22.setPos(316.617,-25.466,134.067)
|
||||
goon22.setHpr(180,0,0)
|
||||
goon22.setColor(1,0,0)
|
||||
|
||||
goon22 = loader.loadModel("phase_9/models/char/Cog_Goonie-zero.bam")
|
||||
goon22.reparentTo(render)
|
||||
goon22.setPos(307.373,-25.759,134.067)
|
||||
goon22.setHpr(180,0,0)
|
||||
goon22.setColor(1,0,0)
|
||||
|
||||
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
|
||||
|
||||
ceo = Actor({"head":"phase_12/models/char/bossbotBoss-head-zero.bam", \
|
||||
"torso":"phase_12/models/char/bossbotBoss-torso-zero.bam", \
|
||||
"legs":"phase_9/models/char/bossCog-legs-zero.bam"}, \
|
||||
{"head":{"cogwave":"phase_9/models/char/bossCog-head-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-head-wave.bam"}, \
|
||||
"torso":{"cogwave":"phase_9/models/char/bossCog-torso-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-torso-wave.bam"}, \
|
||||
"legs":{"cogwave":"phase_9/models/char/bossCog-legs-wave.bam", \
|
||||
"run":"phase_9/models/char/bossCog-legs-wave.bam"} \
|
||||
})
|
||||
|
||||
ceo.attach("head", "torso", "joint34")
|
||||
ceo.attach("torso", "legs", "joint_legs")
|
||||
ceo.reparentTo(render)
|
||||
ceotreads = loader.loadModel("phase_9/models/char/bossCog-treads.bam")
|
||||
ceorear = ceo.find('**/joint_axle')
|
||||
ceotreads.reparentTo(ceorear)
|
||||
ceo.setPos(312.256,-20.287,134.067)
|
||||
ceo.loop("cogwave")
|
||||
ceo.setHpr(-718.926,0,0)
|
||||
ceo.setScale(.7)
|
||||
|
||||
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 *
|
||||
|
||||
max = Actor({"torso":"phase_3/models/char/dogLL_Shorts-torso-1000.bam", \
|
||||
"legs":"phase_3/models/char/dogMM_Shorts-legs-1000.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"torso":{"walk":"phase_3/models/char/dogLL_Shorts-torso-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-torso-sad-neutral.bam"}, \
|
||||
"legs":{"walk":"phase_3/models/char/dogMM_Shorts-legs-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-legs-sad-neutral.bam"} \
|
||||
})
|
||||
shirts=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistA.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')
|
||||
gloves.setColor(255,0,0)
|
||||
max.loop("neutral")
|
||||
max.setPos(101.767,153.221,133.573)
|
||||
max.setHpr(-1566.271,0,0)
|
||||
max.setScale(1.2)
|
||||
max.reparentTo(render)
|
||||
zhead = loader.loadModel("phase_3/models/char/monkey-heads-1000.bam")
|
||||
head = zhead.find('**/head-long')
|
||||
head.setColor(0.7, 0.0, 3.0)
|
||||
headf = zhead.find('**/head-front-long')
|
||||
headf.setColor(0.7, 0.0, 3.0)
|
||||
neck = max.find('**/neck')
|
||||
neck.setColor(0.7, 0.0, 3.0)
|
||||
max.find('**/arms').setColor(0.7, 0.0, 3.0)
|
||||
max.find('**/legs').setColor(0.7, 0.0, 3.0)
|
||||
max.find('**/feet').setColor(0.7, 0.0, 3.0)
|
||||
max.find('**/torso-bot').setColor(1,1, 1.0)
|
||||
joint = max.find('**/joint_head')
|
||||
zhead.find('**/muzzle-long-neutral').reparentTo(joint)
|
||||
zhead.find('**/joint_pupilR_long').reparentTo(joint)
|
||||
zhead.find('**/joint_pupilL_long').reparentTo(joint)
|
||||
zhead.find('**/ears-long').reparentTo(joint)
|
||||
zhead.find('**/head-front-long').reparentTo(joint)
|
||||
zhead.find('**/eyes-long').reparentTo(joint)
|
||||
zhead.find('**/head-long').reparentTo(joint)
|
||||
gloves1 = max.find('**/joint_Rhold')
|
||||
|
||||
max = Actor({"torso":"phase_3/models/char/dogLL_Shorts-torso-1000.bam", \
|
||||
"legs":"phase_3/models/char/dogMM_Shorts-legs-1000.bam"}, \
|
||||
# dictionary of anim dictionaries
|
||||
{"torso":{"walk":"phase_3/models/char/dogLL_Shorts-torso-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-torso-sad-neutral.bam"}, \
|
||||
"legs":{"walk":"phase_3/models/char/dogMM_Shorts-legs-neutral.bam", \
|
||||
"run":"phase_3/models/char/dogMM_Shorts-legs-sad-neutral.bam"} \
|
||||
})
|
||||
shirts=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistA.jpg")
|
||||
sleve=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
|
||||
shorts=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistA.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')
|
||||
gloves.setColor(1,0,1)
|
||||
max.loop("neutral")
|
||||
max.setPos(282.101,79.836,133.179)
|
||||
max.setHpr(-1566.271,0,0)
|
||||
max.setScale(1)
|
||||
max.reparentTo(render)
|
||||
zhead = loader.loadModel("phase_3/models/char/cat-heads-1000.bam")
|
||||
head = zhead.find('**/head-short')
|
||||
head.setColor(0, 0, 1)
|
||||
headf = zhead.find('**/head-front-short')
|
||||
headf.setColor(1, 1, 1)
|
||||
neck = max.find('**/neck')
|
||||
neck.setColor(1, 1, 1)
|
||||
max.find('**/arms').setColor(1,1, 1)
|
||||
max.find('**/legs').setColor(1, 1, 1)
|
||||
max.find('**/feet').setColor(1, 1, 1)
|
||||
max.find('**/torso-bot').setColor(1,1,1)
|
||||
joint = max.find('**/joint_head')
|
||||
zhead.find('**/muzzle-short-neutral').reparentTo(joint)
|
||||
zhead.find('**/joint_pupilR_short').reparentTo(joint)
|
||||
zhead.find('**/joint_pupilL_short').reparentTo(joint)
|
||||
zhead.find('**/ears-short').reparentTo(joint)
|
||||
zhead.find('**/head-front-short').reparentTo(joint)
|
||||
zhead.find('**/eyes-short').reparentTo(joint)
|
||||
zhead.find('**/head-short').reparentTo(joint)
|
||||
gloves1 = max.find('**/joint_Rhold')
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/ship.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(283.395,75.028,133.179)
|
||||
broken.setHpr(0,0,0)
|
||||
broken.setScale(.3)
|
||||
|
||||
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
|
||||
|
||||
cheesefff = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-victory.bam"})
|
||||
cheesefff.reparentTo(render)
|
||||
cheesefff.loop("walk")
|
||||
mole = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese = mole.find('**/bigcheese')
|
||||
bigcheese.setColor(0,0,3)
|
||||
hands = cheesesss.find('**/hands')
|
||||
hands.setColor(255,0,0)
|
||||
cheesefff.setPos(167.738,139.061,133.179)
|
||||
cheesefff.setScale(1.5)
|
||||
cheesefff.setHpr((-485.204,0,0))
|
||||
|
||||
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
|
||||
|
||||
cheesesss = Actor("phase_3.5/models/char/suitA-mod.bam",{"walk":"phase_4/models/char/suitA-neutral.bam"})
|
||||
cheesesss.reparentTo(render)
|
||||
cheesesss.loop("walk")
|
||||
mole = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
bigcheese = mole.find('**/bigcheese')
|
||||
bigcheese.setColor(0,0,3)
|
||||
hands = cheesesss.find('**/hands')
|
||||
hands.setColor(0,0,1)
|
||||
cheesesss.setPos(199.884,133.291,133.179)
|
||||
cheesesss.setScale(1.5)
|
||||
cheesesss.setHpr((-579.824,0,0))
|
||||
|
||||
|
18
FD district.txt
Normal file
18
FD district.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
base.cr.activeDistrictMap[750000000].setName('Kookyboobs')
|
||||
base.cr.activeDistrictMap[414000000].setName('Nutty Dicks')
|
||||
for shardID in base.cr.activeDistrictMap:
|
||||
base.cr.activeDistrictMap[shardID].setAvailable(0)
|
||||
base.cr.activeDistrictMap[shardID].setAvailable(1)
|
||||
|
||||
from toontown.distributed import ToontownDistrict
|
||||
FDNation = ToontownDistrict.ToontownDistrict(base.cr)
|
||||
FDNation.doId = 49990000
|
||||
FDNation.parentId = 4999
|
||||
FDNation.setName('FD Nation')
|
||||
|
||||
from toontown.distributed import ToontownDistrict
|
||||
FDNation = ToontownDistrict.ToontownDistrict(base.cr)
|
||||
FDNation.setName('FD Nation')
|
||||
FDNation.doId = 49990000
|
||||
FDNation.parentId = 4999
|
||||
FDNation.setAvailable(1)
|
25
Hacked.txt
Normal file
25
Hacked.txt
Normal file
|
@ -0,0 +1,25 @@
|
|||
base.localAvatar.setPos(-1480, 944, 504)
|
||||
|
||||
start = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
start.reparentTo(render)
|
||||
start.setPos(-1476, 947, 504)
|
||||
start.setHpr(60, 0, 0)
|
||||
start.setScale(5)
|
||||
|
||||
tunnel = loader.loadModel("phase_12/models/bossbotHQ/Connector_Tunnel_A")
|
||||
tunnel.reparentTo(render)
|
||||
tunnel.setPos(-1508, 969, 504)
|
||||
tunnel.setHpr(90,0,0)
|
||||
|
||||
#Textures
|
||||
first = start.findAllMatches('**/')
|
||||
firstk = loader.loadTexture("Design/rainbow_smoke_1116.jpg")
|
||||
first.setTexture(firstk, 1)
|
||||
|
||||
first = pier.findAllMatches('**/')
|
||||
firstk = loader.loadTexture("Design/digital_rainbow_1115.jpg")
|
||||
first.setTexture(firstk, 1)
|
||||
|
||||
first = Gear.findAllMatches('**/')
|
||||
firstk = loader.loadTexture("Design/New.input.gear-smaller.jpg")
|
||||
first.setTexture(firstk, 1)
|
283
Hacker Chat/Hacker Chat.txt
Normal file
283
Hacker Chat/Hacker Chat.txt
Normal file
|
@ -0,0 +1,283 @@
|
|||
import toontown, otp
|
||||
|
||||
__builtins__.__hcm__ = 0
|
||||
|
||||
try:decodeTTSCToontaskMsg
|
||||
except:decodeTTSCToontaskMsg = toontown.speedchat.TTSCDecoders.decodeTTSCToontaskMsg
|
||||
|
||||
try:ToonTown_sendSetZoneMsgOriginal
|
||||
except:ToonTown_sendSetZoneMsgOriginal = base.cr.sendSetZoneMsg
|
||||
|
||||
class HackerChat:
|
||||
|
||||
TextToNum = {'a':750,'b':751,'c':752,'d':753,
|
||||
'e':754,'f':755,'g':756,'h':757,
|
||||
'i':758,'j':759,'k':760,'l':761,
|
||||
'm':762,'n':763,'o':764,'p':765,
|
||||
'q':766,'r':767,'s':768,'t':769,
|
||||
'u':770,'v':771,'w':772,'x':773,
|
||||
'y':774,'z':775,'A':776,'B':777,
|
||||
'C':778,'D':779,'E':780,'F':781,
|
||||
'G':782,'H':783,'I':784,'J':785,
|
||||
'K':786,'L':787,'M':788,'N':789,
|
||||
'O':790,'P':791,'Q':792,'R':793,
|
||||
'S':794,'T':795,'U':796,'V':797,
|
||||
'W':798,'X':799,'Y':800,'Z':801,
|
||||
'1':804,'2':805,'3':806,'4':807,
|
||||
'5':808,'6':809,'7':810,'8':811,
|
||||
'9':812,'0':813,'!':814,'@':815,
|
||||
'#':816,'$':817,'%':818,'^':819,
|
||||
'&':820,'*':821,'(':822,')':823,
|
||||
'-':824,'_':825,'+':826,'=':827,
|
||||
'~':828,'`':829,'<':830,'>':831,
|
||||
',':832,'.':833,'/':834,'\\':835,
|
||||
'"':836,'\'':837,':':838,';':839,
|
||||
'[':840,'{':841,']':842,'}':843,
|
||||
'|':844,'\n':845,'?':846," ":847}
|
||||
|
||||
def clearHackerchat(self, OpenString):
|
||||
|
||||
exec("self.HackerchatString_" + str(OpenString) + " = ''")
|
||||
|
||||
def appendHackerchat(self, letter, OpenString):
|
||||
|
||||
exec("self.HackerchatString_" + str(OpenString) + " += letter")
|
||||
|
||||
def playHackerChat(self, ToonId, OpenString):
|
||||
|
||||
if ToonId in list(base.cr.doId2do):
|
||||
|
||||
CFTimeout, CFThought = 8, 2
|
||||
CFQuicktalker, CFSpeech = 4, 1
|
||||
|
||||
base.localAvatar.nametag.setColorCode(3)
|
||||
|
||||
self.updateNametag(ToonId)
|
||||
DistToon = base.cr.doId2do.get(ToonId)
|
||||
|
||||
QTColor = DistToon.nametag.getQtColor()
|
||||
|
||||
from pandac.PandaModules import VBase4
|
||||
DistToon.nametag.setQtColor(VBase4(0.5, 0.5, 0.5, 1))
|
||||
|
||||
chatFlags = CFQuicktalker
|
||||
|
||||
# if self.HackerchatString_2.startswith('.'):chatFlags +=
|
||||
exec("if self.HackerchatString_" + str(OpenString) + ".startswith('.'):chatFlags += CFThought")
|
||||
exec("if self.HackerchatString_" + str(OpenString) + ".startswith('.') != True:chatFlags += CFSpeech + CFTimeout")
|
||||
exec("if self.HackerchatString_" + str(OpenString) + ".startswith('.'):self.HackerchatString_" + str(OpenString) + " = self.HackerchatString_" + str(OpenString) + "[1:]")
|
||||
|
||||
exec("DistToon.setChatAbsolute(self.HackerchatString_" + str(OpenString) + ", chatFlags)")
|
||||
|
||||
DistToon.nametag.setQtColor(QTColor)
|
||||
|
||||
def sendServerString(self, OpenString, NumList):
|
||||
|
||||
for number in NumList:
|
||||
base.localAvatar.b_setSCToontask(number, 0, OpenString, 83)
|
||||
|
||||
def sendServerClear(self, OpenString):
|
||||
|
||||
base.localAvatar.b_setSCToontask(802, 0, OpenString, 83)
|
||||
|
||||
def sendHackerChat(self, OpenString):
|
||||
|
||||
base.localAvatar.b_setSCToontask(803, base.localAvatar.doId, OpenString, 83)
|
||||
|
||||
def translateString(self, string):
|
||||
|
||||
NumList = []
|
||||
|
||||
for letter in string:
|
||||
try:
|
||||
NumList.append(self.TextToNum[letter])
|
||||
except:
|
||||
NumList.append(846)
|
||||
|
||||
return NumList
|
||||
|
||||
def getOpenString(self):
|
||||
|
||||
if self.HackerchatString_1 == '':
|
||||
return 1
|
||||
elif self.HackerchatString_2 == '':
|
||||
return 2
|
||||
elif self.HackerchatString_3 == '':
|
||||
return 3
|
||||
elif self.HackerchatString_4 == '':
|
||||
return 4
|
||||
elif self.HackerchatString_5 == '':
|
||||
return 5
|
||||
else: # No open strings
|
||||
return 0
|
||||
|
||||
def sayHackerChat(self, string):
|
||||
|
||||
NumList = self.translateString(string)
|
||||
OpenString = self.getOpenString()
|
||||
|
||||
if OpenString != 0:
|
||||
self.sendServerString(OpenString, NumList)
|
||||
self.sendHackerChat(OpenString)
|
||||
|
||||
self.sendServerClear(OpenString)
|
||||
|
||||
def updateNametag(self, ToonId):
|
||||
|
||||
if ToonId in list(base.cr.doId2do):
|
||||
DistToon = base.cr.doId2do.get(ToonId)
|
||||
DistToon.nametag.setColorCode(3)
|
||||
|
||||
def handleZoneSwitch(self, ZoneId, VizualZones=None):
|
||||
|
||||
global ToonTown_sendSetZoneMsgOriginal
|
||||
|
||||
ToonTown_sendSetZoneMsgOriginal(ZoneId, VizualZones)
|
||||
self.requestUpdate()
|
||||
|
||||
def requestUpdate(self):
|
||||
|
||||
base.localAvatar.b_setSCToontask(804, 0, 6, 83)
|
||||
|
||||
def __init__(self):
|
||||
|
||||
base.cr.sendSetZoneMsg = self.handleZoneSwitch
|
||||
|
||||
base.localAvatar.nametag.setColorCode(3)
|
||||
|
||||
self.HackerchatString_1 = ''
|
||||
self.HackerchatString_2 = ''
|
||||
self.HackerchatString_3 = ''
|
||||
self.HackerchatString_4 = ''
|
||||
self.HackerchatString_5 = ''
|
||||
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat = HackerChat()
|
||||
del HackerChat # Delete Global HackerChat Class
|
||||
|
||||
class ChatListener:
|
||||
|
||||
global decodeTTSCToontaskMsg
|
||||
|
||||
def interpretTask(self, taskId, toNpcId, toonProgress, msgIndex):
|
||||
|
||||
if msgIndex == 83:
|
||||
if toonProgress == 1:
|
||||
if taskId != 802 and taskId != 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.appendHackerchat(self.NumToText[taskId], 1)
|
||||
elif taskId == 802:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.clearHackerchat(1)
|
||||
elif taskId == 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.playHackerChat(toNpcId, 1)
|
||||
elif toonProgress == 2:
|
||||
if taskId != 802 and taskId != 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.appendHackerchat(self.NumToText[taskId], 2)
|
||||
elif taskId == 802:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.clearHackerchat(2)
|
||||
elif taskId == 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.playHackerChat(toNpcId, 2)
|
||||
elif toonProgress == 3:
|
||||
if taskId != 802 and taskId != 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.appendHackerchat(self.NumToText[taskId], 3)
|
||||
elif taskId == 802:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.clearHackerchat(3)
|
||||
elif taskId == 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.playHackerChat(toNpcId, 3)
|
||||
elif toonProgress == 4:
|
||||
if taskId != 802 and taskId != 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.appendHackerchat(self.NumToText[taskId], 4)
|
||||
elif taskId == 802:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.clearHackerchat(4)
|
||||
elif taskId == 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.playHackerChat(toNpcId, 4)
|
||||
elif toonProgress == 5:
|
||||
if taskId != 802 and taskId != 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.appendHackerchat(self.NumToText[taskId], 5)
|
||||
elif taskId == 802:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.clearHackerchat(5)
|
||||
elif taskId == 803:
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.playHackerChat(toNpcId, 5)
|
||||
elif toonProgress == 6:
|
||||
if taskId == 804: # Request Update
|
||||
base.localAvatar.b_setSCToontask(805, base.localAvatar.doId, 6, 83)
|
||||
elif taskId == 805: # Send Update
|
||||
try:
|
||||
DistToon = base.cr.doId2do.get(toNpcId)
|
||||
DistToon.nametag.setColorCode(3)
|
||||
|
||||
if __builtins__.__hcm__ == True:
|
||||
base.localAvatar.b_setSCToontask(806, base.localAvatar.doId, 6, 83)
|
||||
except: # Couldn't set Nametag
|
||||
pass
|
||||
elif taskId == 806: # Black Admin Gloves
|
||||
try:
|
||||
DistToon = base.cr.doId2do.get(toNpcId)
|
||||
DistHands = DistToon.findAllMatches('**/hands')
|
||||
DistHands.setColor(0.4, 0.4, 0.4, 1)
|
||||
except:
|
||||
pass
|
||||
else:
|
||||
return decodeTTSCToontaskMsg(taskId, toNpcId, toonProgress, msgIndex)
|
||||
else:
|
||||
return decodeTTSCToontaskMsg(taskId, toNpcId, toonProgress, msgIndex)
|
||||
|
||||
def __init__(self):
|
||||
|
||||
self.NumToText = {}
|
||||
|
||||
for item in base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.TextToNum.items():
|
||||
self.NumToText[item[1]] = item[0]
|
||||
|
||||
toontown.speedchat.TTSCDecoders.decodeTTSCToontaskMsg = self.interpretTask
|
||||
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.ChatListener = ChatListener()
|
||||
del ChatListener # Delete Global ChatListener Class
|
||||
|
||||
class ChatHook:
|
||||
|
||||
from toontown.chat.TTTalkAssistant import TTTalkAssistant
|
||||
_sendOpenTalk = TTTalkAssistant.sendOpenTalk
|
||||
|
||||
from toontown.chat.TTWhiteList import TTWhiteList
|
||||
_isPrefix = TTWhiteList.isPrefix
|
||||
_isWord = TTWhiteList.isWord
|
||||
|
||||
def sendOpenTalk(self, message):
|
||||
|
||||
if message.startswith('/'):
|
||||
|
||||
message = message[1:]
|
||||
|
||||
if message != '':
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.sayHackerChat(message)
|
||||
else:
|
||||
self._sendOpenTalk(base.talkAssistant, message)
|
||||
|
||||
def isWord(self, text):
|
||||
|
||||
if text.startswith('/'):
|
||||
return True
|
||||
elif base.localAvatar.chatMgr.chatInputWhiteList.chatEntry.get(1).startswith(':'):
|
||||
return True
|
||||
else:
|
||||
return self._isWord(base.whiteList, text)
|
||||
|
||||
def isPrefix(self, text):
|
||||
|
||||
if text.startswith('/'):
|
||||
return True
|
||||
elif base.localAvatar.chatMgr.chatInputWhiteList.chatEntry.get(1).startswith(':'):
|
||||
return True
|
||||
else:
|
||||
return self._isPrefix(base.whiteList, text)
|
||||
|
||||
def __init__(self):
|
||||
|
||||
toontown.chat.TTTalkAssistant.TTTalkAssistant.sendOpenTalk = self.sendOpenTalk
|
||||
toontown.chat.TTWhiteList.TTWhiteList.isPrefix = self.isPrefix
|
||||
toontown.chat.TTWhiteList.TTWhiteList.isWord = self.isWord
|
||||
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.HackerChat.requestUpdate()
|
||||
base.localAvatar.b_setSCToontask(805, base.localAvatar.doId, 6, 83)
|
||||
|
||||
base.localAvatar.chatMgr.chatInputWhiteList.ChatHook = ChatHook()
|
||||
del ChatHook # Delete Global ChatHook Class
|
95
Isolation Camp.txt
Normal file
95
Isolation Camp.txt
Normal file
|
@ -0,0 +1,95 @@
|
|||
#Mod Tool Ideas#
|
||||
####modTools.forceUpdate()
|
||||
####modTools.disconnectLand(includingMods=False) Except Administrators
|
||||
#Mod Tool Ideas#
|
||||
|
||||
version = "V.BETA"
|
||||
from string import split
|
||||
from random import randint
|
||||
import sys, urllib, marshal
|
||||
from direct.task import Task
|
||||
from direct.actor.Actor import Actor
|
||||
from pandac.PandaModules import *
|
||||
from direct.showbase.ShowBase import ShowBase
|
||||
from pandac.PandaModules import WindowProperties
|
||||
from direct.interval.IntervalGlobal import Func, Wait, Sequence
|
||||
|
||||
SNAP_POINTS = [(0, 0, 0, 0, 0, 0), (0, 0, 0, 0, 0, 0), (0, 0, 0, 0, 0, 0)]
|
||||
|
||||
#adminFile = urllib.urlopen("")
|
||||
#adminIDS = adminFile.read()
|
||||
#adminFile.close();del adminFile;
|
||||
#adminID1 = split(split(adminIDS, ": ")[1], "\n")[0]
|
||||
#adminID2 = split(split(adminIDS, ": ")[2], "\n")[0]
|
||||
#landinfo = urllib.urlopen("").read()
|
||||
#versioncheck = version in landinfo
|
||||
#bancheck1 = str(base.localAvatar.getName()) in landinfo
|
||||
#bancheck2 = str(base.localAvatar.doId) in landinfo
|
||||
#admincheck = "icmod_" in str(base.launcher.goUserName)
|
||||
#if versioncheck != True:
|
||||
# base.localAvatar.displayWhisper(base.localAvatar.doId, "You have an older version of this land! Please download a newer version to continue!", 4)
|
||||
# print "You have an older version of this land! Please download a newer version to continue!"
|
||||
# getErrorForVersionReject
|
||||
#if admincheck != True:
|
||||
# if bancheck:
|
||||
# base.localAvatar.sendUpdate("logSuspiciousEvent", ["invalid msgIndex in setSCSinging: 4 from " + str(base.localAvatar.doId)])
|
||||
# sys.exit()
|
||||
# if bancheck2:
|
||||
# base.localAvatar.sendUpdate("logSuspiciousEvent", ["invalid msgIndex in setSCSinging: 4 from " + str(base.localAvatar.doId)])
|
||||
# sys.exit()
|
||||
# if str(base.localAvatar.doId) != adminID1 or adminID2:
|
||||
# maintinancecheck = "0.0.0.0" in landinfo
|
||||
# if maintinancecheck != True:
|
||||
# base.localAvatar.displayWhisper(base.localAvatar.doId, "The land is down for maintinance! Sorry for the inconvienience!", 4)
|
||||
# print "The land is down for maintinance! Sorry for the inconvienience!"
|
||||
# getErrorForMaintinanceCheck
|
||||
|
||||
base.localAvatar.sleepTimeout = pow(500, 50)
|
||||
if base.localAvatar.defaultShard != 454000000:
|
||||
base.localAvatar.b_setLocation(base.localAvatar.defaultShard, 2000)
|
||||
base.localAvatar.book.pages[1].choseShard(454000000)
|
||||
base.localAvatar.displayWhisper(base.localAvatar.doId, "Your toon is currently in an incorrect district, switching districts!", 4)
|
||||
print "Local Toon : Currently in an incorrect district, switching districts!"
|
||||
getErrorForDistrictSwap #Causes an error, making the rest of the script not execute
|
||||
|
||||
#try:Execute Land Files
|
||||
#except:pass
|
||||
|
||||
base.enableMusic(False)
|
||||
base.camLens.setFar(100000)
|
||||
base.cr.sendSetZoneMsg(1000000)
|
||||
spawnPoint = randint(0, len(SNAP_POINTS) - 1)
|
||||
spawnPoint = SNAP_POINTS[spawnPoint]
|
||||
base.localAvatar.setPosHpr(spawnPoint[0], spawnPoint[1], spawnPoint[2], spawnPoint[3], spawnPoint[4], spawnPoint[5])
|
||||
landprops = WindowProperties()
|
||||
landprops.setTitle('Toontown - Isolation Camp Beta')
|
||||
base.win.requestProperties(landprops)
|
||||
|
||||
#bgMusic = base.loader.loadSfx("")
|
||||
#bgMusic.setLoop(True)
|
||||
#bgMusic.play()
|
||||
|
||||
#Fix music when you minimize window and reopen
|
||||
#def fixMusic():
|
||||
# if bgMusic.status() == 1:
|
||||
# bgMusic.play()
|
||||
# else:
|
||||
# pass
|
||||
#def verifyMusic():
|
||||
# msc = Sequence()
|
||||
# msc.append(Func(fixMusic))
|
||||
# msc.loop()
|
||||
#verifyMusic()
|
||||
|
||||
#def updateAdmins():
|
||||
# Admin1 = base.cr.doFindAll(str(adminID1))
|
||||
# Admin2 = base.cr.doFindAll(str(adminID2))
|
||||
# for Admin1 in Admin1:
|
||||
# Admin1.setName('')
|
||||
# for Admin2 in Admin2:
|
||||
# Admin2.setName('')
|
||||
#def keepUpdateAdmins():
|
||||
# adm = Sequence()
|
||||
# adm.append(Func(updateAdmins))
|
||||
# adm.loop()
|
||||
#keepUpdateAdmins()
|
Binary file not shown.
|
@ -0,0 +1,18 @@
|
|||
def blockBan(log):
|
||||
ftf = "C:/Program Files/Disney/Disney Online/ToontownOnline/" + str(log)
|
||||
rf = open('%s'%(ftf),'r')
|
||||
trash = rf.read()
|
||||
del trash
|
||||
def blockBan():
|
||||
ltp = str(rf.readline())
|
||||
if "Server is booting us out" in ltp:
|
||||
messenger.send('pandaRenderError')
|
||||
else:
|
||||
None
|
||||
def loopBanCheck():
|
||||
seq.append(Func(blockBan))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(loopBanCheck))
|
||||
seq.start()
|
||||
loopBanCheck()
|
||||
blockBan('toontown-110220_123004.log')
|
|
@ -0,0 +1,14 @@
|
|||
SendUpdateBanBlocker = base.localAvatar.sendUpdate
|
||||
def sendUpdateHook(fieldName, args=[], sendToId=base.localAvatar.doId):
|
||||
if fieldName == "logSuspiciousEvent":
|
||||
pass
|
||||
else:
|
||||
aSendUpdate(fieldName, args)
|
||||
def keepConnection():
|
||||
pass
|
||||
def denyDisconnectDetails(newCode, newMsg):
|
||||
pass
|
||||
base.cr.lostConnection = keepConnection
|
||||
base.cr.disconnect = keepConnection
|
||||
base.localAvatar.sendUpdate = sendUpdateHook
|
||||
base.cr.launcher.setDisconnectDetails = denyDisconnectDetails
|
|
@ -0,0 +1,6 @@
|
|||
AccessoryTrunk = base.cr.doFindAll("Trunk")[0]
|
||||
AccessoryTrunk.hatList = [0, 0, 0]
|
||||
AccessoryTrunk.backpackList = [0, 0, 0]
|
||||
AccessoryTrunk.glassesList = [0, 0, 0]
|
||||
AccessoryTrunk.shoesList = [0, 0, 0]
|
||||
AccessoryTrunk._handleYesImSure()
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,188 @@
|
|||
import toontown
|
||||
def new():
|
||||
return True
|
||||
def new2(*a,**k):
|
||||
return 2
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
||||
|
||||
base.localAvatar.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.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
|
||||
|
||||
base.localAvatar.b_setAnimState(('Died'))
|
||||
base.localAvatar.b_setAnimState('Sad')
|
||||
base.localAvatar.takeDamage((500))
|
||||
base.localAvatar.b_setAnimState(('neutral'))
|
||||
base.localAvatar.setAnimState(('Sleep'))
|
||||
base.localAvatar.b_setAnimState(('Catching'))
|
||||
base.localAvatar.b_setAnimState('CatchEating')
|
||||
base.localAvatar.b_setAnimState('Flattened')
|
||||
base.localAvatar.b_setAnimState('Squish')
|
||||
base.localAvatar.b_setAnimState('swim')
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
base.localAvatar.enterSitStart()
|
||||
base.localAvatar.b_setAnimState(('cringe'))
|
||||
base.localAvatar.b_setAnimState('Push')
|
||||
base.localAvatar.b_setAnimState(('victory'))
|
||||
base.localAvatar.b_setAnimState(('jumpSquat'))
|
||||
base.localAvatar.b_setAnimState(('FallDown'))
|
||||
base.localAvatar.loop('reel')
|
||||
base.localAvatar.b_setAnimState('walk')
|
||||
base.localAvatar.b_setAnimState('run')
|
||||
base.localAvatar.b_setAnimState(('CogThiefRunning'))
|
||||
base.localAvatar.b_setAnimState(('OpenBook'))
|
||||
base.localAvatar.b_setAnimState('ReadBook')
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
base.localAvatar.b_setAnimState(('TeleportingOut'))
|
||||
base.localAvatar.b_setAnimState('ScientistEmcee')
|
||||
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
base.localAvatar.b_setAnimState('ScientistLessWork')
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
base.localAvatar.b_setAnimState('GolfPuttLoop')
|
||||
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
||||
base.localAvatar.b_setAnimState(('GolfRotateRight'))
|
||||
base.localAvatar.b_setAnimState(('GolfRotateLeft'))
|
||||
base.localAvatar.b_setAnimState('GolfGoodPutt')
|
||||
base.localAvatar.b_setAnimState('GolfBadPutt')
|
||||
|
||||
CLIENT LOOPS
|
||||
base.localAvatar.loop('swing')
|
||||
base.localAvatar.loop('throw')
|
||||
base.localAvatar.loop('swing')
|
||||
base.localAvatar.loop('climb')
|
||||
base.localAvatar.loop('juggle')
|
||||
base.localAvatar.loop('hypnotize')
|
||||
base.localAvatar.loop('tickle')
|
||||
base.localAvatar.loop("sprinkle-dust")
|
||||
base.localAvatar.loop("happy-dance")
|
||||
base.localAvatar.loop("hold-bottle")
|
||||
base.localAvatar.loop("hold-magnet")
|
||||
base.localAvatar.loop("water-gun")
|
||||
base.localAvatar.loop("hypnotize")
|
||||
base.localAvatar.loop("firehose")
|
||||
base.localAvatar.loop("struggle")
|
||||
base.localAvatar.loop("juggle")
|
||||
base.localAvatar.loop("smooch")
|
||||
base.localAvatar.loop("tickle")
|
||||
base.localAvatar.loop("climb")
|
||||
base.localAvatar.loop("melt")
|
||||
base.localAvatar.loop("spit")
|
||||
base.localAvatar.loop("lose")
|
||||
|
||||
|
||||
base.localAvatar.collisionsOff()
|
||||
base.localAvatar.collisionson()
|
||||
|
||||
base.wireframeOn()
|
||||
base.wireframeOff()
|
||||
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed=200
|
||||
base.localAvatar.physControls.avatarControlRotateSpeed=1000
|
||||
base.localAvatar.physControls.avatarControlReverseSpeed=200
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 150
|
||||
|
||||
messenger.send([base.localAvatar.b_setAnimState('victory', 25)])
|
||||
messenger.send([base.localAvatar.b_setAnimState('victory', 0.2)])
|
||||
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
|
||||
Steal Clothes:
|
||||
messenger.send('clear out toon interior')
|
||||
|
||||
Man skirt!
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
|
||||
base.localAvatar.setSCResistance(100)
|
||||
base.localAvatar.setSCResistance(1)
|
||||
base.localAvatar.setSCResistance(200)
|
||||
|
||||
base.localAvatar.setName(('whatevernameuwant'))
|
||||
base.localAvatar.setCheesyEffect(14,0,0)
|
||||
base.localAvatar.setCheesyEffect(1, 0, 0) - Big Head
|
||||
base.localAvatar.setCheesyEffect(2, 0, 0) - Small Head
|
||||
base.localAvatar.setCheesyEffect(3, 0, 0) - Big Legs
|
||||
base.localAvatar.setCheesyEffect(4, 0, 0) - Small legs
|
||||
base.localAvatar.setCheesyEffect(5, 0, 0) - big toon
|
||||
base.localAvatar.setCheesyEffect(6, 0, 0) - Small toon
|
||||
base.localAvatar.setCheesyEffect(7, 0, 0) - Flat toon with face
|
||||
base.localAvatar.setCheesyEffect(8, 0, 0) - Flat toon with no face
|
||||
base.localAvatar.setCheesyEffect(9, 0, 0) - See through toon
|
||||
base.localAvatar.setCheesyEffect(10, 0, 0) - No color
|
||||
base.localAvatar.setCheesyEffect(11, 0, 0) - Ghost
|
||||
base.localAvatar.setCheesyEffect(12, 0, 0) - Pumkin head
|
||||
base.localAvatar.setCheesyEffect(13, 0, 0) - Big and white polar bear
|
||||
base.localAvatar.setCheesyEffect(14, 0, 0) - Snow man head
|
||||
base.localAvatar.setCheesyEffect(15, 0, 0) - nothing
|
||||
|
||||
PIES!!
|
||||
base.localAvatar.numPies = 99
|
||||
base.localAvatar.setPieType(7)
|
||||
base.localAvatar.setNumPies(120)
|
||||
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.ThrowGagButtonMaxed = true
|
||||
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)
|
||||
base.localAvatar.setPieType(1-7)
|
||||
base.localAvatar.setEvidenceThrow = 0
|
||||
base.localAvatar.setRefillThrow()
|
||||
base.localAvatar.ThrowGagButtonMaxed = false
|
||||
|
||||
COG SUIT!
|
||||
|
||||
base.localAvatar.takeOffSuit()
|
||||
base.localAvatar.setCogIndex(1) = lawbot suit
|
||||
base.localAvatar.setCogIndex(2) = cash bot suit
|
||||
base.localAvatar.setCogIndex(3) = sellbot suit
|
||||
base.localAvatar.setCogIndex(0) = bossbot suit
|
||||
|
||||
CHANGE COLORS
|
||||
|
||||
base.localAvatar.setColor(1, 2)
|
||||
base.localAvatar.setColor(1,1,0)
|
||||
base.localAvatar.setColor(1,0,0) - red
|
||||
base.localAvatar.setColor(0,1,0) - green
|
||||
base.localAvatar.setColor(0,0,1) - blue
|
||||
base.localAvatar.setColor(0,1,1) - yellow
|
||||
base.localAvatar.setColor(0,0,0) - black
|
||||
base.localAvatar.setColor(1,1,1) - white
|
||||
base.localAvatar.setColor(1,0,1) - purple
|
||||
|
||||
base.localAvatar.setControlEffect('sit', 0.65)
|
||||
base.localAvatar.setControlEffect('swim', 0.8)
|
||||
|
||||
|
||||
GHOST!
|
||||
|
||||
base.localAvatar.setGhostMode(8)
|
||||
base.localAvatar.setGhostMode(2)
|
||||
base.localAvatar.setGhostMode(0)
|
||||
base.localAvatar.setGhostMode(22)
|
||||
|
||||
|
||||
base.localAvatar.enableBlend()
|
||||
base.localAvatar.setScale(<size you want to be, 1 is normal.>)
|
||||
base.localAVatar.setStyle(<?>)
|
||||
base.localAvatar.setHeight(<Default value varies with character>)
|
||||
base.localAvatar.stunToon()
|
||||
base.oobe()
|
||||
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,34 @@
|
|||
base.accept('1', localAvatar.findAllMatches('**/hands').setColor, [0.97,0.3,0.3])
|
||||
base.accept('2', localAvatar.findAllMatches('**/hands').setColor, [0.96,0.7,0.7])
|
||||
base.accept('3', localAvatar.findAllMatches('**/hands').setColor, [0.69,0.29,0.95])
|
||||
base.accept('4', localAvatar.findAllMatches('**/hands').setColor, [0.38,0.98,0.43])
|
||||
base.accept('5', localAvatar.findAllMatches('**/hands').setColor, [1,0.90,0.30])
|
||||
base.accept('6', localAvatar.findAllMatches('**/hands').setColor, [0.35,0.35,0.85])
|
||||
base.accept('7', localAvatar.findAllMatches('**/hands').setColor, [0.3,0.64,0.85])
|
||||
base.accept('8', localAvatar.findAllMatches('**/hands').setColor, [1,0.5,0.18])
|
||||
base.accept('9', localAvatar.findAllMatches('**/hands').setColor, [1,1,0.57])
|
||||
base.accept('0', localAvatar.findAllMatches('**/hands').setColor, [0.55,0.55,1])
|
||||
base.accept('-', localAvatar.findAllMatches('**/hands').setColor, [0.25,0.25,0.3])
|
||||
base.accept('=', localAvatar.findAllMatches('**/hands').setColor, [1,1,1])
|
||||
base.accept('alt', localAvatar.setSystemMessage, [0,'TT Glove Patcher Version 1.0b'])
|
||||
base.accept("f1", base.localAvatar.b_setAnimState, ['Squish'])
|
||||
base.accept("f2", base.localAvatar.b_setAnimState, ['jumpSquat'])
|
||||
base.accept("f3", base.localAvatar.b_setAnimState, ['TeleportOut'])
|
||||
base.accept("f4", base.localAvatar.b_setAnimState, ['ScientistWork'])
|
||||
base.accept("f5", base.localAvatar.b_setAnimState, ['Push'])
|
||||
base.accept("f6", base.localAvatar.b_setAnimState, ['FallDown'])
|
||||
base.accept("f7", base.localAvatar.b_setAnimState, ['TeleportIn'])
|
||||
base.accept("f8", base.localAvatar.b_setAnimState, ['victory'])
|
||||
base.accept("f9", base.localAvatar.b_setAnimState, ['swim'])
|
||||
base.accept("f10", base.localAvatar.b_setAnimState, ['Sad'])
|
||||
base.accept("f11", base.localAvatar.b_setAnimState, ['Died'])
|
||||
base.accept("f12", base.localAvatar.b_setAnimState, ['SitStart'])
|
||||
|
||||
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', -30])
|
|
@ -0,0 +1,361 @@
|
|||
SMILE
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def intro():
|
||||
base.localAvatar.b_setEmoteState(22,1)
|
||||
def part2():
|
||||
base.localAvatar.setCheesyEffect(13, 0, 0)
|
||||
def part3():
|
||||
base.localAvatar.setCheesyEffect(0, 0, 0)
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(intro))
|
||||
seq.append(Wait(3))
|
||||
seq.append(Func(part2))
|
||||
seq.append(Wait(1))
|
||||
seq.append(Func(part3))
|
||||
seq.start()
|
||||
onTime()
|
||||
|
||||
base.localAvatar.setSCResistance(100)
|
||||
base.localAvatar.setSCResistance(1)
|
||||
base.localAvatar.setSCResistance(200)
|
||||
|
||||
Big Cheese Head blue:
|
||||
|
||||
avHead = base.localAvatar.find('**/head-short')
|
||||
bAvHead = loader.loadModel("phase_4/models/char/suitA-heads.bam")
|
||||
avBigCheeseHead = bAvHead.find('**/bigcheese')
|
||||
avBigCheeseHead.setColor(0,0,1)
|
||||
avBigCheeseHead.reparentTo(avHead)
|
||||
avBigCheeseHead.setScale(2.3)
|
||||
avBigCheeseHead.setPos(0,.3,-1)
|
||||
|
||||
List:
|
||||
|
||||
backstabber
|
||||
bigwig
|
||||
headhunter
|
||||
legaleagle
|
||||
numbercruncher
|
||||
pennypincher
|
||||
yesman
|
||||
twoface
|
||||
|
||||
|
||||
|
||||
base.wireframeOn()
|
||||
base.localAvatar.showAllBounds()
|
||||
base.localAvatar.find('**/GW.cWallSphereNode').show()
|
||||
base.localAvatar.find('**/GW.cEventSphereNode').show()
|
||||
base.localAvatar.find('**/ccLineNode').show()
|
||||
|
||||
base.localAvatar.find('**/GW.cWallSphereNode').hide()
|
||||
base.localAvatar.find('**/GW.cEventSphereNode').hide()
|
||||
base.localAvatar.find('**/ccLineNode').hide()
|
||||
base.localAvatar.hideAllBounds()
|
||||
base.wireframeOff()
|
||||
|
||||
base.localAvatar.showHpString('Fuck u ')
|
||||
base.localAvatar.showHpText('Fuck u ')
|
||||
|
||||
|
||||
base.localAvatar.setName(('whatevernameuwant'))
|
||||
base.localAvatar.nametag.setName('Fd Green Cat Fd')
|
||||
base.localAvatar.setCheesyEffect(14,0,0)
|
||||
base.localAvatar.setCheesyEffect(1, 0, 0) - Big Head
|
||||
base.localAvatar.setCheesyEffect(2, 0, 0) - Small Head
|
||||
base.localAvatar.setCheesyEffect(3, 0, 0) - Big Legs
|
||||
base.localAvatar.setCheesyEffect(4, 0, 0) - Small legs
|
||||
base.localAvatar.setCheesyEffect(5, 0, 0) - big toon
|
||||
base.localAvatar.setCheesyEffect(6, 0, 0) - Small toon
|
||||
base.localAvatar.setCheesyEffect(7, 0, 0) - Flat toon with face
|
||||
base.localAvatar.setCheesyEffect(8, 0, 0) - Flat toon with no face
|
||||
base.localAvatar.setCheesyEffect(9, 0, 0) - See through toon
|
||||
base.localAvatar.setCheesyEffect(10, 0, 0) - No color
|
||||
base.localAvatar.setCheesyEffect(11, 0, 0) - Ghost
|
||||
base.localAvatar.setCheesyEffect(12, 0, 0) - Pumkin head
|
||||
base.localAvatar.setCheesyEffect(13, 0, 0) - Big and white polar bear
|
||||
base.localAvatar.setCheesyEffect(14, 0, 0) - Snow man head
|
||||
base.localAvatar.setCheesyEffect(15, 0, 0) - nothing
|
||||
|
||||
|
||||
PIES!!
|
||||
base.localAvatar.numPies = 99
|
||||
base.localAvatar.setPieType(7)
|
||||
base.localAvatar.setNumPies(120)
|
||||
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.ThrowGagButtonMaxed = true
|
||||
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)
|
||||
base.localAvatar.setPieType(1-7)
|
||||
base.localAvatar.setEvidenceThrow = 0
|
||||
base.localAvatar.setRefillThrow()
|
||||
base.localAvatar.ThrowGagButtonMaxed = false
|
||||
|
||||
COG SUIT!
|
||||
|
||||
base.localAvatar.takeOffSuit()
|
||||
base.localAvatar.setCogIndex(1) = lawbot suit
|
||||
base.localAvatar.setCogIndex(2) = cash bot suit
|
||||
base.localAvatar.setCogIndex(3) = sellbot suit
|
||||
base.localAvatar.setCogIndex(0) = bossbot suit
|
||||
|
||||
CHANGE COLORS
|
||||
|
||||
base.localAvatar.setColor(1, 2)
|
||||
base.localAvatar.setColor(1,1,0)
|
||||
base.localAvatar.setColor(1,0,0) - red
|
||||
base.localAvatar.setColor(0,1,0) - green
|
||||
base.localAvatar.setColor(0,0,1) - blue
|
||||
base.localAvatar.setColor(0,1,1) - yellow
|
||||
base.localAvatar.setColor(0,0,0) - black
|
||||
base.localAvatar.setColor(1,1,1) - white
|
||||
base.localAvatar.setColor(1,0,1) - purple
|
||||
|
||||
base.localAvatar.setControlEffect('sit', 0.65)
|
||||
base.localAvatar.setControlEffect('swim', 0.8)
|
||||
|
||||
|
||||
base.localAvatar.setSystemMessage(0,'Put text for a whisper here.')
|
||||
base.localAvatar.setSystemMessage(1,'I like Girls that are pretty like you **** Lady!')
|
||||
base.localAvatar.setSystemMessage(1,'**** = Sexy')
|
||||
base.localAvatar.setSystemMessage(1,'This message was by : Chris552299')
|
||||
base.localAvatar.setSystemMessage(1,'This is Rated R not for children!')
|
||||
base.localAvatar.setSystemMessage(1,'Welcome to the new movie "Girls Gone Wild!"')
|
||||
base.localAvatar.setSystemMessage(1,'Wait hey you Kid named Chris this is for 12 and older but i am 12 so i dont give a damn get the fuck out bitch!')
|
||||
base.localAvatar.setSystemMessage(1,'ADMIN : Toontown is going down for maintence in 10 min.')
|
||||
|
||||
GHOST!
|
||||
|
||||
base.localAvatar.setGhostMode(8)
|
||||
base.localAvatar.setGhostMode(2)
|
||||
base.localAvatar.setGhostMode(0)
|
||||
base.localAvatar.setGhostMode(22)
|
||||
|
||||
base.localAvatar.cogLevels=[999, 999, 999, 999]
|
||||
base.localAvatar.putOnSuit('hh')
|
||||
base.localAvatar.putOnSuit('mh')
|
||||
base.localAvatar.putOnSuit('rb')
|
||||
base.localAvatar.putOnSuit('bs')
|
||||
base.localAvatar.putOnSuit('tm')
|
||||
base.localAvatar.putOnSuit('m')
|
||||
base.localAvatar.putOnSuit('pp')
|
||||
base.localAvatar.putOnSuit('bw')
|
||||
base.localAvatar.putOnSuit('hh')
|
||||
base.localAvatar.putOnSuit('sd')
|
||||
base.localAvatar.putOnSuit('cr')
|
||||
base.localAvatar.putOnSuit('b')
|
||||
base.localAvatar.putOnSuit('ls')
|
||||
base.localAvatar.putOnSuit('j')
|
||||
base.localAvatar.putOnSuit('ym')
|
||||
base.localAvatar.putOnSuit('mm')
|
||||
base.localAvatar.putOnSuit('ds')
|
||||
base.localAvatar.putOnSuit('dt')
|
||||
base.localAvatar.putOnSuit('nc')
|
||||
base.localAvatar.putOnSuit('tf')
|
||||
base.localAvatar.putOnSuit('ms')
|
||||
base.localAvatar.putOnSuit('p')
|
||||
|
||||
messenger.send('hpChange-286412384', [137,137])
|
||||
base.acceptOnce("escape", sys.exit )
|
||||
messenger.send('hpChange-286313331', [137, 137])
|
||||
messenger.send('enterFurnitureManager', [1, 1])
|
||||
messenger.send('friendOnline', [286313331])
|
||||
messenger.send('friendOffline', [286313331])
|
||||
messenger.send('nameTagShowAvId', [286313331])
|
||||
messenger.send('playerFriendInvitationEvent', [])
|
||||
messenger.send('avatarNewFriendAddEvent', [273515701])
|
||||
messenger.send('entertrolley_sphere', [1])
|
||||
messenger.send('enterMickeyBlatherSphere', [1])
|
||||
messenger.send('requestSkipTutorial')
|
||||
messenger.send('rejectTutorial')
|
||||
|
||||
Anim Control:
|
||||
|
||||
ac1 = base.localAvatar.getAllAnimControl('swing', 'legs')
|
||||
ac1.setPlayRate(5)
|
||||
ac1.loop(True)
|
||||
|
||||
ac1.stop()
|
||||
ac1.loop(True)
|
||||
ac1.pose(8)
|
||||
ac1.setPlayRate(5)
|
||||
|
||||
|
||||
Music Code:
|
||||
|
||||
music1 = base.loader.loadSfx("phase_9/audio/bgm/CHQ_FACT_bg.mid")
|
||||
music1.setLoop(True)
|
||||
music1.play()
|
||||
|
||||
music1 = base.loader.loadSfx("Custom/Sfx/Losing You.mp3")
|
||||
music1.setVolume(.2)
|
||||
music1.setLoop(True)
|
||||
music1.play()
|
||||
|
||||
bgMusic1 = base.loader.loadSfx("phase_12/audio/bgm/Bossbot_Factory_v3.mid")
|
||||
bgMusic1.setLoop(True)
|
||||
bgMusic1.play()
|
||||
|
||||
music1.setLoopCount(3)
|
||||
|
||||
music1.setPlayRate(.5)
|
||||
|
||||
music1.setTime(20)
|
||||
|
||||
music1.getTime()
|
||||
|
||||
music1.length()
|
||||
|
||||
|
||||
Music Loggers:
|
||||
|
||||
time = music1.getTime()
|
||||
time = int(time)
|
||||
time = str(time)
|
||||
print time
|
||||
|
||||
length = music1.length()
|
||||
length = int(length)
|
||||
length = str(length)
|
||||
print length
|
||||
|
||||
from pandac.PandaModules import Point3
|
||||
base.cam.lookAt(Point3(0, 0, 0))
|
||||
|
||||
base.localAvatar.thinkPos()
|
||||
|
||||
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 *
|
||||
sky = loader.loadModel("phase_8/models/props/DL_sky.bam")
|
||||
sky.reparentTo(render)
|
||||
sky.setPos(0,0,0)
|
||||
sky.setHpr(0,0,0)
|
||||
sky.setScale(1.5)
|
||||
|
||||
chatBox1 = loader.loadModel("phase_3/models/props/chatbox.bam")
|
||||
chatBox1.reparentTo(render)
|
||||
chatBox1.setPos(54,6,7)
|
||||
chatBox1.setHpr(90,0,0)
|
||||
chatBox1.setScale(.5)
|
||||
|
||||
|
||||
|
||||
CLIENT LOOPS
|
||||
base.localAvatar.b_setAnimState(('jumpAirborne'))
|
||||
base.localAvatar.b_setAnimState(('jumpLand'))
|
||||
base.localAvatar.b_setAnimState(('jumpSquat'))
|
||||
base.localAvatar.loop('climb')
|
||||
base.localAvatar.loop('running-jump')
|
||||
base.localAvatar.loop('callPet')
|
||||
base.localAvatar.loop('feedPet')
|
||||
base.localAvatar.loop('phoneBack')
|
||||
base.localAvatar.loop('phoneNeutral')
|
||||
base.localAvatar.loop('takePhone')
|
||||
base.localAvatar.loop('sidestep-left')
|
||||
base.localAvatar.loop('sidestep-right')
|
||||
base.localAvatar.loop('lookloop-putt')
|
||||
base.localAvatar.loop('loop-dig')
|
||||
base.localAvatar.loop('leverNeutral')
|
||||
base.localAvatar.loop('leverReach')
|
||||
base.localAvatar.loop('leverPull')
|
||||
base.localAvatar.loop('duck')
|
||||
base.localAvatar.loop('spit')
|
||||
base.localAvatar.loop('struggle')
|
||||
base.localAvatar.loop('toss')
|
||||
base.localAvatar.loop('water-gun')
|
||||
base.localAvatar.loop('smooch')
|
||||
base.localAvatar.loop('firehose')
|
||||
base.localAvatar.loop('hold-bottle')
|
||||
base.localAvatar.loop('hold-magnet')
|
||||
base.localAvatar.loop('melt') - quick sand
|
||||
base.localAvatar.loop('happy-dance')
|
||||
base.localAvatar.loop('hypnotize')
|
||||
base.localAvatar.loop('tickle')
|
||||
base.localAvatar.loop('sprinkle-dust')
|
||||
base.localAvatar.loop('reel-H')
|
||||
base.localAvatar.loop('tug-o-war')
|
||||
base.localAvatar.loop('pet-end')
|
||||
base.localAvatar.loop('catch-intro-throw')
|
||||
base.localAvatar.loop('catch-eatnrun')
|
||||
base.localAvatar.loop('fish-end')
|
||||
base.localAvatar.loop('fish-again')
|
||||
base.localAvatar.loop('push')
|
||||
base.localAvatar.loop('swing')
|
||||
base.localAvatar.loop('reel')
|
||||
base.localAvatar.loop('throw')
|
||||
base.localAvatar.loop('left')
|
||||
base.localAvatar.loop('right')
|
||||
base.localAvatar.loop('sound')
|
||||
base.localAvatar.loop('pole')
|
||||
base.localAvatar.loop('cast')
|
||||
base.localAvatar.loop('pole-neutral')
|
||||
base.localAvatar.loop('pet-loop')
|
||||
base.localAvatar.loop('castlong')
|
||||
base.localAvatar.loop('slip-forward')
|
||||
base.localAvatar.loop('slip-backward')
|
||||
base.localAvatar.loop('scientistGame')
|
||||
base.localAvatar.loop('scientistWork')
|
||||
base.localAvatar.loop('sad-neutral')
|
||||
base.localAvatar.loop('reel-neutral')
|
||||
base.localAvatar.loop('curtsy')
|
||||
base.localAvatar.loop('down')
|
||||
base.localAvatar.loop('up')
|
||||
base.localAvatar.loop('think')
|
||||
base.localAvatar.loop('lose')
|
||||
base.localAvatar.loop('swim')
|
||||
base.localAvatar.loop('cringe')
|
||||
base.localAvatar.loop('applause')
|
||||
base.localAvatar.loop('confused')
|
||||
base.localAvatar.loop('run')
|
||||
base.localAvatar.loop('walk')
|
||||
base.localAvatar.loop('juggle')
|
||||
base.localAvatar.loop('bored')
|
||||
base.localAvatar.loop('jump')
|
||||
base.localAvatar.loop('bow')
|
||||
base.localAvatar.loop('teleport')
|
||||
base.localAvatar.loop('wave')
|
||||
base.localAvatar.loop('angry')
|
||||
base.localAvatar.loop('shrug')
|
||||
base.localAvatar.loop('book')
|
||||
base.localAvatar.loop('sit')
|
||||
|
||||
|
||||
base.localAvatar.play('happy-dance')
|
||||
base.localAvatar.stop()
|
||||
base.localAvatar.pose('climb', 30)
|
||||
base.localAvatar.play('melt', fromFrame = 30)
|
||||
base.localAvatar.loop('melt', fromFrame = 30)
|
||||
base.localAvatar.loop('throw', fromFrame = 24, toFrame = 80)
|
||||
base.localAvatar.play('throw', fromFrame = 24, toFrame = 80)
|
||||
base.localAvatar.loop('swing', restart = 1, fromFrame = 24, toFrame = 36)
|
||||
base.localAvatar.play('swing', restart = 1, fromFrame = 24, toFrame = 36)
|
||||
base.localAvatar.pose('swing', 30)
|
||||
|
||||
|
||||
base.localAvatar.enableBlend()
|
||||
base.localAvatar.setScale(<size you want to be, 1 is normal.>)
|
||||
base.localAVatar.setStyle(<?>)
|
||||
base.localAvatar.setHeight(<Default value varies with character>)
|
||||
base.localAvatar.stunToon()
|
||||
base.oobe()
|
|
@ -0,0 +1,20 @@
|
|||
base.accept("1", base.localAvatar.b_setEmoteState, [5,1])
|
||||
base.accept("2", base.localAvatar.b_setEmoteState, [6,1])
|
||||
base.accept("3", base.localAvatar.b_setEmoteState, [7,1])
|
||||
base.accept("5", base.localAvatar.b_setEmoteState, [8,1])
|
||||
base.accept("6", base.localAvatar.b_setEmoteState, [9,1])
|
||||
base.accept("7", base.localAvatar.b_setEmoteState, [10,1])
|
||||
base.accept("8", base.localAvatar.b_setEmoteState, [11,1])
|
||||
base.accept("9", base.localAvatar.b_setEmoteState, [12,1])
|
||||
base.accept("0", base.localAvatar.b_setEmoteState, [13,1])
|
||||
base.accept("f1", base.localAvatar.b_setEmoteState, [14,1])
|
||||
base.accept("f2", base.localAvatar.b_setEmoteState, [15,1])
|
||||
base.accept("f4", base.localAvatar.b_setEmoteState, [20,1])
|
||||
base.accept("f3", base.localAvatar.b_setEmoteState, [21,1])
|
||||
base.accept("f5", base.localAvatar.b_setEmoteState, [22,1])
|
||||
base.accept("f6", base.localAvatar.b_setEmoteState, [23,1])
|
||||
base.accept("f7", base.localAvatar.b_setEmoteState, [24,1])
|
||||
base.accept("f9", base.localAvatar.b_setEmoteState, [4,1])
|
||||
base.accept("f10", base.localAvatar.b_setEmoteState, [3,1])
|
||||
base.accept("f11", base.localAvatar.b_setEmoteState, [2,1])
|
||||
base.accept("f12", base.localAvatar.b_setEmoteState, [1,1])
|
|
@ -0,0 +1,64 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
bk_text = "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 = "Text"
|
||||
textObject.setText(bk_text)
|
||||
|
||||
|
||||
def setText2():
|
||||
bk_text = "Sitting"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('SitStart')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Catching"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Catching')
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Golf Turning Right"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfRotateRight')
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Dying"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Died')
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Sad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Sad')
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Pushing"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Push')
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Scientist Play"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('ScientistPlay')
|
||||
var = 1
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b2 = DirectButton(text = ("SIT", "sit", "sit", "SIT"), scale=.06, pos = (-.8,-0,-.95), command=setText2)
|
||||
b3 = DirectButton(text = ("CATCH", "catch", "catch", "CATCH"), scale=.06, pos = (-.6,-0,-.95), command=setText3)
|
||||
b4 = DirectButton(text = ("GOLF ROTATE", "golf rotate", "golf rotate", "GOLF ROTATE"), scale=.06, pos = (-.28,-0,-.95), command=setText4)
|
||||
b5 = DirectButton(text = ("DIE", "die", "die", "DIE"), scale=.06, pos = (-0,-0,-.95), command=setText5)
|
||||
b6 = DirectButton(text = ("SAD", "sad", "sad", "SAD"), scale=.06, pos = (.16,-0,-.95), command=setText6)
|
||||
b7 = DirectButton(text = ("PUSH", "push", "push", "PUSH"), scale=.06, pos = (.35,-0,-.95), command=setText7)
|
||||
b8 = DirectButton(text = ("R-P-C", "r-p-c", "r-p-c", "R-P-C"), scale=.06, pos = (.565,-0,-.95), command=setText8)
|
|
@ -0,0 +1,4 @@
|
|||
steal furnite code
|
||||
|
||||
base.cr.doFindAll("DistributedFurnitureManager")[0].d_avatarEnter()
|
||||
base.cr.sendSetZoneMsg(6000)
|
|
@ -0,0 +1,154 @@
|
|||
Do these codes for Scare Crow - DON'T USE
|
||||
base.localAvatar.collisionsOff()
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
base.localAvatar.b_setAnimState('teleport')
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
|
||||
|
||||
Organic All gags: base.localAvatar.setTrackBonusLevel([1,1,1,1,1,1,1])
|
||||
base.localAvatar.setExperience('9999999999999')
|
||||
|
||||
messenger.send('rejectTutorial')
|
||||
base.localAvatar.setCogIndex()
|
||||
base.localAvatar.setCogLevels([49, 49, 49, 49])
|
||||
base.localAvatar.setCogTypes([7, 7, 7, 7])
|
||||
base.localAvatar.setCogParts([0, 0, 56447, 56411])
|
||||
base.localAvatar.cogMerits=[40, 80, 120, 200]
|
||||
base.localAvatar.setEarnedExperience([100])
|
||||
base.localAvatar,setCogSummonsEarned(1)
|
||||
base.localAvatar.setCogParts([105,60,40,20])
|
||||
base.localAvatar.setPinkSlips((1)) - DON'T USE!!
|
||||
base.localAvatar.setTickets(100000)
|
||||
base.localAvatar.setTickets(800)
|
||||
base.localAvatar.setMaxMoney(800) [thats your max gag money]
|
||||
base.localAvatar.setBankMoney(10000)
|
||||
base.localAvatar.setMaxBankMoney(10000)
|
||||
base.localAvatar.setMaxHp(<desired maxmimum HP>)
|
||||
base.localAvatar.setHp(<desired current HP>
|
||||
base.localAvatar.toonUp(<toon yourself up by>)
|
||||
base.localAvatar.toonUp(137)
|
||||
|
||||
Disconnection code:
|
||||
base.Disconnect('20.20.20')322374messenger.send('<<name/toonid>>')
|
||||
|
||||
base.localAvatar.setHeight(200)
|
||||
base.localAvatar.setQuestCarryLimit(4)
|
||||
base.localAvatar.setMaxClothes(500)
|
||||
base.localAvatar.setGardenStarted()
|
||||
base.localAvatar.setShovelSkill(30)
|
||||
base.localAvatar.setFishingRod(4) (1-4)
|
||||
base.localAvatar.promoteShovel(3)
|
||||
base.localAvatar.setKartBodyType(3)
|
||||
base.localAvatar.promoteWateringCan(3)base.localAvatar.setWateringCanSkill(30)
|
||||
base.localAvatar.promoteShovel(3)base.localAvatar.trickOrTreatTargetMet(9999)
|
||||
base.localAvatar.setZ(150/10)
|
||||
base.localAVatar.setStyle(<?>)
|
||||
base.localAvatar.setHeight(<Default value varies with character>)
|
||||
|
||||
base.localAvatar.setMaxHp(137)
|
||||
base.localAvatar.setHp(137)
|
||||
base.localAvatar.toonUp(137)
|
||||
base.localAvatar.setMaxCarry(9999)
|
||||
base.localAvatar.setTickets(800)
|
||||
base.localAvatar.setBankMoney(10000)
|
||||
base.localAvatar.setMaxBankMoney(10000)
|
||||
base.localAvatar.setMoney(800)
|
||||
base.localAvatar.setMaxMoney(800)
|
||||
|
||||
|
||||
FREE MEMBERSHIP STUFF!!!!
|
||||
|
||||
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(<>)
|
||||
|
||||
RANDOM CODES!
|
||||
|
||||
base.localAvatar.b_setEarnedExperience(('100'))
|
||||
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'))
|
||||
|
||||
base.localAVatar.setStyle(<?>)
|
||||
base.localAvatar.setHeight(<Default value varies with character>)
|
||||
base.localAvatar.stunToon()
|
||||
base.localAvatar.setGloveColor = X
|
||||
base.localAvatar.inventory.itemIsUsable = new
|
||||
base.localAvatar.setControlEffect('sit', 0.65)
|
||||
|
||||
base.localAvatar.announceBingo()
|
||||
base.localAvatar.playSplashEffect(1, 0, 0) (Sound Of Hitting Water)
|
||||
base.localAvatar.setNearbyAvatarChat('HEY!')
|
||||
base.localAvatar.setMinigameZone()
|
||||
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)
|
||||
|
||||
|
||||
base.localAvatar.hide()
|
||||
word = base.localAvatar.getZoneId()
|
||||
word += 10
|
||||
base.localAvatar.b_setLocation(base.localAvatar.defaultShard, word)
|
||||
messenger.send('rejectTutorial')
|
||||
base.accept("f1", base.localAvatar.b_setAnimState, ['swim'])
|
||||
base.talkAssistant.sendOpenTalk('.Status : Swimming')
|
||||
base.accept("f2", base.localAvatar.b_setAnimState, ['Push'])
|
||||
base.talkAssistant.sendOpenTalk('.Status : Pushing Nothing..........')
|
||||
base.accept("f3", base.localAvatar.b_setAnimState, ['Sad'])
|
||||
base.talkAssistant.sendOpenTalk('.Status : Sad thats all..........')
|
||||
base.accept("f4", base.localAvatar.b_setAnimState, ['GolfPuttLoop'])
|
||||
base.talkAssistant.sendOpenTalk('.Status : Golfing..........')
|
||||
|
||||
|
||||
base.localAvatar.playSplashEffect(1, 0, 0) (Sound Of Hitting Water)
|
||||
base.localAvatar.setNearbyAvatarChat('HEY!')
|
||||
base.localAvatar.setMinigameZone()
|
||||
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)
|
||||
|
||||
for chqd in base.cr.doFindAll("CogHQDoor"):
|
||||
chqd.rejectEnter = chqd.avatarEnter (base.localAvatar.doId)
|
||||
chqd.setOtherZoneIdAndDoId(11100,451103054)
|
|
@ -0,0 +1,4 @@
|
|||
ttd = base.cr.doFindAll("DivingGame")
|
||||
for ttd in base.cr.doFindAll("DivingGame"):
|
||||
ttd.setTreasureGrabbed(base.localAvatar.doId, True)
|
||||
#HOW FUCKING HARD IS THAT!?
|
|
@ -0,0 +1,59 @@
|
|||
|
||||
|
||||
base.localAvatar.find('**/hands').removeNode()
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from pandac.PandaModules import VBase4
|
||||
base.localAvatar.setSystemMessage(0, 'Smooth, color changing gloves activated. Made by Doctor Dizzysmirk.')
|
||||
def changeHandColor1():
|
||||
handsChange = base.localAvatar.find('**/hands').colorInterval(0.5, VBase4(0.97,0.3,0.3,1))
|
||||
handsChange.start()
|
||||
def changeHandColor2():
|
||||
handsChange = base.localAvatar.find('**/hands').colorInterval(0.5, VBase4(0.96,0.7,0.7,1))
|
||||
handsChange.start()
|
||||
def changeHandColor3():
|
||||
handsChange = base.localAvatar.find('**/hands').colorInterval(0.5, VBase4(0.69,0.29,0.95,1))
|
||||
handsChange.start()
|
||||
def changeHandColor4():
|
||||
handsChange = base.localAvatar.find('**/hands').colorInterval(0.5, VBase4(0.69,0.29,0.95,1))
|
||||
handsChange.start()
|
||||
def changeHandColor5():
|
||||
handsChange = base.localAvatar.find('**/hands').colorInterval(0.5, VBase4(0.38,0.98,0.43,1))
|
||||
handsChange.start()
|
||||
def changeHandColor6():
|
||||
handsChange = base.localAvatar.find('**/hands').colorInterval(0.5, VBase4(1,0.90,0.30,1))
|
||||
handsChange.start()
|
||||
def changeHandColor7():
|
||||
handsChange = base.localAvatar.find('**/hands').colorInterval(0.5, VBase4(0.35,0.35,0.85,1))
|
||||
handsChange.start()
|
||||
def changeHandColor8():
|
||||
handsChange = base.localAvatar.find('**/hands').colorInterval(0.5, VBase4(0.3,0.64,0.85,1))
|
||||
handsChange.start()
|
||||
def changeHandColor9():
|
||||
handsChange = base.localAvatar.find('**/hands').colorInterval(0.5, VBase4(1,0.5,0.18,1))
|
||||
handsChange.start()
|
||||
def onChange():
|
||||
seq = Sequence()
|
||||
seq.append(Func(changeHandColor1))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(changeHandColor2))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(changeHandColor3))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(changeHandColor4))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(changeHandColor5))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(changeHandColor6))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(changeHandColor7))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(changeHandColor8))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(changeHandColor9))
|
||||
seq.append(Wait(0.5))
|
||||
seq.append(Func(onChange))
|
||||
seq.start()
|
||||
onChange()
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,22 @@
|
|||
def broadcast(message="Hi guys", includingSelf=True):
|
||||
startingToon = 0
|
||||
toonOn = 0
|
||||
listToonIds = base.localAvatar.getNearbyPlayers(1000000000000000, includingSelf)
|
||||
endingToon = len(listToonIds)
|
||||
print listToonIds
|
||||
while startingToon != endingToon:
|
||||
base.talkAssistant.sendWhisperTalk(str(message), listToonIds[toonOn])
|
||||
print toonOn
|
||||
toonOn = toonOn + 1
|
||||
startingToon = startingToon + 1
|
||||
|
||||
|
||||
|
||||
|
||||
After you used that code erase from the injector then use:
|
||||
|
||||
broadcast("Your message to whisper to people", True)
|
||||
|
||||
|
||||
First parameter = The Message you whisper to everyone, second parameter is if you
|
||||
include yourself inthe whisper, leave it at True if you want it to also whisper to you...
|
|
@ -0,0 +1,10 @@
|
|||
from direct.interval.IntervalGlobal import *
|
||||
def wakeUp():
|
||||
base.talkAssistant.sendOpenTalk(''!")
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(wakeUp))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(onTime))
|
||||
seq.start()
|
||||
onTime()
|
|
@ -0,0 +1,964 @@
|
|||
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('victory')
|
||||
def anim3():
|
||||
base.localAvatar.b_setAnimState('ScientistEmcee')
|
||||
def anim4():
|
||||
base.localAvatar.b_setAnimState('dive')
|
||||
def anim5():
|
||||
base.localAvatar.b_setAnimState('cringe')
|
||||
def flip1():
|
||||
base.localAvatar.setHpr(0,120,0)
|
||||
def flip2():
|
||||
base.localAvatar.setHpr(0,0,90)
|
||||
def flip3():
|
||||
base.localAvatar.setHpr(0,270,0)
|
||||
def flip4():
|
||||
base.localAvatar.setHpr(0,0,180)
|
||||
def flip5():
|
||||
base.localAvatar.setHpr(130,0,0)
|
||||
def flip6():
|
||||
base.localAvatar.setHpr(73,53,57)
|
||||
def flip7():
|
||||
base.localAvatar.setHpr(0,180,270)
|
||||
def flip8():
|
||||
base.localAvatar.setHpr(0,0,270)
|
||||
def flip9():
|
||||
base.localAvatar.setHpr(434,180,46)
|
||||
def flip10():
|
||||
base.localAvatar.setHpr(44,240,150)
|
||||
def end():
|
||||
base.localAvatar.b_setAnimState('victory')
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(anim1))
|
||||
seq.append(Wait(.45))
|
||||
seq.append(Func(anim2))
|
||||
seq.append(Wait(4))
|
||||
seq.append(Func(anim3))
|
||||
seq.append(Wait(4))
|
||||
seq.append(Func(anim4))
|
||||
seq.append(Wait(4))
|
||||
seq.append(Func(anim5))
|
||||
seq.append(Wait(2))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
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(flip5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip9))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(flip10))
|
||||
seq.append(Func(end))
|
||||
seq.start()
|
||||
onTime()
|
|
@ -0,0 +1,482 @@
|
|||
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()
|
Binary file not shown.
|
@ -0,0 +1,65 @@
|
|||
By Andrew ;D
|
||||
|
||||
import toontown
|
||||
NumToonBots = 7
|
||||
from direct.distributed.PyDatagram import PyDatagram
|
||||
from direct.interval.IntervalGlobal import Func, Wait, Sequence
|
||||
from toontown.distributed.ToontownMsgTypes import CLIENT_SET_AVATAR
|
||||
def createAvatarAndAvList():
|
||||
try:base.cr.exitWaitForAvatarList()
|
||||
except:pass
|
||||
ToonDNA = toontown.toon.ToonDNA.ToonDNA()
|
||||
base.localAvatar.style.sleeveTex = 0;base.localAvatar.style.sleeveColor = 0;
|
||||
base.localAvatar.style.botTex = 0;base.localAvatar.style.topTex = 0;
|
||||
base.localAvatar.style.botTexColor = 0;base.localAvatar.style.topTexColor = 0;
|
||||
ToonDNA.makeFromNetString(base.localAvatar.style.makeNetString())
|
||||
base.cr.sendCreateAvatarMsg(ToonDNA, 'Toon', 5)
|
||||
base.cr.enterWaitForAvatarList()
|
||||
def createAvatarNPCBot():
|
||||
try:
|
||||
global NumToonBots
|
||||
NumToonBots += 1
|
||||
base.cr.exitWaitForAvatarList()
|
||||
LocalX = base.localAvatar.getX()
|
||||
LocalY = base.localAvatar.getY()
|
||||
LocalZ = base.localAvatar.getZ()
|
||||
base.localAvatar.stopPosHprBroadcast()
|
||||
ToonAvatarId = base.cr.avList[1].id
|
||||
NORMAL_TOON_ID = base.localAvatar.doId
|
||||
NORMAL_TOON_ZONE = base.localAvatar.getZoneId()
|
||||
RefreshAvatar = PyDatagram()
|
||||
RefreshAvatar.addUint16(CLIENT_SET_AVATAR)
|
||||
RefreshAvatar.addUint32(ToonAvatarId)
|
||||
base.localAvatar.doId = ToonAvatarId
|
||||
base.cr.avData.id = ToonAvatarId
|
||||
base.cr.sendDatagram(RefreshAvatar)
|
||||
base.cr.sendSetZoneMsg(NORMAL_TOON_ZONE)
|
||||
base.localAvatar.d_setParent(2)
|
||||
base.localAvatar.sendUpdate('setPos', [LocalX, LocalY, LocalZ])
|
||||
RefreshAvatar = PyDatagram()
|
||||
RefreshAvatar.addUint16(CLIENT_SET_AVATAR)
|
||||
RefreshAvatar.addUint32(NORMAL_TOON_ID)
|
||||
base.localAvatar.doId = NORMAL_TOON_ID
|
||||
base.cr.avData.id = NORMAL_TOON_ID
|
||||
base.cr.sendDatagram(RefreshAvatar)
|
||||
base.cr.sendSetZoneMsg(NORMAL_TOON_ZONE)
|
||||
base.localAvatar.d_setParent(2)
|
||||
base.localAvatar.startPosHprBroadcast()
|
||||
except:pass
|
||||
def deleteCreatedAvatar():
|
||||
try:
|
||||
ToonAvatarId = base.cr.avList[1].id
|
||||
base.cr.sendDeleteAvatarMsg(ToonAvatarId)
|
||||
base.cr.enterWaitForAvatarList()
|
||||
except:pass
|
||||
def createAvatarInCurrPosition():
|
||||
avt = Sequence()
|
||||
avt.append(Func(createAvatarAndAvList))
|
||||
avt.append(Wait(1))
|
||||
avt.append(Func(createAvatarNPCBot))
|
||||
avt.append(Wait(1))
|
||||
avt.append(Func(deleteCreatedAvatar))
|
||||
avt.append(Wait(1))
|
||||
avt.loop()
|
||||
|
||||
createAvatarInCurrPosition()
|
|
@ -0,0 +1,17 @@
|
|||
base.localAvatar.collisionsOff()
|
||||
base.localAvatar.b_setAnimState('walk')
|
||||
from direct.interval.IntervalGlobal import *
|
||||
toonFollowing = base.cr.doFindAll("Blank")
|
||||
def updatePos():
|
||||
base.localAvatar.setX(toonFollowing[0].getX() + 0.5)
|
||||
base.localAvatar.setY(toonFollowing[0].getY())
|
||||
base.localAvatar.setZ(toonFollowing[0].getZ())
|
||||
base.localAvatar.setH(toonFollowing[0].getH())
|
||||
base.localAvatar.setP(toonFollowing[0].getP())
|
||||
base.localAvatar.setR(toonFollowing[0].getR())
|
||||
def onMovment():
|
||||
mov = Sequence()
|
||||
mov.append(Func(updatePos))
|
||||
mov.append(Func(onMovment))
|
||||
mov.start()
|
||||
onMovment()
|
|
@ -0,0 +1,68 @@
|
|||
By Fd Green Cat Fd ;D
|
||||
|
||||
import toontown
|
||||
NumToonBots = 0
|
||||
from direct.distributed.PyDatagram import PyDatagram
|
||||
from direct.interval.IntervalGlobal import Func, Wait, Sequence
|
||||
from toontown.distributed.ToontownMsgTypes import CLIENT_SET_AVATAR
|
||||
def createAvatarAndAvList():
|
||||
try:base.cr.exitWaitForAvatarList()
|
||||
except:pass
|
||||
ToonDNA = toontown.toon.ToonDNA.ToonDNA()
|
||||
base.localAvatar.style.sleeveTex = 0;base.localAvatar.style.sleeveColor = 0;
|
||||
base.localAvatar.style.botTex = 0;base.localAvatar.style.topTex = 0;
|
||||
base.localAvatar.style.botTexColor = 0;base.localAvatar.style.topTexColor = 0;
|
||||
ToonDNA.makeFromNetString(base.localAvatar.style.makeNetString())
|
||||
base.cr.sendCreateAvatarMsg(ToonDNA, 'Toon', 5)
|
||||
base.cr.enterWaitForAvatarList()
|
||||
def createAvatarNPCBot():
|
||||
try:
|
||||
global NumToonBots
|
||||
NumToonBots += 1
|
||||
base.cr.exitWaitForAvatarList()
|
||||
LocalX = base.localAvatar.getX()
|
||||
LocalY = base.localAvatar.getY()
|
||||
LocalZ = base.localAvatar.getZ()
|
||||
base.localAvatar.stopPosHprBroadcast()
|
||||
ToonAvatarId = base.cr.avList[1].id
|
||||
NORMAL_TOON_ID = base.localAvatar.doId
|
||||
NORMAL_TOON_ZONE = base.localAvatar.getZoneId()
|
||||
RefreshAvatar = PyDatagram()
|
||||
RefreshAvatar.addUint16(CLIENT_SET_AVATAR)
|
||||
RefreshAvatar.addUint32(ToonAvatarId)
|
||||
base.localAvatar.doId = ToonAvatarId
|
||||
base.cr.avData.id = ToonAvatarId
|
||||
base.cr.sendDatagram(RefreshAvatar)
|
||||
base.cr.sendSetZoneMsg(NORMAL_TOON_ZONE)
|
||||
base.localAvatar.d_setParent(2)
|
||||
base.localAvatar.sendUpdate('setPos', [LocalX, LocalY, LocalZ])
|
||||
RefreshAvatar = PyDatagram()
|
||||
RefreshAvatar.addUint16(CLIENT_SET_AVATAR)
|
||||
RefreshAvatar.addUint32(NORMAL_TOON_ID)
|
||||
base.localAvatar.doId = NORMAL_TOON_ID
|
||||
base.cr.avData.id = NORMAL_TOON_ID
|
||||
base.cr.sendDatagram(RefreshAvatar)
|
||||
base.cr.sendSetZoneMsg(NORMAL_TOON_ZONE)
|
||||
base.localAvatar.d_setParent(2)
|
||||
base.localAvatar.startPosHprBroadcast()
|
||||
except:pass
|
||||
def deleteCreatedAvatar():
|
||||
try:
|
||||
ToonAvatarId = base.cr.avList[1].id
|
||||
base.cr.sendDeleteAvatarMsg(ToonAvatarId)
|
||||
base.cr.enterWaitForAvatarList()
|
||||
except:pass
|
||||
def exitWaitAvList():
|
||||
base.cr.exitWaitForAvatarList()
|
||||
def createAvatarInCurrPosition():
|
||||
avt = Sequence()
|
||||
avt.append(Func(createAvatarAndAvList))
|
||||
avt.append(Wait(1))
|
||||
avt.append(Func(createAvatarNPCBot))
|
||||
avt.append(Wait(1))
|
||||
avt.append(Func(deleteCreatedAvatar))
|
||||
avt.append(Wait(1))
|
||||
avt.append(Func(exitWaitAvList))
|
||||
avt.loop()
|
||||
|
||||
createAvatarInCurrPosition()
|
|
@ -0,0 +1,74 @@
|
|||
from direct.interval.IntervalGlobal import *
|
||||
def intro():
|
||||
base.localAvatar.setExperience('9999999999999999999')
|
||||
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
||||
base.localAvatar.setSystemMessage(0,'MAXED ALL TRACKS!')
|
||||
def part2():
|
||||
import toontown
|
||||
def new():
|
||||
return True
|
||||
def new2(*a,**k):
|
||||
return 2
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
||||
base.localAvatar.setSystemMessage(0,'MEMBERSHIP AND TRUE FRIEND ACTIVATED')
|
||||
def part3():
|
||||
base.localAvatar.setQuestCarryLimit(4)
|
||||
base.localAvatar.setSystemMessage(0,'HOLD 4 TOONTASK NOW!')
|
||||
def part4():
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setSystemMessage(0,'MAXED MERITS!')
|
||||
def part5():
|
||||
base.localAvatar.setCogLevels([49, 49, 49, 49])
|
||||
base.localAvatar.setSystemMessage(0,'MAXED COG SUIT LEVEL 50')
|
||||
def part6():
|
||||
base.localAvatar.setCogTypes([7, 7, 7, 7])
|
||||
base.localAvatar.setSystemMessage(0,'MR HOLLYWOOD,ROBBER BARON,BIG WIG,BIG CHEESE Activated!')
|
||||
def part7():
|
||||
base.localAvatar.setCogParts([99999999999999999999999999, 99999999999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setSystemMessage(0,'SUITS PARTS ACTIVATED Activated!')
|
||||
def part8():
|
||||
base.localAvatar.book.pages[1].showPop = 1
|
||||
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000,9000, 10000, 11000, 12000, 13000])
|
||||
base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 7000,8000,9000,10000, 11000, 12000, 13000])
|
||||
base.localAvatar.setCogSummonsEarned([7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7])
|
||||
base.localAvatar.setSystemMessage(0,'GLOBAL TELEPORTS AND COG SUMMONS ACTIVATED')
|
||||
def part9():
|
||||
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||||
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||||
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||||
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||||
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_sellbotCrusher.jpg")
|
||||
shirt.setTexture(shirttex, 1)
|
||||
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||||
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_sellbotCrusher.jpg")
|
||||
short.setTexture(shorttex, 1)
|
||||
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||||
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_sellbotCrusher.jpg")
|
||||
sleeves.setTexture(sleevestex, 1)
|
||||
base.localAvatar.setName('RESISTANCE RANGER Mod')
|
||||
base.localAvatar.setNametagStyle(5)
|
||||
base.localAvatar.setSystemMessage(0,'Welcome to the Toon Resistance! Use CogIndex codes to see your cog suits!Press F1-F4 to get cog suits press F5 to remove cog suit.')
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(intro))
|
||||
seq.append(Wait(3))
|
||||
seq.append(Func(part2))
|
||||
seq.append(Wait(3))
|
||||
seq.append(Func(part3))
|
||||
seq.append(Wait(3))
|
||||
seq.append(Func(part4))
|
||||
seq.append(Wait(3))
|
||||
seq.append(Func(part5))
|
||||
seq.append(Wait(3))
|
||||
seq.append(Func(part6))
|
||||
seq.append(Wait(3))
|
||||
seq.append(Func(part7))
|
||||
seq.append(Wait(3))
|
||||
seq.append(Func(part8))
|
||||
seq.append(Wait(3))
|
||||
seq.append(Func(part9))
|
||||
seq.append(Wait(3))
|
||||
seq.start()
|
||||
onTime()
|
|
@ -0,0 +1,84 @@
|
|||
from direct.interval.IntervalGlobal import *
|
||||
def intro():
|
||||
base.localAvatar.setExperience('9999999999999999999')
|
||||
base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
|
||||
base.localAvatar.setSystemMessage(0,'MAXED ALL TRACKS!')
|
||||
def part2():
|
||||
import toontown
|
||||
def new():
|
||||
return True
|
||||
def new2(*a,**k):
|
||||
return 2
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
||||
base.localAvatar.setSystemMessage(0,'MEMBERSHIP AND TRUE FRIEND ACTIVATED')
|
||||
def part3():
|
||||
base.localAvatar.setQuestCarryLimit(4)
|
||||
base.localAvatar.setSystemMessage(0,'HOLD 4 TOONTASK NOW!')
|
||||
def part4():
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setSystemMessage(0,'MAXED MERITS!')
|
||||
def part5():
|
||||
base.localAvatar.setCogLevels([49, 49, 49, 49])
|
||||
base.localAvatar.setSystemMessage(0,'MAXED COG SUIT LEVEL 50')
|
||||
def part6():
|
||||
base.localAvatar.setCogTypes([7, 7, 7, 7])
|
||||
base.localAvatar.setSystemMessage(0,'MR HOLLYWOOD,ROBBER BARON,BIG WIG,BIG CHEESE Activated!')
|
||||
def part7():
|
||||
base.localAvatar.setCogParts([99999999999999999999999999, 99999999999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setSystemMessage(0,'SUITS PARTS ACTIVATED Activated!')
|
||||
def part8():
|
||||
base.localAvatar.book.pages[1].showPop = 1
|
||||
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000,9000, 10000, 11000, 12000, 13000])
|
||||
base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 7000,8000,9000,10000, 11000, 12000, 13000])
|
||||
base.localAvatar.setCogSummonsEarned([7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7])
|
||||
base.localAvatar.setSystemMessage(0,'GLOBAL TELEPORTS AND COG SUMMONS ACTIVATED')
|
||||
def part9():
|
||||
base.localAvatar.findAllMatches('**/torso-top').setColorScale(25)
|
||||
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(25)
|
||||
base.localAvatar.findAllMatches('**/sleeves').setColorScale(25)
|
||||
shirt = base.localAvatar.findAllMatches('**/torso-top')
|
||||
shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_sellbotCrusher.jpg")
|
||||
shirt.setTexture(shirttex, 1)
|
||||
short = base.localAvatar.findAllMatches('**/torso-bot')
|
||||
shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_sellbotCrusher.jpg")
|
||||
short.setTexture(shorttex, 1)
|
||||
sleeves = base.localAvatar.findAllMatches('**/sleeves')
|
||||
sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_sellbotCrusher.jpg")
|
||||
sleeves.setTexture(sleevestex, 1)
|
||||
base.localAvatar.setName('RESISTANCE RANGER Yes')
|
||||
base.localAvatar.setNametagStyle(5)
|
||||
base.localAvatar.findAllMatches('**/hands').setColor(250,0,0)
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(intro))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(part2))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(part3))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(part4))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(part5))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(part6))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(part7))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(part8))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(part9))
|
||||
seq.append(Wait(.1))
|
||||
seq.start()
|
||||
onTime()
|
||||
|
||||
from direct.showbase import DirectObject
|
||||
class Control(DirectObject.DirectObject):
|
||||
def __init__(self):
|
||||
self.accept('f7',self.Control)
|
||||
def Control(self):
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed=100
|
||||
base.localAvatar.physControls.avatarControlJumpForce=100
|
||||
base.localAvatar.setSystemMessage(0, 'Super Speed and Super Jump Activated')
|
||||
c = Control()
|
|
@ -0,0 +1,60 @@
|
|||
import toontown
|
||||
NumToonBots = 0
|
||||
from direct.distributed.PyDatagram import PyDatagram
|
||||
from direct.interval.IntervalGlobal import Func, Wait, Sequence
|
||||
from toontown.distributed.ToontownMsgTypes import CLIENT_SET_AVATAR
|
||||
def createAvatarAndAvList():
|
||||
try:base.cr.exitWaitForAvatarList()
|
||||
except:pass
|
||||
ToonDNA = toontown.toon.ToonDNA.ToonDNA()
|
||||
ToonDNA.makeFromNetString('t\x05\x05\x00\x01\x00\x00\x00\x00\x00\x00\x0e\x00\x0e\x0e')
|
||||
base.cr.sendCreateAvatarMsg(ToonDNA, 'Toon', 5)
|
||||
base.cr.enterWaitForAvatarList()
|
||||
def createAvatarNPCBot():
|
||||
try:
|
||||
global NumToonBots
|
||||
NumToonBots += 1
|
||||
base.cr.exitWaitForAvatarList()
|
||||
LocalX = base.localAvatar.getX()
|
||||
LocalY = base.localAvatar.getY()
|
||||
LocalZ = base.localAvatar.getZ()
|
||||
base.localAvatar.stopPosHprBroadcast()
|
||||
ToonAvatarId = base.cr.avList[1].id
|
||||
NORMAL_TOON_ID = base.localAvatar.doId
|
||||
NORMAL_TOON_ZONE = base.localAvatar.getZoneId()
|
||||
RefreshAvatar = PyDatagram()
|
||||
RefreshAvatar.addUint16(CLIENT_SET_AVATAR)
|
||||
RefreshAvatar.addUint32(ToonAvatarId)
|
||||
base.localAvatar.doId = ToonAvatarId
|
||||
base.cr.avData.id = ToonAvatarId
|
||||
base.cr.sendDatagram(RefreshAvatar)
|
||||
base.cr.sendSetZoneMsg(NORMAL_TOON_ZONE)
|
||||
base.localAvatar.d_setParent(2)
|
||||
base.localAvatar.sendUpdate('setPos', [LocalX, LocalY, LocalZ])
|
||||
RefreshAvatar = PyDatagram()
|
||||
RefreshAvatar.addUint16(CLIENT_SET_AVATAR)
|
||||
RefreshAvatar.addUint32(NORMAL_TOON_ID)
|
||||
base.localAvatar.doId = NORMAL_TOON_ID
|
||||
base.cr.avData.id = NORMAL_TOON_ID
|
||||
base.cr.sendDatagram(RefreshAvatar)
|
||||
base.cr.sendSetZoneMsg(NORMAL_TOON_ZONE)
|
||||
base.localAvatar.d_setParent(2)
|
||||
base.localAvatar.startPosHprBroadcast()
|
||||
except:pass
|
||||
def deleteCreatedAvatar():
|
||||
try:
|
||||
ToonAvatarId = base.cr.avList[1].id
|
||||
base.cr.sendDeleteAvatarMsg(ToonAvatarId)
|
||||
base.cr.enterWaitForAvatarList()
|
||||
except:pass
|
||||
def createAvatarInCurrPosition():
|
||||
avt = Sequence()
|
||||
avt.append(Func(createAvatarAndAvList))
|
||||
avt.append(Wait(1))
|
||||
avt.append(Func(createAvatarNPCBot))
|
||||
avt.append(Wait(1))
|
||||
avt.append(Func(deleteCreatedAvatar))
|
||||
avt.append(Wait(1))
|
||||
avt.loop()
|
||||
|
||||
createAvatarInCurrPosition()
|
|
@ -0,0 +1,173 @@
|
|||
base.localAvatar.setSystemMessage(0, 'Random Sideways Bot V1.0 By Midnight The Hacker.')
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def emote():
|
||||
base.localAvatar.b_setAnimState('run')
|
||||
base.localAvatar.b_setSC(20136)
|
||||
def part1():
|
||||
base.localAvatar.setHpr(0,0,315)
|
||||
def part2():
|
||||
base.localAvatar.setHpr(0,0,0)
|
||||
def part3():
|
||||
base.localAvatar.setHpr(0,0,180)
|
||||
def part4():
|
||||
base.localAvatar.setHpr(0,0,80)
|
||||
def part5():
|
||||
base.localAvatar.setHpr(0,0,360)
|
||||
def part6():
|
||||
base.localAvatar.setHpr(315,315,315)
|
||||
base.localAvatar.b_setSC(20136)
|
||||
def part7():
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
def part8():
|
||||
base.localAvatar.setHpr(0,0,135)
|
||||
def part9():
|
||||
base.localAvatar.setHpr(0,0,180)
|
||||
def part10():
|
||||
base.localAvatar.setHpr(0,0,225)
|
||||
def part11():
|
||||
base.localAvatar.setHpr(0,0,270)
|
||||
def part12():
|
||||
base.localAvatar.setHpr(0,0,315)
|
||||
def part13():
|
||||
base.localAvatar.setHpr(0,0,360)
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(emote))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part1))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part2))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part3))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part4))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part5))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part6))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part7))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part8))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part9))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part10))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part11))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part12))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part13))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(emote))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part1))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part2))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part3))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part4))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part5))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part6))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part7))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part8))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part9))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part10))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part11))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part12))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part13))
|
||||
seq.append(Func(emote))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part1))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part2))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part3))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part4))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part5))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part6))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part7))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part8))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part9))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part10))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part11))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part12))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part13))
|
||||
seq.append(Func(emote))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part1))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part2))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part3))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part4))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part5))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part6))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part7))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part8))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part9))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part10))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part11))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part12))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part13))
|
||||
seq.append(Func(emote))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part1))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part2))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part3))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part4))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part5))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part6))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part7))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part8))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part9))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part10))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part11))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part12))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(part13))
|
||||
seq.start()
|
||||
onTime()
|
|
@ -0,0 +1,39 @@
|
|||
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 = "ZoneFound"
|
||||
textObject.setText(bk_text)
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
|
||||
b = DirectButton(text = ("Raid House", "Activate", "Activate", "Raid House"), scale=.06, pos = (-.28,-0,-.95), command=setText)
|
||||
|
||||
_____________________________________________________________________________________________________________________________________________________________
|
||||
#open the log file DONT USE THESE CODES... IDK WHAT THERE FOR......ONLY USE THE TOP!!!!!!! THATS WHY THERES A LINE
|
||||
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
|
|
@ -0,0 +1,787 @@
|
|||
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.92),
|
||||
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 = "Stop"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20341)
|
||||
var = 1
|
||||
|
||||
def setText2():
|
||||
bk_text = "Spin"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20349)
|
||||
var = 1
|
||||
|
||||
def setText3():
|
||||
bk_text = "Headache"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20113)
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Shortfall"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20335)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Plan"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20293)
|
||||
var = 1
|
||||
|
||||
def setText6():
|
||||
bk_text = "Hall"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2513)
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Bank"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2514)
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Library"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2518)
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "SBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(11100)
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "CBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(12100)
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "LBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(13100)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "BBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(10100)
|
||||
var = 1
|
||||
|
||||
def setText13():
|
||||
bk_text = "Scarecrow"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
base.localAvatar.b_setAnimState('teleport')
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "Splash"
|
||||
textObject.setText(bk_text)
|
||||
toon = base.cr.doFindAll("Big Winky")
|
||||
base.localAvatar.d_playSplashEffect(toon[0].getX(), toon[0].getY(), toon[0].getZ())
|
||||
base.localAvatar.playSplashEffect(toon[0].getX(), toon[0].getY(), toon[0].getZ())
|
||||
var = 1
|
||||
|
||||
|
||||
def setText15():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText16():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "Raid"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20136)
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "Speed"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed=150
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "Rotate"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlRotateSpeed=1000
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "Reverse"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlReverseSpeed=200
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "Jump"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 150
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "Garden"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('gardenGame')
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "Global"
|
||||
textObject.setText(bk_text)
|
||||
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
|
||||
var = 1
|
||||
|
||||
def setText26():
|
||||
bk_text = "Clothes"
|
||||
textObject.setText(bk_text)
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
var = 1
|
||||
|
||||
def setText27():
|
||||
bk_text = ""
|
||||
textObject.setText(bk_text)
|
||||
cc = base.cr.doFindAll("Big Winky")
|
||||
for cc in base.cr.doFindAll("Big Winky"):
|
||||
cc.copyTo(render)
|
||||
|
||||
def setText28():
|
||||
bk_text = "Normal"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,0))
|
||||
var = 1
|
||||
|
||||
def setText29():
|
||||
bk_text = "UpD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText30():
|
||||
bk_text = "UpD2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((30,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText31():
|
||||
bk_text = "UpD3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((50,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText32():
|
||||
bk_text = "UpD4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((70,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText33():
|
||||
bk_text = "FoF"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-50,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText34():
|
||||
bk_text = "FoF2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-60,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText35():
|
||||
bk_text = "FoF3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-70,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText36():
|
||||
bk_text = "FoF4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-80,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText37():
|
||||
bk_text = "BoF"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText38():
|
||||
bk_text = "BoF2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,80,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText39():
|
||||
bk_text = "BoF3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,70,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText40():
|
||||
bk_text = "BoF4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,60,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText41():
|
||||
bk_text = "SID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
|
||||
def setText42():
|
||||
bk_text = "SID2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,-90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText43():
|
||||
bk_text = "SID3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,80)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText44():
|
||||
bk_text = "SID3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,-80)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText45():
|
||||
bk_text = "Co Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText46():
|
||||
bk_text = "Co On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 1
|
||||
|
||||
def setText47():
|
||||
bk_text = "Gravity"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.setGravity(.00001)
|
||||
|
||||
def setText48():
|
||||
bk_text = "Show ID"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('nameTagShowAvId')
|
||||
|
||||
|
||||
def setText49():
|
||||
bk_text = "Farms"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
def setText50():
|
||||
bk_text = "FINV"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7090)
|
||||
var = 1
|
||||
|
||||
def setText51():
|
||||
bk_text = "TTC"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText52():
|
||||
bk_text = "TINV"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2090)
|
||||
var = 1
|
||||
|
||||
def setText53():
|
||||
bk_text = "Cream"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20150)
|
||||
var = 1
|
||||
|
||||
def setText54():
|
||||
bk_text = "Bonus"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2223)
|
||||
var = 1
|
||||
|
||||
def setText55():
|
||||
bk_text = "Zone"
|
||||
textObject.setText(bk_text)
|
||||
zone = base.localAvatar.getZoneId()
|
||||
zone = str(zone)
|
||||
base.localAvatar.setSystemMessage(1, zone)
|
||||
var = 1
|
||||
|
||||
def setText56():
|
||||
bk_text = "Back"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20133)
|
||||
var = 1
|
||||
|
||||
def setText57():
|
||||
bk_text = "Cozy?"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20251)
|
||||
var = 1
|
||||
|
||||
def setText58():
|
||||
bk_text = "Hair"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20300)
|
||||
var = 1
|
||||
|
||||
def setText59():
|
||||
bk_text = "Bore"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20283)
|
||||
var = 1
|
||||
|
||||
def setText60():
|
||||
bk_text = "Dull"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20284)
|
||||
var = 1
|
||||
|
||||
def setText61():
|
||||
bk_text = "Robbed"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20320)
|
||||
var = 1
|
||||
|
||||
def setText62():
|
||||
bk_text = "Brush"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20299)
|
||||
var = 1
|
||||
|
||||
def setText63():
|
||||
bk_text = "Shot"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4301)
|
||||
var = 1
|
||||
|
||||
def setText64():
|
||||
bk_text = "Camera"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20256)
|
||||
var = 1
|
||||
|
||||
def setText65():
|
||||
bk_text = "Split"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(1700)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText66():
|
||||
bk_text = "Stay"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(1701)
|
||||
var = 1
|
||||
|
||||
def setText67():
|
||||
bk_text = "MUD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20071)
|
||||
var = 1
|
||||
|
||||
def setText68():
|
||||
bk_text = "Spunky"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20201)
|
||||
var = 1
|
||||
|
||||
def setText69():
|
||||
bk_text = "Harder"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4203)
|
||||
var = 1
|
||||
|
||||
def setText70():
|
||||
bk_text = "Softer"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4204)
|
||||
var = 1
|
||||
|
||||
def setText71():
|
||||
bk_text = "Stranger"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20329)
|
||||
var = 1
|
||||
|
||||
def setText72():
|
||||
bk_text = "Rid"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20291)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText73():
|
||||
bk_text = "Hunting"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20107)
|
||||
var = 1
|
||||
|
||||
|
||||
|
||||
def setText74():
|
||||
bk_text = "Play"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText75():
|
||||
bk_text = "Work"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
var = 1
|
||||
|
||||
def setText76():
|
||||
bk_text = "Jealous"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
var = 1
|
||||
|
||||
def setText77():
|
||||
bk_text = "Emcee"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistEmcee'))
|
||||
var = 1
|
||||
|
||||
def setText78():
|
||||
bk_text = "Victory"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('victory'))
|
||||
var = 1
|
||||
|
||||
def setText79():
|
||||
bk_text = "Sad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Sad')
|
||||
var = 1
|
||||
|
||||
def setText80():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.enterSitStart()
|
||||
var = 1
|
||||
|
||||
def setText81():
|
||||
bk_text = "Swim"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('swim')
|
||||
var = 1
|
||||
|
||||
def setText82():
|
||||
bk_text = "Died"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('Died'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText83():
|
||||
bk_text = "Port Out"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText84():
|
||||
bk_text = "Port In"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText85():
|
||||
bk_text = "CringeAn"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('cringe'))
|
||||
var = 1
|
||||
|
||||
def setText86():
|
||||
bk_text = "Push"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Push')
|
||||
var = 1
|
||||
|
||||
def setText87():
|
||||
bk_text = "Dive"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
var = 1
|
||||
|
||||
def setText88():
|
||||
bk_text = "Flat"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Flattened')
|
||||
var = 1
|
||||
|
||||
def setText89():
|
||||
bk_text = "Squish"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Squish')
|
||||
var = 1
|
||||
|
||||
def setText90():
|
||||
bk_text = "Eating"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('CatchEating')
|
||||
var = 1
|
||||
|
||||
def setText91():
|
||||
bk_text = "Catching"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('Catching'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText92():
|
||||
bk_text = "Read"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('ReadBook')
|
||||
var = 1
|
||||
|
||||
def setText93():
|
||||
bk_text = "Squat"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('jumpSquat'))
|
||||
var = 1
|
||||
|
||||
def setText94():
|
||||
bk_text = "Fall"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('FallDown'))
|
||||
var = 1
|
||||
|
||||
def setText95():
|
||||
bk_text = "Run"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('run')
|
||||
var = 1
|
||||
|
||||
def setText96():
|
||||
bk_text = "Walk"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('walk')
|
||||
var = 1
|
||||
|
||||
def setText97():
|
||||
bk_text = "Theif"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('CogThiefRunning'))
|
||||
var = 1
|
||||
|
||||
def setText98():
|
||||
bk_text = "Loop"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfPuttLoop')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText99():
|
||||
bk_text = "Rotate ->"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfRotateRight'))
|
||||
var = 1
|
||||
|
||||
def setText100():
|
||||
bk_text = "Rotate <-"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfRotateLeft'))
|
||||
var = 1
|
||||
|
||||
def setText101():
|
||||
bk_text = "Swing"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
||||
var = 1
|
||||
|
||||
def setText102():
|
||||
bk_text = "Bad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfBadPutt')
|
||||
var = 1
|
||||
|
||||
def setText103():
|
||||
bk_text = "Good"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfGoodPutt')
|
||||
var = 1
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("Stp", "ph", "ph", "Stp"), scale=.04, pos = (-.99999,-.0,.83), command=setText1)
|
||||
b2 = DirectButton(text = ("Spn", "ph", "ph", "Spn"), scale=.04, pos = (-.91,-.0,.83), command=setText2)
|
||||
b3 = DirectButton(text = ("Hd", "ph", "ph", "Hd"), scale=.04, pos = (-.83,-.0,.83), command=setText3)
|
||||
b4 = DirectButton(text = ("Sho", "ph", "ph", "Sho"), scale=.04, pos = (-.76,-.0,.83), command=setText4)
|
||||
b5 = DirectButton(text = ("Pln", "ph", "ph", "Pln"), scale=.04, pos = (-.69,-.0,.83), command=setText5)
|
||||
b6 = DirectButton(text = ("Hall", "zone", "zone", "Hall"), scale=.04, pos = (-.62,-.0,.97), command=setText6)
|
||||
b7 = DirectButton(text = ("Bnk", "zone", "zone", "Bnk"), scale=.04, pos = (-.54,-.0,.97), command=setText7)
|
||||
b8 = DirectButton(text = ("Lib", "zone", "zone", "Lib"), scale=.04, pos = (-.47,-.0,.97), command=setText8)
|
||||
b9 = DirectButton(text = ("SB", "HQ", "HQ", "SB"), scale=.04, pos = (-.40,-.0,.97), command=setText9)
|
||||
b10 = DirectButton(text = ("CB", "HQ", "HQ", "CB"), scale=.04, pos = (-.34,-.0,.97), command=setText10)
|
||||
b11 = DirectButton(text = ("LB", "HQ", "HQ", "LB"), scale=.04, pos = (-.28,-.0,.97), command=setText11)
|
||||
b12 = DirectButton(text = ("BB", "HQ", "HQ", "BB"), scale=.04, pos = (-.21,-.0,.97), command=setText12)
|
||||
b13 = DirectButton(text = ("Scare", "Crow", "Crow", "Scare"), scale=.04, pos = (-.12,-.0, .97), command=setText13)
|
||||
b14 = DirectButton(text = ("Spl", "ash", "ash", "Spl"), scale=.04, pos = (-.01,-.0,.97), command=setText14)
|
||||
b15 = DirectButton(text = ("Die", "-3", "-3", "Die"), scale=.04, pos = (.07,-.0,.97), command=setText15)
|
||||
b16 = DirectButton(text = ("Laff", "+", "+", "Laff"), scale=.04, pos = (.15,-.0,.97), command=setText16)
|
||||
b17 = DirectButton(text = ("Raid", "ph", "ph", "Raid"), scale=.04, pos = (.24,-.0,.97), command=setText17)
|
||||
b18 = DirectButton(text = ("Speed", "speed", "speed", "Speed"), scale=.04, pos = (.35,-.0,.97), command=setText18)
|
||||
b19 = DirectButton(text = ("Rot", "ate", "ate", "Rot"), scale=.04, pos = (.448,-.0,.97), command=setText19)
|
||||
b20 = DirectButton(text = ("Rev", "ers", "ers", "Rev"), scale=.04, pos = (.53,-.0,.97), command=setText20)
|
||||
b21 = DirectButton(text = ("Ju", "mp", "mp", "Ju"), scale=.04, pos = (.595,-.0,.97), command=setText21)
|
||||
b22 = DirectButton(text = ("G", "g", "g", "G"), scale=.04, pos = (.64,-.0,.97), command=setText22)
|
||||
b24 = DirectButton(text = ("Mem", "mem", "mem", "Mem"), scale=.04, pos = (.71,-.0,.97), command=setText24)
|
||||
b25 = DirectButton(text = ("GTP", "Tp", "Tp", "GTP"), scale=.04, pos = (.80,-.0,.97), command=setText25)
|
||||
b26 = DirectButton(text = ("Cloth", "cloth", "cloth", "Cloth"), scale=.04, pos = (.89,-.0,.97), command=setText26)
|
||||
b27 = DirectButton(text = ("Clone", "clone", "clone", "Clone"), scale=.04, pos = (.99999,-.0,.97), command=setText27)
|
||||
b28 = DirectButton(text = ("NoP", "pos", "pos", "NoP"), scale=.04, pos = (-.99999,-.0,.90), command=setText28)
|
||||
b29 = DirectButton(text = ("UpD", "pos", "pos", "UpD"), scale=.04, pos = (-.91,-.0,.90), command=setText29)
|
||||
b30 = DirectButton(text = ("UpD2", "pos", "pos", "UpD2"), scale=.04, pos = (-.81,-.0,.90), command=setText30)
|
||||
b31 = DirectButton(text = ("UpD3", "pos", "pos", "UpD3"), scale=.04, pos = (-.70,-.0,.90), command=setText31)
|
||||
b32 = DirectButton(text = ("UpD4", "pos", "pos", "UpD4"), scale=.04, pos = (-.59,-.0,.90), command=setText32)
|
||||
b33 = DirectButton(text = ("FoF", "pos", "pos", "FoF"), scale=.04, pos = (-.499,-.0,.90), command=setText33)
|
||||
b34 = DirectButton(text = ("FoF2", "pos", "pos", "FoF2"), scale=.04, pos = (-.40,-.0,.90), command=setText34)
|
||||
b35 = DirectButton(text = ("FoF3", "pos", "pos", "FoF3"), scale=.04, pos = (-.30,-.0,.90), command=setText35)
|
||||
b36 = DirectButton(text = ("FoF4", "pos", "pos", "FoF4"), scale=.04, pos = (-.20,-.0,.90), command=setText36)
|
||||
b37 = DirectButton(text = ("BoF", "pos", "pos", "BoF"), scale=.04, pos = (-.10,-.0,.90), command=setText37)
|
||||
b38 = DirectButton(text = ("BoF2", "pos", "pos", "BoF2"), scale=.04, pos = (-.0,-.0,.90), command=setText38)
|
||||
b39 = DirectButton(text = ("BoF3", "pos", "pos", "BoF3"), scale=.04, pos = (.10,-.0,.90), command=setText39)
|
||||
b40 = DirectButton(text = ("BoF4", "pos", "pos", "BoF4"), scale=.04, pos = (.20,-.0,.90), command=setText40)
|
||||
b41 = DirectButton(text = ("Sid", "pos", "pos", "Sid"), scale=.04, pos = (.29,-.0,.90), command=setText41)
|
||||
b42 = DirectButton(text = ("Sid2", "pos", "pos", "Sid2"), scale=.04, pos = (.37,-.0,.90), command=setText42)
|
||||
b43 = DirectButton(text = ("Sid3", "ps", "pos", "Sid3"), scale=.04, pos = (.47,-.0,.90), command=setText43)
|
||||
b44 = DirectButton(text = ("Sid4", "pos", "pos", "Sid4"), scale=.04, pos = (.57,-.0,.90), command=setText44)
|
||||
b45 = DirectButton(text = ("COff", "coff", "coff", "COff"), scale=.04, pos = (.67,-.0,.90), command=setText45)
|
||||
b46 = DirectButton(text = ("COn", "con", "con", "COn"), scale=.04, pos = (.77,-.0,.90), command=setText46)
|
||||
b47 = DirectButton(text = ("Grv", "Grv", "Grv", "Grv"), scale=.04, pos = (.85,-.0,.90), command=setText47)
|
||||
b48 = DirectButton(text = ("ID", "ID", "ID", "ID"), scale=.04, pos = (.92,-.0,.90), command=setText48)
|
||||
b49 = DirectButton(text = ("Farms", "zone", "zone", "Farms"), scale=.04, pos = (-.99999,-.0,.97), command=setText49)
|
||||
b50 = DirectButton(text = ("FINV", "zone", "zone", "FINV"), scale=.04, pos = (-.89,-.0,.97), command=setText50)
|
||||
b51 = DirectButton(text = ("TTC", "zone", "zone", "TTC"), scale=.04, pos = (-.80,-.0,.97), command=setText51)
|
||||
b52 = DirectButton(text = ("TINV", "zone", "zone", "TINV"), scale=.04, pos = (-.71,-.0,.97), command=setText52)
|
||||
b53 = DirectButton(text = ("Crm", "ph", "ph", "Crm"), scale=.04, pos = (-.61,-.0,.83), command=setText53)
|
||||
b54 = DirectButton(text = ("Bon", "ph", "ph", "Bon"), scale=.04, pos = (-.53,-.0,.83), command=setText54)
|
||||
b55 = DirectButton(text = ("Zone", "find", "find", "Zone"), scale=.04, pos = (.99999,-.0,.90), command=setText55)
|
||||
b56 = DirectButton(text = ("Bck", "ph", "ph", "Bck"), scale=.04, pos = (-.44,-.0,.83), command=setText56)
|
||||
b57 = DirectButton(text = ("Czy", "ph", "ph", "Czy"), scale=.04, pos = (-.36,-.0,.83), command=setText57)
|
||||
b58 = DirectButton(text = ("Hai", "ph", "ph", "Hai"), scale=.04, pos = (-.28,-.0,.83), command=setText58)
|
||||
b59 = DirectButton(text = ("Bor", "ph", "ph", "bor"), scale=.04, pos = (-.21,-.0,.83), command=setText59)
|
||||
b60 = DirectButton(text = ("Dul", "ph", "ph", "Dul"), scale=.04, pos = (-.14,-.0,.83), command=setText60)
|
||||
b61 = DirectButton(text = ("Rob", "ph", "ph", "Rob"), scale=.04, pos = (-.06,-.0,.83), command=setText61)
|
||||
b62 = DirectButton(text = ("Bru", "ph", "ph", "Bru"), scale=.04, pos = (.02,-.0,.83), command=setText62)
|
||||
b63 = DirectButton(text = ("Sht", "ph", "ph", "Sht"), scale=.04, pos = (.10,-.0,.83), command=setText63)
|
||||
b64 = DirectButton(text = ("Cam", "ph", "ph", "Cam"), scale=.04, pos = (.18,-.0,.83), command=setText64)
|
||||
b65 = DirectButton(text = ("Spt", "ph", "ph", "Spt"), scale=.04, pos = (.26,-.0,.83), command=setText65)
|
||||
b66 = DirectButton(text = ("Sty", "ph", "ph", "Sty"), scale=.04, pos = (.34,-.0,.83), command=setText66)
|
||||
b67 = DirectButton(text = ("MUD", "ph", "ph", "MUD"), scale=.04, pos = (.43,-.0,.83), command=setText67)
|
||||
b68 = DirectButton(text = ("Spky", "ph", "ph", "spky"), scale=.04, pos = (.53,-.0,.83), command=setText68)
|
||||
b69 = DirectButton(text = ("Hard", "ph", "ph", "Hard"), scale=.04, pos = (.63,-.0,.83), command=setText69)
|
||||
b70 = DirectButton(text = ("Soft", "ph", "ph", "Soft"), scale=.04, pos = (.73,-.0,.83), command=setText70)
|
||||
b71 = DirectButton(text = ("Str", "ph", "ph", "Str"), scale=.04, pos = (.81,-.0,.83), command=setText71)
|
||||
b72 = DirectButton(text = ("Rid", "ph", "ph", "Rid"), scale=.04, pos = (.89,-.0,.83), command=setText72)
|
||||
b73 = DirectButton(text = ("Hunt", "ph", "ph", "Hunt"), scale=.04, pos = (.98,-.0,.83), command=setText73)
|
||||
b74= DirectButton(text = ("Sp", "ani", "ani", "Sp"), scale=.04, pos = (-.99999,-.0,-.97), command=setText74)
|
||||
b75= DirectButton(text = ("Sw", "ani", "ani", "Sw"), scale=.04, pos = (-.94,-.0,-.97), command=setText75)
|
||||
b76= DirectButton(text = ("Sj", "ani", "ani", "Sj"), scale=.04, pos = (-.885,-.0,-.97), command=setText76)
|
||||
b77= DirectButton(text = ("Se", "ani", "ani", "Se"), scale=.04, pos = (-.828,-.0,-.97), command=setText77)
|
||||
b78= DirectButton(text = ("Vic", "ani", "ani", "Vic"), scale=.04, pos = (-.76,-.0,-.97), command=setText78)
|
||||
b79= DirectButton(text = ("Sad", "ani", "ani", "Sad"), scale=.04, pos = (-.68,-.0,-.97), command=setText79)
|
||||
b80= DirectButton(text = ("Sit", "ani", "ani", "Sit"), scale=.04, pos = (-.61,-.0,-.97), command=setText80)
|
||||
b81= DirectButton(text = ("Swm", "ani", "ani", "Swm"), scale=.04, pos = (-.53,-.0,-.97), command=setText81)
|
||||
b82= DirectButton(text = ("DIE", "ani", "ani", "DIE"), scale=.04, pos = (-.45,-.0,-.97), command=setText82)
|
||||
b83= DirectButton(text = ("TPo", "ani", "ani", "TPo"), scale=.04, pos = (-.37,-.0,-.97), command=setText83)
|
||||
b84= DirectButton(text = ("TPi", "ani", "ani", "TPi"), scale=.04, pos = (-.30,-.0,-.97), command=setText84)
|
||||
b85= DirectButton(text = ("Crin", "ani", "ani", "Cri"), scale=.04, pos = (-.23,-.0,-.97), command=setText85)
|
||||
b86= DirectButton(text = ("Psh", "ani", "ani", "Psh"), scale=.04, pos = (-.23,-.0,-.97), command=setText86)
|
||||
b87= DirectButton(text = ("Div", "ani", "ani", "Div"), scale=.04, pos = (-.16,-.0,-.97), command=setText87)
|
||||
b88= DirectButton(text = ("Flt", "ani", "ani", "Flt"), scale=.04, pos = (-.10,-.0,-.97), command=setText88)
|
||||
b89= DirectButton(text = ("Sq", "ani", "ani", "Sq"), scale=.04, pos = (-.04,-.0,-.97), command=setText89)
|
||||
b90= DirectButton(text = ("CaE", "ani", "ani", "CaE"), scale=.04, pos = (.03,-.0,-.97), command=setText90)
|
||||
b91= DirectButton(text = ("Cac", "ani", "ani", "Cac"), scale=.04, pos = (.11,-.0,-.97), command=setText91)
|
||||
b92= DirectButton(text = ("Bok", "ani", "ani", "Bok"), scale=.04, pos = (.19,-.0,-.97), command=setText92)
|
||||
b93= DirectButton(text = ("Sqa", "ani", "ani", "squa"), scale=.04, pos = (.27,-.0,-.97), command=setText93)
|
||||
b94= DirectButton(text = ("Fal", "ani", "ani", "Fal"), scale=.04, pos = (.34,-.0,-.97), command=setText94)
|
||||
b95= DirectButton(text = ("Run", "ani", "ani", "Run"), scale=.04, pos = (.42,-.0,-.97), command=setText95)
|
||||
b96= DirectButton(text = ("Wal", "ani", "ani", "Wal"), scale=.04, pos = (.50,-.0,-.97), command=setText96)
|
||||
b97= DirectButton(text = ("CoT", "ani", "ani", "CoT"), scale=.04, pos = (.58,-.0,-.97), command=setText97)
|
||||
b98= DirectButton(text = ("Gp", "ani", "ani", "GP"), scale=.04, pos = (.65,-.0,-.97), command=setText98)
|
||||
b99= DirectButton(text = ("Gr", "ani", "ani", "Gr"), scale=.04, pos = (.71,-.0,-.97), command=setText99)
|
||||
b100= DirectButton(text = ("Gl", "ani", "ani", "Gl"), scale=.04, pos = (.76,-.0,-.97), command=setText100)
|
||||
b101= DirectButton(text = ("Gs", "ani", "ani", "Gs"), scale=.04, pos = (.81,-.0,-.97), command=setText101)
|
||||
b102= DirectButton(text = ("Gb", "ani", "ani", "Gb"), scale=.04, pos = (.87,-.0,-.97), command=setText102)
|
||||
b103= DirectButton(text = ("Gg", "ani", "ani", "Gg"), scale=.04, pos = (.93,-.0,-.97), command=setText103)
|
||||
|
||||
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.92),
|
||||
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||||
|
||||
def setText():
|
||||
bk_text = "ZoneFound"
|
||||
textObject.setText(bk_text)
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
|
||||
b = DirectButton(text = ("Raid House", "Activate", "Activate", "Raid House"), scale=.04, pos = (-.0,-0,-.92), command=setText)
|
|
@ -0,0 +1,837 @@
|
|||
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 = "Wave"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(0,1)
|
||||
var = 1
|
||||
|
||||
def setText2():
|
||||
bk_text = "Happy"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(1,1)
|
||||
var = 1
|
||||
|
||||
def setText3():
|
||||
bk_text = "Sad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(2,1)
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Angry"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(3,1)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Sleepy"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(4,1)
|
||||
var = 1
|
||||
|
||||
def setText6():
|
||||
bk_text = "Shrug"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(5,1)
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Dance"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(6,1)
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Think"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(7,1)
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Bored"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(8,1)
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Applause"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(9,1)
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "Cringe"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(10,1)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "Confused"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(11,1)
|
||||
var = 1
|
||||
|
||||
def setText13():
|
||||
bk_text = "Flop"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(12,1)
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "Bow"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(13,1)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText15():
|
||||
bk_text = "Peel"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(14,1)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText16():
|
||||
bk_text = "Salute"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(15,1)
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "Yes"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(17,1)
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "No"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(18,1)
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "Surprise"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(20,1)
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "Cry"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(21,1)
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "Delight"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(22,1)
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "Furious"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(23,1)
|
||||
var = 1
|
||||
|
||||
def setText23():
|
||||
bk_text = "Laugh"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(24,1)
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "Global"
|
||||
textObject.setText(bk_text)
|
||||
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
|
||||
var = 1
|
||||
|
||||
def setText26():
|
||||
bk_text = "Clothes"
|
||||
textObject.setText(bk_text)
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
var = 1
|
||||
|
||||
def setText27():
|
||||
bk_text = ""
|
||||
textObject.setText(bk_text)
|
||||
cc = base.cr.doFindAll("Big Winky")
|
||||
for cc in base.cr.doFindAll("Big Winky"):
|
||||
cc.copyTo(render)
|
||||
|
||||
def setText28():
|
||||
bk_text = "Normal"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,0))
|
||||
var = 1
|
||||
|
||||
def setText29():
|
||||
bk_text = "UpD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText30():
|
||||
bk_text = "UpD2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((30,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText31():
|
||||
bk_text = "UpD3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((50,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText32():
|
||||
bk_text = "UpD4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((70,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText33():
|
||||
bk_text = "FoF"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-50,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText34():
|
||||
bk_text = "FoF2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-60,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText35():
|
||||
bk_text = "FoF3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-70,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText36():
|
||||
bk_text = "FoF4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-80,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText37():
|
||||
bk_text = "BoF"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText38():
|
||||
bk_text = "BoF2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,80,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText39():
|
||||
bk_text = "BoF3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,70,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText40():
|
||||
bk_text = "BoF4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,60,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText41():
|
||||
bk_text = "SID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
|
||||
def setText42():
|
||||
bk_text = "SID2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,-90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText43():
|
||||
bk_text = "SID3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,80)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText44():
|
||||
bk_text = "SID3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,-80)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText45():
|
||||
bk_text = "Co Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText46():
|
||||
bk_text = "Co On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 1
|
||||
|
||||
def setText47():
|
||||
bk_text = "Gravity"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.setGravity(.00001)
|
||||
|
||||
def setText48():
|
||||
bk_text = "Show ID"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('nameTagShowAvId')
|
||||
|
||||
|
||||
def setText49():
|
||||
bk_text = "Farms"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
def setText50():
|
||||
bk_text = "FINV"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7090)
|
||||
var = 1
|
||||
|
||||
def setText51():
|
||||
bk_text = "TTC"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText52():
|
||||
bk_text = "TINV"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2090)
|
||||
var = 1
|
||||
|
||||
def setText53():
|
||||
bk_text = "Cream"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20150)
|
||||
var = 1
|
||||
|
||||
def setText54():
|
||||
bk_text = "Bonus"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2223)
|
||||
var = 1
|
||||
|
||||
def setText55():
|
||||
bk_text = "Zone"
|
||||
textObject.setText(bk_text)
|
||||
zone = base.localAvatar.getZoneId()
|
||||
zone = str(zone)
|
||||
base.localAvatar.setSystemMessage(1, zone)
|
||||
var = 1
|
||||
|
||||
def setText56():
|
||||
bk_text = "Back"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20133)
|
||||
var = 1
|
||||
|
||||
def setText57():
|
||||
bk_text = "Cozy?"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20251)
|
||||
var = 1
|
||||
|
||||
def setText58():
|
||||
bk_text = "Hair"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20300)
|
||||
var = 1
|
||||
|
||||
def setText59():
|
||||
bk_text = "Bore"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20283)
|
||||
var = 1
|
||||
|
||||
def setText60():
|
||||
bk_text = "Dull"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20284)
|
||||
var = 1
|
||||
|
||||
def setText61():
|
||||
bk_text = "Robbed"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20320)
|
||||
var = 1
|
||||
|
||||
def setText62():
|
||||
bk_text = "Brush"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20299)
|
||||
var = 1
|
||||
|
||||
def setText63():
|
||||
bk_text = "Shot"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4301)
|
||||
var = 1
|
||||
|
||||
def setText64():
|
||||
bk_text = "Camera"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20256)
|
||||
var = 1
|
||||
|
||||
def setText65():
|
||||
bk_text = "Split"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(1700)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText66():
|
||||
bk_text = "Stay"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(1701)
|
||||
var = 1
|
||||
|
||||
def setText67():
|
||||
bk_text = "MUD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20071)
|
||||
var = 1
|
||||
|
||||
def setText68():
|
||||
bk_text = "Spunky"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20201)
|
||||
var = 1
|
||||
|
||||
def setText69():
|
||||
bk_text = "Harder"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4203)
|
||||
var = 1
|
||||
|
||||
def setText70():
|
||||
bk_text = "Softer"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4204)
|
||||
var = 1
|
||||
|
||||
def setText71():
|
||||
bk_text = "Stranger"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20329)
|
||||
var = 1
|
||||
|
||||
def setText72():
|
||||
bk_text = "Rid"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20291)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText73():
|
||||
bk_text = "Hunting"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20107)
|
||||
var = 1
|
||||
|
||||
|
||||
|
||||
def setText74():
|
||||
bk_text = "Play"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText75():
|
||||
bk_text = "Work"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
var = 1
|
||||
|
||||
def setText76():
|
||||
bk_text = "Jealous"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
var = 1
|
||||
|
||||
def setText77():
|
||||
bk_text = "Emcee"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistEmcee'))
|
||||
var = 1
|
||||
|
||||
def setText78():
|
||||
bk_text = "Victory"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('victory'))
|
||||
var = 1
|
||||
|
||||
def setText79():
|
||||
bk_text = "Sad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Sad')
|
||||
var = 1
|
||||
|
||||
def setText80():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.enterSitStart()
|
||||
var = 1
|
||||
|
||||
def setText81():
|
||||
bk_text = "Swim"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('swim')
|
||||
var = 1
|
||||
|
||||
def setText82():
|
||||
bk_text = "Died"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('Died'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText83():
|
||||
bk_text = "Port Out"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText84():
|
||||
bk_text = "Port In"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText85():
|
||||
bk_text = "CringeAn"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('cringe'))
|
||||
var = 1
|
||||
|
||||
def setText86():
|
||||
bk_text = "Push"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Push')
|
||||
var = 1
|
||||
|
||||
def setText87():
|
||||
bk_text = "Dive"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
var = 1
|
||||
|
||||
def setText88():
|
||||
bk_text = "Flat"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Flattened')
|
||||
var = 1
|
||||
|
||||
def setText89():
|
||||
bk_text = "Squish"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Squish')
|
||||
var = 1
|
||||
|
||||
def setText90():
|
||||
bk_text = "Eating"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('CatchEating')
|
||||
var = 1
|
||||
|
||||
def setText91():
|
||||
bk_text = "Catching"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('Catching'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText92():
|
||||
bk_text = "Read"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('ReadBook')
|
||||
var = 1
|
||||
|
||||
def setText93():
|
||||
bk_text = "Squat"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('jumpSquat'))
|
||||
var = 1
|
||||
|
||||
def setText94():
|
||||
bk_text = "Fall"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('FallDown'))
|
||||
var = 1
|
||||
|
||||
def setText95():
|
||||
bk_text = "Run"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('run')
|
||||
var = 1
|
||||
|
||||
def setText96():
|
||||
bk_text = "Walk"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('walk')
|
||||
var = 1
|
||||
|
||||
def setText97():
|
||||
bk_text = "Theif"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('CogThiefRunning'))
|
||||
var = 1
|
||||
|
||||
def setText98():
|
||||
bk_text = "Loop"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfPuttLoop')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText99():
|
||||
bk_text = "Rotate ->"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfRotateRight'))
|
||||
var = 1
|
||||
|
||||
def setText100():
|
||||
bk_text = "Rotate <-"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfRotateLeft'))
|
||||
var = 1
|
||||
|
||||
def setText101():
|
||||
bk_text = "Swing"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
||||
var = 1
|
||||
|
||||
def setText102():
|
||||
bk_text = "Bad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfBadPutt')
|
||||
var = 1
|
||||
|
||||
def setText103():
|
||||
bk_text = "Good"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfGoodPutt')
|
||||
var = 1
|
||||
|
||||
def setText104():
|
||||
bk_text = "Garden"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('gardenGame')
|
||||
var = 1
|
||||
|
||||
def setText105():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText106():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText107():
|
||||
bk_text = "RAID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20136)
|
||||
var = 1
|
||||
|
||||
def setText108():
|
||||
bk_text = "Big"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('\n' * 256)
|
||||
var = 1
|
||||
|
||||
def setText109():
|
||||
bk_text = "Gay"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('TT IS ***! \n' * 30)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText110():
|
||||
bk_text = "Lol"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('LOL\n' * 100)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText111():
|
||||
bk_text = "Lol"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('LOL\n' * 100)
|
||||
var = 1
|
||||
|
||||
def setText112():
|
||||
bk_text = "Fail"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('FAIL!\n' *66)
|
||||
var = 1
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("Wve", "em", "em", "Wve"), scale=.04, pos = (-.99999,-.0,.97), command=setText1)
|
||||
b2 = DirectButton(text = ("Hpy", "em", "em", "Hpy"), scale=.04, pos = (-.91,-.0,.97), command=setText2)
|
||||
b3 = DirectButton(text = ("Sd", "em", "em", "Sd"), scale=.04, pos = (-.83,-.0,.97), command=setText3)
|
||||
b4 = DirectButton(text = ("Agr", "em", "em", "Agr"), scale=.04, pos = (-.76,-.0,.97), command=setText4)
|
||||
b5 = DirectButton(text = ("Slp", "em", "em", "Slp"), scale=.04, pos = (-.69,-.0,.97), command=setText5)
|
||||
b6 = DirectButton(text = ("Shr", "em", "em", "Shr"), scale=.04, pos = (-.62,-.0,.97), command=setText6)
|
||||
b7 = DirectButton(text = ("Dan", "em", "em", "Dan"), scale=.04, pos = (-.54,-.0,.97), command=setText7)
|
||||
b8 = DirectButton(text = ("Thk", "em", "em", "Thk"), scale=.04, pos = (-.46,-.0,.97), command=setText8)
|
||||
b9 = DirectButton(text = ("Bor", "em", "em", "Bor"), scale=.04, pos = (-.38,-.0,.97), command=setText9)
|
||||
b10 = DirectButton(text = ("App", "em", "em", "app"), scale=.04, pos = (-.30,-.0,.97), command=setText10)
|
||||
b11 = DirectButton(text = ("Cri", "em", "em", "Cri"), scale=.04, pos = (-.23,-.0,.97), command=setText11)
|
||||
b12 = DirectButton(text = ("Co", "em", "em", "Co"), scale=.04, pos = (-.16,-.0,.97), command=setText12)
|
||||
b13 = DirectButton(text = ("Flo", "em", "em", "Flo"), scale=.04, pos = (-.10,-.0,.97), command=setText13)
|
||||
b14 = DirectButton(text = ("Bow", "em", "em", "Bow"), scale=.04, pos = (-.02,-.0,.97), command=setText14)
|
||||
b15 = DirectButton(text = ("Pel", "em", "em", "Pel"), scale=.04, pos = (.06,-.0,.97), command=setText15)
|
||||
b16 = DirectButton(text = ("Sal", "em", "em", "Sal"), scale=.04, pos = (.13,-.0,.97), command=setText16)
|
||||
b17 = DirectButton(text = ("Yes", "em", "em", "Yes"), scale=.04, pos = (.20,-.0,.97), command=setText17)
|
||||
b18 = DirectButton(text = ("No", "em", "em", "No"), scale=.04, pos = (.27,-.0,.97), command=setText18)
|
||||
b19 = DirectButton(text = ("Sur", "em", "em", "Sur"), scale=.04, pos = (.33,-.0,.97), command=setText19)
|
||||
b20 = DirectButton(text = ("Cry", "em", "em", "Cry"), scale=.04, pos = (.41,-.0,.97), command=setText20)
|
||||
b21 = DirectButton(text = ("Del", "em", "em", "Del"), scale=.04, pos = (.48,-.0,.97), command=setText21)
|
||||
b22 = DirectButton(text = ("Frs", "em", "em", "Frs"), scale=.04, pos = (.55,-.0,.97), command=setText22)
|
||||
b23 = DirectButton(text = ("Laf", "em", "em", "Laf"), scale=.04, pos = (.62,-.0,.97), command=setText23)
|
||||
b24 = DirectButton(text = ("Mem", "mem", "mem", "Mem"), scale=.04, pos = (.71,-.0,.97), command=setText24)
|
||||
b25 = DirectButton(text = ("GTP", "gtp", "gtp", "GTP"), scale=.04, pos = (.80,-.0,.97), command=setText25)
|
||||
b26 = DirectButton(text = ("Cloth", "cloth", "cloth", "Cloth"), scale=.04, pos = (.89,-.0,.97), command=setText26)
|
||||
b27 = DirectButton(text = ("Clone", "clone", "clone", "Clone"), scale=.04, pos = (.99999,-.0,.97), command=setText27)
|
||||
b28 = DirectButton(text = ("NoP", "pos", "pos", "NoP"), scale=.04, pos = (-.99999,-.0,.90), command=setText28)
|
||||
b29 = DirectButton(text = ("UpD", "pos", "pos", "UpD"), scale=.04, pos = (-.91,-.0,.90), command=setText29)
|
||||
b30 = DirectButton(text = ("UpD2", "pos", "pos", "UpD2"), scale=.04, pos = (-.81,-.0,.90), command=setText30)
|
||||
b31 = DirectButton(text = ("UpD3", "pos", "pos", "UpD3"), scale=.04, pos = (-.70,-.0,.90), command=setText31)
|
||||
b32 = DirectButton(text = ("UpD4", "pos", "pos", "UpD4"), scale=.04, pos = (-.59,-.0,.90), command=setText32)
|
||||
b33 = DirectButton(text = ("FoF", "pos", "pos", "FoF"), scale=.04, pos = (-.499,-.0,.90), command=setText33)
|
||||
b34 = DirectButton(text = ("FoF2", "pos", "pos", "FoF2"), scale=.04, pos = (-.40,-.0,.90), command=setText34)
|
||||
b35 = DirectButton(text = ("FoF3", "pos", "pos", "FoF3"), scale=.04, pos = (-.30,-.0,.90), command=setText35)
|
||||
b36 = DirectButton(text = ("FoF4", "pos", "pos", "FoF4"), scale=.04, pos = (-.20,-.0,.90), command=setText36)
|
||||
b37 = DirectButton(text = ("BoF", "pos", "pos", "BoF"), scale=.04, pos = (-.10,-.0,.90), command=setText37)
|
||||
b38 = DirectButton(text = ("BoF2", "pos", "pos", "BoF2"), scale=.04, pos = (-.0,-.0,.90), command=setText38)
|
||||
b39 = DirectButton(text = ("BoF3", "pos", "pos", "BoF3"), scale=.04, pos = (.10,-.0,.90), command=setText39)
|
||||
b40 = DirectButton(text = ("BoF4", "pos", "pos", "BoF4"), scale=.04, pos = (.20,-.0,.90), command=setText40)
|
||||
b41 = DirectButton(text = ("Sid", "pos", "pos", "Sid"), scale=.04, pos = (.29,-.0,.90), command=setText41)
|
||||
b42 = DirectButton(text = ("Sid2", "pos", "pos", "Sid2"), scale=.04, pos = (.37,-.0,.90), command=setText42)
|
||||
b43 = DirectButton(text = ("Sid3", "ps", "pos", "Sid3"), scale=.04, pos = (.47,-.0,.90), command=setText43)
|
||||
b44 = DirectButton(text = ("Sid4", "pos", "pos", "Sid4"), scale=.04, pos = (.57,-.0,.90), command=setText44)
|
||||
b45 = DirectButton(text = ("COff", "coff", "coff", "COff"), scale=.04, pos = (.67,-.0,.90), command=setText45)
|
||||
b46 = DirectButton(text = ("COn", "con", "con", "COn"), scale=.04, pos = (.77,-.0,.90), command=setText46)
|
||||
b47 = DirectButton(text = ("Grv", "Grv", "Grv", "Grv"), scale=.04, pos = (.85,-.0,.90), command=setText47)
|
||||
b48 = DirectButton(text = ("ID", "ID", "ID", "ID"), scale=.04, pos = (.92,-.0,.90), command=setText48)
|
||||
b49 = DirectButton(text = ("Farms", "zone", "zone", "Farms"), scale=.04, pos = (-.99999,-.0,.83), command=setText49)
|
||||
b50 = DirectButton(text = ("FINV", "zone", "zone", "FINV"), scale=.04, pos = (-.89,-.0,.83), command=setText50)
|
||||
b51 = DirectButton(text = ("TTC", "zone", "zone", "TTC"), scale=.04, pos = (-.80,-.0,.83), command=setText51)
|
||||
b52 = DirectButton(text = ("TINV", "zone", "zone", "TINV"), scale=.04, pos = (-.71,-.0,.83), command=setText52)
|
||||
b53 = DirectButton(text = ("Crm", "ph", "ph", "Crm"), scale=.04, pos = (-.61,-.0,.83), command=setText53)
|
||||
b54 = DirectButton(text = ("Bon", "ph", "ph", "Bon"), scale=.04, pos = (-.53,-.0,.83), command=setText54)
|
||||
b55 = DirectButton(text = ("Z", "z", "z", "Z"), scale=.04, pos = (.99999,-.0,.90), command=setText55)
|
||||
b56 = DirectButton(text = ("Bck", "ph", "ph", "Bck"), scale=.04, pos = (-.44,-.0,.83), command=setText56)
|
||||
b57 = DirectButton(text = ("Czy", "ph", "ph", "Czy"), scale=.04, pos = (-.36,-.0,.83), command=setText57)
|
||||
b58 = DirectButton(text = ("Hai", "ph", "ph", "Hai"), scale=.04, pos = (-.28,-.0,.83), command=setText58)
|
||||
b59 = DirectButton(text = ("Bor", "ph", "ph", "bor"), scale=.04, pos = (-.21,-.0,.83), command=setText59)
|
||||
b60 = DirectButton(text = ("Dul", "ph", "ph", "Dul"), scale=.04, pos = (-.14,-.0,.83), command=setText60)
|
||||
b61 = DirectButton(text = ("Rob", "ph", "ph", "Rob"), scale=.04, pos = (-.06,-.0,.83), command=setText61)
|
||||
b62 = DirectButton(text = ("Bru", "ph", "ph", "Bru"), scale=.04, pos = (.02,-.0,.83), command=setText62)
|
||||
b63 = DirectButton(text = ("Sht", "ph", "ph", "Sht"), scale=.04, pos = (.10,-.0,.83), command=setText63)
|
||||
b64 = DirectButton(text = ("Cam", "ph", "ph", "Cam"), scale=.04, pos = (.18,-.0,.83), command=setText64)
|
||||
b65 = DirectButton(text = ("Spt", "ph", "ph", "Spt"), scale=.04, pos = (.26,-.0,.83), command=setText65)
|
||||
b66 = DirectButton(text = ("Sty", "ph", "ph", "Sty"), scale=.04, pos = (.34,-.0,.83), command=setText66)
|
||||
b67 = DirectButton(text = ("MUD", "ph", "ph", "MUD"), scale=.04, pos = (.43,-.0,.83), command=setText67)
|
||||
b68 = DirectButton(text = ("Spky", "ph", "ph", "spky"), scale=.04, pos = (.53,-.0,.83), command=setText68)
|
||||
b69 = DirectButton(text = ("Hard", "ph", "ph", "Hard"), scale=.04, pos = (.63,-.0,.83), command=setText69)
|
||||
b70 = DirectButton(text = ("Soft", "ph", "ph", "Soft"), scale=.04, pos = (.73,-.0,.83), command=setText70)
|
||||
b71 = DirectButton(text = ("Str", "ph", "ph", "Str"), scale=.04, pos = (.81,-.0,.83), command=setText71)
|
||||
b72 = DirectButton(text = ("Rid", "ph", "ph", "Rid"), scale=.04, pos = (.89,-.0,.83), command=setText72)
|
||||
b73 = DirectButton(text = ("Hunt", "ph", "ph", "Hunt"), scale=.04, pos = (.98,-.0,.83), command=setText73)
|
||||
b74= DirectButton(text = ("Sp", "ani", "ani", "Sp"), scale=.04, pos = (-.99999,-.0,-.97), command=setText74)
|
||||
b75= DirectButton(text = ("Sw", "ani", "ani", "Sw"), scale=.04, pos = (-.94,-.0,-.97), command=setText75)
|
||||
b76= DirectButton(text = ("Sj", "ani", "ani", "Sj"), scale=.04, pos = (-.88,-.0,-.97), command=setText76)
|
||||
b77= DirectButton(text = ("Se", "ani", "ani", "Se"), scale=.04, pos = (-.83,-.0,-.97), command=setText77)
|
||||
b78= DirectButton(text = ("Vic", "ani", "ani", "Vic"), scale=.04, pos = (-.76,-.0,-.97), command=setText78)
|
||||
b79= DirectButton(text = ("Sad", "ani", "ani", "Sad"), scale=.04, pos = (-.68,-.0,-.97), command=setText79)
|
||||
b80= DirectButton(text = ("Sit", "ani", "ani", "Sit"), scale=.04, pos = (-.61,-.0,-.97), command=setText80)
|
||||
b81= DirectButton(text = ("Swm", "ani", "ani", "Swm"), scale=.04, pos = (-.53,-.0,-.97), command=setText81)
|
||||
b82= DirectButton(text = ("DIE", "ani", "ani", "DIE"), scale=.04, pos = (-.45,-.0,-.97), command=setText82)
|
||||
b83= DirectButton(text = ("TPo", "ani", "ani", "TPo"), scale=.04, pos = (-.37,-.0,-.97), command=setText83)
|
||||
b84= DirectButton(text = ("TPi", "ani", "ani", "TPi"), scale=.04, pos = (-.30,-.0,-.97), command=setText84)
|
||||
b85= DirectButton(text = ("Crin", "ani", "ani", "Cri"), scale=.04, pos = (-.23,-.0,-.97), command=setText85)
|
||||
b86= DirectButton(text = ("Psh", "ani", "ani", "Psh"), scale=.04, pos = (-.23,-.0,-.97), command=setText86)
|
||||
b87= DirectButton(text = ("Div", "ani", "ani", "Div"), scale=.04, pos = (-.16,-.0,-.97), command=setText87)
|
||||
b88= DirectButton(text = ("Flt", "ani", "ani", "Flt"), scale=.04, pos = (-.10,-.0,-.97), command=setText88)
|
||||
b89= DirectButton(text = ("Sq", "ani", "ani", "Sq"), scale=.04, pos = (-.04,-.0,-.97), command=setText89)
|
||||
b90= DirectButton(text = ("CaE", "ani", "ani", "CaE"), scale=.04, pos = (.03,-.0,-.97), command=setText90)
|
||||
b91= DirectButton(text = ("Cac", "ani", "ani", "Cac"), scale=.04, pos = (.11,-.0,-.97), command=setText91)
|
||||
b92= DirectButton(text = ("Bok", "ani", "ani", "Bok"), scale=.04, pos = (.19,-.0,-.97), command=setText92)
|
||||
b93= DirectButton(text = ("Sqa", "ani", "ani", "squa"), scale=.04, pos = (.27,-.0,-.97), command=setText93)
|
||||
b94= DirectButton(text = ("Fal", "ani", "ani", "Fal"), scale=.04, pos = (.34,-.0,-.97), command=setText94)
|
||||
b95= DirectButton(text = ("Run", "ani", "ani", "Run"), scale=.04, pos = (.42,-.0,-.97), command=setText95)
|
||||
b96= DirectButton(text = ("Wal", "ani", "ani", "Wal"), scale=.04, pos = (.50,-.0,-.97), command=setText96)
|
||||
b97= DirectButton(text = ("CoT", "ani", "ani", "CoT"), scale=.04, pos = (.58,-.0,-.97), command=setText97)
|
||||
b98= DirectButton(text = ("Gp", "ani", "ani", "GP"), scale=.04, pos = (.65,-.0,-.97), command=setText98)
|
||||
b99= DirectButton(text = ("Gr", "ani", "ani", "Gr"), scale=.04, pos = (.71,-.0,-.97), command=setText99)
|
||||
b100= DirectButton(text = ("Gl", "ani", "ani", "Gl"), scale=.04, pos = (.76,-.0,-.97), command=setText100)
|
||||
b101= DirectButton(text = ("Gs", "ani", "ani", "Gs"), scale=.04, pos = (.81,-.0,-.97), command=setText101)
|
||||
b102= DirectButton(text = ("Gb", "ani", "ani", "Gb"), scale=.04, pos = (.87,-.0,-.97), command=setText102)
|
||||
b103= DirectButton(text = ("Gg", "ani", "ani", "Gg"), scale=.04, pos = (.93,-.0,-.97), command=setText103)
|
||||
b104 = DirectButton(text = ("G", "G", "G", "G"), scale=.04, pos = (.96,-.0,.90), command=setText104)
|
||||
b105= DirectButton(text = ("Die", "-3", "-3", "Die"), scale=.04, pos = (-.99999,-.0,-.91), command=setText105)
|
||||
b106= DirectButton(text = ("Laff", "+lp", "+lp", "Laff"), scale=.04, pos = (-.93,-.0,-.91), command=setText106)
|
||||
b107= DirectButton(text = ("Raid", "ph", "ph", "Raid"), scale=.04, pos = (-.84,-.0,-.91), command=setText107)
|
||||
b108= DirectButton(text = ("Big", "big", "big", "Big"), scale=.04, pos = (-.76,-.0,-.91), command=setText108)
|
||||
b109= DirectButton(text = ("Gay", "big", "big", "Gay"), scale=.04, pos = (-.68,-.0,-.91), command=setText109)
|
||||
b110= DirectButton(text = ("Lol", "big", "big", "Lol"), scale=.04, pos = (-.61,-.0,-.91), command=setText110)
|
||||
b111= DirectButton(text = ("Nb", "big", "big", "Nb"), scale=.04, pos = (-.55,-.0,-.91), command=setText111)
|
||||
b112= DirectButton(text = ("Fai", "big", "big", "Fai"), scale=.04, pos = (-.49,-.0,-.91), command=setText112)
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,214 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
bk_text = " "
|
||||
textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
|
||||
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||||
|
||||
def normal1():
|
||||
bk_text = " "
|
||||
textObject.setText(bk_text)
|
||||
|
||||
def setText1():
|
||||
bk_text = "Collisions Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "RAID!"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20136)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Collisons On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "River"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.book.pages[1].showPop = 1
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Big"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('\n' * 256)
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Funny"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "ttc"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = ""
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "C.o.n"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('swim'))
|
||||
var = 1
|
||||
def setText13():
|
||||
bk_text = "sw"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "v"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('victory'))
|
||||
var = 1
|
||||
|
||||
def setText15():
|
||||
bk_text = "d"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
var = 1
|
||||
|
||||
def setText16():
|
||||
bk_text = "to"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "ti"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "jab"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('jumpAirborne'))
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "jl"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('jumpLand'))
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "Sj"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "Flip"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,180)
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "Flip"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,270,0)
|
||||
var = 1
|
||||
|
||||
def setText23():
|
||||
bk_text = "Stealth"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2090)
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "FFStealth"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7090)
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "Disconnect"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_setAnimState("Disconnected")
|
||||
var = 1
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("C.Off", "c.off", "c.off", "C.Off"), scale=.0000000000000000000000006, pos = (-.98,-0,-.95), command=setText1)
|
||||
b2 = DirectButton(text = ("RAID", "raid", "raid", "RAID"), scale=.00000000000000006, pos = (-.8,-0,-.95), command=setText2)
|
||||
b3 = DirectButton(text = ("Laff", "laff", "laff", "Laff"), scale=.00000000000000000006, pos = (-.6,-0,-.95), command=setText3)
|
||||
b4 = DirectButton(text = ("Die", "die", "die", "Die"), scale=.00000000000000006, pos = (-.28,-0,-.95), command=setText4)
|
||||
b5 = DirectButton(text = ("C.On", "c.on", "c.on", "C.On"), scale=.0000000000006, pos = (-0,-0,-.95), command=setText5)
|
||||
b6 = DirectButton(text = ("Mem", "mem", "mem", "Mem"), scale=.0000000000000000006, pos = (.16,-0,-.95), command=setText6)
|
||||
b7 = DirectButton(text = ("River", "river", "river", "River"), scale=.0000000000000000006, pos = (.35,-0,-.95), command=setText7)
|
||||
b8 = DirectButton(text = ("Clothes", "clothes", "clothes", "Clothes"), scale=.0000000000000000000006, pos = (.565,-0,-.95), command=setText8)
|
||||
b9 = DirectButton(text = ("Big", "Big", "Big", "Big"), scale=.0000000000000000000000006, pos = (.65,-10,-.495), command=setText9)
|
||||
b10 = DirectButton(text = ("Funny", "Funny", "Funny", "Funny"), scale=.0000000000000000000000006, pos = (.5,-1,-.5), command=setText10)
|
||||
b11 = DirectButton(text = ("ttc", "ttc", "ttc", "ttc"), scale=.0000000000000000000000006, pos = (.35,-41,-.1), command=setText11)
|
||||
b12 = DirectButton(text = ("C.o.n", "C.o.n", "C.o.n", "C.o.n"), scale=.000000000000000000000006, pos = (.65,-0,-.90), command=setText12)
|
||||
b13 = DirectButton(text = ("sw", "sw", "sw", "sw"), scale=.0000000000000000000000006, pos = (.40,-0,-.90), command=setText13)
|
||||
b14 = DirectButton(text = ("v", "v", "v", "v"), scale=.000000000000000000000006, pos = (.24,-0,-.90), command=setText14)
|
||||
b15 = DirectButton(text = ("d", "d", "d", "d"), scale=.0000000000000000000006, pos = (.22,-0,-.60), command=setText15)
|
||||
b16 = DirectButton(text = ("to", "to", "to", "to"), scale=.00000000000000000000006, pos = (.20,-0,-.40), command=setText16)
|
||||
b17 = DirectButton(text = ("ti", "ti", "ti", "ti"), scale=.00000000000000000000006, pos = (.17,-0,-.15), command=setText17)
|
||||
b18 = DirectButton(text = ("jab", "jab", "jab", "jab"), scale=.000000000000000006, pos = (.15,-0,-.16), command=setText18)
|
||||
b19 = DirectButton(text = ("jl", "jl", "jl", "jl"), scale=.000000000000000006, pos = (.13,-0,-.5), command=setText19)
|
||||
b20 = DirectButton(text = ("Sj", "Sj", "Sj", "Sj"), scale=.00000000000006, pos = (.10,-0,-.2), command=setText20)
|
||||
b21 = DirectButton(text = ("Flip", "Flip", "Flip", "Flip"), scale=.00000000000000000006, pos = (.17,-0,-.29), command=setText21)
|
||||
b22 = DirectButton(text = ("Flip2", "Flip2", "Flip2", "Flip2"), scale=.00000000000000000000006, pos = (.22,-2,-.39), command=setText22)
|
||||
b23 = DirectButton(text = ("Stealth", "Stealth", "Stealth", "Stealth"), scale=.00000000000000000006, pos = (.57,-2,-.39), command=setText23)
|
||||
b24 = DirectButton(text = ("FFStealth", "FFStealth", "FFStealth", "FFStealth"), scale=.0000000000000006, pos = (.12,-2,-.80), command=setText24)
|
||||
b25 = DirectButton(text = ("Disconnected", "Disconnected", "Disconnected", "Disconnected"), scale=.16, pos = (.62,-42,-.90), command=setText25)
|
||||
|
||||
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)
|
|
@ -0,0 +1,778 @@
|
|||
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.92),
|
||||
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 = "Stop"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20341)
|
||||
var = 1
|
||||
|
||||
def setText2():
|
||||
bk_text = "Spin"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20349)
|
||||
var = 1
|
||||
|
||||
def setText3():
|
||||
bk_text = "Headache"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20113)
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Shortfall"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20335)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Plan"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20293)
|
||||
var = 1
|
||||
|
||||
def setText6():
|
||||
bk_text = "Hall"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2513)
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Bank"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2514)
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Library"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2518)
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "SBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(11100)
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "CBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(12100)
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "LBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(13100)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "BBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(10100)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText14():
|
||||
bk_text = "Splash"
|
||||
textObject.setText(bk_text)
|
||||
toon = base.cr.doFindAll("Big Winky")
|
||||
base.localAvatar.d_playSplashEffect(base.localAvatar.getX(), base.localAvatar.getY(), base.localAvatar.getZ())
|
||||
base.localAvatar.playSplashEffect(base.localAvatar.getX(), base.localAvatar.getY(), base.localAvatar.getZ())
|
||||
var = 1
|
||||
|
||||
|
||||
def setText15():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText16():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "Raid"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20136)
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "Speed"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed=100
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "Rotate"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlRotateSpeed=100
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "Reverse"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlReverseSpeed=75
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "Jump"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 50
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "Garden"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('gardenGame')
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "Global"
|
||||
textObject.setText(bk_text)
|
||||
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
|
||||
var = 1
|
||||
|
||||
def setText26():
|
||||
bk_text = "Clothes"
|
||||
textObject.setText(bk_text)
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
var = 1
|
||||
|
||||
def setText27():
|
||||
bk_text = ""
|
||||
textObject.setText(bk_text)
|
||||
cc = base.cr.doFindAll("Big Winky")
|
||||
for cc in base.cr.doFindAll("Big Winky"):
|
||||
cc.copyTo(render)
|
||||
|
||||
def setText28():
|
||||
bk_text = "Normal"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,0))
|
||||
var = 1
|
||||
|
||||
def setText29():
|
||||
bk_text = "UpD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText30():
|
||||
bk_text = "UpD2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((30,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText31():
|
||||
bk_text = "UpD3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((50,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText32():
|
||||
bk_text = "UpD4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((70,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText33():
|
||||
bk_text = "FoF"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-50,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText34():
|
||||
bk_text = "FoF2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-60,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText35():
|
||||
bk_text = "FoF3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-70,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText36():
|
||||
bk_text = "FoF4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-80,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText37():
|
||||
bk_text = "BoF"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText38():
|
||||
bk_text = "BoF2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,80,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText39():
|
||||
bk_text = "BoF3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,70,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText40():
|
||||
bk_text = "BoF4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,60,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText41():
|
||||
bk_text = "SID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
|
||||
def setText42():
|
||||
bk_text = "SID2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,-90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText43():
|
||||
bk_text = "SID3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,80)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText44():
|
||||
bk_text = "SID3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,-80)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText45():
|
||||
bk_text = "Co Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText46():
|
||||
bk_text = "Co On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 1
|
||||
|
||||
def setText47():
|
||||
bk_text = "Gravity"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.setGravity(1)
|
||||
|
||||
def setText48():
|
||||
bk_text = "Show ID"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('nameTagShowAvId')
|
||||
|
||||
|
||||
def setText49():
|
||||
bk_text = "Farms"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
def setText50():
|
||||
bk_text = "FINV"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7090)
|
||||
var = 1
|
||||
|
||||
def setText51():
|
||||
bk_text = "TTC"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText52():
|
||||
bk_text = "TINV"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2090)
|
||||
var = 1
|
||||
|
||||
def setText53():
|
||||
bk_text = "Cream"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20150)
|
||||
var = 1
|
||||
|
||||
def setText54():
|
||||
bk_text = "Bonus"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2223)
|
||||
var = 1
|
||||
|
||||
def setText55():
|
||||
bk_text = "Zone"
|
||||
textObject.setText(bk_text)
|
||||
zone = base.localAvatar.getZoneId()
|
||||
zone = str(zone)
|
||||
base.localAvatar.setSystemMessage(1, zone)
|
||||
var = 1
|
||||
|
||||
def setText56():
|
||||
bk_text = "Back"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20133)
|
||||
var = 1
|
||||
|
||||
def setText57():
|
||||
bk_text = "Cozy?"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20251)
|
||||
var = 1
|
||||
|
||||
def setText58():
|
||||
bk_text = "Hair"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20300)
|
||||
var = 1
|
||||
|
||||
def setText59():
|
||||
bk_text = "Bore"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20283)
|
||||
var = 1
|
||||
|
||||
def setText60():
|
||||
bk_text = "Dull"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20284)
|
||||
var = 1
|
||||
|
||||
def setText61():
|
||||
bk_text = "Robbed"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20320)
|
||||
var = 1
|
||||
|
||||
def setText62():
|
||||
bk_text = "Brush"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20299)
|
||||
var = 1
|
||||
|
||||
def setText63():
|
||||
bk_text = "Shot"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4301)
|
||||
var = 1
|
||||
|
||||
def setText64():
|
||||
bk_text = "Camera"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20256)
|
||||
var = 1
|
||||
|
||||
def setText65():
|
||||
bk_text = "Split"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(1700)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText66():
|
||||
bk_text = "Stay"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(1701)
|
||||
var = 1
|
||||
|
||||
def setText67():
|
||||
bk_text = "MUD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20071)
|
||||
var = 1
|
||||
|
||||
def setText68():
|
||||
bk_text = "Spunky"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20201)
|
||||
var = 1
|
||||
|
||||
def setText69():
|
||||
bk_text = "Harder"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4203)
|
||||
var = 1
|
||||
|
||||
def setText70():
|
||||
bk_text = "Softer"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4204)
|
||||
var = 1
|
||||
|
||||
def setText71():
|
||||
bk_text = "Stranger"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20329)
|
||||
var = 1
|
||||
|
||||
def setText72():
|
||||
bk_text = "Rid"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20291)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText73():
|
||||
bk_text = "Hunting"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20107)
|
||||
var = 1
|
||||
|
||||
|
||||
|
||||
def setText74():
|
||||
bk_text = "Play"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText75():
|
||||
bk_text = "Work"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
var = 1
|
||||
|
||||
def setText76():
|
||||
bk_text = "Jealous"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
var = 1
|
||||
|
||||
def setText77():
|
||||
bk_text = "Emcee"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistEmcee'))
|
||||
var = 1
|
||||
|
||||
def setText78():
|
||||
bk_text = "Victory"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('victory'))
|
||||
var = 1
|
||||
|
||||
def setText79():
|
||||
bk_text = "Sad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Sad')
|
||||
var = 1
|
||||
|
||||
def setText80():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.enterSitStart()
|
||||
var = 1
|
||||
|
||||
def setText81():
|
||||
bk_text = "Swim"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('swim')
|
||||
var = 1
|
||||
|
||||
def setText82():
|
||||
bk_text = "Died"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('Died'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText83():
|
||||
bk_text = "Port Out"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText84():
|
||||
bk_text = "Port In"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText85():
|
||||
bk_text = "CringeAn"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('cringe'))
|
||||
var = 1
|
||||
|
||||
def setText86():
|
||||
bk_text = "Push"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Push')
|
||||
var = 1
|
||||
|
||||
def setText87():
|
||||
bk_text = "Dive"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
var = 1
|
||||
|
||||
def setText88():
|
||||
bk_text = "Flat"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Flattened')
|
||||
var = 1
|
||||
|
||||
def setText89():
|
||||
bk_text = "Squish"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Squish')
|
||||
var = 1
|
||||
|
||||
def setText90():
|
||||
bk_text = "Eating"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('CatchEating')
|
||||
var = 1
|
||||
|
||||
def setText91():
|
||||
bk_text = "Catching"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('Catching'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText92():
|
||||
bk_text = "Read"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('ReadBook')
|
||||
var = 1
|
||||
|
||||
def setText93():
|
||||
bk_text = "Squat"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('jumpSquat'))
|
||||
var = 1
|
||||
|
||||
def setText94():
|
||||
bk_text = "Fall"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('FallDown'))
|
||||
var = 1
|
||||
|
||||
def setText95():
|
||||
bk_text = "Run"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('run')
|
||||
var = 1
|
||||
|
||||
def setText96():
|
||||
bk_text = "Walk"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('walk')
|
||||
var = 1
|
||||
|
||||
def setText97():
|
||||
bk_text = "Theif"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('CogThiefRunning'))
|
||||
var = 1
|
||||
|
||||
def setText98():
|
||||
bk_text = "Loop"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfPuttLoop')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText99():
|
||||
bk_text = "Rotate ->"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfRotateRight'))
|
||||
var = 1
|
||||
|
||||
def setText100():
|
||||
bk_text = "Rotate <-"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfRotateLeft'))
|
||||
var = 1
|
||||
|
||||
def setText101():
|
||||
bk_text = "Swing"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
||||
var = 1
|
||||
|
||||
def setText102():
|
||||
bk_text = "Bad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfBadPutt')
|
||||
var = 1
|
||||
|
||||
def setText103():
|
||||
bk_text = "Good"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfGoodPutt')
|
||||
var = 1
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("Stp", "ph", "ph", "Stp"), scale=.04, pos = (-.99999,-.0,.83), command=setText1)
|
||||
b2 = DirectButton(text = ("Spn", "ph", "ph", "Spn"), scale=.04, pos = (-.91,-.0,.83), command=setText2)
|
||||
b3 = DirectButton(text = ("Hd", "ph", "ph", "Hd"), scale=.04, pos = (-.83,-.0,.83), command=setText3)
|
||||
b4 = DirectButton(text = ("Sho", "ph", "ph", "Sho"), scale=.04, pos = (-.76,-.0,.83), command=setText4)
|
||||
b5 = DirectButton(text = ("Pln", "ph", "ph", "Pln"), scale=.04, pos = (-.69,-.0,.83), command=setText5)
|
||||
b6 = DirectButton(text = ("Hall", "zone", "zone", "Hall"), scale=.04, pos = (-.62,-.0,.97), command=setText6)
|
||||
b7 = DirectButton(text = ("Bnk", "zone", "zone", "Bnk"), scale=.04, pos = (-.54,-.0,.97), command=setText7)
|
||||
b8 = DirectButton(text = ("Lib", "zone", "zone", "Lib"), scale=.04, pos = (-.47,-.0,.97), command=setText8)
|
||||
b9 = DirectButton(text = ("SB", "HQ", "HQ", "SB"), scale=.04, pos = (-.40,-.0,.97), command=setText9)
|
||||
b10 = DirectButton(text = ("CB", "HQ", "HQ", "CB"), scale=.04, pos = (-.34,-.0,.97), command=setText10)
|
||||
b11 = DirectButton(text = ("LB", "HQ", "HQ", "LB"), scale=.04, pos = (-.28,-.0,.97), command=setText11)
|
||||
b12 = DirectButton(text = ("BB", "HQ", "HQ", "BB"), scale=.04, pos = (-.21,-.0,.97), command=setText12)
|
||||
b14 = DirectButton(text = ("Splash", "SPLASH", "SPLASH", "SPLASH"), scale=.04, pos = (-.07,-.0,.97), command=setText14)
|
||||
b15 = DirectButton(text = ("Die", "-3", "-3", "Die"), scale=.04, pos = (.07,-.0,.97), command=setText15)
|
||||
b16 = DirectButton(text = ("Laff", "+", "+", "Laff"), scale=.04, pos = (.15,-.0,.97), command=setText16)
|
||||
b17 = DirectButton(text = ("Raid", "ph", "ph", "Raid"), scale=.04, pos = (.24,-.0,.97), command=setText17)
|
||||
b18 = DirectButton(text = ("Speed", "speed", "speed", "Speed"), scale=.04, pos = (.35,-.0,.97), command=setText18)
|
||||
b19 = DirectButton(text = ("Rot", "ate", "ate", "Rot"), scale=.04, pos = (.448,-.0,.97), command=setText19)
|
||||
b20 = DirectButton(text = ("Rev", "ers", "ers", "Rev"), scale=.04, pos = (.53,-.0,.97), command=setText20)
|
||||
b21 = DirectButton(text = ("Ju", "mp", "mp", "Ju"), scale=.04, pos = (.595,-.0,.97), command=setText21)
|
||||
b22 = DirectButton(text = ("G", "g", "g", "G"), scale=.04, pos = (.64,-.0,.97), command=setText22)
|
||||
b24 = DirectButton(text = ("Mem", "mem", "mem", "Mem"), scale=.04, pos = (.71,-.0,.97), command=setText24)
|
||||
b25 = DirectButton(text = ("GTP", "Tp", "Tp", "GTP"), scale=.04, pos = (.80,-.0,.97), command=setText25)
|
||||
b26 = DirectButton(text = ("Cloth", "cloth", "cloth", "Cloth"), scale=.04, pos = (.89,-.0,.97), command=setText26)
|
||||
b27 = DirectButton(text = ("Clone", "clone", "clone", "Clone"), scale=.04, pos = (.99999,-.0,.97), command=setText27)
|
||||
b28 = DirectButton(text = ("NoP", "pos", "pos", "NoP"), scale=.04, pos = (-.99999,-.0,.90), command=setText28)
|
||||
b29 = DirectButton(text = ("UpD", "pos", "pos", "UpD"), scale=.04, pos = (-.91,-.0,.90), command=setText29)
|
||||
b30 = DirectButton(text = ("UpD2", "pos", "pos", "UpD2"), scale=.04, pos = (-.81,-.0,.90), command=setText30)
|
||||
b31 = DirectButton(text = ("UpD3", "pos", "pos", "UpD3"), scale=.04, pos = (-.70,-.0,.90), command=setText31)
|
||||
b32 = DirectButton(text = ("UpD4", "pos", "pos", "UpD4"), scale=.04, pos = (-.59,-.0,.90), command=setText32)
|
||||
b33 = DirectButton(text = ("FoF", "pos", "pos", "FoF"), scale=.04, pos = (-.499,-.0,.90), command=setText33)
|
||||
b34 = DirectButton(text = ("FoF2", "pos", "pos", "FoF2"), scale=.04, pos = (-.40,-.0,.90), command=setText34)
|
||||
b35 = DirectButton(text = ("FoF3", "pos", "pos", "FoF3"), scale=.04, pos = (-.30,-.0,.90), command=setText35)
|
||||
b36 = DirectButton(text = ("FoF4", "pos", "pos", "FoF4"), scale=.04, pos = (-.20,-.0,.90), command=setText36)
|
||||
b37 = DirectButton(text = ("BoF", "pos", "pos", "BoF"), scale=.04, pos = (-.10,-.0,.90), command=setText37)
|
||||
b38 = DirectButton(text = ("BoF2", "pos", "pos", "BoF2"), scale=.04, pos = (-.0,-.0,.90), command=setText38)
|
||||
b39 = DirectButton(text = ("BoF3", "pos", "pos", "BoF3"), scale=.04, pos = (.10,-.0,.90), command=setText39)
|
||||
b40 = DirectButton(text = ("BoF4", "pos", "pos", "BoF4"), scale=.04, pos = (.20,-.0,.90), command=setText40)
|
||||
b41 = DirectButton(text = ("Sid", "pos", "pos", "Sid"), scale=.04, pos = (.29,-.0,.90), command=setText41)
|
||||
b42 = DirectButton(text = ("Sid2", "pos", "pos", "Sid2"), scale=.04, pos = (.37,-.0,.90), command=setText42)
|
||||
b43 = DirectButton(text = ("Sid3", "ps", "pos", "Sid3"), scale=.04, pos = (.47,-.0,.90), command=setText43)
|
||||
b44 = DirectButton(text = ("Sid4", "pos", "pos", "Sid4"), scale=.04, pos = (.57,-.0,.90), command=setText44)
|
||||
b45 = DirectButton(text = ("COff", "coff", "coff", "COff"), scale=.04, pos = (.67,-.0,.90), command=setText45)
|
||||
b46 = DirectButton(text = ("COn", "con", "con", "COn"), scale=.04, pos = (.77,-.0,.90), command=setText46)
|
||||
b47 = DirectButton(text = ("Grv", "Grv", "Grv", "Grv"), scale=.04, pos = (.85,-.0,.90), command=setText47)
|
||||
b48 = DirectButton(text = ("ID", "ID", "ID", "ID"), scale=.04, pos = (.92,-.0,.90), command=setText48)
|
||||
b49 = DirectButton(text = ("Farms", "zone", "zone", "Farms"), scale=.04, pos = (-.99999,-.0,.97), command=setText49)
|
||||
b50 = DirectButton(text = ("FINV", "zone", "zone", "FINV"), scale=.04, pos = (-.89,-.0,.97), command=setText50)
|
||||
b51 = DirectButton(text = ("TTC", "zone", "zone", "TTC"), scale=.04, pos = (-.80,-.0,.97), command=setText51)
|
||||
b52 = DirectButton(text = ("TINV", "zone", "zone", "TINV"), scale=.04, pos = (-.71,-.0,.97), command=setText52)
|
||||
b53 = DirectButton(text = ("Crm", "ph", "ph", "Crm"), scale=.04, pos = (-.61,-.0,.83), command=setText53)
|
||||
b54 = DirectButton(text = ("Bon", "ph", "ph", "Bon"), scale=.04, pos = (-.53,-.0,.83), command=setText54)
|
||||
b55 = DirectButton(text = ("Zone", "find", "find", "Zone"), scale=.04, pos = (.99999,-.0,.90), command=setText55)
|
||||
b56 = DirectButton(text = ("Bck", "ph", "ph", "Bck"), scale=.04, pos = (-.44,-.0,.83), command=setText56)
|
||||
b57 = DirectButton(text = ("Czy", "ph", "ph", "Czy"), scale=.04, pos = (-.36,-.0,.83), command=setText57)
|
||||
b58 = DirectButton(text = ("Hai", "ph", "ph", "Hai"), scale=.04, pos = (-.28,-.0,.83), command=setText58)
|
||||
b59 = DirectButton(text = ("Bor", "ph", "ph", "bor"), scale=.04, pos = (-.21,-.0,.83), command=setText59)
|
||||
b60 = DirectButton(text = ("Dul", "ph", "ph", "Dul"), scale=.04, pos = (-.14,-.0,.83), command=setText60)
|
||||
b61 = DirectButton(text = ("Rob", "ph", "ph", "Rob"), scale=.04, pos = (-.06,-.0,.83), command=setText61)
|
||||
b62 = DirectButton(text = ("Bru", "ph", "ph", "Bru"), scale=.04, pos = (.02,-.0,.83), command=setText62)
|
||||
b63 = DirectButton(text = ("Sht", "ph", "ph", "Sht"), scale=.04, pos = (.10,-.0,.83), command=setText63)
|
||||
b64 = DirectButton(text = ("Cam", "ph", "ph", "Cam"), scale=.04, pos = (.18,-.0,.83), command=setText64)
|
||||
b65 = DirectButton(text = ("Spt", "ph", "ph", "Spt"), scale=.04, pos = (.26,-.0,.83), command=setText65)
|
||||
b66 = DirectButton(text = ("Sty", "ph", "ph", "Sty"), scale=.04, pos = (.34,-.0,.83), command=setText66)
|
||||
b67 = DirectButton(text = ("MUD", "ph", "ph", "MUD"), scale=.04, pos = (.43,-.0,.83), command=setText67)
|
||||
b68 = DirectButton(text = ("Spky", "ph", "ph", "spky"), scale=.04, pos = (.53,-.0,.83), command=setText68)
|
||||
b69 = DirectButton(text = ("Hard", "ph", "ph", "Hard"), scale=.04, pos = (.63,-.0,.83), command=setText69)
|
||||
b70 = DirectButton(text = ("Soft", "ph", "ph", "Soft"), scale=.04, pos = (.73,-.0,.83), command=setText70)
|
||||
b71 = DirectButton(text = ("Str", "ph", "ph", "Str"), scale=.04, pos = (.81,-.0,.83), command=setText71)
|
||||
b72 = DirectButton(text = ("Rid", "ph", "ph", "Rid"), scale=.04, pos = (.89,-.0,.83), command=setText72)
|
||||
b73 = DirectButton(text = ("Hunt", "ph", "ph", "Hunt"), scale=.04, pos = (.98,-.0,.83), command=setText73)
|
||||
b74= DirectButton(text = ("Sp", "ani", "ani", "Sp"), scale=.04, pos = (-.99999,-.0,-.97), command=setText74)
|
||||
b75= DirectButton(text = ("Sw", "ani", "ani", "Sw"), scale=.04, pos = (-.94,-.0,-.97), command=setText75)
|
||||
b76= DirectButton(text = ("Sj", "ani", "ani", "Sj"), scale=.04, pos = (-.885,-.0,-.97), command=setText76)
|
||||
b77= DirectButton(text = ("Se", "ani", "ani", "Se"), scale=.04, pos = (-.828,-.0,-.97), command=setText77)
|
||||
b78= DirectButton(text = ("Vic", "ani", "ani", "Vic"), scale=.04, pos = (-.76,-.0,-.97), command=setText78)
|
||||
b79= DirectButton(text = ("Sad", "ani", "ani", "Sad"), scale=.04, pos = (-.68,-.0,-.97), command=setText79)
|
||||
b80= DirectButton(text = ("Sit", "ani", "ani", "Sit"), scale=.04, pos = (-.61,-.0,-.97), command=setText80)
|
||||
b81= DirectButton(text = ("Swm", "ani", "ani", "Swm"), scale=.04, pos = (-.53,-.0,-.97), command=setText81)
|
||||
b82= DirectButton(text = ("DIE", "ani", "ani", "DIE"), scale=.04, pos = (-.45,-.0,-.97), command=setText82)
|
||||
b83= DirectButton(text = ("TPo", "ani", "ani", "TPo"), scale=.04, pos = (-.37,-.0,-.97), command=setText83)
|
||||
b84= DirectButton(text = ("TPi", "ani", "ani", "TPi"), scale=.04, pos = (-.30,-.0,-.97), command=setText84)
|
||||
b85= DirectButton(text = ("Crin", "ani", "ani", "Cri"), scale=.04, pos = (-.23,-.0,-.97), command=setText85)
|
||||
b86= DirectButton(text = ("Psh", "ani", "ani", "Psh"), scale=.04, pos = (-.23,-.0,-.97), command=setText86)
|
||||
b87= DirectButton(text = ("Div", "ani", "ani", "Div"), scale=.04, pos = (-.16,-.0,-.97), command=setText87)
|
||||
b88= DirectButton(text = ("Flt", "ani", "ani", "Flt"), scale=.04, pos = (-.10,-.0,-.97), command=setText88)
|
||||
b89= DirectButton(text = ("Sq", "ani", "ani", "Sq"), scale=.04, pos = (-.04,-.0,-.97), command=setText89)
|
||||
b90= DirectButton(text = ("CaE", "ani", "ani", "CaE"), scale=.04, pos = (.03,-.0,-.97), command=setText90)
|
||||
b91= DirectButton(text = ("Cac", "ani", "ani", "Cac"), scale=.04, pos = (.11,-.0,-.97), command=setText91)
|
||||
b92= DirectButton(text = ("Bok", "ani", "ani", "Bok"), scale=.04, pos = (.19,-.0,-.97), command=setText92)
|
||||
b93= DirectButton(text = ("Sqa", "ani", "ani", "squa"), scale=.04, pos = (.27,-.0,-.97), command=setText93)
|
||||
b94= DirectButton(text = ("Fal", "ani", "ani", "Fal"), scale=.04, pos = (.34,-.0,-.97), command=setText94)
|
||||
b95= DirectButton(text = ("Run", "ani", "ani", "Run"), scale=.04, pos = (.42,-.0,-.97), command=setText95)
|
||||
b96= DirectButton(text = ("Wal", "ani", "ani", "Wal"), scale=.04, pos = (.50,-.0,-.97), command=setText96)
|
||||
b97= DirectButton(text = ("CoT", "ani", "ani", "CoT"), scale=.04, pos = (.58,-.0,-.97), command=setText97)
|
||||
b98= DirectButton(text = ("Gp", "ani", "ani", "GP"), scale=.04, pos = (.65,-.0,-.97), command=setText98)
|
||||
b99= DirectButton(text = ("Gr", "ani", "ani", "Gr"), scale=.04, pos = (.71,-.0,-.97), command=setText99)
|
||||
b100= DirectButton(text = ("Gl", "ani", "ani", "Gl"), scale=.04, pos = (.76,-.0,-.97), command=setText100)
|
||||
b101= DirectButton(text = ("Gs", "ani", "ani", "Gs"), scale=.04, pos = (.81,-.0,-.97), command=setText101)
|
||||
b102= DirectButton(text = ("Gb", "ani", "ani", "Gb"), scale=.04, pos = (.87,-.0,-.97), command=setText102)
|
||||
b103= DirectButton(text = ("Gg", "ani", "ani", "Gg"), scale=.04, pos = (.93,-.0,-.97), command=setText103)
|
||||
|
||||
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.92),
|
||||
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||||
|
||||
def setText():
|
||||
bk_text = "ZoneFound"
|
||||
textObject.setText(bk_text)
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
|
||||
b = DirectButton(text = ("Raid House", "Activate", "Activate", "Raid House"), scale=.04, pos = (-.0,-0,-.92), command=setText)
|
|
@ -0,0 +1,79 @@
|
|||
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 = "Collisions Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "Steal clothes"
|
||||
textObject.setText(bk_text)
|
||||
getCloset = base.cr.doFindAll("closet")
|
||||
for getCloset in base.cr.doFindAll("closet"):
|
||||
messenger.send('purchaseDone-' + str(getCloset.doId))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Collisons On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "River"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.book.pages[1].showPop = 1
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Race"
|
||||
textObject.setText(bk_text)
|
||||
ttv = base.cr.doFindAll("Vehicle")
|
||||
for ttv in base.cr.doFindAll("Vehicle"):
|
||||
ttv.setTurbo(999999)
|
||||
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 = ("Steal", "steal", "steal", "Steal"), scale=.06, pos = (-.8,-0,-.95), command=setText2)
|
||||
b3 = DirectButton(text = ("Laff", "laff", "laff", "Laff"), scale=.06, pos = (-.6,-0,-.95), command=setText3)
|
||||
b4 = DirectButton(text = ("Die", "die", "die", "Die"), scale=.06, pos = (-.28,-0,-.95), command=setText4)
|
||||
b5 = DirectButton(text = ("C.On", "c.on", "c.on", "C.On"), scale=.06, pos = (-0,-0,-.95), command=setText5)
|
||||
b6 = DirectButton(text = ("Mem", "mem", "mem", "Mem"), scale=.06, pos = (.16,-0,-.95), command=setText6)
|
||||
b7 = DirectButton(text = ("River", "river", "river", "River"), scale=.06, pos = (.35,-0,-.95), command=setText7)
|
||||
b8 = DirectButton(text = ("Race", "race", "race", "Race"), scale=.06, pos = (.565,-0,-.95), command=setText8)
|
|
@ -0,0 +1,4 @@
|
|||
I have a new Code for you.
|
||||
It lets you Defeat cogs
|
||||
without using gags:
|
||||
base.cr.ew.[f9a020].DEF-EAt-COGS
|
|
@ -0,0 +1,66 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
def emote01():
|
||||
base.localAvatar.b_setEmoteState(01,1)
|
||||
def emote03():
|
||||
base.localAvatar.b_setEmoteState(03,1)
|
||||
def emote04():
|
||||
base.localAvatar.b_setEmoteState(04,1)
|
||||
def emote05():
|
||||
base.localAvatar.b_setEmoteState(05,1)
|
||||
def emote06():
|
||||
base.localAvatar.b_setEmoteState(06,1)
|
||||
def emote07():
|
||||
base.localAvatar.b_setEmoteState(07,1)
|
||||
def emote10():
|
||||
base.localAvatar.b_setEmoteState(10,1)
|
||||
def emote11():
|
||||
base.localAvatar.b_setEmoteState(11,1)
|
||||
def emote12():
|
||||
base.localAvatar.b_setEmoteState(12,1)
|
||||
def emote13():
|
||||
base.localAvatar.b_setEmoteState(13,1)
|
||||
def emote14():
|
||||
base.localAvatar.b_setEmoteState(14,1)
|
||||
def emote15():
|
||||
base.localAvatar.b_setEmoteState(15,1)
|
||||
def emote17():
|
||||
base.localAvatar.b_setEmoteState(17,1)
|
||||
def emote18():
|
||||
base.localAvatar.b_setEmoteState(18,1)
|
||||
def emote20():
|
||||
base.localAvatar.b_setEmoteState(20,1)
|
||||
def emote21():
|
||||
base.localAvatar.b_setEmoteState(21,1)
|
||||
def emote22():
|
||||
base.localAvatar.b_setEmoteState(22,1)
|
||||
def emote23():
|
||||
base.localAvatar.b_setEmoteState(23,1)
|
||||
def emote24():
|
||||
base.localAvatar.b_setEmoteState(24,1)
|
||||
def about():
|
||||
base.localAvatar.setSystemMessage(0, 'All Emotes Button Code Made by Nikki. Subscribe to my YouTube Channel: Dary27 And my aim: NikkiNomsRawr.')
|
||||
|
||||
b1 = DirectButton(text = ("Happy", "Happy", "Happy ", "Happy"), scale=.05, pos = (.07,0,-.9), command=emote01)
|
||||
b3 = DirectButton(text = ("Angry", "Angry", "Angry", "Angry"), scale=.05, pos = (.22,0,-.9), command=emote03)
|
||||
b4 = DirectButton(text = ("Sleep", "Sleep", "Sleep", "Sleep"), scale=.05, pos = (.35,0,-.9), command=emote04)
|
||||
b5 = DirectButton(text = ("Shrug", "Shrug", "Shrug", "Shrug"), scale=.05, pos = (.48,0,-.9), command=emote05)
|
||||
b6 = DirectButton(text = ("Dance", "Dance", "Dance", "Dance"), scale=.05, pos = (-.08,0,-.9), command=emote06)
|
||||
b7 = DirectButton(text = ("Think", "Think", "Think", "Think"), scale=.05, pos = (-.22,0,-.9), command=emote07)
|
||||
b10 = DirectButton(text = ("Cringe", "Cringe", "Cringe", "Cringe"), scale=.05, pos = (-.35,0,-.9), command=emote10)
|
||||
b11 = DirectButton(text = ("Confused", "Confused", "Confused", "Confused"), scale=.05, pos = (-.53,0,-.9), command=emote11)
|
||||
b12 = DirectButton(text = ("Belly Flop", "Belly Flop", "Belly Flop", "Belly Flop"), scale=.05, pos = (-.74,0,-.9), command=emote12)
|
||||
b13 = DirectButton(text = ("Bow", "Bow", "Bow", "Bow"), scale=.05, pos = (.62,0,-.9), command=emote13)
|
||||
b14 = DirectButton(text = ("Banana Peel", "Banana Peel", "Banana Peel", "Banana Peel"), scale=.05, pos = (-.74,0,-.97), command=emote14)
|
||||
b15 = DirectButton(text = ("Resisance Salute", "Resisance Salute", "Resisance Salute", "Resisance Salute"), scale=.05, pos = (-.41,0,-.97), command=emote15)
|
||||
b17 = DirectButton(text = ("Yes", "Yes", "Yes", "Yes"), scale=.05, pos = (-.17,0,-.97), command=emote17)
|
||||
b18 = DirectButton(text = ("No", "No", "No", "No"), scale=.05, pos = (-.08,0,-.97), command=emote18)
|
||||
b20 = DirectButton(text = ("Surprised", "Surprised", "Surprised", "Surprised"), scale=.05, pos = (.07,0,-.97), command=emote20)
|
||||
b21 = DirectButton(text = ("Cry", "Cry", "Cry", "Cry"), scale=.05, pos = (.22,0,-.97), command=emote21)
|
||||
b22 = DirectButton(text = ("Delighted", "Delighted", "Delighted", "Delighted"), scale=.05, pos = (.39,0,-.97), command=emote22)
|
||||
b23 = DirectButton(text = ("Furious", "Furious", "Furious", "Furious"), scale=.05, pos = (.59,0,-.97), command=emote23)
|
||||
b24 = DirectButton(text = ("Laugh", "Laugh", "Laugh", "Laugh"), scale=.05, pos = (-.92,0,-.9), command=emote24)
|
||||
b25 = DirectButton(text = ("About Nikki's Emote Buttons...", "About Nikki's Emote Buttons...", "About Nikki's Emote Buttons...", "About Nikki's Emote Buttons..."), scale=.05, pos = (-.00,0,.9), command=about)
|
|
@ -0,0 +1,128 @@
|
|||
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 = "Collisions Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "D.C."
|
||||
textObject.setText(bk_text)
|
||||
localAvatar.g_setAnimState('Disconnected')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Collisons On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "River"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.book.pages[1].showPop = 1
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Race"
|
||||
textObject.setText(bk_text)
|
||||
ttv = base.cr.doFindAll("Vehicle")
|
||||
for ttv in base.cr.doFindAll("Vehicle"):
|
||||
ttv.setTurbo(999999)
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Trolley Abort"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('minigameAbort')
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Steal clothes"
|
||||
textObject.setText(bk_text)
|
||||
getCloset = base.cr.doFindAll("closet")
|
||||
for getCloset in base.cr.doFindAll("closet"):
|
||||
messenger.send('purchaseDone-' + str(getCloset.doId))
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "Leave Race"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('leaveRace')
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "Bad Boy Mickey"
|
||||
textObject.setText(bk_text)
|
||||
mickey = base.cr.doFindAll("render/mickey")
|
||||
for mickey in base.cr.doFindAll("render/mickey"):
|
||||
mickey.setName('Ghost Mickey')
|
||||
mickey.hideShadow()
|
||||
mickey.loop('right-point')
|
||||
mickey.setColorScale(0.3)
|
||||
mickey.setChatAbsolute('Fuckers!', 1, None, True)
|
||||
mickey.find('**/MickeycRay').removeNode()
|
||||
mickey.find('**/distAvatarCollNode-415100656').removeNode()
|
||||
mickey.find('**/MickeyBlatherSphere').setScale(5000)
|
||||
var = 1
|
||||
|
||||
def setText13():
|
||||
bk_text = "Global Teleport"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||||
base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||||
var = 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 = ("Dc", "dc", "dc", "Dc"), scale=.06, pos = (-.8,-0,-.95), command=setText2)
|
||||
b3 = DirectButton(text = ("Laff", "laff", "laff", "Laff"), scale=.06, pos = (-.6,-0,-.95), command=setText3)
|
||||
b4 = DirectButton(text = ("Die", "die", "die", "Die"), scale=.06, pos = (-.28,-0,-.95), command=setText4)
|
||||
b5 = DirectButton(text = ("C.On", "c.on", "c.on", "C.On"), scale=.06, pos = (-0,-0,-.95), command=setText5)
|
||||
b6 = DirectButton(text = ("Mem", "mem", "mem", "Mem"), scale=.06, pos = (.16,-0,-.95), command=setText6)
|
||||
b7 = DirectButton(text = ("River", "river", "river", "River"), scale=.06, pos = (.35,-0,-.95), command=setText7)
|
||||
b8 = DirectButton(text = ("Race", "race", "race", "Race"), scale=.06, pos = (.565,-0,-.95), command=setText8)
|
||||
b9 = DirectButton(text = ("T.B.", "t.b.", "t.b.", "T.B."), scale=.06, pos = (.78,-0,-.95), command=setText9)
|
||||
b10 = DirectButton(text = ("S.C.", "s.c.", "s.c.", "S.C."), scale=.06, pos = (.90,-0,-.95), command=setText10)
|
||||
b11 = DirectButton(text = ("L.R.", "l.r.", "l.r.", "L.R."), scale=.06, pos = (-.98,0,-.87), command=setText11)
|
||||
b12 = DirectButton(text = ("Mickey", "mickey", "mickey", "Mickey"), scale=.06, pos = (-.8,0,-.87), command=setText12)
|
||||
b13 = DirectButton(text = ("Gl.Tele.", "gltele", "gltele", "Gl.Tele."), scale=.06, pos = (-.6,0,-.87), command=setText13)
|
|
@ -0,0 +1,865 @@
|
|||
|
||||
|
||||
|
||||
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 = "ZoneFound"
|
||||
textObject.setText(bk_text)
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
|
||||
b = DirectButton(text = ("Raid House", "Activate", "Activate", "Raid House"), scale=.06, pos = (-.28,-0,-.95), command=setText)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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 = "Wave"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(0,1)
|
||||
var = 1
|
||||
|
||||
def setText2():
|
||||
bk_text = "Happy"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(1,1)
|
||||
var = 1
|
||||
|
||||
def setText3():
|
||||
bk_text = "Sad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(2,1)
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Angry"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(3,1)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Sleepy"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(4,1)
|
||||
var = 1
|
||||
|
||||
def setText6():
|
||||
bk_text = "Shrug"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(5,1)
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Dance"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(6,1)
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Think"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(7,1)
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Bored"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(8,1)
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Applause"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(9,1)
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "Cringe"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(10,1)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "Confused"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(11,1)
|
||||
var = 1
|
||||
|
||||
def setText13():
|
||||
bk_text = "Flop"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(12,1)
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "Bow"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(13,1)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText15():
|
||||
bk_text = "Peel"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(14,1)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText16():
|
||||
bk_text = "Salute"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(15,1)
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "Yes"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(17,1)
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "No"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(18,1)
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "Surprise"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(20,1)
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "Cry"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(21,1)
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "Delight"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(22,1)
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "Furious"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(23,1)
|
||||
var = 1
|
||||
|
||||
def setText23():
|
||||
bk_text = "Laugh"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.doEmote(24,1)
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "Global"
|
||||
textObject.setText(bk_text)
|
||||
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
|
||||
var = 1
|
||||
|
||||
def setText26():
|
||||
bk_text = "Clothes"
|
||||
textObject.setText(bk_text)
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
var = 1
|
||||
|
||||
def setText27():
|
||||
bk_text = ""
|
||||
textObject.setText(bk_text)
|
||||
cc = base.cr.doFindAll("Big Winky")
|
||||
for cc in base.cr.doFindAll("Big Winky"):
|
||||
cc.copyTo(render)
|
||||
|
||||
def setText28():
|
||||
bk_text = "Normal"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,0))
|
||||
var = 1
|
||||
|
||||
def setText29():
|
||||
bk_text = "UpD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText30():
|
||||
bk_text = "UpD2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((30,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText31():
|
||||
bk_text = "UpD3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((50,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText32():
|
||||
bk_text = "UpD4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((70,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText33():
|
||||
bk_text = "FoF"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-50,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText34():
|
||||
bk_text = "FoF2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-60,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText35():
|
||||
bk_text = "FoF3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-70,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText36():
|
||||
bk_text = "FoF4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-80,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText37():
|
||||
bk_text = "BoF"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText38():
|
||||
bk_text = "BoF2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,80,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText39():
|
||||
bk_text = "BoF3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,70,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText40():
|
||||
bk_text = "BoF4"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,60,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText41():
|
||||
bk_text = "SID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
|
||||
def setText42():
|
||||
bk_text = "SID2"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,-90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText43():
|
||||
bk_text = "SID3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,80)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText44():
|
||||
bk_text = "SID3"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,-80)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText45():
|
||||
bk_text = "Co Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText46():
|
||||
bk_text = "Co On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 1
|
||||
|
||||
def setText47():
|
||||
bk_text = "Gravity"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.setGravity(.00001)
|
||||
|
||||
def setText48():
|
||||
bk_text = "Show ID"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('nameTagShowAvId')
|
||||
|
||||
|
||||
def setText49():
|
||||
bk_text = "Farms"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
def setText50():
|
||||
bk_text = "FINV"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7090)
|
||||
var = 1
|
||||
|
||||
def setText51():
|
||||
bk_text = "TTC"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText52():
|
||||
bk_text = "TINV"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2090)
|
||||
var = 1
|
||||
|
||||
def setText53():
|
||||
bk_text = "Cream"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20150)
|
||||
var = 1
|
||||
|
||||
def setText54():
|
||||
bk_text = "Bonus"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2223)
|
||||
var = 1
|
||||
|
||||
def setText55():
|
||||
bk_text = "Zone"
|
||||
textObject.setText(bk_text)
|
||||
zone = base.localAvatar.getZoneId()
|
||||
zone = str(zone)
|
||||
base.localAvatar.setSystemMessage(1, zone)
|
||||
var = 1
|
||||
|
||||
def setText56():
|
||||
bk_text = "Back"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20133)
|
||||
var = 1
|
||||
|
||||
def setText57():
|
||||
bk_text = "Cozy?"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20251)
|
||||
var = 1
|
||||
|
||||
def setText58():
|
||||
bk_text = "Hair"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20300)
|
||||
var = 1
|
||||
|
||||
def setText59():
|
||||
bk_text = "Bore"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20283)
|
||||
var = 1
|
||||
|
||||
def setText60():
|
||||
bk_text = "Dull"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20284)
|
||||
var = 1
|
||||
|
||||
def setText61():
|
||||
bk_text = "Robbed"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20320)
|
||||
var = 1
|
||||
|
||||
def setText62():
|
||||
bk_text = "Brush"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20299)
|
||||
var = 1
|
||||
|
||||
def setText63():
|
||||
bk_text = "Shot"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4301)
|
||||
var = 1
|
||||
|
||||
def setText64():
|
||||
bk_text = "Camera"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20256)
|
||||
var = 1
|
||||
|
||||
def setText65():
|
||||
bk_text = "Split"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(1700)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText66():
|
||||
bk_text = "Stay"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(1701)
|
||||
var = 1
|
||||
|
||||
def setText67():
|
||||
bk_text = "MUD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20071)
|
||||
var = 1
|
||||
|
||||
def setText68():
|
||||
bk_text = "Spunky"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20201)
|
||||
var = 1
|
||||
|
||||
def setText69():
|
||||
bk_text = "Harder"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4203)
|
||||
var = 1
|
||||
|
||||
def setText70():
|
||||
bk_text = "Softer"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4204)
|
||||
var = 1
|
||||
|
||||
def setText71():
|
||||
bk_text = "Stranger"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20329)
|
||||
var = 1
|
||||
|
||||
def setText72():
|
||||
bk_text = "Rid"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20291)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText73():
|
||||
bk_text = "Hunting"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20107)
|
||||
var = 1
|
||||
|
||||
|
||||
|
||||
def setText74():
|
||||
bk_text = "Play"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText75():
|
||||
bk_text = "Work"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
var = 1
|
||||
|
||||
def setText76():
|
||||
bk_text = "Jealous"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
var = 1
|
||||
|
||||
def setText77():
|
||||
bk_text = "Emcee"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistEmcee'))
|
||||
var = 1
|
||||
|
||||
def setText78():
|
||||
bk_text = "Victory"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('victory'))
|
||||
var = 1
|
||||
|
||||
def setText79():
|
||||
bk_text = "Sad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Sad')
|
||||
var = 1
|
||||
|
||||
def setText80():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.enterSitStart()
|
||||
var = 1
|
||||
|
||||
def setText81():
|
||||
bk_text = "Swim"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('swim')
|
||||
var = 1
|
||||
|
||||
def setText82():
|
||||
bk_text = "Died"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('Died'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText83():
|
||||
bk_text = "Port Out"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText84():
|
||||
bk_text = "Port In"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText85():
|
||||
bk_text = "CringeAn"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('cringe'))
|
||||
var = 1
|
||||
|
||||
def setText86():
|
||||
bk_text = "Push"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Push')
|
||||
var = 1
|
||||
|
||||
def setText87():
|
||||
bk_text = "Dive"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
var = 1
|
||||
|
||||
def setText88():
|
||||
bk_text = "Flat"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Flattened')
|
||||
var = 1
|
||||
|
||||
def setText89():
|
||||
bk_text = "Squish"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Squish')
|
||||
var = 1
|
||||
|
||||
def setText90():
|
||||
bk_text = "Eating"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('CatchEating')
|
||||
var = 1
|
||||
|
||||
def setText91():
|
||||
bk_text = "Catching"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('Catching'))
|
||||
var = 1
|
||||
|
||||
|
||||
def setText92():
|
||||
bk_text = "Read"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('ReadBook')
|
||||
var = 1
|
||||
|
||||
def setText93():
|
||||
bk_text = "Squat"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('jumpSquat'))
|
||||
var = 1
|
||||
|
||||
def setText94():
|
||||
bk_text = "Fall"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('FallDown'))
|
||||
var = 1
|
||||
|
||||
def setText95():
|
||||
bk_text = "Run"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('run')
|
||||
var = 1
|
||||
|
||||
def setText96():
|
||||
bk_text = "Walk"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('walk')
|
||||
var = 1
|
||||
|
||||
def setText97():
|
||||
bk_text = "Theif"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('CogThiefRunning'))
|
||||
var = 1
|
||||
|
||||
def setText98():
|
||||
bk_text = "Loop"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfPuttLoop')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText99():
|
||||
bk_text = "Rotate ->"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfRotateRight'))
|
||||
var = 1
|
||||
|
||||
def setText100():
|
||||
bk_text = "Rotate <-"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfRotateLeft'))
|
||||
var = 1
|
||||
|
||||
def setText101():
|
||||
bk_text = "Swing"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('GolfPuttSwing'))
|
||||
var = 1
|
||||
|
||||
def setText102():
|
||||
bk_text = "Bad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfBadPutt')
|
||||
var = 1
|
||||
|
||||
def setText103():
|
||||
bk_text = "Good"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('GolfGoodPutt')
|
||||
var = 1
|
||||
|
||||
def setText104():
|
||||
bk_text = "Garden"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('gardenGame')
|
||||
var = 1
|
||||
|
||||
def setText105():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText106():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText107():
|
||||
bk_text = "RAID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20136)
|
||||
var = 1
|
||||
|
||||
def setText108():
|
||||
bk_text = "Big"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('\n' * 256)
|
||||
var = 1
|
||||
|
||||
def setText109():
|
||||
bk_text = "Gay"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('TT IS ***! \n' * 30)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText110():
|
||||
bk_text = "Lol"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('LOL\n' * 100)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText111():
|
||||
bk_text = "Lol"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('LOL\n' * 100)
|
||||
var = 1
|
||||
|
||||
def setText112():
|
||||
bk_text = "Fail"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('FAIL!\n' *66)
|
||||
var = 1
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("Wve", "em", "em", "Wve"), scale=.04, pos = (-.99999,-.0,.97), command=setText1)
|
||||
b2 = DirectButton(text = ("Hpy", "em", "em", "Hpy"), scale=.04, pos = (-.91,-.0,.97), command=setText2)
|
||||
b3 = DirectButton(text = ("Sd", "em", "em", "Sd"), scale=.04, pos = (-.83,-.0,.97), command=setText3)
|
||||
b4 = DirectButton(text = ("Agr", "em", "em", "Agr"), scale=.04, pos = (-.76,-.0,.97), command=setText4)
|
||||
b5 = DirectButton(text = ("Slp", "em", "em", "Slp"), scale=.04, pos = (-.69,-.0,.97), command=setText5)
|
||||
b6 = DirectButton(text = ("Shr", "em", "em", "Shr"), scale=.04, pos = (-.62,-.0,.97), command=setText6)
|
||||
b7 = DirectButton(text = ("Dan", "em", "em", "Dan"), scale=.04, pos = (-.54,-.0,.97), command=setText7)
|
||||
b8 = DirectButton(text = ("Thk", "em", "em", "Thk"), scale=.04, pos = (-.46,-.0,.97), command=setText8)
|
||||
b9 = DirectButton(text = ("Bor", "em", "em", "Bor"), scale=.04, pos = (-.38,-.0,.97), command=setText9)
|
||||
b10 = DirectButton(text = ("App", "em", "em", "app"), scale=.04, pos = (-.30,-.0,.97), command=setText10)
|
||||
b11 = DirectButton(text = ("Cri", "em", "em", "Cri"), scale=.04, pos = (-.23,-.0,.97), command=setText11)
|
||||
b12 = DirectButton(text = ("Co", "em", "em", "Co"), scale=.04, pos = (-.16,-.0,.97), command=setText12)
|
||||
b13 = DirectButton(text = ("Flo", "em", "em", "Flo"), scale=.04, pos = (-.10,-.0,.97), command=setText13)
|
||||
b14 = DirectButton(text = ("Bow", "em", "em", "Bow"), scale=.04, pos = (-.02,-.0,.97), command=setText14)
|
||||
b15 = DirectButton(text = ("Pel", "em", "em", "Pel"), scale=.04, pos = (.06,-.0,.97), command=setText15)
|
||||
b16 = DirectButton(text = ("Sal", "em", "em", "Sal"), scale=.04, pos = (.13,-.0,.97), command=setText16)
|
||||
b17 = DirectButton(text = ("Yes", "em", "em", "Yes"), scale=.04, pos = (.20,-.0,.97), command=setText17)
|
||||
b18 = DirectButton(text = ("No", "em", "em", "No"), scale=.04, pos = (.27,-.0,.97), command=setText18)
|
||||
b19 = DirectButton(text = ("Sur", "em", "em", "Sur"), scale=.04, pos = (.33,-.0,.97), command=setText19)
|
||||
b20 = DirectButton(text = ("Cry", "em", "em", "Cry"), scale=.04, pos = (.41,-.0,.97), command=setText20)
|
||||
b21 = DirectButton(text = ("Del", "em", "em", "Del"), scale=.04, pos = (.48,-.0,.97), command=setText21)
|
||||
b22 = DirectButton(text = ("Frs", "em", "em", "Frs"), scale=.04, pos = (.55,-.0,.97), command=setText22)
|
||||
b23 = DirectButton(text = ("Laf", "em", "em", "Laf"), scale=.04, pos = (.62,-.0,.97), command=setText23)
|
||||
b24 = DirectButton(text = ("Mem", "mem", "mem", "Mem"), scale=.04, pos = (.71,-.0,.97), command=setText24)
|
||||
b25 = DirectButton(text = ("GTP", "gtp", "gtp", "GTP"), scale=.04, pos = (.80,-.0,.97), command=setText25)
|
||||
b26 = DirectButton(text = ("Cloth", "cloth", "cloth", "Cloth"), scale=.04, pos = (.89,-.0,.97), command=setText26)
|
||||
b27 = DirectButton(text = ("Clone", "clone", "clone", "Clone"), scale=.04, pos = (.99999,-.0,.97), command=setText27)
|
||||
b28 = DirectButton(text = ("NoP", "pos", "pos", "NoP"), scale=.04, pos = (-.99999,-.0,.90), command=setText28)
|
||||
b29 = DirectButton(text = ("UpD", "pos", "pos", "UpD"), scale=.04, pos = (-.91,-.0,.90), command=setText29)
|
||||
b30 = DirectButton(text = ("UpD2", "pos", "pos", "UpD2"), scale=.04, pos = (-.81,-.0,.90), command=setText30)
|
||||
b31 = DirectButton(text = ("UpD3", "pos", "pos", "UpD3"), scale=.04, pos = (-.70,-.0,.90), command=setText31)
|
||||
b32 = DirectButton(text = ("UpD4", "pos", "pos", "UpD4"), scale=.04, pos = (-.59,-.0,.90), command=setText32)
|
||||
b33 = DirectButton(text = ("FoF", "pos", "pos", "FoF"), scale=.04, pos = (-.499,-.0,.90), command=setText33)
|
||||
b34 = DirectButton(text = ("FoF2", "pos", "pos", "FoF2"), scale=.04, pos = (-.40,-.0,.90), command=setText34)
|
||||
b35 = DirectButton(text = ("FoF3", "pos", "pos", "FoF3"), scale=.04, pos = (-.30,-.0,.90), command=setText35)
|
||||
b36 = DirectButton(text = ("FoF4", "pos", "pos", "FoF4"), scale=.04, pos = (-.20,-.0,.90), command=setText36)
|
||||
b37 = DirectButton(text = ("BoF", "pos", "pos", "BoF"), scale=.04, pos = (-.10,-.0,.90), command=setText37)
|
||||
b38 = DirectButton(text = ("BoF2", "pos", "pos", "BoF2"), scale=.04, pos = (-.0,-.0,.90), command=setText38)
|
||||
b39 = DirectButton(text = ("BoF3", "pos", "pos", "BoF3"), scale=.04, pos = (.10,-.0,.90), command=setText39)
|
||||
b40 = DirectButton(text = ("BoF4", "pos", "pos", "BoF4"), scale=.04, pos = (.20,-.0,.90), command=setText40)
|
||||
b41 = DirectButton(text = ("Sid", "pos", "pos", "Sid"), scale=.04, pos = (.29,-.0,.90), command=setText41)
|
||||
b42 = DirectButton(text = ("Sid2", "pos", "pos", "Sid2"), scale=.04, pos = (.37,-.0,.90), command=setText42)
|
||||
b43 = DirectButton(text = ("Sid3", "ps", "pos", "Sid3"), scale=.04, pos = (.47,-.0,.90), command=setText43)
|
||||
b44 = DirectButton(text = ("Sid4", "pos", "pos", "Sid4"), scale=.04, pos = (.57,-.0,.90), command=setText44)
|
||||
b45 = DirectButton(text = ("COff", "coff", "coff", "COff"), scale=.04, pos = (.67,-.0,.90), command=setText45)
|
||||
b46 = DirectButton(text = ("COn", "con", "con", "COn"), scale=.04, pos = (.77,-.0,.90), command=setText46)
|
||||
b47 = DirectButton(text = ("Grv", "Grv", "Grv", "Grv"), scale=.04, pos = (.85,-.0,.90), command=setText47)
|
||||
b48 = DirectButton(text = ("ID", "ID", "ID", "ID"), scale=.04, pos = (.92,-.0,.90), command=setText48)
|
||||
b49 = DirectButton(text = ("Farms", "zone", "zone", "Farms"), scale=.04, pos = (-.99999,-.0,.83), command=setText49)
|
||||
b50 = DirectButton(text = ("FINV", "zone", "zone", "FINV"), scale=.04, pos = (-.89,-.0,.83), command=setText50)
|
||||
b51 = DirectButton(text = ("TTC", "zone", "zone", "TTC"), scale=.04, pos = (-.80,-.0,.83), command=setText51)
|
||||
b52 = DirectButton(text = ("TINV", "zone", "zone", "TINV"), scale=.04, pos = (-.71,-.0,.83), command=setText52)
|
||||
b53 = DirectButton(text = ("Crm", "ph", "ph", "Crm"), scale=.04, pos = (-.61,-.0,.83), command=setText53)
|
||||
b54 = DirectButton(text = ("Bon", "ph", "ph", "Bon"), scale=.04, pos = (-.53,-.0,.83), command=setText54)
|
||||
b55 = DirectButton(text = ("Z", "z", "z", "Z"), scale=.04, pos = (.99999,-.0,.90), command=setText55)
|
||||
b56 = DirectButton(text = ("Bck", "ph", "ph", "Bck"), scale=.04, pos = (-.44,-.0,.83), command=setText56)
|
||||
b57 = DirectButton(text = ("Czy", "ph", "ph", "Czy"), scale=.04, pos = (-.36,-.0,.83), command=setText57)
|
||||
b58 = DirectButton(text = ("Hai", "ph", "ph", "Hai"), scale=.04, pos = (-.28,-.0,.83), command=setText58)
|
||||
b59 = DirectButton(text = ("Bor", "ph", "ph", "bor"), scale=.04, pos = (-.21,-.0,.83), command=setText59)
|
||||
b60 = DirectButton(text = ("Dul", "ph", "ph", "Dul"), scale=.04, pos = (-.14,-.0,.83), command=setText60)
|
||||
b61 = DirectButton(text = ("Rob", "ph", "ph", "Rob"), scale=.04, pos = (-.06,-.0,.83), command=setText61)
|
||||
b62 = DirectButton(text = ("Bru", "ph", "ph", "Bru"), scale=.04, pos = (.02,-.0,.83), command=setText62)
|
||||
b63 = DirectButton(text = ("Sht", "ph", "ph", "Sht"), scale=.04, pos = (.10,-.0,.83), command=setText63)
|
||||
b64 = DirectButton(text = ("Cam", "ph", "ph", "Cam"), scale=.04, pos = (.18,-.0,.83), command=setText64)
|
||||
b65 = DirectButton(text = ("Spt", "ph", "ph", "Spt"), scale=.04, pos = (.26,-.0,.83), command=setText65)
|
||||
b66 = DirectButton(text = ("Sty", "ph", "ph", "Sty"), scale=.04, pos = (.34,-.0,.83), command=setText66)
|
||||
b67 = DirectButton(text = ("MUD", "ph", "ph", "MUD"), scale=.04, pos = (.43,-.0,.83), command=setText67)
|
||||
b68 = DirectButton(text = ("Spky", "ph", "ph", "spky"), scale=.04, pos = (.53,-.0,.83), command=setText68)
|
||||
b69 = DirectButton(text = ("Hard", "ph", "ph", "Hard"), scale=.04, pos = (.63,-.0,.83), command=setText69)
|
||||
b70 = DirectButton(text = ("Soft", "ph", "ph", "Soft"), scale=.04, pos = (.73,-.0,.83), command=setText70)
|
||||
b71 = DirectButton(text = ("Str", "ph", "ph", "Str"), scale=.04, pos = (.81,-.0,.83), command=setText71)
|
||||
b72 = DirectButton(text = ("Rid", "ph", "ph", "Rid"), scale=.04, pos = (.89,-.0,.83), command=setText72)
|
||||
b73 = DirectButton(text = ("Hunt", "ph", "ph", "Hunt"), scale=.04, pos = (.98,-.0,.83), command=setText73)
|
||||
b74= DirectButton(text = ("Sp", "ani", "ani", "Sp"), scale=.04, pos = (-.99999,-.0,-.97), command=setText74)
|
||||
b75= DirectButton(text = ("Sw", "ani", "ani", "Sw"), scale=.04, pos = (-.94,-.0,-.97), command=setText75)
|
||||
b76= DirectButton(text = ("Sj", "ani", "ani", "Sj"), scale=.04, pos = (-.88,-.0,-.97), command=setText76)
|
||||
b77= DirectButton(text = ("Se", "ani", "ani", "Se"), scale=.04, pos = (-.83,-.0,-.97), command=setText77)
|
||||
b78= DirectButton(text = ("Vic", "ani", "ani", "Vic"), scale=.04, pos = (-.76,-.0,-.97), command=setText78)
|
||||
b79= DirectButton(text = ("Sad", "ani", "ani", "Sad"), scale=.04, pos = (-.68,-.0,-.97), command=setText79)
|
||||
b80= DirectButton(text = ("Sit", "ani", "ani", "Sit"), scale=.04, pos = (-.61,-.0,-.97), command=setText80)
|
||||
b81= DirectButton(text = ("Swm", "ani", "ani", "Swm"), scale=.04, pos = (-.53,-.0,-.97), command=setText81)
|
||||
b82= DirectButton(text = ("DIE", "ani", "ani", "DIE"), scale=.04, pos = (-.45,-.0,-.97), command=setText82)
|
||||
b83= DirectButton(text = ("TPo", "ani", "ani", "TPo"), scale=.04, pos = (-.37,-.0,-.97), command=setText83)
|
||||
b84= DirectButton(text = ("TPi", "ani", "ani", "TPi"), scale=.04, pos = (-.30,-.0,-.97), command=setText84)
|
||||
b85= DirectButton(text = ("Crin", "ani", "ani", "Cri"), scale=.04, pos = (-.23,-.0,-.97), command=setText85)
|
||||
b86= DirectButton(text = ("Psh", "ani", "ani", "Psh"), scale=.04, pos = (-.23,-.0,-.97), command=setText86)
|
||||
b87= DirectButton(text = ("Div", "ani", "ani", "Div"), scale=.04, pos = (-.16,-.0,-.97), command=setText87)
|
||||
b88= DirectButton(text = ("Flt", "ani", "ani", "Flt"), scale=.04, pos = (-.10,-.0,-.97), command=setText88)
|
||||
b89= DirectButton(text = ("Sq", "ani", "ani", "Sq"), scale=.04, pos = (-.04,-.0,-.97), command=setText89)
|
||||
b90= DirectButton(text = ("CaE", "ani", "ani", "CaE"), scale=.04, pos = (.03,-.0,-.97), command=setText90)
|
||||
b91= DirectButton(text = ("Cac", "ani", "ani", "Cac"), scale=.04, pos = (.11,-.0,-.97), command=setText91)
|
||||
b92= DirectButton(text = ("Bok", "ani", "ani", "Bok"), scale=.04, pos = (.19,-.0,-.97), command=setText92)
|
||||
b93= DirectButton(text = ("Sqa", "ani", "ani", "squa"), scale=.04, pos = (.27,-.0,-.97), command=setText93)
|
||||
b94= DirectButton(text = ("Fal", "ani", "ani", "Fal"), scale=.04, pos = (.34,-.0,-.97), command=setText94)
|
||||
b95= DirectButton(text = ("Run", "ani", "ani", "Run"), scale=.04, pos = (.42,-.0,-.97), command=setText95)
|
||||
b96= DirectButton(text = ("Wal", "ani", "ani", "Wal"), scale=.04, pos = (.50,-.0,-.97), command=setText96)
|
||||
b97= DirectButton(text = ("CoT", "ani", "ani", "CoT"), scale=.04, pos = (.58,-.0,-.97), command=setText97)
|
||||
b98= DirectButton(text = ("Gp", "ani", "ani", "GP"), scale=.04, pos = (.65,-.0,-.97), command=setText98)
|
||||
b99= DirectButton(text = ("Gr", "ani", "ani", "Gr"), scale=.04, pos = (.71,-.0,-.97), command=setText99)
|
||||
b100= DirectButton(text = ("Gl", "ani", "ani", "Gl"), scale=.04, pos = (.76,-.0,-.97), command=setText100)
|
||||
b101= DirectButton(text = ("Gs", "ani", "ani", "Gs"), scale=.04, pos = (.81,-.0,-.97), command=setText101)
|
||||
b102= DirectButton(text = ("Gb", "ani", "ani", "Gb"), scale=.04, pos = (.87,-.0,-.97), command=setText102)
|
||||
b103= DirectButton(text = ("Gg", "ani", "ani", "Gg"), scale=.04, pos = (.93,-.0,-.97), command=setText103)
|
||||
b104 = DirectButton(text = ("G", "G", "G", "G"), scale=.04, pos = (.96,-.0,.90), command=setText104)
|
||||
b105= DirectButton(text = ("Die", "-3", "-3", "Die"), scale=.04, pos = (-.99999,-.0,-.91), command=setText105)
|
||||
b106= DirectButton(text = ("Laff", "+lp", "+lp", "Laff"), scale=.04, pos = (-.93,-.0,-.91), command=setText106)
|
||||
b107= DirectButton(text = ("Raid", "ph", "ph", "Raid"), scale=.04, pos = (-.84,-.0,-.91), command=setText107)
|
||||
b108= DirectButton(text = ("Big", "big", "big", "Big"), scale=.04, pos = (-.76,-.0,-.91), command=setText108)
|
||||
b109= DirectButton(text = ("Gay", "big", "big", "Gay"), scale=.04, pos = (-.68,-.0,-.91), command=setText109)
|
||||
b110= DirectButton(text = ("Lol", "big", "big", "Lol"), scale=.04, pos = (-.61,-.0,-.91), command=setText110)
|
||||
b111= DirectButton(text = ("Nb", "big", "big", "Nb"), scale=.04, pos = (-.55,-.0,-.91), command=setText111)
|
||||
b112= DirectButton(text = ("Fai", "big", "big", "Fai"), scale=.04, pos = (-.49,-.0,-.91), command=setText112)
|
|
@ -0,0 +1,306 @@
|
|||
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 = "Collisions Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "Suit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setDNAString('t\x01\x02\x01\x01\x37\x09\x62\x09\x29\x09\x14\x00\x14\x14')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Collisons On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Splash"
|
||||
toon = base.localAvatar.getX()
|
||||
toon2 = base.localAvatar.getY()
|
||||
toon3 = base.localAvatar.getZ()
|
||||
base.localAvatar.d_playSplashEffect(toon, toon2, toon3)
|
||||
base.localAvatar.playSplashEffect(toon, toon2, toon3)
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Funny"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Port Out"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Port In"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "Global"
|
||||
textObject.setText(bk_text)
|
||||
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
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "Fail"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('Fail\n' *1)
|
||||
var = 1
|
||||
|
||||
def setText13():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.enterSitStart()
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "Dance"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState("victory", 10)
|
||||
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 = ("Suit", "suit", "suit", "Suit"), 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", "-3", "-3", "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 = ("Splash", "Splash", "Splash", "Splash"), scale=.07, pos = (.35,-0,-.95), command=setText7)
|
||||
b8 = DirectButton(text = ("Funny", "farms", "farms", "Funny"), scale=.06, pos = (.565,-0,-.95), command=setText8)
|
||||
b9 = DirectButton(text = ("TPo", "ani", "ani", "TPo"), scale=.05, pos = (-.18,-.0,-.97), command=setText9)
|
||||
b10= DirectButton(text = ("TPi", "ani", "ani", "TPi"), scale=.05, pos = (-.37,-.0,-.97), command=setText10)
|
||||
b11= DirectButton(text = ("Global", "tp", "tp", "Global"), scale=.07, pos = (-.43,-.0,-.90), command=setText11)
|
||||
b12= DirectButton(text = ("Fail", "fail", "fail", "Fail"), scale=.06, pos = (-.14,-.0,-.90), command=setText12)
|
||||
b13= DirectButton(text = ("Sit", "sit", "sit", "Sit"), scale=.06, pos = (-.98,-.0,-.87), command=setText13)
|
||||
b14= DirectButton(text = ("Dance", "Dance", "Dance", "Dance"), scale=.06, pos = (.15,-.0,-.86), command=setText14)
|
||||
|
||||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
bk_text = ""
|
||||
textObject = OnscreenText(text = bk_text, pos = (3,3),
|
||||
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||||
|
||||
def setText():
|
||||
bk_text = "ZoneFound"
|
||||
textObject.setText(bk_text)
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
|
||||
b = DirectButton(text = ("Raid House", "Activate", "Activate", "Raid House"), scale=.06, pos = (-.75,-0,-.87), command=setText)
|
||||
|
||||
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 = "Purple"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2000)
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "BLUE!"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2001)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Cyan"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2002)
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Teal"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2003)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Green"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2004)
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Yellow"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2005)
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Orange"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2006)
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Red"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2007)
|
||||
var = 1
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("Purple", "Purple", "Purple", "Purple"), scale=.05, pos = (-.99,-0,-.79), command=setText1)
|
||||
b2 = DirectButton(text = ("Blue", "Blue", "Blue", "Blue"), scale=.06, pos = (-.8,-0,-.79), command=setText2)
|
||||
b3 = DirectButton(text = ("Cyan", "Cyan", "Cyan", "Cyan"), scale=.06, pos = (-.6,-0,-.78), command=setText3)
|
||||
b4 = DirectButton(text = ("Teal", "Teal", "Teal", "Teal"), scale=.06, pos = (-.4,-0,-.81), command=setText4)
|
||||
b5 = DirectButton(text = ("Green", "Green", "Green", "Green"), scale=.06, pos = (-.2,-0,-.80), command=setText5)
|
||||
b6 = DirectButton(text = ("Yellow", "Yellow", "Yellow", "Yellow"), scale=.06, pos = (.1,-0,-.80), command=setText6)
|
||||
b7 = DirectButton(text = ("Orange", "Orange", "Orange", "Orange"), scale=.06, pos = (.35,-0,-.80), command=setText7)
|
||||
b8 = DirectButton(text = ("Red", "Red", "Red", "Red"), scale=.07, pos = (.53,-0,-.80), command=setText8)
|
||||
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def spinSetup():
|
||||
height = base.localAvatar.getZ()
|
||||
base.localAvatar.collisionsOff()
|
||||
base.localAvatar.setZ(height + 6)
|
||||
def spinOne():
|
||||
base.localAvatar.setHpr(0,10,0)
|
||||
def spinTwo():
|
||||
base.localAvatar.setHpr(0,30,0)
|
||||
def spinThree():
|
||||
base.localAvatar.setHpr(0,50,0)
|
||||
def spinFour():
|
||||
base.localAvatar.setHpr(0,70,0)
|
||||
def spinFive():
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
def spinSix():
|
||||
base.localAvatar.setHpr(0,110,0)
|
||||
def spinSeven():
|
||||
base.localAvatar.setHpr(0,130,0)
|
||||
def spinEight():
|
||||
base.localAvatar.setHpr(0,150,0)
|
||||
def spinNine():
|
||||
base.localAvatar.setHpr(0,170,0)
|
||||
def spinTen():
|
||||
base.localAvatar.setHpr(0,190,0)
|
||||
def spinEleven():
|
||||
base.localAvatar.setHpr(0,210,0)
|
||||
def spinTwelve():
|
||||
base.localAvatar.setHpr(0,230,0)
|
||||
def spinThirteen():
|
||||
base.localAvatar.setHpr(0,250,0)
|
||||
def spinFourteen():
|
||||
base.localAvatar.setHpr(0,270,0)
|
||||
def spinFifteen():
|
||||
base.localAvatar.setHpr(0,290,0)
|
||||
def spinSixteen():
|
||||
base.localAvatar.setHpr(0,310,0)
|
||||
def spinSeventeen():
|
||||
base.localAvatar.setHpr(0,330,0)
|
||||
def spinEighteen():
|
||||
base.localAvatar.setHpr(0,0,0)
|
||||
def spinEnd():
|
||||
base.localAvatar.collisionsOn()
|
||||
def spinOnTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(spinSetup))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinOne))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinTwo))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinThree))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFour))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFive))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSix))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSeven))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinEight))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinNine))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinTen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinEleven))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinTwelve))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinThirteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFourteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFifteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSixteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSeventeen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinEighteen))
|
||||
seq.append(Wait(.2))
|
||||
seq.append(Func(spinEnd))
|
||||
seq.start()
|
||||
|
||||
bot1 = DirectButton(text = ("Spin", "Spin", "Spin", "Spin"), scale=.06, pos = (.70,0,-.85), command=spinOnTime)
|
||||
|
||||
def bFive():
|
||||
base.localAvatar.b_setSC(20136)
|
||||
|
||||
b5 = DirectButton(text = ("Raid!", "Raid!", "Raid!", "Raid!"), scale=.05, pos = (-.0,0,-.87), command=bFive)
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
base.localAvatar.b_setAnimState(('victory'))
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||||
base.localAvatar.b_setAnimState('ScientistJealous')
|
||||
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('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.messenger.send('clearOutToonInterior')
|
||||
base.localAvatar.physControls.avatarControlForward
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed=200
|
||||
|
||||
base.localAvatar.physControls.avatarControlRotateSpeed=100
|
||||
|
||||
base.localAvatar.physControls.avatarControlReverseSpeed=200
|
||||
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 150
|
||||
|
||||
Have 137 laff, have to do both codes to work-
|
||||
base.localAvatar.setMaxHp(137)
|
||||
base.localAvatar.setHp(137)
|
||||
go to funny farms-base.cr.sendSetZoneMsg(7000)
|
||||
|
||||
leave funny farms-base.cr.sendSetZoneMsg(2000)
|
||||
Replace the / with a space to steal clothes?=.)
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
|
||||
membership bby:
|
||||
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
|
|
@ -0,0 +1,76 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
def bOne():
|
||||
base.localAvatar.collisionsOn()
|
||||
def bTwo():
|
||||
base.localAvatar.collisionsOff()
|
||||
def bThree():
|
||||
base.localAvatar.b_setAnimState('dive')
|
||||
def bFour():
|
||||
base.localAvatar.b_setAnimState('swim')
|
||||
def bFive():
|
||||
base.localAvatar.b_setSC(20136)
|
||||
def bSix():
|
||||
base.localAvatar.book.pages[1].choseShard(450000000)
|
||||
def bSeven():
|
||||
base.localAvatar.showHpString('Enjoy! - Meow Mew', duration=5, scale=0.5)
|
||||
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,0,0,0,0,21,22,23,24,25])
|
||||
base.localAvatar.setSystemMessage(0,'All Pet Trick Phrases And Emotes Availaible')
|
||||
def bEight():
|
||||
base.localAvatar.book.pages[1].shardChoiceReject = base.localAvatar.book.pages[1].choseShard
|
||||
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.setSystemMessage(0,'Global Teleport Activated')
|
||||
base.localAvatar.book._ShtikerBook__pageChange(1)
|
||||
base.localAvatar.book._ShtikerBook__pageChange(-1)
|
||||
def bNine():
|
||||
base.talkAssistant.sendOpenTalk('- sPOKE -')
|
||||
def bTen():
|
||||
base.talkAssistant.sendOpenTalk('Bored... ' * 20)
|
||||
def bEleven():
|
||||
base.talkAssistant.sendOpenTalk('Im.. Bored... Wheres Meow Mew xD')
|
||||
def bTwelve():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 100
|
||||
def bThirteen():
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
||||
def bFourteen():
|
||||
base.localAvatar.physControls.setGravity(.1)
|
||||
def bFifteen():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 1
|
||||
def bSixteen():
|
||||
base.localAvatar.physControls.avatarControlRotateSpeed=125
|
||||
def bSeventeen():
|
||||
base.localAvatar.physControls.avatarControlReverseSpeed=80
|
||||
def bEighteen():
|
||||
base.localAvatar.showHpString('Going To House...', duration=3, scale=0.5)
|
||||
base.localAvatar._LocalToon__handleClarabelleButton()
|
||||
def bNineteen():
|
||||
base.localAvatar.showHpString('Gravity - RESET', duration=5, scale=0.5)
|
||||
base.localAvatar.physControls.setGravity(50)
|
||||
def bTwentytwo():
|
||||
base.talkAssistant.sendOpenTalk('Hmm I Have Nothing To Do... O_O')
|
||||
def bTwentyeight():
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
||||
def bTwentynine():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 100
|
||||
|
||||
b6 = DirectButton(text = ("Toon", "Valley", "Valley", "Toon"), scale=.05, pos = (1.26,0,.1), command=bSix)
|
||||
b7 = DirectButton(text = ("Emote", "All", "All", "Emote"), scale=.06, pos = (1.25,0,.1), command=bSeven)
|
||||
b8 = DirectButton(text = ("~Tp~", "All", "All", "~Tp~"), scale=.05, pos = (1.26,0,.0), command=bEight)
|
||||
b9 = DirectButton(text = ("~Talk02~", "Poke", "Poke", "Talk"), scale=.06, pos = (-1.20,0,.4), command=bNine)
|
||||
b22 = DirectButton(text = ("~Talk03~", "O_O", "O_O", "Talk"), scale=.06, pos = (-1.20,0,.3), command=bTwentytwo)
|
||||
b10 = DirectButton(text = ("~Talk04~", "Bored", "Bored", "Talk"), scale=.06, pos = (-1.20,0,.2), command=bTen)
|
||||
b11 = DirectButton(text = ("~Talk01~", "xD LOL", "xD LOL", "Talk"), scale=.06, pos = (-1.198,0,.5), command=bEleven)
|
||||
b12 = DirectButton(text = ("Jump1", "100", "100", "Jump1"), scale=.05, pos = (-1.27,0,-.1), command=bTwelve)
|
||||
b13 = DirectButton(text = ("Speed", "100", "100", "Speed"), scale=.05, pos = (-1.27,0,-.2), command=bThirteen)
|
||||
b16 = DirectButton(text = ("Rotate", "125", "125", "Rotate"), scale=.05, pos = (-1.27,0,-.3), command=bSixteen)
|
||||
b17 = DirectButton(text = ("Reverse", "80", "80", "Reverse"), scale=.05, pos = (-1.25,0,-.4), command=bSeventeen)
|
||||
b14 = DirectButton(text = ("Gravity", ".1", ".1", "Gravity"), scale=.05, pos = (-1.26,0,-.5), command=bFourteen)
|
||||
b15 = DirectButton(text = ("Jump2", "1", "1", "Jump2"), scale=.05, pos = (-1.26,0,-.6), command=bFifteen)
|
||||
b18 = DirectButton(text = ("House", "Tp", "Tp", "House"), scale=.05, pos = (-1.27,0,-.8), command=bEighteen)
|
||||
b19 = DirectButton(text = ("Gravity", "RESET", "RESET", "Gravity"), scale=.05, pos = (-1.26,0,-.7), command=bNineteen)
|
||||
b20 = DirectButton(text = ("EXIT", "GO", "GO", "EXIT"), scale=.05, pos = (-1.29,0,.6), command=bTwenty)
|
|
@ -0,0 +1,496 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
bk_text = "Hacks Ready"
|
||||
textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
|
||||
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||||
|
||||
def normal1():
|
||||
bk_text = "Hacks Ready"
|
||||
textObject.setText(bk_text)
|
||||
|
||||
def setText1():
|
||||
bk_text = "Cold Caller"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 0])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 4])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(3)
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "Telemarketer"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 1])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 5])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(3)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Name Dropper"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 2])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 6])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(3)
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Glad Hander"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 3])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 7])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(3)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Mover Shaker"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 4])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 8])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(3)
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Two Face"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 5])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 9])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(3)
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "The Mingler"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 6])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 10])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(3)
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Mr. Hollywood"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 7])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 11])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(3)
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Remove"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.takeOffSuit()
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Short Change"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 0])
|
||||
base.localAvatar.setCogLevels([5, 5, 4, 4])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(2)
|
||||
var = 0
|
||||
|
||||
def setText11():
|
||||
bk_text = "Penny Pincher"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 1, 1])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 5])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(2)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText12():
|
||||
bk_text = "Tightwad"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 2, 2])
|
||||
base.localAvatar.setCogLevels([5, 5, 6, 6])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(2)
|
||||
var = 1
|
||||
|
||||
def setText13():
|
||||
bk_text = "Bean Counter"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 3, 3])
|
||||
base.localAvatar.setCogLevels([5, 5, 7, 7])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(2)
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "Number Cruncher"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 4, 4])
|
||||
base.localAvatar.setCogLevels([5, 5, 8, 8])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(2)
|
||||
var = 0
|
||||
|
||||
def setText15():
|
||||
bk_text = "Money Bags"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 5, 5])
|
||||
base.localAvatar.setCogLevels([5, 5, 9, 9])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(2)
|
||||
var = 1
|
||||
|
||||
def setText16():
|
||||
bk_text = "Loan Shark"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 6, 6])
|
||||
base.localAvatar.setCogLevels([5, 5, 10, 10])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(2)
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "Robber Baron"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 7, 7])
|
||||
base.localAvatar.setCogLevels([5, 5, 11, 11])
|
||||
base.localAvatar.setCogParts([9999999999999999, 9999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(2)
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "Bottom Feeder"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 0])
|
||||
base.localAvatar.setCogLevels([5, 4, 4, 4])
|
||||
base.localAvatar.setCogParts([99999999999999999999, 99999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(1)
|
||||
var = 0
|
||||
|
||||
def setText19():
|
||||
bk_text = "Bloodsucker"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 1, 1, 1])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 5])
|
||||
base.localAvatar.setCogParts([9999999999999999999999, 999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(1)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText20():
|
||||
bk_text = "Double Talker"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 2, 2, 2])
|
||||
base.localAvatar.setCogLevels([5, 6, 6, 6])
|
||||
base.localAvatar.setCogParts([999999999999999999999999, 999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(1)
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "Ambulance Chaser"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 3, 3, 3])
|
||||
base.localAvatar.setCogLevels([5, 7, 7, 7])
|
||||
base.localAvatar.setCogParts([9999999999999999999, 9999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(1)
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "Backstabber"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 4, 4, 4])
|
||||
base.localAvatar.setCogLevels([5, 8, 8, 8])
|
||||
base.localAvatar.setCogParts([9999999999999999999, 999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(1)
|
||||
var = 0
|
||||
|
||||
def setText23():
|
||||
bk_text = "Spin Doctor"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 5, 5, 5])
|
||||
base.localAvatar.setCogLevels([5, 9, 9, 9])
|
||||
base.localAvatar.setCogParts([999999999999999999999, 99999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(1)
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "Legal Eagle"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 6, 6, 6])
|
||||
base.localAvatar.setCogLevels([5, 10, 10, 10])
|
||||
base.localAvatar.setCogParts([99999999999999999999999, 9999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(1)
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "Big Wig"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 7, 7, 7])
|
||||
base.localAvatar.setCogLevels([5, 11, 11, 11])
|
||||
base.localAvatar.setCogParts([9999999999999999999, 999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(1)
|
||||
var = 1
|
||||
|
||||
def setText26():
|
||||
bk_text = "Flunky"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([0, 0, 0, 0])
|
||||
base.localAvatar.setCogLevels([4, 4, 4, 4])
|
||||
base.localAvatar.setCogParts([99999999999999999999, 99999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(0)
|
||||
var = 0
|
||||
|
||||
def setText27():
|
||||
bk_text = "Pencil Pusher"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([1, 1, 1, 1])
|
||||
base.localAvatar.setCogLevels([5, 5, 5, 5])
|
||||
base.localAvatar.setCogParts([9999999999999999999999, 999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(0)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText28():
|
||||
bk_text = "YesMan"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([2, 2, 2, 2])
|
||||
base.localAvatar.setCogLevels([6, 6, 6, 6])
|
||||
base.localAvatar.setCogParts([999999999999999999999999, 999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(0)
|
||||
var = 1
|
||||
|
||||
def setText29():
|
||||
bk_text = "MircoManager"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([3, 3, 3, 3])
|
||||
base.localAvatar.setCogLevels([7, 7, 7, 7])
|
||||
base.localAvatar.setCogParts([9999999999999999999, 9999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(0)
|
||||
var = 1
|
||||
|
||||
def setText30():
|
||||
bk_text = "Downsizer"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([4, 4, 4, 4])
|
||||
base.localAvatar.setCogLevels([8, 8, 8, 8])
|
||||
base.localAvatar.setCogParts([9999999999999999999, 999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(0)
|
||||
var = 0
|
||||
|
||||
def setText31():
|
||||
bk_text = "Head Hunter"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([5, 5, 5, 5])
|
||||
base.localAvatar.setCogLevels([9, 9, 9, 9])
|
||||
base.localAvatar.setCogParts([999999999999999999999, 99999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(0)
|
||||
var = 1
|
||||
|
||||
def setText32():
|
||||
bk_text = "Coorperate Raider"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([6, 6, 6, 6])
|
||||
base.localAvatar.setCogLevels([10, 10, 10, 10])
|
||||
base.localAvatar.setCogParts([99999999999999999999999, 9999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(0)
|
||||
var = 1
|
||||
|
||||
def setText33():
|
||||
bk_text = "Big Cheese"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setCogMerits([100,60,40,20])
|
||||
base.localAvatar.setCogTypes([7, 7, 7, 7])
|
||||
base.localAvatar.setCogLevels([11, 11, 11, 11])
|
||||
base.localAvatar.setCogParts([9999999999999999999, 999999999999999999999, 56447, 56411])
|
||||
base.localAvatar.setCogIndex(0)
|
||||
var = 1
|
||||
|
||||
def setText34():
|
||||
bk_text = "Global Teleports"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.book.pages[1].showPop = 1
|
||||
base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||||
base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000])
|
||||
var = 0
|
||||
|
||||
def setText35():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('SitStart')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText36():
|
||||
bk_text = "Lose Laff"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText37():
|
||||
bk_text = "Race"
|
||||
textObject.setText(bk_text)
|
||||
ttv = base.cr.doFindAll("Vehicle")
|
||||
for ttv in base.cr.doFindAll("Vehicle"):
|
||||
ttv.setTurbo(999999)
|
||||
var = 1
|
||||
|
||||
def setText38():
|
||||
bk_text = "Speedchat"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk(' We Are Team Dream')
|
||||
base.localAvatar.b_setEmoteState(22,1)
|
||||
var = 0
|
||||
|
||||
def setText39():
|
||||
bk_text = "Steal"
|
||||
textObject.setText(bk_text)
|
||||
getCloset = base.cr.doFindAll("closet")
|
||||
for getCloset in base.cr.doFindAll("closet"):
|
||||
messenger.send('purchaseDone-' + str(getCloset.doId))
|
||||
var = 1
|
||||
|
||||
def setText40():
|
||||
bk_text = "Copy"
|
||||
cc = base.cr.doFindAll("Yes")
|
||||
for cc in base.cr.doFindAll("Yes"):
|
||||
cc.copyTo(render)
|
||||
base.localAvatar.setSystemMessage(0,'This button has actiavted A clone')
|
||||
var = 0
|
||||
|
||||
def setText41():
|
||||
bk_text = "Garden Game"
|
||||
messenger.send('gardenGame')
|
||||
var = 0
|
||||
|
||||
def setText42():
|
||||
bk_text = "10000 Cupcakes"
|
||||
base.localAvatar.setPieType(0)
|
||||
base.localAvatar.setNumPies(10000)
|
||||
var = 0
|
||||
|
||||
def setText43():
|
||||
bk_text = "10000 Fruit Pie Slices"
|
||||
base.localAvatar.setPieType(1)
|
||||
base.localAvatar.setNumPies(10000)
|
||||
var = 0
|
||||
|
||||
def setText44():
|
||||
bk_text = "10000 Cream Pie Slices"
|
||||
base.localAvatar.setPieType(2)
|
||||
base.localAvatar.setNumPies(10000)
|
||||
var = 0
|
||||
|
||||
def setText45():
|
||||
bk_text = "10000 Whole Fruite Pie"
|
||||
base.localAvatar.setPieType(3)
|
||||
base.localAvatar.setNumPies(10000)
|
||||
var = 0
|
||||
|
||||
def setText46():
|
||||
bk_text = "10000 Whole Cream Pie"
|
||||
base.localAvatar.setPieType(4)
|
||||
base.localAvatar.setNumPies(10000)
|
||||
var = 0
|
||||
|
||||
def setText47():
|
||||
bk_text = "10000 Birthday Cake"
|
||||
base.localAvatar.setPieType(5)
|
||||
base.localAvatar.setNumPies(10000)
|
||||
var = 0
|
||||
|
||||
def setText48():
|
||||
bk_text = "10000 Lawbot Evidence Pieces"
|
||||
base.localAvatar.setPieType(7)
|
||||
base.localAvatar.setNumPies(10000)
|
||||
var = 0
|
||||
|
||||
def setText49():
|
||||
bk_text = "Swim"
|
||||
base.localAvatar.b_setAnimState('swim')
|
||||
var = 0
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("CC", "cc", "cc", "CC"), scale=.06, pos = (-.98,-0,-.94), command=setText1)
|
||||
b2 = DirectButton(text = ("TM", "tm", "tm", "TM"), scale=.06, pos = (-.8,-0,-.94), command=setText2)
|
||||
b3 = DirectButton(text = ("ND", "nd", "nd", "ND"), scale=.06, pos = (-.6,-0,-.94), command=setText3)
|
||||
b4 = DirectButton(text = ("GH", "gh", "gh", "GH"), scale=.06, pos = (-.28,-0,-.94), command=setText4)
|
||||
b5 = DirectButton(text = ("MS", "ms", "ms", "MS"), scale=.06, pos = (-0,-0,-.94), command=setText5)
|
||||
b6 = DirectButton(text = ("TF", "tf", "tf", "TF"), scale=.06, pos = (.16,-0,-.94), command=setText6)
|
||||
b7 = DirectButton(text = ("THE M", "The m", "The m", "THE M"), scale=.06, pos = (.35,-0,-.94), command=setText7)
|
||||
b8 = DirectButton(text = ("MH", "mh", "mh", "MH"), scale=.06, pos = (.565,-0,-.94), command=setText8)
|
||||
b9 = DirectButton(text = ("Remove", "Remove", "Remove", "Remove"), scale=.06, pos =(.900,-0,-.94), command=setText9)
|
||||
b10 = DirectButton(text = ("SC", "sc", "sc", "SC"), scale=.06, pos = (-.98,-0,-.84), command=setText10)
|
||||
b11 = DirectButton(text = ("PP", "pp", "pp", "PP"), scale=.06, pos = (-.8,-0,-.84), command=setText11)
|
||||
b12 = DirectButton(text = ("TW", "tw", "tw", "TW"), scale=.06, pos = (-.6,-0,-.84), command=setText12)
|
||||
b13 = DirectButton(text = ("BC", "bc", "bc", "BC"), scale=.06, pos = (-.28,-0,-.84), command=setText13)
|
||||
b14 = DirectButton(text = ("NC", "nc", "nc", "NC"), scale=.06, pos = (-0,-0,-.84), command=setText14)
|
||||
b15 = DirectButton(text = ("MB", "mb", "mb", "MB"), scale=.06, pos = (.16,-0,-.84), command=setText15)
|
||||
b16 = DirectButton(text = ("LS", "ls", "ls", "LS"), scale=.06, pos = (.35,-0,-.84), command=setText16)
|
||||
b17 = DirectButton(text = ("RB", "rb", "rb", "RB"), scale=.06, pos = (.565,-0,-.84), command=setText17)
|
||||
b18 = DirectButton(text = ("BF", "bf", "bf", "BF"), scale=.06, pos = (-.98,-0,-.74), command=setText18)
|
||||
b19 = DirectButton(text = ("BS", "bs", "bs", "BS"), scale=.06, pos = (-.8,-0,-.74), command=setText19)
|
||||
b20 = DirectButton(text = ("DT", "dt", "dt", "DT"), scale=.06, pos = (-.6,-0,-.74), command=setText20)
|
||||
b21 = DirectButton(text = ("AC", "ac", "ac", "AC"), scale=.06, pos = (-.28,-0,-.74), command=setText21)
|
||||
b22 = DirectButton(text = ("BS", "bs", "bs", "BS"), scale=.06, pos = (-0,-0,-.74), command=setText22)
|
||||
b23 = DirectButton(text = ("SD", "sd", "sd", "SD"), scale=.06, pos = (.16,-0,-.74), command=setText23)
|
||||
b24 = DirectButton(text = ("LE", "le", "le", "LE"), scale=.06, pos = (.35,-0,-.74), command=setText24)
|
||||
b25 = DirectButton(text = ("BW", "bw", "bw", "BW"), scale=.06, pos = (.565,-0,-.74), command=setText25)
|
||||
b26 = DirectButton(text = ("F", "f", "f", "F"), scale=.06, pos = (-.98,-0,-.64), command=setText26)
|
||||
b27 = DirectButton(text = ("Pp", "pp", "pp", "Pp"), scale=.06, pos = (-.8,-0,-.64), command=setText27)
|
||||
b28 = DirectButton(text = ("YM", "ym", "ym", "YM"), scale=.06, pos = (-.6,-0,-.64), command=setText28)
|
||||
b29 = DirectButton(text = ("MM", "mm", "mm", "MM"), scale=.06, pos = (-.28,-0,-.64), command=setText29)
|
||||
b30 = DirectButton(text = ("DS", "ds", "ds", "DS"), scale=.06, pos = (-0,-0,-.64), command=setText30)
|
||||
b31 = DirectButton(text = ("HH", "hh", "hh", "HH"), scale=.06, pos = (.16,-0,-.64), command=setText31)
|
||||
b32 = DirectButton(text = ("CR", "cr", "cr", "CR"), scale=.06, pos = (.35,-0,-.64), command=setText32)
|
||||
b33 = DirectButton(text = ("BC", "bc", "bc", "BC"), scale=.06, pos = (.565,-0,-.64), command=setText33)
|
||||
b34 = DirectButton(text = ("RIVER", "river", "river", "RIVER"), scale=.06, pos = (-.98,-0,-.54), command=setText34)
|
||||
b35 = DirectButton(text = ("SIT", "sit", "sit", "SIT"), scale=.06, pos = (-.8,-0,-.54), command=setText35)
|
||||
b36 = DirectButton(text = ("L.LAFF", "l.laff", "l.laff", "L.LAFF"), scale=.06, pos = (-.6,-0,-.54), command=setText36)
|
||||
b37 = DirectButton(text = ("RACE", "race", "race", "RACE"), scale=.06, pos = (-.28,-0,-.54), command=setText37)
|
||||
b38 = DirectButton(text = ("TDSC", "tdsc", "tdsc", "TDSC"), scale=.06, pos = (-0,-0,-.54), command=setText38)
|
||||
b39 = DirectButton(text = ("STEAL", "steal", "steal", "STEAL"), scale=.06, pos = (.18,-0,-.54), command=setText39)
|
||||
b40 = DirectButton(text = ("COPY", "copy", "copy", "COPY"), scale=.06, pos = (.35,-0,-.54), command=setText40)
|
||||
b41 = DirectButton(text = ("GG", "gg", "gg", "GG"), scale=.06, pos = (.565,-0,-.54), command=setText41)
|
||||
b42 = DirectButton(text = ("C.C.", "c.c.", "c.c.", "C.C."), scale=.06, pos = (-.98,-0,-.44), command=setText42)
|
||||
b43 = DirectButton(text = ("F.P.", "f.p.", "f.p", "F.P."), scale=.06, pos = (-.8,-0,-.44), command=setText43)
|
||||
b44 = DirectButton(text = ("C.P.", "c.p.", "c.p.", "C.P."), scale=.06, pos = (-.6,-0,-.44), command=setText44)
|
||||
b45 = DirectButton(text = ("FP", "fp", "fp", "FP"), scale=.06, pos = (-.28,-0,-.44), command=setText45)
|
||||
b46 = DirectButton(text = ("CP", "cp", "cp", "CP"), scale=.06, pos = (-0,-0,-.44), command=setText46)
|
||||
b47 = DirectButton(text = ("BD", "bd", "bd", "BD"), scale=.06, pos = (.16,-0,-.44), command=setText47)
|
||||
b48 = DirectButton(text = ("LB", "lb", "lb", "LB"), scale=.06, pos = (.35,-0,-.44), command=setText48)
|
||||
b49 = DirectButton(text = ("SWIM", "swim", "swim", "SWIM"), scale=.06, pos = (.60,-0,-.44), command=setText49)
|
|
@ -0,0 +1,238 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
def bOne():
|
||||
import toontown
|
||||
def new():
|
||||
return True
|
||||
def new2(*a,**k):
|
||||
return 2
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
||||
base.localAvatar.setPetTrickPhrases([0,1,2,3,4,5,6])
|
||||
def bTwo():
|
||||
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 *
|
||||
alight = AmbientLight('alight')
|
||||
alight.setColor(VBase4(0.5, 0.5, 0.5, 5))
|
||||
alnp = render.attachNewNode(alight)
|
||||
render.setLight(alnp)
|
||||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from pandac.PandaModules import TextNode
|
||||
def bThree():
|
||||
base.localAvatar.physControls.setGravity(100)
|
||||
base.localAvatar.showHpString('High - Gravity - High', duration=2, scale=0.5)
|
||||
def bFour():
|
||||
base.localAvatar.setGhostMode(2)
|
||||
def bFive():
|
||||
base.localAvatar.setGhostMode(0)
|
||||
def bSeven():
|
||||
base.talkAssistant.sendOpenTalk('Lol.. Wut Now :P')
|
||||
def bEight():
|
||||
base.localAvatar.book.pages[1].shardChoiceReject = base.localAvatar.book.pages[1].choseShard
|
||||
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.setSystemMessage(0,'Global Teleport Activated')
|
||||
base.localAvatar.book._ShtikerBook__pageChange(1)
|
||||
base.localAvatar.book._ShtikerBook__pageChange(-1)
|
||||
def bNine():
|
||||
base.talkAssistant.sendOpenTalk('No Comment...')
|
||||
def bTen():
|
||||
base.talkAssistant.sendOpenTalk('- sPOKE -')
|
||||
def bEleven():
|
||||
base.talkAssistant.sendOpenTalk(' ')
|
||||
def bTwelve():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 100
|
||||
base.localAvatar.showHpString('\x01yellow\x01Huge Jump Force/on', duration=3, scale=0.5)
|
||||
def bThirteen():
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
||||
base.localAvatar.showHpString('\x01yellow\x01Forward Speed/on', duration=3, scale=0.5)
|
||||
def bFourteen():
|
||||
base.localAvatar.physControls.setGravity(.1)
|
||||
base.localAvatar.showHpString('LOW ! Caution ! LOW', duration=2, scale=0.5)
|
||||
def bFifteen():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 1
|
||||
base.localAvatar.showHpString('\x01yellow\x01Low Jump Force/on', duration=3, scale=0.5)
|
||||
def bSixteen():
|
||||
base.localAvatar.physControls.avatarControlRotateSpeed=125
|
||||
base.localAvatar.showHpString('\x01yellow\x01Rotate Speed/on', duration=3, scale=0.5)
|
||||
def bSeventeen():
|
||||
base.localAvatar.physControls.avatarControlReverseSpeed=80
|
||||
base.localAvatar.showHpString('\x01yellow\x01Reverse Speed/on', duration=3, scale=0.5)
|
||||
def bEighteen():
|
||||
base.localAvatar._LocalToon__handleClarabelleButton()
|
||||
base.localAvatar.showHpString('Going To Estate...', duration=2, scale=0.5)
|
||||
def bNineteen():
|
||||
base.localAvatar.physControls.setGravity(60)
|
||||
base.localAvatar.showHpString('Normal - Gravity - Normal', duration=2, scale=0.5)
|
||||
def bTwenty():
|
||||
base.cr.gameFSM.request('closeShard')
|
||||
base.localAvatar.setSystemMessage(1,'Exiting Game...')
|
||||
def bTwentyone():
|
||||
base.localAvatar.physControls.setGravity(25)
|
||||
base.localAvatar.showHpString('Half - Gravity - Half', duration=2, scale=0.5)
|
||||
def bTwentytwo():
|
||||
base.talkAssistant.sendOpenTalk('- Cough -')
|
||||
def bTwentythree():
|
||||
base.localAvatar.physControls.setGravity(10)
|
||||
base.localAvatar.showHpString('Low - Gravity - Low', duration=2, scale=0.5)
|
||||
def bTwentyfour():
|
||||
base.localAvatar.b_setAnimState('victory',-1.00)
|
||||
def bTwentyfive():
|
||||
base.localAvatar.b_setAnimState("victory", 10)
|
||||
def bTwentysix():
|
||||
base.localAvatar.b_setAnimState("victory", .08)
|
||||
def bTwentyseven():
|
||||
base.messenger.send('clearOutToonInterior')
|
||||
def Twentyeight():
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
||||
def bTwentynine():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 100
|
||||
|
||||
b1 = DirectButton(text = ("Member", "Ship", "Ship", "Member"), scale=.053, pos = (-1.244,0,.79), command=bOne)
|
||||
b2 = DirectButton(text = ("Light/", "/Dark", "/Dark", "Light/"), scale=.050, pos = (-1.09,0,.59), command=bTwo)
|
||||
b3 = DirectButton(text = ("Gravity", "HIGH", "HIGH", "Gravity"), scale=.05, pos = (-1.26,0,-.725), command=bThree)
|
||||
b4 = DirectButton(text = ("See All", "/ON", "/ON", "See All"), scale=.055, pos = (-1.06,0,.39), command=bFour)
|
||||
b5 = DirectButton(text = ("See All", "/OFF", "/OFF", "See All"), scale=.055, pos = (-1.06,0,.49), command=bFive)
|
||||
b7 = DirectButton(text = ("Me0w", "Wut", "Wut", "Me0w"), scale=.06, pos = (-1.26,0,.6), command=bSeven)
|
||||
b8 = DirectButton(text = ("~Tp~", "All", "All", "~Tp~"), scale=.05, pos = (-1.27,0,.1), command=bEight)
|
||||
b9 = DirectButton(text = ("Me0w", "No C.", "No C.", "Me0w"), scale=.06, pos = (-1.26,0,.4), command=bNine)
|
||||
b22 = DirectButton(text = ("Me0w", "- C -", "- C -", "Me0w"), scale=.06, pos = (-1.26,0,.3), command=bTwentytwo)
|
||||
b10 = DirectButton(text = ("Me0w", "Poke", "Poke", "Me0w"), scale=.06, pos = (-1.26,0,.2), command=bTen)
|
||||
b11 = DirectButton(text = ("Me0w", " ", " ", "Me0w"), scale=.06, pos = (-1.26,0,.5), command=bEleven)
|
||||
b12 = DirectButton(text = ("Jump1", "100", "100", "Jump1"), scale=.05, pos = (-1.27,0,-.1), command=bTwelve)
|
||||
b13 = DirectButton(text = ("Speed", "100", "100", "Speed"), scale=.055, pos = (-1.26,0,-.3), command=bThirteen)
|
||||
b16 = DirectButton(text = ("Rotate", "125", "125", "Rotate"), scale=.055, pos = (-1.255,0,-.37), command=bSixteen)
|
||||
b17 = DirectButton(text = ("Reverse", "80", "80", "Reverse"), scale=.055, pos = (-1.24,0,-.425), command=bSeventeen)
|
||||
b14 = DirectButton(text = ("Gravity", "!LOW!", "!LOW!", "Gravity"), scale=.05, pos = (-1.26,0,-.575), command=bFourteen)
|
||||
b15 = DirectButton(text = ("Jump2", "1", "1", "Jump2"), scale=.05, pos = (-1.26,0,-.2), command=bFifteen)
|
||||
b18 = DirectButton(text = ("House", "Tp", "Tp", "House"), scale=.055, pos = (-1.26,0,.7), command=bEighteen)
|
||||
b19 = DirectButton(text = ("Gravity", "Normal", "Normal", "Gravity"), scale=.05, pos = (-1.26,0,-.65), command=bNineteen)
|
||||
b20 = DirectButton(text = ("EXIT", "GO", "GO", "EXIT"), scale=.07, pos = (-1.27,0,-.98), command=bTwenty)
|
||||
b21 = DirectButton(text = ("Gravity", "Half", "Half", "Gravity"), scale=.05, pos = (-1.26,0,-.8), command=bTwentyone)
|
||||
b23 = DirectButton(text = ("Gravity", "Low", "Low", "Gravity"), scale=.05, pos = (-1.26,0,-.5), command=bTwentythree)
|
||||
b24 = DirectButton(text = ("~ Dance ~", "<<Rewind", "<<Rewind", "~ Dance ~"), scale=.06, pos = (1.18,0,.7), command=bTwentyfour)
|
||||
b25 = DirectButton(text = ("~ Dance ~", ">>FastF", ">>FastF", "~ Dance ~"), scale=.06, pos = (1.18,0,.6), command=bTwentyfive)
|
||||
b26 = DirectButton(text = ("~ Dance ~", "><Slow", "><Slow", "~ Dance ~"), scale=.06, pos = (1.18,0,.5), command=bTwentysix)
|
||||
b27 = DirectButton(text = ("~ Exit ~", ">Door<", ">Door<", "~ Exit ~"), scale=.06, pos = (0,0,.7), command=bTwentyseven)
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def spinSetup():
|
||||
height = base.localAvatar.getZ()
|
||||
base.localAvatar.collisionsOff()
|
||||
base.localAvatar.setZ(height + 6)
|
||||
def spinOne():
|
||||
base.localAvatar.setHpr(0,10,0)
|
||||
def spinTwo():
|
||||
base.localAvatar.setHpr(0,30,0)
|
||||
def spinThree():
|
||||
base.localAvatar.setHpr(0,50,0)
|
||||
def spinFour():
|
||||
base.localAvatar.setHpr(0,70,0)
|
||||
def spinFive():
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
def spinSix():
|
||||
base.localAvatar.setHpr(0,110,0)
|
||||
def spinSeven():
|
||||
base.localAvatar.setHpr(0,130,0)
|
||||
def spinEight():
|
||||
base.localAvatar.setHpr(0,150,0)
|
||||
def spinNine():
|
||||
base.localAvatar.setHpr(0,170,0)
|
||||
def spinTen():
|
||||
base.localAvatar.setHpr(0,190,0)
|
||||
def spinEleven():
|
||||
base.localAvatar.setHpr(0,210,0)
|
||||
def spinTwelve():
|
||||
base.localAvatar.setHpr(0,230,0)
|
||||
def spinThirteen():
|
||||
base.localAvatar.setHpr(0,250,0)
|
||||
def spinFourteen():
|
||||
base.localAvatar.setHpr(0,270,0)
|
||||
def spinFifteen():
|
||||
base.localAvatar.setHpr(0,290,0)
|
||||
def spinSixteen():
|
||||
base.localAvatar.setHpr(0,310,0)
|
||||
def spinSeventeen():
|
||||
base.localAvatar.setHpr(0,330,0)
|
||||
def spinEighteen():
|
||||
base.localAvatar.setHpr(0,0,0)
|
||||
def spinNineteen():
|
||||
base.localAvatar.setHpr(0,10,0)
|
||||
def spinTwewnty():
|
||||
base.localAvatar.setHpr(0,30,0)
|
||||
def spinTwentyOne():
|
||||
base.localAvatar.setHpr(0,50,0)
|
||||
def spinTwentyTwo():
|
||||
base.localAvatar.setHpr(0,70,0)
|
||||
def spinTwentyThree():
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
def spinTwentyFour():
|
||||
base.localAvatar.setHpr(0,110,0)
|
||||
def spinTwentyFive():
|
||||
base.localAvatar.setHpr(0,130,0)
|
||||
def spinTwentySix():
|
||||
base.localAvatar.setHpr(0,150,0)
|
||||
def spinTwentySeven():
|
||||
base.localAvatar.setHpr(0,170,0)
|
||||
def spinTwentyEight():
|
||||
base.localAvatar.setHpr(0,0,0)
|
||||
def spinEnd():
|
||||
base.localAvatar.collisionsOn()
|
||||
def spinOnTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(spinSetup))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinOne))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinTwo))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinThree))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinFour))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinFive))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinSix))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinSeven))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinEight))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinNine))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinTen))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinEleven))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinTwelve))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinThirteen))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinFourteen))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinFifteen))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinSixteen))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinSeventeen))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinEighteen))
|
||||
seq.append(Wait(.55))
|
||||
seq.append(Func(spinEnd))
|
||||
seq.start()
|
||||
|
||||
|
||||
bot1 = DirectButton(text = ("SPIN", "Go", "Go", "SPIN"), scale=.05, pos = (-1.28,0,-.0), command=spinOnTime)
|
|
@ -0,0 +1,118 @@
|
|||
from direct.gui.DirectGui import DirectButton
|
||||
def TrolleySkip():
|
||||
messenger.send('minigameAbort')
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Trolley Skip', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=TrolleySkip, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (0,-0,-.75), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
def GlobalTeleport():
|
||||
base.localAvatar.book.pages[1].shardChoiceReject = base.localAvatar.book.pages[1].choseShard
|
||||
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.setSystemMessage(0,'Global Teleport Activated')
|
||||
base.localAvatar.book._ShtikerBook__pageChange(1)
|
||||
base.localAvatar.book._ShtikerBook__pageChange(-1)
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Global Tp', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=GlobalTeleport, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (.0,-0,-.95), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
def Victory():
|
||||
base.localAvatar.b_setAnimState("victory", 10)
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='>>Victory', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=Victory, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (.0,-0,-.85), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
def Member():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Member', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=Member, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (.45,-0,-.95), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
def Splash():
|
||||
toon = base.cr.doFindAll("Lightning Cat")
|
||||
base.localAvatar.d_playSplashEffect(base.localAvatar.getX(), base.localAvatar.getY(), base.localAvatar.getZ())
|
||||
base.localAvatar.playSplashEffect(base.localAvatar.getX(), base.localAvatar.getY(), base.localAvatar.getZ())
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Splash', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=Splash, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (.45,-0,-.85), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
def Damage():
|
||||
base.localAvatar.d_squish(3)
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Take Damage', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=Damage, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (.45,-0,-.75), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
def ServerLaff():
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Gain Laff', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=ServerLaff, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (-.45,-0,-.75), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
def Zone():
|
||||
zone = base.localAvatar.getZoneId()
|
||||
zone = str(zone)
|
||||
base.localAvatar.setSystemMessage(1, zone)
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Zone', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=Zone, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (-.45,-0,-.85), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
def UpsideDown():
|
||||
base.localAvatar.setHpr((0,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Upside Down', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=UpsideDown, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (-.45,-0,-.95), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
def FunnyFarms():
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Funny Farms', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=FunnyFarms, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (-.90,-0,-.85), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
def TTCentral():
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='TTCentral', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=TTCentral, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (-.90,-0,-.95), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
def ToonID():
|
||||
messenger.send('nameTagShowAvId')
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Toon ID', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=ToonID, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (-.90,-0,-.75), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
||||
|
||||
|
||||
def ExitDoor():
|
||||
base.messenger.send('clearOutToonInterior')
|
||||
from direct.gui.DirectGui import DirectButton
|
||||
ButtonImage = loader.loadModel("phase_3/models/gui/quit_button.bam")
|
||||
ImgBtn1 = DirectButton(frameSize=None, text='Random Exit', image=(ButtonImage.find('**/QuitBtn_UP'), \
|
||||
ButtonImage.find('**/QuitBtn_DN'), ButtonImage.find('**/QuitBtn_RLVR')), relief=None, command=ExitDoor, text_pos=(0, -0.015), \
|
||||
geom=None, pad=(0.01, 0.01), suppressKeys=0, pos = (.45,-0,-.85), text_scale=0.059999999999999998, borderWidth=(0.015, 0.01))
|
|
@ -0,0 +1,230 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
def bOne():
|
||||
base.localAvatar.collisionsOn()
|
||||
def bTwo():
|
||||
base.localAvatar.collisionsOff()
|
||||
def bThree():
|
||||
base.localAvatar.b_setAnimState('dive')
|
||||
def bFour():
|
||||
base.localAvatar.b_setAnimState('swim')
|
||||
def bFive():
|
||||
base.localAvatar.b_setSC(20136)
|
||||
def bSix():
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
def bSeven():
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
def bEight():
|
||||
base.localAvatar.book.pages[1].shardChoiceReject = base.localAvatar.book.pages[1].choseShard
|
||||
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.setSystemMessage(0,'Global Teleport Activated')
|
||||
base.localAvatar.book._ShtikerBook__pageChange(1)
|
||||
base.localAvatar.book._ShtikerBook__pageChange(-1)
|
||||
def bNine():
|
||||
base.talkAssistant.sendOpenTalk('\n' * 200)
|
||||
def bTen():
|
||||
base.localAvatar.d_squish(3)
|
||||
def bEleven():
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
def bTwelve():
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
def bThirteen():
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
def bFourteen():
|
||||
base.localAvatar.enterSitStart()
|
||||
def bFifteen():
|
||||
messenger.send('nameTagShowAvId')
|
||||
def bSixteen():
|
||||
toon = base.localAvatar.getX()
|
||||
toon2 = base.localAvatar.getY()
|
||||
toon3 = base.localAvatar.getZ()
|
||||
base.localAvatar.d_playSplashEffect(toon, toon2, toon3)
|
||||
base.localAvatar.playSplashEffect(toon, toon2, toon3)
|
||||
def bSeventeen():
|
||||
base.localAvatar.b_setAnimState("victory", 10)
|
||||
def bEighteen():
|
||||
base.localAvatar.loop('swing')
|
||||
def bNineteen():
|
||||
base.localAvatar.b_setAnimState("ScientistEmcee")
|
||||
def bTwenty():
|
||||
messenger.send("minigameAbort")
|
||||
def bTwentyone():
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
def whisperall(message="", includingSelf=True):
|
||||
startingToon = 0
|
||||
toonOn = 0
|
||||
listToonIds = base.localAvatar.getNearbyPlayers(1000000000000000, includingSelf)
|
||||
endingToon = len(listToonIds)
|
||||
print listToonIds
|
||||
while startingToon != endingToon:
|
||||
base.talkAssistant.sendWhisperTalk(str(message), listToonIds[toonOn])
|
||||
print toonOn
|
||||
toonOn = toonOn + 1
|
||||
startingToon = startingToon + 1
|
||||
def bTwentytwo():
|
||||
whisperall('TP TO ME \n' * 13, True)
|
||||
def bTwentythree():
|
||||
base.localAvatar.b_setAnimState('ScientistWork')
|
||||
def bTwentyfour():
|
||||
base.localAvatar.setDNAString('t\x01\x02\x00\x01\x56\x1d\x54\x1c\x24\x1d\x00\x00\x14\x14')
|
||||
def bTwentyfive():
|
||||
word = base.localAvatar.getZoneId()
|
||||
base.localAvatar.collisionsOff()
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
base.localAvatar.b_setAnimState('chat')
|
||||
base.cr.sendSetZoneMsg(word)
|
||||
def bTwentysix():
|
||||
ttd = base.cr.doFindAll("DivingGame")
|
||||
for ttd in base.cr.doFindAll("DivingGame"):
|
||||
ttd.setTreasureGrabbed(base.localAvatar.doId, True)
|
||||
def bTwentyseven():
|
||||
zone = base.localAvatar.getZoneId()
|
||||
zone = str(zone)
|
||||
base.localAvatar.setSystemMessage(1, zone)
|
||||
def bTwentyeight():
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
||||
def bTwentynine():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 100
|
||||
|
||||
b1 = DirectButton(text = ("CO-on", "CO-on", "CO-on", "CO-on"), scale=.05, pos = (-.1,0,-.9), command=bOne)
|
||||
b2 = DirectButton(text = ("CO-off", "CO-off", "CO-off", "CO-off"), scale=.05, pos = (.08,0,-.9), command=bTwo)
|
||||
b3 = DirectButton(text = ("Dive", "Dive", "Dive", "Dive"), scale=.05, pos = (.22,0,-.9), command=bThree)
|
||||
b4 = DirectButton(text = ("Swim", "Swim", "Swim", "Swim"), scale=.05, pos = (.34,0,-.9), command=bFour)
|
||||
b5 = DirectButton(text = ("RAID!", "RAID!", "RAID!", "RAID!"), scale=.05, pos = (.48,0,-.9), command=bFive)
|
||||
b6 = DirectButton(text = ("Farm", "Farm", "Farm", "Farm"), scale=.05, pos = (-.26,0,-.9), command=bSix)
|
||||
b7 = DirectButton(text = ("TTC", "TTC", "TTC", "TTC"), scale=.05, pos = (-.37,0,-.9), command=bSeven)
|
||||
b8 = DirectButton(text = ("Teleport", "Teleport", "Teleport", "Teleport"), scale=.05, pos = (-.515,0,-.9), command=bEight)
|
||||
b9 = DirectButton(text = ("Bubble", "Bubble", "Bubble", "Bubble"), scale=.05, pos = (-.7,0,-.9), command=bNine)
|
||||
b10 = DirectButton(text = ("Die", "Die", "Die", "Die"), scale=.05, pos = (-.84,0,-.9), command=bTen)
|
||||
b11 = DirectButton(text = ("Laff", "Laff", "Laff", "Laff"), scale=.05, pos = (-.94,0,-.9), command=bEleven)
|
||||
b12 = DirectButton(text = ("T-out", "T-out", "T-out", "T-out"), scale=.05, pos = (-.94,0,-.96), command=bTwelve)
|
||||
b13 = DirectButton(text = ("T-in", "T-in", "T-in", "T-in"), scale=.05, pos = (-.82,0,-.96), command=bThirteen)
|
||||
b14 = DirectButton(text = ("Sit", "Sit", "Sit", "Sit"), scale=.05, pos = (.6,0,-.9), command=bFourteen)
|
||||
b15 = DirectButton(text = ("AVID", "AVID", "AVID", "AVID"), scale=.05, pos = (.72,0,-.9), command=bFifteen)
|
||||
b16 = DirectButton(text = ("Splash", "Splash", "Splash", "Splash"), scale=.05, pos = (-.55,0,-.96), command=bSixteen)
|
||||
b17 = DirectButton(text = (">>Victory", ">>Victory", ">>Victory", ">>Victory"), scale=.05, pos = (-.36,0,-.96), command=bSeventeen)
|
||||
b18 = DirectButton(text = ("Swing", "Swing", "Swing", "Swing"), scale=.05, pos = (-.17,0,-.96), command=bEighteen)
|
||||
b19 = DirectButton(text = ("Emcee", "Emcee", "Emcee", "Emcee"), scale=.05, pos = (-.7,0,-.96), command=bNineteen)
|
||||
b20 = DirectButton(text = ("Skip", "Skip", "Skip", "Skip"), scale=.05, pos = (-.06,0,-.96), command=bTwenty)
|
||||
b21 = DirectButton(text = ("Raid", "Raid", "Raid", "Raid"), scale=.05, pos = (.05,0,-.96), command=bTwentyone)
|
||||
b22 = DirectButton(text = ("TP", "TP", "TP", "TP"), scale=.05, pos = (.14,0,-.96), command=bTwentytwo)
|
||||
b23 = DirectButton(text = ("SciW", "SciW", "SciW", "SciW"), scale=.05, pos = (.23,0,-.96), command=bTwentythree)
|
||||
b24 = DirectButton(text = ("Suit", "Suit", "Suit", "Suit"), scale=.05, pos = (.34,0,-.96), command=bTwentyfour)
|
||||
b25 = DirectButton(text = ("ScaC", "ScaC", "ScaC", "ScaC"), scale=.05, pos = (.45,0,-.96), command=bTwentyfive)
|
||||
b26 = DirectButton(text = ("DiveG", "DiveG", "DiveG", "DiveG"), scale=.05, pos = (-.94,0,-.84), command=bTwentysix)
|
||||
b27 = DirectButton(text = ("Zone", "Zone", "Zone", "Zone"), scale=.05, pos = (-.66,0,-.84), command=bTwentyseven)
|
||||
b28 = DirectButton(text = ("Run", "Run", "Run", "Run"), scale=.05, pos = (-.36,0,-.84), command=bTwentyeight)
|
||||
b29 = DirectButton(text = ("Jump", "Jump", "Jump", "Jump"), scale=.05, pos = (-.22,0,-.84), command=bTwentynine)
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def spinSetup():
|
||||
height = base.localAvatar.getZ()
|
||||
base.localAvatar.collisionsOff()
|
||||
base.localAvatar.setZ(height + 6)
|
||||
def spinOne():
|
||||
base.localAvatar.setHpr(0,10,0)
|
||||
def spinTwo():
|
||||
base.localAvatar.setHpr(0,30,0)
|
||||
def spinThree():
|
||||
base.localAvatar.setHpr(0,50,0)
|
||||
def spinFour():
|
||||
base.localAvatar.setHpr(0,70,0)
|
||||
def spinFive():
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
def spinSix():
|
||||
base.localAvatar.setHpr(0,110,0)
|
||||
def spinSeven():
|
||||
base.localAvatar.setHpr(0,130,0)
|
||||
def spinEight():
|
||||
base.localAvatar.setHpr(0,150,0)
|
||||
def spinNine():
|
||||
base.localAvatar.setHpr(0,170,0)
|
||||
def spinTen():
|
||||
base.localAvatar.setHpr(0,190,0)
|
||||
def spinEleven():
|
||||
base.localAvatar.setHpr(0,210,0)
|
||||
def spinTwelve():
|
||||
base.localAvatar.setHpr(0,230,0)
|
||||
def spinThirteen():
|
||||
base.localAvatar.setHpr(0,250,0)
|
||||
def spinFourteen():
|
||||
base.localAvatar.setHpr(0,270,0)
|
||||
def spinFifteen():
|
||||
base.localAvatar.setHpr(0,290,0)
|
||||
def spinSixteen():
|
||||
base.localAvatar.setHpr(0,310,0)
|
||||
def spinSeventeen():
|
||||
base.localAvatar.setHpr(0,330,0)
|
||||
def spinEighteen():
|
||||
base.localAvatar.setHpr(0,0,0)
|
||||
def spinEnd():
|
||||
base.localAvatar.collisionsOn()
|
||||
def spinOnTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(spinSetup))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinOne))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinTwo))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinThree))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFour))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFive))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSix))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSeven))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinEight))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinNine))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinTen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinEleven))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinTwelve))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinThirteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFourteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFifteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSixteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSeventeen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinEighteen))
|
||||
seq.append(Wait(.2))
|
||||
seq.append(Func(spinEnd))
|
||||
seq.start()
|
||||
|
||||
def stealthGo():
|
||||
zone = base.localAvatar.getZoneId()
|
||||
base.cr.sendSetZoneMsg(zone + 10)
|
||||
base.localAvatar.collisionsOff()
|
||||
def stealthBack():
|
||||
zone = base.localAvatar.getZoneId()
|
||||
base.cr.sendSetZoneMsg(zone - 10)
|
||||
base.localAvatar.collisionsOn()
|
||||
def stealthOnTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(stealthGo))
|
||||
seq.append(Wait(15))
|
||||
seq.append(Func(stealthBack))
|
||||
seq.start()
|
||||
|
||||
bot1 = DirectButton(text = ("Spin", "Spin", "Spin", "Spin"), scale=.05, pos = (.57,0,-.96), command=spinOnTime)
|
||||
bot2 = DirectButton(text = ("Stealth", "Stealth", "Stealth", "Stealth"), scale=.05, pos = (-.50,0,-.84), command=stealthOnTime)
|
|
@ -0,0 +1,423 @@
|
|||
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 = "Collisions Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "Suit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setDNAString('t\x01\x02\x01\x01\x37\x09\x61\x09\x29\x09\x14\x00\x14\x14')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Collisons On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Splash"
|
||||
toon = base.localAvatar.getX()
|
||||
toon2 = base.localAvatar.getY()
|
||||
toon3 = base.localAvatar.getZ()
|
||||
base.localAvatar.d_playSplashEffect(toon, toon2, toon3)
|
||||
base.localAvatar.playSplashEffect(toon, toon2, toon3)
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Funny"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Port Out"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Port In"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "Global"
|
||||
textObject.setText(bk_text)
|
||||
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
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "Fail"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('Fail\n' *1)
|
||||
var = 1
|
||||
|
||||
def setText13():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.enterSitStart()
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "Dance"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState("victory", 10)
|
||||
var = 1
|
||||
|
||||
def setText15():
|
||||
bk_text = "Swim"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('swim')
|
||||
var = 1
|
||||
|
||||
def setText16():
|
||||
bk_text = "Push"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Push')
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "Squish"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Squish')
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "Delighted"
|
||||
textObject.setText(bk_text)
|
||||
base.accept("f11", base.localAvatar.b_setEmoteState, [22,1])
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "Laugh"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20320)
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "Bored"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20283)
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "Work"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "Play"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||||
var = 1
|
||||
|
||||
def setText23():
|
||||
bk_text = "Jealous"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "Victory"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('victory', -0.6)
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "Normal"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,0))
|
||||
var = 1
|
||||
|
||||
def setText26():
|
||||
bk_text = "UpD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText27():
|
||||
bk_text = "SID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,90)
|
||||
base.localAvatar.collisionsOff()
|
||||
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 = ("Suit", "suit", "suit", "Suit"), 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", "-3", "-3", "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 = ("Splash", "Splash", "Splash", "Splash"), scale=.07, pos = (.35,-0,-.95), command=setText7)
|
||||
b8 = DirectButton(text = ("Funny", "farms", "farms", "Funny"), scale=.06, pos = (.565,-0,-.95), command=setText8)
|
||||
b9 = DirectButton(text = ("TPo", "ani", "ani", "TPo"), scale=.05, pos = (-.18,-.0,-.97), command=setText9)
|
||||
b10= DirectButton(text = ("TPi", "ani", "ani", "TPi"), scale=.05, pos = (-.37,-.0,-.97), command=setText10)
|
||||
b11= DirectButton(text = ("Global", "tp", "tp", "Global"), scale=.07, pos = (-.43,-.0,-.90), command=setText11)
|
||||
b12= DirectButton(text = ("Fail", "fail", "fail", "Fail"), scale=.06, pos = (-.14,-.0,-.90), command=setText12)
|
||||
b13= DirectButton(text = ("Sit", "sit", "sit", "Sit"), scale=.06, pos = (-.98,-.0,-.87), command=setText13)
|
||||
b14= DirectButton(text = ("Dance", "Fast", "Fast", "Dance"), scale=.06, pos = (.15,-.0,-.86), command=setText14)
|
||||
b15= DirectButton(text = ("Swim", "Emot", "Emot", "Swim"), scale=.06, pos = (-.70,-.0,.93), command=setText15)
|
||||
b16= DirectButton(text = ("Push", "Emot", "Emot", "Push"), scale=.06, pos = (-.55,-.0,.93), command=setText16)
|
||||
b17= DirectButton(text = ("Squish", "Emot", "Emot", "Squish"), scale=.05, pos = (-.40,-.0,.94), command=setText17)
|
||||
b18= DirectButton(text = ("Delighted", "F11", "F11", "Delighted"), scale=.05, pos = (-.22,-.0,.94), command=setText18)
|
||||
b19= DirectButton(text = ("Robbed", "Robbed", "Robbed", "Robbed"), scale=.06, pos = (-.0,-.0,.93), command=setText19)
|
||||
b20= DirectButton(text = ("Bored", "Bored", "Bored", "Bored"), scale=.06, pos = (.20,-.0,.93), command=setText20)
|
||||
b21= DirectButton(text = ("Work*", "Work", "Work", "Work*"), scale=.06, pos = (.38,-.0,.93), command=setText21)
|
||||
b22= DirectButton(text = ("Play*", "Play", "Play", "Play*"), scale=.05, pos = (.54,-.0,.94), command=setText22)
|
||||
b23= DirectButton(text = ("Jealous*", "Jealous", "Jealous", "Jealous*"), scale=.05, pos = (.71,-.0,.94), command=setText23)
|
||||
b24 = DirectButton(text = ("Dance", "Slow", "Slow", "Dance"), scale=.06, pos = (.71,-0,-.77), command=setText24)
|
||||
b25 = DirectButton(text = ("Normal", "Pos", "Pos", "Normal"), scale=.05, pos = (-.99999,-.0,.86), command=setText25)
|
||||
b26 = DirectButton(text = ("Upside", "Down", "Down", "Upside"), scale=.05, pos = (-.83,-.0,.86), command=setText26)
|
||||
b27 = DirectButton(text = ("Side", "Pos", "Pos", "Side"), scale=.06, pos = (-.68,-.0,.86), command=setText27)
|
||||
|
||||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
bk_text = ""
|
||||
textObject = OnscreenText(text = bk_text, pos = (3,3),
|
||||
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||||
|
||||
def setText():
|
||||
bk_text = "ZoneFound"
|
||||
textObject.setText(bk_text)
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
|
||||
b = DirectButton(text = ("Raid House", "Activate", "Activate", "Raid House"), scale=.06, pos = (-.75,-0,-.87), command=setText)
|
||||
|
||||
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 = "Purple"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2000)
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "BLUE!"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2001)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Cyan"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2002)
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Teal"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2003)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Green"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2004)
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Yellow"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2005)
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Orange"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2006)
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
bk_text = "Red"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2007)
|
||||
var = 1
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("Purple", "Purple", "Purple", "Purple"), scale=.06, pos = (-.99,-0,-.78), command=setText1)
|
||||
b2 = DirectButton(text = ("Blue", "Blue", "Blue", "Blue"), scale=.06, pos = (-.8,-0,-.79), command=setText2)
|
||||
b3 = DirectButton(text = ("Cyan", "Cyan", "Cyan", "Cyan"), scale=.06, pos = (-.6,-0,-.78), command=setText3)
|
||||
b4 = DirectButton(text = ("Teal", "Teal", "Teal", "Teal"), scale=.06, pos = (-.4,-0,-.81), command=setText4)
|
||||
b5 = DirectButton(text = ("Green", "Green", "Green", "Green"), scale=.06, pos = (-.2,-0,-.80), command=setText5)
|
||||
b6 = DirectButton(text = ("Yellow", "Yellow", "Yellow", "Yellow"), scale=.06, pos = (.1,-0,-.78), command=setText6)
|
||||
b7 = DirectButton(text = ("Orange", "Orange", "Orange", "Orange"), scale=.06, pos = (.35,-0,-.80), command=setText7)
|
||||
b8 = DirectButton(text = ("Red", "Red", "Red", "Red"), scale=.07, pos = (.53,-0,-.80), command=setText8)
|
||||
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def spinSetup():
|
||||
height = base.localAvatar.getZ()
|
||||
base.localAvatar.collisionsOff()
|
||||
base.localAvatar.setZ(height + 6)
|
||||
def spinOne():
|
||||
base.localAvatar.setHpr(0,10,0)
|
||||
def spinTwo():
|
||||
base.localAvatar.setHpr(0,30,0)
|
||||
def spinThree():
|
||||
base.localAvatar.setHpr(0,50,0)
|
||||
def spinFour():
|
||||
base.localAvatar.setHpr(0,70,0)
|
||||
def spinFive():
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
def spinSix():
|
||||
base.localAvatar.setHpr(0,110,0)
|
||||
def spinSeven():
|
||||
base.localAvatar.setHpr(0,130,0)
|
||||
def spinEight():
|
||||
base.localAvatar.setHpr(0,150,0)
|
||||
def spinNine():
|
||||
base.localAvatar.setHpr(0,170,0)
|
||||
def spinTen():
|
||||
base.localAvatar.setHpr(0,190,0)
|
||||
def spinEleven():
|
||||
base.localAvatar.setHpr(0,210,0)
|
||||
def spinTwelve():
|
||||
base.localAvatar.setHpr(0,230,0)
|
||||
def spinThirteen():
|
||||
base.localAvatar.setHpr(0,250,0)
|
||||
def spinFourteen():
|
||||
base.localAvatar.setHpr(0,270,0)
|
||||
def spinFifteen():
|
||||
base.localAvatar.setHpr(0,290,0)
|
||||
def spinSixteen():
|
||||
base.localAvatar.setHpr(0,310,0)
|
||||
def spinSeventeen():
|
||||
base.localAvatar.setHpr(0,330,0)
|
||||
def spinEighteen():
|
||||
base.localAvatar.setHpr(0,0,0)
|
||||
def spinEnd():
|
||||
base.localAvatar.collisionsOn()
|
||||
def spinOnTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(spinSetup))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinOne))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinTwo))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinThree))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFour))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFive))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSix))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSeven))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinEight))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinNine))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinTen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinEleven))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinTwelve))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinThirteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFourteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinFifteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSixteen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinSeventeen))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(spinEighteen))
|
||||
seq.append(Wait(.2))
|
||||
seq.append(Func(spinEnd))
|
||||
seq.start()
|
||||
|
||||
bot1 = DirectButton(text = ("Spin", "Spin", "Spin", "Spin"), scale=.06, pos = (.70,0,-.85), command=spinOnTime)
|
||||
|
||||
def bFive():
|
||||
base.localAvatar.b_setSC(20136)
|
||||
|
||||
b5 = DirectButton(text = ("Raid!", "Raid!", "Raid!", "Raid!"), scale=.05, pos = (-.0,0,-.87), command=bFive)
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def b28():
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 50
|
||||
def b29():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 60
|
||||
|
||||
b28 = DirectButton(text = ("Speed", "Run", "Run", "Speed"), scale=.05, pos = (-.99999,-.0,.94), command=b28)
|
||||
b29 = DirectButton(text = ("Jump", "High", "High", "Jump"), scale=.05, pos = (-.85,-.0,.94), command=b29)
|
||||
|
||||
def whisperall(message="", includingSelf=True):
|
||||
startingToon = 0
|
||||
toonOn = 0
|
||||
listToonIds = base.localAvatar.getNearbyPlayers(1000000000000000, includingSelf)
|
||||
endingToon = len(listToonIds)
|
||||
print listToonIds
|
||||
while startingToon != endingToon:
|
||||
base.talkAssistant.sendWhisperTalk(str(message), listToonIds[toonOn])
|
||||
print toonOn
|
||||
toonOn = toonOn + 1
|
||||
startingToon = startingToon + 1
|
||||
def b1():
|
||||
whisperall('Hi! \n' * 25, True)
|
||||
|
||||
b1 = DirectButton(text = ("Hi!", "xD", "xD", "Hi!"), scale=.06, pos = (.86,-.0,.94), command=b1)
|
|
@ -0,0 +1,222 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
def bOne():
|
||||
import toontown
|
||||
def new():
|
||||
return True
|
||||
def new2(*a,**k):
|
||||
return 2
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
toontown.toon.LocalToon.LocalToon.getGameAccess = new2
|
||||
base.localAvatar.setPetTrickPhrases([0,1,2,3,4,5,6])
|
||||
def bTwo():
|
||||
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 *
|
||||
alight = AmbientLight('alight')
|
||||
alight.setColor(VBase4(0.5, 0.5, 0.5, 5))
|
||||
alnp = render.attachNewNode(alight)
|
||||
render.setLight(alnp)
|
||||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from pandac.PandaModules import TextNode
|
||||
def bFour():
|
||||
base.wireframeOn()
|
||||
def bFive():
|
||||
base.wireframeOff()
|
||||
def bSeven():
|
||||
base.talkAssistant.sendOpenTalk('Lol.. Wut Now :P')
|
||||
def bEight():
|
||||
base.localAvatar.book.pages[1].shardChoiceReject = base.localAvatar.book.pages[1].choseShard
|
||||
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.setSystemMessage(0,'Global Teleport Activated')
|
||||
base.localAvatar.book._ShtikerBook__pageChange(1)
|
||||
base.localAvatar.book._ShtikerBook__pageChange(-1)
|
||||
def bNine():
|
||||
base.talkAssistant.sendOpenTalk('No Comment...')
|
||||
def bTen():
|
||||
base.talkAssistant.sendOpenTalk('- Hugs -')
|
||||
def bEleven():
|
||||
base.talkAssistant.sendOpenTalk(' ')
|
||||
def bTwelve():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 100
|
||||
def bThirteen():
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
||||
def bFourteen():
|
||||
base.localAvatar.physControls.setGravity(.1)
|
||||
def bFifteen():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 1
|
||||
def bSixteen():
|
||||
base.localAvatar.physControls.avatarControlRotateSpeed=125
|
||||
def bSeventeen():
|
||||
base.localAvatar.physControls.avatarControlReverseSpeed=80
|
||||
def bEighteen():
|
||||
base.localAvatar._LocalToon__handleClarabelleButton()
|
||||
base.localAvatar.showHpString('Going To Estate...', duration=2, scale=0.5)
|
||||
def bNineteen():
|
||||
base.localAvatar.physControls.setGravity(50)
|
||||
base.localAvatar.showHpString('Gravity - Reset', duration=2, scale=0.5)
|
||||
def bTwenty():
|
||||
base.cr.gameFSM.request('closeShard')
|
||||
base.localAvatar.setSystemMessage(1,'Exiting Game...')
|
||||
def bTwentyone():
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
def whisperall(message="", includingSelf=True):
|
||||
startingToon = 0
|
||||
toonOn = 0
|
||||
listToonIds = base.localAvatar.getNearbyPlayers(1000000000000000, includingSelf)
|
||||
endingToon = len(listToonIds)
|
||||
print listToonIds
|
||||
while startingToon != endingToon:
|
||||
base.talkAssistant.sendWhisperTalk(str(message), listToonIds[toonOn])
|
||||
print toonOn
|
||||
toonOn = toonOn + 1
|
||||
startingToon = startingToon + 1
|
||||
def bTwentytwo():
|
||||
base.talkAssistant.sendOpenTalk('- Cough -')
|
||||
def bTwentythree():
|
||||
base.localAvatar.b_setAnimState('ScientistWork')
|
||||
def bTwentyfour():
|
||||
base.localAvatar.setDNAString('t\x01\x02\x00\x01\x56\x1d\x54\x1c\x24\x1d\x00\x00\x14\x14')
|
||||
def bTwentyfive():
|
||||
word = base.localAvatar.getZoneId()
|
||||
base.localAvatar.collisionsOff()
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
base.localAvatar.b_setAnimState('chat')
|
||||
base.cr.sendSetZoneMsg(word)
|
||||
def bTwentysix():
|
||||
ttd = base.cr.doFindAll("DivingGame")
|
||||
for ttd in base.cr.doFindAll("DivingGame"):
|
||||
ttd.setTreasureGrabbed(base.localAvatar.doId, True)
|
||||
def bTwentyseven():
|
||||
zone = base.localAvatar.getZoneId()
|
||||
zone = str(zone)
|
||||
base.localAvatar.setSystemMessage(1, zone)
|
||||
def bTwentyeight():
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
||||
def bTwentynine():
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 100
|
||||
|
||||
b1 = DirectButton(text = ("Member", "Ship", "Ship", "Member"), scale=.053, pos = (-1.244,0,.79), command=bOne)
|
||||
b2 = DirectButton(text = ("Light/", "/Dark", "/Dark", "Light/"), scale=.050, pos = (-1.09,0,.59), command=bTwo)
|
||||
b4 = DirectButton(text = ("See All", "/ON", "/ON", "See All"), scale=.055, pos = (-1.06,0,.39), command=bFour)
|
||||
b5 = DirectButton(text = ("See All", "/OFF", "/OFF", "See All"), scale=.055, pos = (-1.06,0,.49), command=bFive)
|
||||
b7 = DirectButton(text = ("Me0w", "Wut", "Wut", "Me0w"), scale=.06, pos = (-1.26,0,.6), command=bSeven)
|
||||
b8 = DirectButton(text = ("~Tp~", "All", "All", "~Tp~"), scale=.05, pos = (-1.27,0,.1), command=bEight)
|
||||
b9 = DirectButton(text = ("Me0w", "No C.", "No C.", "Me0w"), scale=.06, pos = (-1.26,0,.4), command=bNine)
|
||||
b22 = DirectButton(text = ("Me0w", "- C -", "- C -", "Me0w"), scale=.06, pos = (-1.26,0,.3), command=bTwentytwo)
|
||||
b10 = DirectButton(text = ("Me0w", "Hug", "Hug", "Me0w"), scale=.06, pos = (-1.26,0,.2), command=bTen)
|
||||
b11 = DirectButton(text = ("Me0w", " ", " ", "Me0w"), scale=.06, pos = (-1.26,0,.5), command=bEleven)
|
||||
b12 = DirectButton(text = ("Jump1", "100", "100", "Jump1"), scale=.05, pos = (-1.27,0,-.1), command=bTwelve)
|
||||
b13 = DirectButton(text = ("Speed", "100", "100", "Speed"), scale=.05, pos = (-1.27,0,-.2), command=bThirteen)
|
||||
b16 = DirectButton(text = ("Rotate", "125", "125", "Rotate"), scale=.05, pos = (-1.26,0,-.3), command=bSixteen)
|
||||
b17 = DirectButton(text = ("Reverse", "80", "80", "Reverse"), scale=.05, pos = (-1.25,0,-.4), command=bSeventeen)
|
||||
b14 = DirectButton(text = ("Gravity", ".1", ".1", "Gravity"), scale=.05, pos = (-1.26,0,-.5), command=bFourteen)
|
||||
b15 = DirectButton(text = ("Jump2", "1", "1", "Jump2"), scale=.05, pos = (-1.26,0,-.6), command=bFifteen)
|
||||
b18 = DirectButton(text = ("House", "Tp", "Tp", "House"), scale=.055, pos = (-1.26,0,.7), command=bEighteen)
|
||||
b19 = DirectButton(text = ("Gravity", "RESET", "RESET", "Gravity"), scale=.05, pos = (-1.26,0,-.7), command=bNineteen)
|
||||
b20 = DirectButton(text = ("EXIT", "GO", "GO", "EXIT"), scale=.07, pos = (-1.27,0,-.98), command=bTwenty)
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def spinSetup():
|
||||
height = base.localAvatar.getZ()
|
||||
base.localAvatar.collisionsOff()
|
||||
base.localAvatar.setZ(height + 6)
|
||||
def spinOne():
|
||||
base.localAvatar.setHpr(0,10,0)
|
||||
def spinTwo():
|
||||
base.localAvatar.setHpr(0,50,0)
|
||||
def spinThree():
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
def spinFour():
|
||||
base.localAvatar.setHpr(0,130,0)
|
||||
def spinFive():
|
||||
base.localAvatar.setHpr(0,170,0)
|
||||
def spinSix():
|
||||
base.localAvatar.setHpr(0,210,0)
|
||||
def spinSeven():
|
||||
base.localAvatar.setHpr(0,250,0)
|
||||
def spinEight():
|
||||
base.localAvatar.setHpr(0,290,0)
|
||||
def spinNine():
|
||||
base.localAvatar.setHpr(0,330,0)
|
||||
def spinTen():
|
||||
base.localAvatar.setHpr(0,370,0)
|
||||
def spinEleven():
|
||||
base.localAvatar.setHpr(0,300,0)
|
||||
def spinTwelve():
|
||||
base.localAvatar.setHpr(0,330,0)
|
||||
def spinThirteen():
|
||||
base.localAvatar.setHpr(0,250,0)
|
||||
def spinFourteen():
|
||||
base.localAvatar.setHpr(0,270,0)
|
||||
def spinFifteen():
|
||||
base.localAvatar.setHpr(0,290,0)
|
||||
def spinSixteen():
|
||||
base.localAvatar.setHpr(0,310,0)
|
||||
def spinSeventeen():
|
||||
base.localAvatar.setHpr(0,330,0)
|
||||
def spinEighteen():
|
||||
base.localAvatar.setHpr(0,0,0)
|
||||
def spinEnd():
|
||||
base.localAvatar.collisionsOn()
|
||||
def spinOnTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(spinSetup))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinOne))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinTwo))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinThree))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinFour))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinFive))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinSix))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinSeven))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinEight))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinNine))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinTen))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinEleven))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinTwelve))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinThirteen))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinFourteen))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinFifteen))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinSixteen))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinSeventeen))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinEighteen))
|
||||
seq.append(Wait(.055))
|
||||
seq.append(Func(spinEnd))
|
||||
seq.start()
|
||||
|
||||
|
||||
bot1 = DirectButton(text = ("SPIN", "Go", "Go", "SPIN"), scale=.05, pos = (-1.28,0,-.0), command=spinOnTime)
|
|
@ -0,0 +1,179 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
bk_text = " "
|
||||
textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
|
||||
scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
|
||||
|
||||
def normal1():
|
||||
bk_text = " "
|
||||
textObject.setText(bk_text)
|
||||
|
||||
def setText1():
|
||||
bk_text = "Collisions Off"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "RAID!"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20136)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "Collisons On"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "River"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.book.pages[1].showPop = 1
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Big"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('\n' * 256)
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Funny"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "ttc"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = ""
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "C.o.n"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('swim'))
|
||||
var = 1
|
||||
def setText13():
|
||||
bk_text = "sw"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "v"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('victory'))
|
||||
var = 1
|
||||
|
||||
def setText15():
|
||||
bk_text = "d"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
var = 1
|
||||
|
||||
def setText16():
|
||||
bk_text = "to"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "ti"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "jab"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('jumpAirborne'))
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "jl"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('jumpLand'))
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "Sj"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
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 = ("RAID", "raid", "raid", "RAID"), scale=.06, pos = (-.8,-0,-.95), command=setText2)
|
||||
b3 = DirectButton(text = ("Laff", "laff", "laff", "Laff"), scale=.06, pos = (-.6,-0,-.95), command=setText3)
|
||||
b4 = DirectButton(text = ("Die", "die", "die", "Die"), scale=.06, pos = (-.28,-0,-.95), command=setText4)
|
||||
b5 = DirectButton(text = ("C.On", "c.on", "c.on", "C.On"), scale=.06, pos = (-0,-0,-.95), command=setText5)
|
||||
b6 = DirectButton(text = ("Mem", "mem", "mem", "Mem"), scale=.06, pos = (.16,-0,-.95), command=setText6)
|
||||
b7 = DirectButton(text = ("River", "river", "river", "River"), scale=.06, pos = (.35,-0,-.95), command=setText7)
|
||||
b8 = DirectButton(text = ("Clothes", "clothes", "clothes", "Clothes"), scale=.06, pos = (.565,-0,-.95), command=setText8)
|
||||
b9 = DirectButton(text = ("Big", "Big", "Big", "Big"), scale=.06, pos = (.65,-10,-.495), command=setText9)
|
||||
b10 = DirectButton(text = ("Funny", "Funny", "Funny", "Funny"), scale=.06, pos = (.5,-1,-.5), command=setText10)
|
||||
b11 = DirectButton(text = ("ttc", "ttc", "ttc", "ttc"), scale=.06, pos = (.35,-41,-.1), command=setText11)
|
||||
b12 = DirectButton(text = ("C.o.n", "C.o.n", "C.o.n", "C.o.n"), scale=.06, pos = (.65,-0,-.90), command=setText12)
|
||||
b13 = DirectButton(text = ("sw", "sw", "sw", "sw"), scale=.06, pos = (.40,-0,-.90), command=setText13)
|
||||
b14 = DirectButton(text = ("v", "v", "v", "v"), scale=.06, pos = (.24,-0,-.90), command=setText14)
|
||||
b15 = DirectButton(text = ("d", "d", "d", "d"), scale=.06, pos = (.22,-0,-.3), command=setText15)
|
||||
b16 = DirectButton(text = ("to", "to", "to", "to"), scale=.06, pos = (.20,-0,-.40), command=setText16)
|
||||
b17 = DirectButton(text = ("ti", "ti", "ti", "ti"), scale=.06, pos = (.17,-0,-.15), command=setText17)
|
||||
b18 = DirectButton(text = ("jab", "jab", "jab", "jab"), scale=.06, pos = (.15,-0,-.16), command=setText18)
|
||||
b19 = DirectButton(text = ("jl", "jl", "jl", "jl"), scale=.06, pos = (.13,-0,-.5), command=setText19)
|
||||
b20 = DirectButton(text = ("Sj", "Sj", "Sj", "Sj"), scale=.06, pos = (.10,-0,-.2), command=setText20)
|
||||
|
||||
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)
|
|
@ -0,0 +1,549 @@
|
|||
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 = "Collisions"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(1)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "RAID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20136)
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Big"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('I am Bad As Trap Cat!\n' * 15)
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Global"
|
||||
textObject.setText(bk_text)
|
||||
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
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Funny"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('We are Team Trap' *1)
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "FInv"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2001)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "TTC"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText13():
|
||||
bk_text = "Work"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "Victory"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('victory', -0.6)
|
||||
var = 1
|
||||
|
||||
def setText15():
|
||||
bk_text = "Dive"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
var = 1
|
||||
|
||||
def setText16():
|
||||
bk_text = "Port Out"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "Port In"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "Play"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "Emcee"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistEmcee'))
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "Jealous"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "UpsideD"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('I am the Team Trap Leader!! Feel the Wrath of Deletion!!\n' *7)
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "OnFace"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('Team Trap stays where it stands, Superior..\n' *9)
|
||||
var = 1
|
||||
|
||||
def setText23():
|
||||
bk_text = "OnBack"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('We are against all Toontown bull ****\n' *10)
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "FU"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('We Steal and Sell Toons\n' *10)
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "SIDE"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('Dont Interfere with Team Trap Staff or you will be fixed.\n' *6)
|
||||
var = 1
|
||||
|
||||
def setText26():
|
||||
bk_text = "TInv"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('Team Admin Fails Completely like Team FeD\n' *9)
|
||||
var = 1
|
||||
|
||||
def setText27():
|
||||
bk_text = "Normal"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,0)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText28():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('Team Admin Fails, They do nothing but show!\n' *9)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText29():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.enterSitStart()
|
||||
var = 1
|
||||
|
||||
|
||||
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("COff", "coff", "coff", "COff"), scale=.05, pos = (-1.3,-0,-.98), command=setText1)
|
||||
b2 = DirectButton(text = ("COn", "Con", "Con", "COn"), scale=.05, pos = (-1.2,-0,-.98), command=setText2)
|
||||
b3 = DirectButton(text = ("Laff", "Laff", "Laff", "Laff"), scale=.05, pos = (-1.1,-0,-.98), command=setText3)
|
||||
b4 = DirectButton(text = ("LaffLoss", "LaffLoss", "LaffLoss", "LaffLoss"), scale=.05, pos = (-.33,-0,-.98), command=setText4)
|
||||
b5 = DirectButton(text = ("RAID", "RAID", "RAID", "RAID"), scale=.05, pos = (-1.1,0,-.75), command=setText5)
|
||||
b7 = DirectButton(text = ("Global", "global", "global", "Global"), scale=.05, pos = (-.0,-0,-.98), command=setText7)
|
||||
b8 = DirectButton(text = ("Clothes", "clothes", "clothes", "Clothes"), scale=.05, pos = (.180,-0,-.98), command=setText8)
|
||||
b9 = DirectButton(text = ("Mem", "Mem", "Mem", "Mem"), scale=.05, pos = (.43,-10,-.92), command=setText9)
|
||||
b11 = DirectButton(text = ("StealthTtc", "StealthTtc", "StealthTtc", "StealthTtc"), scale=.05, pos = (.53,-41,-.98), command=setText11)
|
||||
b12 = DirectButton(text = ("ttc", "ttc", "ttc", "ttc"), scale=.05, pos = (.64,-0,-.98), command=setText12)
|
||||
b13 = DirectButton(text = ("Work", "Work", "Work", "Work"), scale=.05, pos = (-.65,-0,-.61), command=setText13)
|
||||
b14 = DirectButton(text = ("Dance", "Dance", "Dance", "Dance"), scale=.05, pos = (-1.27,-0,-.60), command=setText14)
|
||||
b15 = DirectButton(text = ("Dive", "Dive", "Dive", "Dive"), scale=.05, pos = (-1.1,-0,-.70), command=setText15)
|
||||
b16 = DirectButton(text = ("TeleOut", "TeleOut", "TeleOut", "TeleOut"), scale=.05, pos = (-.45,-0,-.61), command=setText16)
|
||||
b17 = DirectButton(text = ("TeleIn", "TeleIn", "TeleIn", "TeleIn"), scale=.05, pos = (-.45,-0,-.67), command=setText17)
|
||||
b18 = DirectButton(text = ("Play", "Play", "Play", "Play"), scale=.05, pos = (-1.1,-0,-.605), command=setText18)
|
||||
b19 = DirectButton(text = ("Emcee", "Emcee", "Emcee", "Emcee"), scale=.05, pos = (-.8,-0,-.61), command=setText19)
|
||||
b20 = DirectButton(text = ("Jealous", "Jealous", "Jealous", "Jealous"), scale=.05, pos = (-.95,-0,-.605), command=setText20)
|
||||
|
||||
|
||||
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 setText1():
|
||||
bk_text = "Run Fast"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 44
|
||||
|
||||
def setText2():
|
||||
bk_text = "Hi Jump"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 44
|
||||
|
||||
def setText3():
|
||||
bk_text = ""
|
||||
textObject.setText(bk_text)
|
||||
cc = base.cr.doFindAll("Big Winky")
|
||||
for cc in base.cr.doFindAll("Big Winky"):
|
||||
cc.copyTo(render)
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("Speed", "speed", "speed", "Speed"), scale=.05, pos = (-.38,-0,-.91), command=setText1)
|
||||
b2 = DirectButton(text = ("Jump", "Jump", "jump", "Jump"), scale=.05, pos = (-.23,-0,-.91), command=setText2)
|
||||
b3 = DirectButton(text = ("Clone", "Clone", "Cloned", "Cloned"), scale=.05, pos = (0,-.93,-.91), command=setText3)
|
||||
def laugh():
|
||||
base.localAvatar.b_setEmoteState(24,1)
|
||||
base.localAvatar.b_setEmoteState(17,1)
|
||||
|
||||
base.accept("f3", laugh, [])
|
||||
def laugh():
|
||||
base.localAvatar.b_setEmoteState(22,1)
|
||||
base.localAvatar.b_setEmoteState(17,1)
|
||||
|
||||
base.accept("f2", laugh, [])
|
||||
def laugh():
|
||||
base.localAvatar.b_setEmoteState(20,1)
|
||||
base.localAvatar.b_setEmoteState(17,1)
|
||||
|
||||
base.accept("f1", laugh, [])
|
||||
def laugh():
|
||||
base.localAvatar.b_setEmoteState(12,1)
|
||||
base.localAvatar.b_setEmoteState(17,1)
|
||||
|
||||
base.accept("f4", laugh, [])
|
||||
def laugh():
|
||||
base.localAvatar.b_setEmoteState(23,1)
|
||||
base.localAvatar.b_setEmoteState(17,1)
|
||||
|
||||
base.accept("f7", laugh, [])
|
||||
def laugh():
|
||||
base.localAvatar.b_setEmoteState(3,1)
|
||||
base.localAvatar.b_setEmoteState(17,1)
|
||||
|
||||
base.accept("f6", laugh, [])
|
||||
def laugh():
|
||||
base.localAvatar.b_setEmoteState(11,1)
|
||||
base.localAvatar.b_setEmoteState(17,1)
|
||||
|
||||
base.accept("f5", laugh, [])
|
||||
def laugh():
|
||||
base.localAvatar.b_setEmoteState(14,1)
|
||||
base.localAvatar.b_setEmoteState(17,1)
|
||||
|
||||
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 = "Collisions"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 1
|
||||
|
||||
|
||||
def setText3():
|
||||
bk_text = "Laff"
|
||||
textObject.setText(bk_text)
|
||||
ttt = base.cr.doFindAll("TTTreasure")
|
||||
for ttt in base.cr.doFindAll("TTTreasure"):
|
||||
ttt.d_requestGrab()
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.d_squish(3)
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "RAID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(4)
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "Big"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk(' We are Team FeD, And im a leader so hop on ma nuts or get da **** out hose')
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "Global"
|
||||
textObject.setText(bk_text)
|
||||
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
|
||||
var = 1
|
||||
|
||||
def setText8():
|
||||
closetn = base.cr.doFindAll("closet")
|
||||
for closetn in base.cr.doFindAll("closet"):
|
||||
messenger.send("purchaseDone-" + str(closetn.doId))
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "Member"
|
||||
textObject.setText(bk_text)
|
||||
def new():
|
||||
return True
|
||||
base.cr.isPaid = new
|
||||
base.cr.isParentPasswordSet = new
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "Funny"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "FInv"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2001)
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "TTC"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText13():
|
||||
bk_text = "Work"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistWork'))
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "Victory"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('victory'))
|
||||
var = 1
|
||||
|
||||
def setText15():
|
||||
bk_text = "Dive"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
var = 1
|
||||
|
||||
def setText16():
|
||||
bk_text = "Port Out"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportOut')
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "Port In"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('TeleportIn')
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "Play"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistPlay'))
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "Emcee"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistEmcee'))
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "Jealous"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('ScientistJealous'))
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "UpsideD"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "OnFace"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(-50,-50,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText23():
|
||||
bk_text = "OnBack"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,90,0)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "FU"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk(' We are Team Trap, And im da leader so hop on ma nuts or get da **** out hose')
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "SIDE"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText26():
|
||||
bk_text = "TInv"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2090)
|
||||
var = 1
|
||||
|
||||
def setText27():
|
||||
bk_text = "Normal"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,0)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText28():
|
||||
bk_text = "Die"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState('Died')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText29():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.enterSitStart()
|
||||
var = 1
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("COff", "coff", "coff", "COff"), scale=.05, pos = (-.95,-0,-.98), command=setText1)
|
||||
b2 = DirectButton(text = ("COn", "Con", "Con", "COn"), scale=.05, pos = (-.81,-0,-.98), command=setText2)
|
||||
b3 = DirectButton(text = ("Laff", "laff", "laff", "Laff"), scale=.05, pos = (-.7,-0,-.98), command=setText3)
|
||||
b4 = DirectButton(text = ("Die", "die", "die", "Die"), scale=.05, pos = (-.58,-0,-.98), command=setText4)
|
||||
b5 = DirectButton(text = ("RAID", "RAID", "RAID", "RAID"), scale=.05, pos = (-.47,0,-.98), command=setText5)
|
||||
b7 = DirectButton(text = ("Global", "global", "global", "Global"), scale=.05, pos = (-.0,-0,-.98), command=setText7)
|
||||
b8 = DirectButton(text = ("Clothes", "clothes", "clothes", "Clothes"), scale=.05, pos = (.180,-0,-.98), command=setText8)
|
||||
b9 = DirectButton(text = ("Mem", "Mem", "Mem", "Mem"), scale=.05, pos = (.43,-10,-.92), command=setText9)
|
||||
b10 = DirectButton(text = ("Funny", "Funny", "Funny", "Funny"), scale=.05, pos = (.35,-1,-.98), command=setText10)
|
||||
b11 = DirectButton(text = ("FINV", "FINV", "FINV", "FINV"), scale=.05, pos = (.53,-41,-.98), command=setText11)
|
||||
b12 = DirectButton(text = ("ttc", "ttc", "ttc", "ttc"), scale=.05, pos = (.64,-0,-.98), command=setText12)
|
||||
b13 = DirectButton(text = ("sw", "sw", "sw", "sw"), scale=.05, pos = (.30,-0,-.92), command=setText13)
|
||||
b14 = DirectButton(text = ("v", "v", "v", "v"), scale=.05, pos = (-.1,-0,-.98), command=setText14)
|
||||
b15 = DirectButton(text = ("d", "d", "d", "d"), scale=.05, pos = (.77,-0,-.91), command=setText15)
|
||||
b16 = DirectButton(text = ("to", "to", "to", "to"), scale=.05, pos = (.55,-0,-.92), command=setText16)
|
||||
b17 = DirectButton(text = ("ti", "ti", "ti", "ti"), scale=.05, pos = (.63,-0,-.92), command=setText17)
|
||||
b18 = DirectButton(text = ("Sp", "Sp", "Sp", "Sp"), scale=.05, pos = (.20,-0,-.91), command=setText18)
|
||||
b19 = DirectButton(text = ("Se", "Se", "Se", "Se"), scale=.05, pos = (.12,-0,-.91), command=setText19)
|
||||
b20 = DirectButton(text = ("Sj", "Sj", "Sj", "Sj"), scale=.05, pos = (.7,-0,-.91), command=setText20)
|
||||
b21 = DirectButton(text = ("UpD", "upd", "upd", "Upd"), scale=.05, pos = (-.84,-0,-.91), command=setText21)
|
||||
b22 = DirectButton(text = ("FOF", "FOF", "FOF", "FOF"), scale=.05, pos = (-.64,-0,-.91), command=setText22)
|
||||
b23 = DirectButton(text = ("BOF", "bof", "bof", "BOF"), scale=.05, pos = (-.51,-0,-.91), command=setText23)
|
||||
b24 = DirectButton(text = ("Big2", "Big2", "Big2", "Big2"), scale=.05, pos = (-.28,-0,-.98), command=setText24)
|
||||
b25 = DirectButton(text = ("SID", "sid", "sid", "SID"), scale=.05, pos = (-.74,-0,-.91), command=setText25)
|
||||
b26 = DirectButton(text = ("TINV", "tinv", "tinv", "TINV"), scale=.05, pos = (.75,-0,-.98), command=setText26)
|
||||
b27 = DirectButton(text = ("NoP", "nop", "Nop", "NoP"), scale=.05, pos = (-.97,-0,-.91), command=setText27)
|
||||
b28 = DirectButton(text = ("DIE", "die", "die", "DIE"), scale=.05, pos = (-.12,-0,-.91), command=setText28)
|
||||
b29 = DirectButton(text = ("SIT", "sit", "sit", "SIT"), scale=.05, pos = (-.19,-0,-.98), command=setText29)
|
||||
|
||||
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 setText1():
|
||||
bk_text = "Run Fast"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
||||
|
||||
def setText2():
|
||||
bk_text = "Hi Jump"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlJumpForce = 150
|
||||
|
||||
def setText3():
|
||||
bk_text = ""
|
||||
textObject.setText(bk_text)
|
||||
cc = base.cr.doFindAll("Toonnamehere")
|
||||
for cc in base.cr.doFindAll("Toonnamehere"):
|
||||
cc.copyTo(render)
|
||||
|
||||
base.accept("escape", normal1, [])
|
||||
b1 = DirectButton(text = ("Speed", "speed", "speed", "Speed"), scale=.05, pos = (-.38,-0,-.91), command=setText1)
|
||||
b2 = DirectButton(text = ("Jump", "Jump", "jump", "Jump"), scale=.05, pos = (-.23,-0,-.91), command=setText2)
|
||||
b3 = DirectButton(text = ("Clone", "Clone", "Cloned", "Cloned"), scale=.05, pos = (0,-.93,-.91), command=setText3)
|
||||
|
||||
messenger.send('nameTagShowAvId')
|
|
@ -0,0 +1,319 @@
|
|||
from direct.gui.OnscreenText import OnscreenText
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import TextNode
|
||||
|
||||
bk_text = "Gabe's buttons"
|
||||
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 = "Gabe's buttons"
|
||||
textObject.setText(bk_text)
|
||||
|
||||
def setText1():
|
||||
bk_text = "Global"
|
||||
textObject.setText(bk_text)
|
||||
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
|
||||
base.localAvatar.setSystemMessage(0, 'Global Teleport Activated Mac Hack Version 1')
|
||||
var = 0
|
||||
|
||||
def setText2():
|
||||
bk_text = "Splash"
|
||||
textObject.setText(bk_text)
|
||||
toon = base.cr.doFindAll("put the toon name here")
|
||||
base.localAvatar.d_playSplashEffect(base.localAvatar.getX(), base.localAvatar.getY(), base.localAvatar.getZ())
|
||||
base.localAvatar.playSplashEffect(base.localAvatar.getX(), base.localAvatar.getY(), base.localAvatar.getZ())
|
||||
var = 1
|
||||
|
||||
def setText3():
|
||||
bk_text = "ClearInterior"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('clearOutToonInterior')
|
||||
var = 1
|
||||
|
||||
def setText4():
|
||||
bk_text = "Scarecrow"
|
||||
textObject.setText(bk_text)
|
||||
from direct.distributed.PyDatagram import PyDatagram
|
||||
from direct.distributed.MsgTypes import CLIENT_SET_AVATAR
|
||||
RefreshedAvatar = PyDatagram()
|
||||
base.localAvatar.collisionsOff()
|
||||
RefreshedAvatar.addUint16(CLIENT_SET_AVATAR)
|
||||
RefreshedAvatar.addUint32(base.localAvatar.doId)
|
||||
base.cr.sendDatagram(RefreshedAvatar)
|
||||
base.cr.sendSetZoneMsg(base.localAvatar.getZoneId())
|
||||
base.localAvatar.b_setParent(2)
|
||||
base.localAvatar.b_setAnimState('off')
|
||||
var = 1
|
||||
|
||||
def setText5():
|
||||
bk_text = "SkipTutorial"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('rejectTutorial')
|
||||
base.cr.gameFSM.request('closeShard')
|
||||
|
||||
var = 0
|
||||
|
||||
def setText6():
|
||||
bk_text = "RacingClothing"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setDNAString('t\x16\x05\x00\x01\x76\x09\x69\x09\55\x09\x14\x00\x14\x14')
|
||||
var = 1
|
||||
|
||||
def setText7():
|
||||
bk_text = "#1Clothes"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setDNAString('t\x16\x05\x00\x01\x56\x09\x58\x09\14\x09\x14\x00\x14\x14')
|
||||
var = 1
|
||||
|
||||
|
||||
def setText8():
|
||||
bk_text = "MOD"
|
||||
base.talkAssistant.sendOpenTalk('WE ARE MOD CLAN! WE ARE MOD CLAN! WE ARE MOD CLAN!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'.center(50) * 6)
|
||||
base.localAvatar.b_setEmoteState(22,1)
|
||||
var = 1
|
||||
|
||||
def setText9():
|
||||
bk_text = "CLoff"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText10():
|
||||
bk_text = "CLon"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.collisionsOn()
|
||||
var = 1
|
||||
|
||||
def setText11():
|
||||
bk_text = "TrollySkip"
|
||||
textObject.setText(bk_text)
|
||||
messenger.send('minigameAbort')
|
||||
var = 1
|
||||
|
||||
def setText12():
|
||||
bk_text = "Farm"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(7000)
|
||||
var = 1
|
||||
|
||||
|
||||
def setText13():
|
||||
bk_text = "TTC"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2000)
|
||||
var = 1
|
||||
|
||||
def setText14():
|
||||
bk_text = "Upside"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr((0,0,180))
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 0
|
||||
|
||||
def setText15():
|
||||
bk_text = "Rule"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('MOD Clan will rule! MOD Clan will rule!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'.center(50) * 6)
|
||||
base.localAvatar.b_setEmoteState(22,1)
|
||||
var = 1
|
||||
|
||||
def setText16():
|
||||
bk_text = "TrunkSteal"
|
||||
textObject.setText(bk_text)
|
||||
AccessoryTrunk = base.cr.doFindAll("Trunk")[0]
|
||||
AccessoryTrunk.hatList = [16, 0, 0]
|
||||
AccessoryTrunk.backpackList = [6, 0, 0]
|
||||
AccessoryTrunk.glassesList = [10, 0, 0]
|
||||
AccessoryTrunk.shoesList = [2, 8, 0]
|
||||
AccessoryTrunk = base.cr.doFindAll("Trunk")[0]
|
||||
AccessoryTrunk._handleYesImSure()
|
||||
var = 1
|
||||
|
||||
def setText17():
|
||||
bk_text = "MOD Unite!"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('MOD Clan Unite! MOD Clan Unite! MOD Clan Unite!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'.center(50) * 6)
|
||||
base.localAvatar.b_setEmoteState(22,1)
|
||||
var = 1
|
||||
|
||||
def setText18():
|
||||
bk_text = "Side Ways"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setHpr(0,0,90)
|
||||
base.localAvatar.collisionsOff()
|
||||
var = 1
|
||||
|
||||
def setText19():
|
||||
bk_text = "Rotate"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlRotateSpeed=1000
|
||||
var = 1
|
||||
|
||||
def setText20():
|
||||
bk_text = "CustomClothing"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setDNAString('t\x16\x02\x00\x01\x58\x09\x58\x09\51\x09\x14\x00\x14\x14')
|
||||
var = 1
|
||||
|
||||
def setText21():
|
||||
bk_text = "TrapFails"
|
||||
textObject.setText(bk_text)
|
||||
base.talkAssistant.sendOpenTalk('Team Trap Fails! Team Trap Fails! Team Trap Fails!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'.center(50) * 6)
|
||||
base.localAvatar.b_setEmoteState(23,1)
|
||||
var = 1
|
||||
|
||||
def setText22():
|
||||
bk_text = "Dive"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState(('dive'))
|
||||
var = 1
|
||||
|
||||
def setText23():
|
||||
bk_text = "Sit"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.enterSitStart()
|
||||
var = 1
|
||||
|
||||
def setText24():
|
||||
bk_text = "Victory"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState("victory", 10)
|
||||
var = 1
|
||||
|
||||
def setText25():
|
||||
bk_text = "Book"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setAnimState("ReadBook", 1, 32074)
|
||||
var = 1
|
||||
|
||||
def setText26():
|
||||
bk_text = "Stealth"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(2010)
|
||||
var = 1
|
||||
|
||||
def setText27():
|
||||
bk_text = "SBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(11100)
|
||||
var = 1
|
||||
|
||||
def setText28():
|
||||
bk_text = "CBHQ"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.sendSetZoneMsg(12100)
|
||||
var = 1
|
||||
|
||||
def setText29():
|
||||
bk_text = "FireworksInTheSky"
|
||||
textObject.setText(bk_text)
|
||||
import toontown
|
||||
from toontown.effects.DistributedFireworkShow import DistributedFireworkShow
|
||||
fireworks = DistributedFireworkShow(base.cr)
|
||||
fireworks.startShow(toontown.toonbase.ToontownGlobals.JULY4_FIREWORKS, 1, 0, render)
|
||||
var = 1
|
||||
|
||||
def setText30():
|
||||
bk_text = "ToonFireworks"
|
||||
textObject.setText(bk_text)
|
||||
import toontown
|
||||
Toon = base.localAvatar
|
||||
from toontown.effects.DistributedFireworkShow import DistributedFireworkShow
|
||||
fireworks = DistributedFireworkShow(None)
|
||||
base.talkAssistant.sendOpenTalk('Boom!')
|
||||
fireworks.sendUpdate("shootFirework", [Toon.getX(), Toon.getY(), Toon.getZ(), 2, 2, 2])
|
||||
fireworks.shootFirework(Toon.getX(), Toon.getY(), Toon.getZ(), 2, 2, 2)
|
||||
fireworks.d_requestFirework(Toon.getX(), Toon.getY, Toon.getZ(), 2, 2, 2)
|
||||
base.localAvatar.b_setAnimState("victory", 10)
|
||||
var = 1
|
||||
|
||||
def setText31():
|
||||
bk_text = "HouseRAID"
|
||||
textObject.setText(bk_text)
|
||||
textObject.setText(bk_text)
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
var = 1
|
||||
|
||||
def setText32():
|
||||
bk_text = "TailorSteal"
|
||||
textObject.setText(bk_text)
|
||||
npc = base.cr.doFindAll("Tailor")
|
||||
npc[0]._DistributedNPCTailor__enterConfirmLoss(34, 34)
|
||||
var = 1
|
||||
|
||||
def setText33():
|
||||
bk_text = "PondTakeOver"
|
||||
textObject.setText(bk_text)
|
||||
base.cr.doFindAll("DistributedFishingSpot")[0].sendUpdate("requestEnter", [])
|
||||
base.cr.doFindAll("DistributedFishingSpot")[1].sendUpdate("requestEnter", [])
|
||||
base.cr.doFindAll("DistributedFishingSpot")[2].sendUpdate("requestEnter", [])
|
||||
base.cr.doFindAll("DistributedFishingSpot")[3].sendUpdate("requestEnter", [])
|
||||
var = 1
|
||||
|
||||
def setText34():
|
||||
bk_text = "GirlClothing"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.setDNAString('t\x16\x05\x00\x01\x46\x09\x61\x09\30\x09\x14\x00\x14\x14')
|
||||
var = 1
|
||||
|
||||
def setText35():
|
||||
bk_text = "RAID"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(20136)
|
||||
var = 1
|
||||
|
||||
def setText36():
|
||||
bk_text = "BLUE"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.b_setSC(2001)
|
||||
var = 1
|
||||
|
||||
def setText37():
|
||||
bk_text = "Run Fast"
|
||||
textObject.setText(bk_text)
|
||||
base.localAvatar.physControls.avatarControlForwardSpeed = 100
|
||||
var = 1
|
||||
|
||||
b1 = DirectButton(text = ("Global", "Global", "Global", "global"), scale=.06, pos = (-.98,-2,-.94), command=setText1)
|
||||
b2 = DirectButton(text = ("Splash", "Splash", "Splash", "Splash"), scale=.06, pos = (-.8,-2,-.94), command=setText2)
|
||||
b3 = DirectButton(text = ("Interior", "Interior", "Interior", "Interior"), scale=.06, pos = (-.6,-2,-.94), command=setText3)
|
||||
b4 = DirectButton(text = ("Scarecrow", "Scarecrow", "scarecrow", "scarecrow"), scale=.06, pos = (-.28,-2,-.94), command=setText4)
|
||||
b5 = DirectButton(text = ("Skiptut", "SkipTut", "SkipTut", "SkipTut"), scale=.06, pos = (.10,-2,-.94), command=setText5)
|
||||
b6 = DirectButton(text = ("Raceclothes", "Raceclothes", "Raceclothes", "Raceclothes"), scale=.06, pos = (.38,-2,-.94), command=setText6)
|
||||
b7 = DirectButton(text = ("#1clothes", "#1clothes", "#1clothes", "#1clothes"), scale=.06, pos = (.90,-2,-.85), command=setText7)
|
||||
b8 = DirectButton(text = ("MOD", "MOD", "MOD", "MOD"), scale=.06, pos = (.70,-2,-.85), command=setText8)
|
||||
b9 = DirectButton(text = ("CLOFF", "CLOFF", "CLOFF", "CLOFF"), scale=.06, pos = (.50,-2,-.85), command=setText9)
|
||||
b10 = DirectButton(text = ("CLOn", "CLOn", "CLOn", "CLOn"), scale=.06, pos = (.30,-2,-.85), command=setText10)
|
||||
b11 = DirectButton(text = ("Trollyskip", "Trollyskip", "Trollyskip", "Trollyskip"), scale=.06, pos = (.10,-2,-.85), command=setText11)
|
||||
b12 = DirectButton(text = ("FARM", "FARM", "FARM", "FARM"), scale=.06, pos = (-.98,-2,-.87), command=setText12)
|
||||
b13 = DirectButton(text = ("TTC", "TTC", "TTC", "TTC"), scale=.06, pos = (-.82,-2,-.87), command=setText13)
|
||||
b14 = DirectButton(text = ("Upside", "upside", "upside", "upside"), scale=.06, pos = (-.65,-2,-.85), command=setText14)
|
||||
b15 = DirectButton(text = ("Rule", "Rule", "Rule", "Rule"), scale=.06, pos = (-.47,-2,-.87), command=setText15)
|
||||
b16 = DirectButton(text = ("TrunkSteal", "TrunkSteal", "TrunkSteal", "TrunkSteal"), scale=.06, pos = (-.25,-2,-.87), command=setText16)
|
||||
b17 = DirectButton(text = ("MOD Unite", "MOD Unite", "MOD Unite", "MOD Unite"), scale=.06, pos = (.62,-3,.94), command=setText17)
|
||||
b18 = DirectButton(text = ("Side Ways", "Side Ways", "Side Ways", "Side Ways"), scale=.06, pos = (-.65,-2,.94), command=setText18)
|
||||
b19 = DirectButton(text = ("Rotate", "Rotate", "Rotate", "Rotate"), scale=.06, pos = (-.90,-2,.94), command=setText19)
|
||||
b20 = DirectButton(text = ("CustomClothing", "CustomClothing", "CustomClothing", "CustomClothing"), scale=.06, pos = (-.22,-2,.94), command=setText20)
|
||||
b21 = DirectButton(text = ("TrapFails", "TrapFails", "TrapFails", "TrapFails"), scale=.06, pos = (.15,-2,.94), command=setText21)
|
||||
b22 = DirectButton(text = ("Dive", "Dive", "Dive", "Dive"), scale=.06, pos = (.40,-2,.94), command=setText22)
|
||||
b23 = DirectButton(text = ("Sit", "Sit", "Sit", "Sit"), scale=.06, pos = (.85,-2,.94), command=setText23)
|
||||
b24 = DirectButton(text = ("Victory", "Victory", "Victory", "Victory"), scale=.06, pos = (.85,-2,.86), command=setText24)
|
||||
b25 = DirectButton(text = ("Book", "Book", "Book", "Book"), scale=.06, pos = (.65,-2,.86), command=setText25)
|
||||
b26 = DirectButton(text = ("Stealth", "Stealth", "Stealth", "Stealth"), scale=.06, pos = (.48,-2,.86), command=setText26)
|
||||
b27 = DirectButton(text = ("SBHQ", "SBHQ", "SBHQ", "SBHQ"), scale=.06, pos = (.30,-2,.86), command=setText27)
|
||||
b28 = DirectButton(text = ("CBHQ", "CBHQ", "CBHQ", "CBHQ"), scale=.06, pos = (.12,-2,.86), command=setText28)
|
||||
b29 = DirectButton(text = ("Fireworksinthesky", "Fireworksinthesky", "fireworksinthesky", "fireworksinthesky"), scale=.06, pos = (-.20,-2,.86), command=setText29)
|
||||
b30 = DirectButton(text = ("ToonFireworks", "ToonFireworks", "Toonfireworks", "ToonFireworks"), scale=.06, pos = (-.64,-2,.86), command=setText30)
|
||||
b31 = DirectButton(text = ("HouseRAID", "HouseRAID", "HouseRaid", "HouseRAID"), scale=.06, pos = (-.85,-2,.78), command=setText31)
|
||||
b32 = DirectButton(text = ("TailorSteal", "TailorSteal", "TailorSteal", "TailorSteal"), scale=.06, pos = (-.55,-2,.78), command=setText32)
|
||||
b33 = DirectButton(text = ("PondTakeOvr", "PondTakeOvr", "PondTakeOvr", "PondTakeOvr"), scale=.06, pos = (-.23,-2,.78), command=setText33)
|
||||
b34 = DirectButton(text = ("GirlClothing", "GirlClothing", "GirlClothing", "GirlClothing"), scale=.06, pos = (.1,-2,.78), command=setText34)
|
||||
b35 = DirectButton(text = ("RAID", "RAID", "RAID", "RAID"), scale=.06, pos = (.34,-2,.78), command=setText35)
|
||||
b36 = DirectButton(text = ("Blue", "Blue", "Blue", "Blue"), scale=.06, pos = (.49,-2,.78), command=setText36)
|
||||
b37 = DirectButton(text = ("RunFast", "RunFast", "RunFast", "RunFast"), scale=.06, pos = (.70,-2,.78), command=setText37)
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,991 @@
|
|||
from direct.actor.Actor import Actor
|
||||
from pandac.PandaModules import *
|
||||
from direct.task import Task
|
||||
import math
|
||||
from math import pi, sin, cos
|
||||
from direct.showbase.ShowBase import ShowBase
|
||||
from direct.task import Task
|
||||
from direct.interval.IntervalGlobal import Sequence
|
||||
from pandac.PandaModules import Point3
|
||||
from pandac.PandaModules import *
|
||||
environ1 = loader.loadModel('phase_13/models/parties/partyGrounds.bam')
|
||||
environ1.reparentTo(render)
|
||||
environ1.setPos(12.931,0.839,110.525)
|
||||
environ1.setHpr(0,0,0)
|
||||
environ1.setScale(1)
|
||||
catch1 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||||
catch1.reparentTo(render)
|
||||
catch1.setPos(12.931,0.839,110.540)
|
||||
catch1.setHpr(0,0,0)
|
||||
catch1.setScale(2)
|
||||
catch2 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||||
catch2.reparentTo(render)
|
||||
catch2.setPos(12.931,0.839,110.540)
|
||||
catch2.setHpr(0,0,0)
|
||||
catch2.setScale(1)
|
||||
stair1 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair1.reparentTo(render)
|
||||
stair1.setPos(-44.350,-3.603,115.031)
|
||||
stair1.setHpr(0,0,0)
|
||||
stair1.setScale(1)
|
||||
stair2 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair2.reparentTo(render)
|
||||
stair2.setPos(-49.592,4.492,119.451)
|
||||
stair2.setHpr(0,0,0)
|
||||
stair2.setScale(1)
|
||||
stair3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair3.reparentTo(render)
|
||||
stair3.setPos(-54.221,12.194,122.359)
|
||||
stair3.setHpr(0,0,0)
|
||||
stair3.setScale(1)
|
||||
stair4 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair4.reparentTo(render)
|
||||
stair4.setPos(-59.905,21.822,126.716)
|
||||
stair4.setHpr(0,0,0)
|
||||
stair4.setScale(1)
|
||||
stair5 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair5.reparentTo(render)
|
||||
stair5.setPos(-64.772,30.703,130.709)
|
||||
stair5.setHpr(0,0,0)
|
||||
stair5.setScale(1)
|
||||
stair6 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair6.reparentTo(render)
|
||||
stair6.setPos(-62.772,39.703,134.638)
|
||||
stair6.setHpr(0,0,0)
|
||||
stair6.setScale(1)
|
||||
stair7 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair7.reparentTo(render)
|
||||
stair7.setPos(-59.416,44.442,139.154)
|
||||
stair7.setHpr(0,0,0)
|
||||
stair7.setScale(1)
|
||||
stair8 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair8.reparentTo(render)
|
||||
stair8.setPos(-55,53,143.624)
|
||||
stair8.setHpr(0,0,0)
|
||||
stair8.setScale(1)
|
||||
stair9 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair9.reparentTo(render)
|
||||
stair9.setPos(-51,58,148)
|
||||
stair9.setHpr(0,0,0)
|
||||
stair9.setScale(1)
|
||||
stair10 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair10.reparentTo(render)
|
||||
stair10.setPos(-47,66,152)
|
||||
stair10.setHpr(0,0,0)
|
||||
stair10.setScale(1)
|
||||
|
||||
stair11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair11.reparentTo(render)
|
||||
stair11.setPos(-43,73,156)
|
||||
stair11.setHpr(0,0,0)
|
||||
stair11.setScale(1)
|
||||
|
||||
stair12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair12.reparentTo(render)
|
||||
stair12.setPos(-39,80,160)
|
||||
stair12.setHpr(0,0,0)
|
||||
stair12.setScale(1)
|
||||
|
||||
stair13 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair13.reparentTo(render)
|
||||
stair13.setPos(-34,85,164)
|
||||
stair13.setHpr(0,0,0)
|
||||
stair13.setScale(1)
|
||||
|
||||
stair14 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair14.reparentTo(render)
|
||||
stair14.setPos(-27,89,168)
|
||||
stair14.setHpr(0,0,0)
|
||||
stair14.setScale(1)
|
||||
|
||||
stair15 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair15.reparentTo(render)
|
||||
stair15.setPos(-21,94,172)
|
||||
stair15.setHpr(0,0,0)
|
||||
stair15.setScale(1)
|
||||
|
||||
stair16 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair16.reparentTo(render)
|
||||
stair16.setPos(-14,98,176)
|
||||
stair16.setHpr(0,0,0)
|
||||
stair16.setScale(1)
|
||||
|
||||
stair17 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair17.reparentTo(render)
|
||||
stair17.setPos(-9,103,180)
|
||||
stair17.setHpr(0,0,0)
|
||||
stair17.setScale(1)
|
||||
|
||||
stair18 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair18.reparentTo(render)
|
||||
stair18.setPos(-4,109,184)
|
||||
stair18.setHpr(0,0,0)
|
||||
stair18.setScale(1)
|
||||
|
||||
stair19 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair19.reparentTo(render)
|
||||
stair19.setPos(-0,116,187)
|
||||
stair19.setHpr(0,0,0)
|
||||
stair19.setScale(1)
|
||||
|
||||
stair20 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair20.reparentTo(render)
|
||||
stair20.setPos(3,123,191)
|
||||
stair20.setHpr(0,0,0)
|
||||
stair20.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_4/models/props/construction_sign.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(4,128,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(6,136,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(-7,134,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(15,125,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(14,150,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(21,162,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(29,176,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(36,189,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(44,203,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairm = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairm.reparentTo(render)
|
||||
stairm.setPos(56,226,191)
|
||||
stairm.setHpr(0,0,0)
|
||||
stairm.setScale(2.5)
|
||||
|
||||
stairs = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
stairs.reparentTo(render)
|
||||
stairs.setPos(56,226,191)
|
||||
stairs.setHpr(60,0,0)
|
||||
stairs.setScale(3)
|
||||
|
||||
cbl = loader.loadModel("phase_4/models/modules/suit_landmark_legal.bam")
|
||||
cbl.reparentTo(render)
|
||||
cbl.setPos(61.138,13.386,110.550)
|
||||
cbl.setHpr(270,0,0)
|
||||
cbl.setScale(1)
|
||||
|
||||
c3l = loader.loadModel("phase_4/models/modules/elevator.bam")
|
||||
c3l.reparentTo(render)
|
||||
c3l.setPos(55.423,-1.493,110.565)
|
||||
c3l.setHpr(270,0,0)
|
||||
c3l.setScale(1)
|
||||
|
||||
f = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
f.reparentTo(render)
|
||||
f.setHpr(90,0,0)
|
||||
f.setPos(47.825,-1.672,110.565)
|
||||
pandaPosInterval22 = f.posInterval(13,Point3(47.825,-1.672,110.565),
|
||||
startPos=Point3(47.825,-1.672,220.565))
|
||||
pandaPosInterval33 = f.posInterval(13,Point3(47.825,-1.672,220.565),
|
||||
|
||||
startPos=Point3(47.825,-1.672,110.565))
|
||||
pandaHprInterval11 = f.hprInterval(3,Point3(0,0,0),
|
||||
|
||||
startHpr=Point3(0, 0, 0))
|
||||
pandaHprInterval22 = f.hprInterval(3,Point3(0, 0, 0),
|
||||
|
||||
startHpr=Point3(0, 0, 0))
|
||||
pandaPace = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="pandaPace")
|
||||
pandaPace.loop()
|
||||
f.find('**/wall_back').removeNode()
|
||||
f.find('**/wall_front').removeNode()
|
||||
f.find('**/wall_left').removeNode()
|
||||
f.find('**/wall_right').removeNode()
|
||||
f.find('**/ceiling').removeNode()
|
||||
r = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
r.setPos(12.931,0.839,4.024)
|
||||
r.setHpr(0,340.30,0)
|
||||
r.hide()
|
||||
r.reparentTo(render)
|
||||
r.find('**/wall_back').removeNode()
|
||||
r.find('**/wall_front').removeNode()
|
||||
r.find('**/wall_left').removeNode()
|
||||
r.find('**/wall_right').removeNode()
|
||||
r.find('**/ceiling').removeNode()
|
||||
|
||||
environ2 = loader.loadModel('phase_8/models/neighborhoods/the_burrrgh.bam')
|
||||
environ2.reparentTo(render)
|
||||
environ2.setPos(47.825,-1.672,220.590)
|
||||
environ2.setHpr(0,0,0)
|
||||
environ2.setScale(1)
|
||||
|
||||
hg1 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg1.reparentTo(render)
|
||||
hg1.loop("cheer")
|
||||
hg1.setPos(59.932,-9.914,223.599)
|
||||
hg1.setHpr(90,0,0)
|
||||
hg1.setScale(3)
|
||||
|
||||
hg2 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg2.reparentTo(render)
|
||||
hg2.loop("cheer")
|
||||
hg2.setPos(66.932,2.914,223.599)
|
||||
hg2.setHpr(90,0,0)
|
||||
hg2.setScale(3)
|
||||
|
||||
hg3 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg3.reparentTo(render)
|
||||
hg3.loop("cheer")
|
||||
hg3.setPos(68.932,17.914,223.599)
|
||||
hg3.setHpr(90,0,0)
|
||||
hg3.setScale(3)
|
||||
|
||||
hg4 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg4.reparentTo(render)
|
||||
hg4.loop("cheer")
|
||||
hg4.setPos(58.932,25.914,223.599)
|
||||
hg4.setHpr(180,0,0)
|
||||
hg4.setScale(3)
|
||||
|
||||
base.localAvatar.setPos(12.931,0.839,110.601)
|
||||
|
||||
base.localAvatar.setHpr(270,0,0)
|
||||
|
||||
base.localAvatar.setSystemMessage(1,'Welcome to Team Admin Land!')
|
||||
|
||||
base.talkAssistant.sendOpenTalk('HOLY...')
|
||||
|
||||
hg5 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg5.reparentTo(render)
|
||||
hg5.loop("cheer")
|
||||
hg5.setPos(47.932,32.914,223.599)
|
||||
hg5.setHpr(180,0,0)
|
||||
hg5.setScale(3)
|
||||
|
||||
hg6 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg6.reparentTo(render)
|
||||
hg6.loop("cheer")
|
||||
hg6.setPos(32.932,28.914,223.599)
|
||||
hg6.setHpr(180,0,0)
|
||||
hg6.setScale(3)
|
||||
|
||||
hg7 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg7.reparentTo(render)
|
||||
hg7.loop("cheer")
|
||||
hg7.setPos(22.932,17.914,223.599)
|
||||
hg7.setHpr(220,0,0)
|
||||
hg7.setScale(3)
|
||||
|
||||
hg8 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg8.reparentTo(render)
|
||||
hg8.loop("cheer")
|
||||
hg8.setPos(19.932,5.914,223.599)
|
||||
hg8.setHpr(270,0,0)
|
||||
hg8.setScale(3)
|
||||
|
||||
hg9 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg9.reparentTo(render)
|
||||
hg9.loop("cheer")
|
||||
hg9.setPos(28.932,-11.914,223.599)
|
||||
hg9.setHpr(310,0,0)
|
||||
hg9.setScale(3)
|
||||
|
||||
hg10 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg10.reparentTo(render)
|
||||
hg10.loop("cheer")
|
||||
hg10.setPos(46.932,-18.914,223.599)
|
||||
hg10.setHpr(350,0,0)
|
||||
hg10.setScale(3)
|
||||
|
||||
mill1 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
mill1.reparentTo(render)
|
||||
mill1.setPos(26,56,229)
|
||||
mill1.setHpr(90,0,0)
|
||||
mill1.setScale(3)
|
||||
|
||||
tug1 = loader.loadModel('phase_13/models/parties/partyTugOfWar.bam')
|
||||
tug1.reparentTo(render)
|
||||
tug1.setPos(132,50,226)
|
||||
tug1.setHpr(90,0,0)
|
||||
tug1.setScale(1)
|
||||
|
||||
cupcake1 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
cupcake1.reparentTo(render)
|
||||
cupcake1.setPos(98,-68,226)
|
||||
cupcake1.setHpr(120,0,0)
|
||||
cupcake1.setScale(1)
|
||||
|
||||
cupcake2 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
cupcake2.reparentTo(render)
|
||||
cupcake2.setPos(122,-51,226)
|
||||
cupcake2.setHpr(120,0,0)
|
||||
cupcake2.setScale(1)
|
||||
|
||||
cupcake3 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
cupcake3.reparentTo(render)
|
||||
cupcake3.setPos(73,-79,226)
|
||||
cupcake3.setHpr(120,0,0)
|
||||
cupcake3.setScale(1)
|
||||
|
||||
dance = loader.loadModel("phase_13/models/parties/danceFloor.bam")
|
||||
dance.reparentTo(render)
|
||||
dance.setPos(116.949,-4.932,226.782)
|
||||
dance.setHpr(180,0,0)
|
||||
dance.setScale(1)
|
||||
carouselSpin=dance.hprInterval(20, Vec3(360, 0, 0))
|
||||
mgr = loader.loadModel("phase_13/models/parties/partyMerryGoRound.bam")
|
||||
mgr.reparentTo(render)
|
||||
mgr.setPos(-50.115,31.640,226.782)
|
||||
mgr.setHpr(0,0,0)
|
||||
mgr.setScale(4)
|
||||
pandaHprInterval1 = mgr.hprInterval(3,Point3(0,0,0),
|
||||
startHpr=Point3(270, 0, 0))
|
||||
pandaHprInterval2 = mgr.hprInterval(3,Point3(270, 0, 0),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
maryspin = Sequence(pandaHprInterval1,
|
||||
name="maryspin")
|
||||
maryspin.loop()
|
||||
carouselSpin.loop()
|
||||
pk1 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||||
pk1.reparentTo(render)
|
||||
pk1.setPos(109.563,-59.050,229.282)
|
||||
pk1.setHpr(210,0,0)
|
||||
pk1.setScale(1)
|
||||
carouselSpin=pk1.hprInterval(2, Vec3(360, 0, 0))
|
||||
pk2 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||||
pk2.reparentTo(render)
|
||||
pk2.setPos(84.250,-73.585,229.282)
|
||||
pk2.setHpr(210,0,0)
|
||||
pk2.setScale(1)
|
||||
carouselSpin.loop()
|
||||
boat1 = loader.loadModel("phase_6/models/neighborhoods/donalds_dock.bam")
|
||||
boat1.reparentTo(render)
|
||||
boat1.setPos(0,0,111111111111)
|
||||
boat1.setHpr(0,0,0)
|
||||
boat1.setScale(1)
|
||||
carouselSpin=pk2.hprInterval(2, Vec3(360, 0, 0))
|
||||
boat2 = boat1.find('**/donalds_boat')
|
||||
boat2.reparentTo(render)
|
||||
boat2.setPos(64.301,-45.289,226.782)
|
||||
boat2.setHpr(0,0,315)
|
||||
boat2.setScale(1)
|
||||
carouselSpin.loop()
|
||||
donald1 = Actor("phase_6/models/char/DL_donald-500.bam",
|
||||
{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
donald1.reparentTo(render)
|
||||
donald1.loop("neutral")
|
||||
donald1.setPos(72.411,-34.692,226.782)
|
||||
donald1.setHpr(270,50,0)
|
||||
donald1.setScale(1.5)
|
||||
|
||||
daisy1 = Actor("phase_4/models/char/daisyduck_1600.bam",
|
||||
{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
daisy1.reparentTo(render)
|
||||
daisy1.loop("idle")
|
||||
daisy1.setPos(77,-37,226)
|
||||
daisy1.setHpr(70,0,0)
|
||||
daisy1.setScale(1.5)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(61.301,-37.289,226.782)
|
||||
broken.setHpr(0,0,315)
|
||||
broken.setScale(2)
|
||||
|
||||
maze1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotMazex1_C.bam')
|
||||
maze1.reparentTo(render)
|
||||
maze1.setPos(-9,-111,226)
|
||||
maze1.setHpr(0,0,0)
|
||||
maze1.setScale(2)
|
||||
|
||||
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
e.reparentTo(render)
|
||||
e.setHpr(90,0,0)
|
||||
e.setPos(-94.567,-27.908,226.782)
|
||||
e.setScale(3)
|
||||
|
||||
e.find('**/wall_back').removeNode()
|
||||
e.find('**/wall_front').removeNode()
|
||||
e.find('**/wall_left').removeNode()
|
||||
e.find('**/wall_right').removeNode()
|
||||
e.find('**/ceiling').removeNode()
|
||||
|
||||
mazesign1 = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
||||
mazesign1.reparentTo(render)
|
||||
mazesign1.setPos(-101.681,-37.524,226.807)
|
||||
mazesign1.setHpr(90,0,0)
|
||||
mazesign1.setScale(2)
|
||||
|
||||
mill2 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
mill2.reparentTo(render)
|
||||
mill2.setPos(-148.5,-26,225)
|
||||
mill2.setHpr(180,0,0)
|
||||
mill2.setScale(3)
|
||||
|
||||
fence1 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence1.reparentTo(render)
|
||||
fence1.setPos(-142.5,-42,225)
|
||||
fence1.setHpr(90,0,0)
|
||||
|
||||
fence2 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence2.reparentTo(render)
|
||||
fence2.setPos(-142.5,-52,225)
|
||||
fence2.setHpr(90,0,0)
|
||||
|
||||
fence3 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence3.reparentTo(render)
|
||||
fence3.setPos(-142.5,-57,225)
|
||||
fence3.setHpr(90,0,0)
|
||||
|
||||
fence4 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence4.reparentTo(render)
|
||||
fence4.setPos(-142.5,-22,225)
|
||||
fence4.setHpr(90,0,0)
|
||||
|
||||
fence5 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence5.reparentTo(render)
|
||||
fence5.setPos(-142.5,-12,225)
|
||||
fence5.setHpr(90,0,0)
|
||||
|
||||
fence6 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence6.reparentTo(render)
|
||||
fence6.setPos(-142.5,-7,225)
|
||||
fence6.setHpr(90,0,0)
|
||||
|
||||
fence7 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence7.reparentTo(render)
|
||||
fence7.setPos(67.5,214,191)
|
||||
fence7.setHpr(140,0,0)
|
||||
|
||||
fence8 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence8.reparentTo(render)
|
||||
fence8.setPos(48.5,225,191)
|
||||
fence8.setHpr(140,0,0)
|
||||
|
||||
block1 = loader.loadModel("phase_4/models/props/construction_sign.bam")
|
||||
block1.reparentTo(render)
|
||||
block1.setPos(-138,-25,225)
|
||||
block1.setHpr(90,0,0)
|
||||
block1.setScale(2)
|
||||
|
||||
cow = loader.loadModel('phase_13/models/parties/cogPieArena_model')
|
||||
cow.reparentTo(render)
|
||||
cow.setPos(-38,-75,227)
|
||||
cow.setHpr(330,0,0)
|
||||
cow.setScale(1)
|
||||
|
||||
launch1 = loader.loadModel('phase_13/models/parties/launchPad')
|
||||
launch1.reparentTo(render)
|
||||
launch1.setPos(17,-99,226)
|
||||
launch1.setHpr(0,0,0)
|
||||
launch1.setScale(1)
|
||||
|
||||
castle = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_castle.bam")
|
||||
castle.reparentTo(render)
|
||||
castle.setPos(143,-153,226)
|
||||
castle.setHpr(120,0,0)
|
||||
castle.setScale(8)
|
||||
|
||||
tiki = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam")
|
||||
tiki.reparentTo(render)
|
||||
tiki.setPos(250,-50,226)
|
||||
tiki.setHpr(160,0,0)
|
||||
tiki.setScale(8)
|
||||
|
||||
mr1 = loader.loadModel('phase_7/models/modules/cubicle_room.bam')
|
||||
mr1.reparentTo(render)
|
||||
mr1.setPos(-416,-27,226)
|
||||
mr1.setHpr(90,0,0)
|
||||
mr1.setScale(1)
|
||||
|
||||
mrt = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt.reparentTo(render)
|
||||
mrt.setPos(-416,-27,226)
|
||||
mrt.setHpr(90,0,0)
|
||||
mrt.setScale(.9)
|
||||
|
||||
rocket1 = loader.loadModel('phase_13/models/parties/rocket_model.bam')
|
||||
rocket1.reparentTo(render)
|
||||
rocket1.setPos(-2,-89,226)
|
||||
rocket1.setHpr(0,0,0)
|
||||
rocket1.setScale(2)
|
||||
|
||||
rexp1 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||||
rexp1.reparentTo(render)
|
||||
rexp1.setPos(-2,-89,226)
|
||||
rexp1.setHpr(0,0,0)
|
||||
rexp1.setScale(2)
|
||||
|
||||
rexp2 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||||
rexp2.reparentTo(render)
|
||||
rexp2.setPos(-2,-89,226)
|
||||
rexp2.setHpr(180,0,0)
|
||||
rexp2.setScale(2)
|
||||
|
||||
c1 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c1.reparentTo(render)
|
||||
c1.setPos(-198.5,16,224)
|
||||
c1.setHpr(180,0,0)
|
||||
c1.setScale(4)
|
||||
|
||||
c2 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c2.reparentTo(render)
|
||||
c2.setPos(-301.5,-65,224)
|
||||
c2.setHpr(0,0,0)
|
||||
c2.setScale(4)
|
||||
|
||||
c3 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c3.reparentTo(render)
|
||||
c3.setPos(-217.5,-31,224)
|
||||
c3.setHpr(0,0,0)
|
||||
c3.setScale(4)
|
||||
|
||||
c4 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c4.reparentTo(render)
|
||||
c4.setPos(-199.5,-44,224)
|
||||
c4.setHpr(0,0,0)
|
||||
c4.setScale(4)
|
||||
|
||||
c5 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c5.reparentTo(render)
|
||||
c5.setPos(-217.5,3,224)
|
||||
c5.setHpr(180,0,0)
|
||||
c5.setScale(4)
|
||||
|
||||
c6 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c6.reparentTo(render)
|
||||
c6.setPos(-284.5,-30,224)
|
||||
c6.setHpr(180,0,0)
|
||||
c6.setScale(4)
|
||||
|
||||
c7 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c7.reparentTo(render)
|
||||
c7.setPos(-198.5,-1,224)
|
||||
c7.setHpr(0,0,0)
|
||||
c7.setScale(4)
|
||||
|
||||
f1 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
f1.reparentTo(render)
|
||||
f1.setHpr(90,0,0)
|
||||
f1.setPos(250,-50,226)
|
||||
f1.setScale(7)
|
||||
|
||||
f1.find('**/wall_back').removeNode()
|
||||
f1.find('**/wall_front').removeNode()
|
||||
f1.find('**/wall_left').removeNode()
|
||||
f1.find('**/wall_right').removeNode()
|
||||
f1.find('**/ceiling').removeNode()
|
||||
|
||||
fb1 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb1.reparentTo(render)
|
||||
fb1.setPos(277,-21,226)
|
||||
fb1.setHpr(270,0,0)
|
||||
fb1.setScale(3)
|
||||
|
||||
fb2 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb2.reparentTo(render)
|
||||
fb2.setPos(277,-33,226)
|
||||
fb2.setHpr(270,0,0)
|
||||
fb2.setScale(3)
|
||||
|
||||
fb3 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb3.reparentTo(render)
|
||||
fb3.setPos(277,-46,226)
|
||||
fb3.setHpr(270,0,0)
|
||||
fb3.setScale(3)
|
||||
|
||||
ca1 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca1.reparentTo(render)
|
||||
ca1.setPos(-431.768,-17.630,226.025)
|
||||
ca1.setHpr(260,0,0)
|
||||
ca1.setScale(2)
|
||||
|
||||
ca2 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca2.reparentTo(render)
|
||||
ca2.setPos(-431.768,-38.630,226.025)
|
||||
ca2.setHpr(280,0,0)
|
||||
ca2.setScale(2)
|
||||
|
||||
ca3 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca3.reparentTo(render)
|
||||
ca3.setPos(-366.768,-35.630,226.025)
|
||||
ca3.setHpr(290,0,0)
|
||||
ca3.setScale(2)
|
||||
|
||||
ca4 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca4.reparentTo(render)
|
||||
ca4.setPos(-366.768,-17.630,226.025)
|
||||
ca4.setHpr(250,0,0)
|
||||
ca4.setScale(2)
|
||||
|
||||
ca5 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca5.reparentTo(render)
|
||||
ca5.setPos(-398.768,-15.630,226.025)
|
||||
ca5.setHpr(120,0,0)
|
||||
ca5.setScale(2)
|
||||
|
||||
ca6 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca6.reparentTo(render)
|
||||
ca6.setPos(-398.768,-38.630,226.025)
|
||||
ca6.setHpr(60,0,0)
|
||||
ca6.setScale(2)
|
||||
|
||||
environ3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ3.reparentTo(render)
|
||||
environ3.setPos(-508.081,-29.392,226.025)
|
||||
environ3.setHpr(0,0,0)
|
||||
environ3.setScale(7)
|
||||
|
||||
rope1 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope1.reparentTo(render)
|
||||
rope1.setPos(-508.081,-29.392,226.025)
|
||||
rope1.setHpr(0,0,0)
|
||||
rope1.setScale(1)
|
||||
|
||||
meter1 = Actor("phase_4/models/props/tt_a_ara_ttc_sillyMeter_default.bam",
|
||||
{"lol":"phase_4/models/props/tt_a_ara_ttc_sillyMeter_phaseFive.bam"})
|
||||
meter1.reparentTo(render)
|
||||
meter1.loop('lol')
|
||||
meter1.setPos(-508.081,-29.392,226.025)
|
||||
meter1.setHpr(90,0,0)
|
||||
meter1.setScale(1)
|
||||
|
||||
rope2 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope2.reparentTo(render)
|
||||
rope2.setPos(-507.867,-59.050,225.995)
|
||||
rope2.setHpr(0,0,0)
|
||||
rope2.setScale(.4)
|
||||
|
||||
mickey = Actor("phase_3/models/char/mickey-1200.bam",
|
||||
{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||||
mickey.reparentTo(render)
|
||||
mickey.loop('wait')
|
||||
mickey.setPos(-507.867,-59.050,225.995)
|
||||
mickey.setHpr(270,0,0)
|
||||
mickey.setScale(2)
|
||||
|
||||
rope3 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope3.reparentTo(render)
|
||||
rope3.setPos(-486.485,-51.431,226.075)
|
||||
rope3.setHpr(0,0,0)
|
||||
rope3.setScale(.4)
|
||||
|
||||
minnie = Actor("phase_3/models/char/minnie-1200.bam",
|
||||
{"wait":"phase_3/models/char/minnie-wait.bam"})
|
||||
minnie.reparentTo(render)
|
||||
minnie.loop('wait')
|
||||
minnie.setPos(-486.485,-51.431,226.075)
|
||||
minnie.setHpr(270,0,0)
|
||||
minnie.setScale(2)
|
||||
|
||||
rope4 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope4.reparentTo(render)
|
||||
rope4.setPos(-486.497,-7.691,226.076)
|
||||
rope4.setHpr(0,0,0)
|
||||
rope4.setScale(.4)
|
||||
|
||||
dd2 = Actor("phase_4/models/char/daisyduck_1600.bam",{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
dd2.reparentTo(render)
|
||||
dd2.loop('idle')
|
||||
dd2.setPos(-486.497,-7.691,226.076)
|
||||
dd2.setHpr(270,0,0)
|
||||
dd2.setScale(2)
|
||||
|
||||
rope5 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope5.reparentTo(render)
|
||||
rope5.setPos(-507.929,3.536,226.051)
|
||||
rope5.setHpr(0,0,0)
|
||||
rope5.setScale(.4)
|
||||
|
||||
dd1 = Actor("phase_6/models/char/DL_donald-500.bam",{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
dd1.reparentTo(render)
|
||||
dd1.loop('neutral')
|
||||
dd1.setPos(-507.929,3.536,226.051)
|
||||
dd1.setHpr(270,0,0)
|
||||
dd1.setScale(2)
|
||||
|
||||
rope6 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope6.reparentTo(render)
|
||||
rope6.setPos(-530.552,-4.198,226.057)
|
||||
rope6.setHpr(0,0,0)
|
||||
rope6.setScale(.4)
|
||||
|
||||
chip1 = Actor("phase_6/models/char/chip_250",{"idle":"phase_6/models/char/chip_idle.bam"})
|
||||
chip1.reparentTo(render)
|
||||
chip1.loop('idle')
|
||||
chip1.setPos(-530.552,-4.198,226.057)
|
||||
chip1.setHpr(270,0,0)
|
||||
chip1.setScale(2)
|
||||
|
||||
rope7 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope7.reparentTo(render)
|
||||
rope7.setPos(-530.552,-52.467,226.069)
|
||||
rope7.setHpr(0,0,0)
|
||||
rope7.setScale(.4)
|
||||
|
||||
dale1 = Actor("phase_6/models/char/dale_250",{"idle":"phase_6/models/char/dale_idle.bam"})
|
||||
dale1.reparentTo(render)
|
||||
dale1.loop('idle')
|
||||
dale1.setPos(-530.552,-52.467,226.069)
|
||||
dale1.setHpr(270,0,0)
|
||||
dale1.setScale(2)
|
||||
|
||||
pluto1 = Actor("phase_6/models/char/pluto-1000.bam",
|
||||
{"neutral":"phase_6/models/char/pluto-neutral.bam"})
|
||||
pluto1.reparentTo(render)
|
||||
pluto1.loop('neutral')
|
||||
pluto1.setPos(-542.602,-30.061,226.070)
|
||||
pluto1.setHpr(270,0,0)
|
||||
pluto1.setScale(15)
|
||||
|
||||
fb4 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb4.reparentTo(render)
|
||||
fb4.setPos(277,-59,226)
|
||||
fb4.setHpr(270,0,0)
|
||||
fb4.setScale(3)
|
||||
|
||||
fb5 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb5.reparentTo(render)
|
||||
fb5.setPos(227,-26,226)
|
||||
fb5.setHpr(0,0,0)
|
||||
fb5.setScale(1)
|
||||
|
||||
fb6 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb6.reparentTo(render)
|
||||
fb6.setPos(241,-26,226)
|
||||
fb6.setHpr(0,0,0)
|
||||
fb6.setScale(1)
|
||||
|
||||
fb7 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb7.reparentTo(render)
|
||||
fb7.setPos(255,-26,226)
|
||||
fb7.setHpr(0,0,0)
|
||||
fb7.setScale(1)
|
||||
|
||||
fb8 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb8.reparentTo(render)
|
||||
fb8.setPos(255,-52,226)
|
||||
fb8.setHpr(0,0,0)
|
||||
fb8.setScale(1)
|
||||
|
||||
fb9 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb9.reparentTo(render)
|
||||
fb9.setPos(241,-52,226)
|
||||
fb9.setHpr(0,0,0)
|
||||
fb9.setScale(1)
|
||||
|
||||
fb10 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb10.reparentTo(render)
|
||||
fb10.setPos(227,-52,226)
|
||||
fb10.setHpr(0,0,0)
|
||||
fb10.setScale(1)
|
||||
|
||||
fb11 = loader.loadModel('phase_13/models/parties/partyClock')
|
||||
fb11.reparentTo(render)
|
||||
fb11.setPos(290,-45,226)
|
||||
fb11.setHpr(90,0,0)
|
||||
fb11.setScale(3)
|
||||
|
||||
fb12 = loader.loadModel('phase_13/models/parties/jukebox_model.bam')
|
||||
fb12.reparentTo(render)
|
||||
fb12.setPos(243,-4,226)
|
||||
fb12.setHpr(0,0,0)
|
||||
fb12.setScale(5)
|
||||
|
||||
fb13 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb13.reparentTo(render)
|
||||
fb13.setPos(219,-76,226)
|
||||
fb13.setHpr(0,0,0)
|
||||
fb13.setScale(25)
|
||||
|
||||
fb14 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb14.reparentTo(render)
|
||||
fb14.setPos(235,-76,234)
|
||||
fb14.setHpr(0,0,0)
|
||||
fb14.setScale(25)
|
||||
|
||||
fb15 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb15.reparentTo(render)
|
||||
fb15.setPos(250,-76,242)
|
||||
fb15.setHpr(0,0,0)
|
||||
fb15.setScale(25)
|
||||
|
||||
fb16 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb16.reparentTo(render)
|
||||
fb16.setPos(265,-76,250)
|
||||
fb16.setHpr(0,0,0)
|
||||
|
||||
fb17 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb17.reparentTo(render)
|
||||
fb17.setPos(265,-76,250)
|
||||
fb17.setHpr(90,0,0)
|
||||
fb17.setScale(25)
|
||||
|
||||
fb18 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb18.reparentTo(render)
|
||||
fb18.setPos(265,-60,258)
|
||||
fb18.setHpr(90,0,0)
|
||||
fb18.setScale(25)
|
||||
|
||||
fb19 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb19.reparentTo(render)
|
||||
fb19.setPos(265,-43,266)
|
||||
fb19.setHpr(90,0,0)
|
||||
fb19.setScale(25)
|
||||
|
||||
fb20 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb20.reparentTo(render)
|
||||
fb20.setPos(265,-26,274)
|
||||
fb20.setHpr(90,0,0)
|
||||
fb20.setScale(25)
|
||||
|
||||
fb21 = loader.loadModel('phase_9/models/cogHQ/Elevator.bam')
|
||||
fb21.reparentTo(render)
|
||||
fb21.setPos(275,-81,250)
|
||||
fb21.setHpr(0,0,0)
|
||||
fb21.setScale(1)
|
||||
|
||||
fb21.find('**/wall_back').removeNode()
|
||||
fb21.find('**/wall_front').removeNode()
|
||||
fb21.find('**/wall_left').removeNode()
|
||||
fb21.find('**/wall_right').removeNode()
|
||||
fb21.find('**/ceiling').removeNode()
|
||||
|
||||
f2 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
f2.reparentTo(render)
|
||||
f2.setHpr(90,0,0)
|
||||
f2.setPos(250,-40,282)
|
||||
f2.setScale(4)
|
||||
|
||||
f2.find('**/wall_back').removeNode()
|
||||
f2.find('**/wall_front').removeNode()
|
||||
f2.find('**/wall_left').removeNode()
|
||||
f2.find('**/wall_right').removeNode()
|
||||
f2.find('**/ceiling').removeNode()
|
||||
|
||||
cogplat1 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
cogplat1.reparentTo(render)
|
||||
cogplat1.setPos(59,267,190)
|
||||
cogplat1.setHpr(0,0,0)
|
||||
cogplat1.setScale(5)
|
||||
|
||||
smr = loader.loadModel("phase_9/models/cogHQ/SellbotHQLobby.bam")
|
||||
smr.reparentTo(render)
|
||||
smr.setHpr(180,0,0)
|
||||
smr.setPos(59,386,169)
|
||||
smr.setScale(7)
|
||||
|
||||
mrt1 = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt1.reparentTo(render)
|
||||
mrt1.setPos(60,363,169)
|
||||
mrt1.setHpr(90,0,0)
|
||||
mrt1.setScale(9)
|
||||
|
||||
c8 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c8.reparentTo(render)
|
||||
c8.setPos(80,362,166)
|
||||
c8.setHpr(0,0,0)
|
||||
c8.setScale(9)
|
||||
|
||||
c9 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c9.reparentTo(render)
|
||||
c9.setPos(40,362,166)
|
||||
c9.setHpr(0,0,0)
|
||||
c9.setScale(9)
|
||||
|
||||
b = loader.loadModel("phase_12/models/char/lawbotBoss-legs-zero.bam")
|
||||
b.reparentTo(render)
|
||||
b.setPos(45,444,196)
|
||||
b.setHpr(0,0,0)
|
||||
b.setScale(1)
|
||||
c = loader.loadModel("phase_12/models/char/cashbotBoss-torso-zero.bam")
|
||||
c.reparentTo(render)
|
||||
c.setPos(45,444,206)
|
||||
c.setHpr(0,0,0)
|
||||
c.setScale(1)
|
||||
d = loader.loadModel("phase_12/models/char/bossbotBoss-head-zero.bam")
|
||||
d.reparentTo(render)
|
||||
d.setPos(45,444,214.2)
|
||||
d.setHpr(90,0,-90)
|
||||
d.setScale(1)
|
||||
|
||||
serv1 = loader.loadModel("phase_12/models/char/cashbotBoss-legs-zero.bam")
|
||||
serv1.reparentTo(render)
|
||||
serv1.setPos(74,444,196)
|
||||
serv1.setHpr(0,0,0)
|
||||
serv1.setScale(1)
|
||||
serv2 = loader.loadModel("phase_10/models/char/lawbotBoss-torso-zero.bam")
|
||||
serv2.reparentTo(render)
|
||||
serv2.setPos(74,444,206)
|
||||
serv2.setHpr(0,0,0)
|
||||
serv2.setScale(1)
|
||||
serv3 = loader.loadModel("phase_10/models/char/sellbotBoss-head-zero.bam")
|
||||
serv3.reparentTo(render)
|
||||
serv3.setPos(74,444,214.2)
|
||||
serv3.setHpr(270,0,-90)
|
||||
serv3.setScale(1)
|
||||
|
||||
mole1 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||||
mole1.reparentTo(render)
|
||||
mole1.setPos(59,321,182)
|
||||
mole1.setHpr(180,0,0)
|
||||
mole1.setScale(6)
|
||||
|
||||
rm1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotKartBoardingRm.bam')
|
||||
rm1.reparentTo(render)
|
||||
rm1.setPos(58,502,196)
|
||||
rm1.setHpr(90,0,0)
|
||||
rm1.setScale(1)
|
||||
|
||||
mole2 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||||
mole2.reparentTo(render)
|
||||
mole2.setPos(40,530,194)
|
||||
mole2.setHpr(0,0,0)
|
||||
mole2.setScale(4)
|
|
@ -0,0 +1,991 @@
|
|||
from direct.actor.Actor import Actor
|
||||
from pandac.PandaModules import *
|
||||
from direct.task import Task
|
||||
import math
|
||||
from math import pi, sin, cos
|
||||
from direct.showbase.ShowBase import ShowBase
|
||||
from direct.task import Task
|
||||
from direct.interval.IntervalGlobal import Sequence
|
||||
from pandac.PandaModules import Point3
|
||||
from pandac.PandaModules import *
|
||||
environ1 = loader.loadModel('phase_13/models/parties/partyGrounds.bam')
|
||||
environ1.reparentTo(render)
|
||||
environ1.setPos(12.931,0.839,110.525)
|
||||
environ1.setHpr(0,0,0)
|
||||
environ1.setScale(1)
|
||||
catch1 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||||
catch1.reparentTo(render)
|
||||
catch1.setPos(12.931,0.839,110.540)
|
||||
catch1.setHpr(0,0,0)
|
||||
catch1.setScale(2)
|
||||
catch2 = loader.loadModel('phase_13/models/parties/partyCatchTree')
|
||||
catch2.reparentTo(render)
|
||||
catch2.setPos(12.931,0.839,110.540)
|
||||
catch2.setHpr(0,0,0)
|
||||
catch2.setScale(1)
|
||||
stair1 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair1.reparentTo(render)
|
||||
stair1.setPos(-44.350,-3.603,115.031)
|
||||
stair1.setHpr(0,0,0)
|
||||
stair1.setScale(1)
|
||||
stair2 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair2.reparentTo(render)
|
||||
stair2.setPos(-49.592,4.492,119.451)
|
||||
stair2.setHpr(0,0,0)
|
||||
stair2.setScale(1)
|
||||
stair3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair3.reparentTo(render)
|
||||
stair3.setPos(-54.221,12.194,122.359)
|
||||
stair3.setHpr(0,0,0)
|
||||
stair3.setScale(1)
|
||||
stair4 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair4.reparentTo(render)
|
||||
stair4.setPos(-59.905,21.822,126.716)
|
||||
stair4.setHpr(0,0,0)
|
||||
stair4.setScale(1)
|
||||
stair5 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair5.reparentTo(render)
|
||||
stair5.setPos(-64.772,30.703,130.709)
|
||||
stair5.setHpr(0,0,0)
|
||||
stair5.setScale(1)
|
||||
stair6 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair6.reparentTo(render)
|
||||
stair6.setPos(-62.772,39.703,134.638)
|
||||
stair6.setHpr(0,0,0)
|
||||
stair6.setScale(1)
|
||||
stair7 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair7.reparentTo(render)
|
||||
stair7.setPos(-59.416,44.442,139.154)
|
||||
stair7.setHpr(0,0,0)
|
||||
stair7.setScale(1)
|
||||
stair8 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair8.reparentTo(render)
|
||||
stair8.setPos(-55,53,143.624)
|
||||
stair8.setHpr(0,0,0)
|
||||
stair8.setScale(1)
|
||||
stair9 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair9.reparentTo(render)
|
||||
stair9.setPos(-51,58,148)
|
||||
stair9.setHpr(0,0,0)
|
||||
stair9.setScale(1)
|
||||
stair10 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair10.reparentTo(render)
|
||||
stair10.setPos(-47,66,152)
|
||||
stair10.setHpr(0,0,0)
|
||||
stair10.setScale(1)
|
||||
|
||||
stair11 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair11.reparentTo(render)
|
||||
stair11.setPos(-43,73,156)
|
||||
stair11.setHpr(0,0,0)
|
||||
stair11.setScale(1)
|
||||
|
||||
stair12 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair12.reparentTo(render)
|
||||
stair12.setPos(-39,80,160)
|
||||
stair12.setHpr(0,0,0)
|
||||
stair12.setScale(1)
|
||||
|
||||
stair13 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair13.reparentTo(render)
|
||||
stair13.setPos(-34,85,164)
|
||||
stair13.setHpr(0,0,0)
|
||||
stair13.setScale(1)
|
||||
|
||||
stair14 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair14.reparentTo(render)
|
||||
stair14.setPos(-27,89,168)
|
||||
stair14.setHpr(0,0,0)
|
||||
stair14.setScale(1)
|
||||
|
||||
stair15 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair15.reparentTo(render)
|
||||
stair15.setPos(-21,94,172)
|
||||
stair15.setHpr(0,0,0)
|
||||
stair15.setScale(1)
|
||||
|
||||
stair16 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair16.reparentTo(render)
|
||||
stair16.setPos(-14,98,176)
|
||||
stair16.setHpr(0,0,0)
|
||||
stair16.setScale(1)
|
||||
|
||||
stair17 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair17.reparentTo(render)
|
||||
stair17.setPos(-9,103,180)
|
||||
stair17.setHpr(0,0,0)
|
||||
stair17.setScale(1)
|
||||
|
||||
stair18 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair18.reparentTo(render)
|
||||
stair18.setPos(-4,109,184)
|
||||
stair18.setHpr(0,0,0)
|
||||
stair18.setScale(1)
|
||||
|
||||
stair19 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair19.reparentTo(render)
|
||||
stair19.setPos(-0,116,187)
|
||||
stair19.setHpr(0,0,0)
|
||||
stair19.setScale(1)
|
||||
|
||||
stair20 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stair20.reparentTo(render)
|
||||
stair20.setPos(3,123,191)
|
||||
stair20.setHpr(0,0,0)
|
||||
stair20.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_4/models/props/construction_sign.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(4,128,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(6,136,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(-7,134,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(15,125,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(14,150,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(21,162,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(29,176,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(36,189,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairw = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairw.reparentTo(render)
|
||||
stairw.setPos(44,203,191)
|
||||
stairw.setHpr(0,0,0)
|
||||
stairw.setScale(1)
|
||||
|
||||
stairm = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
stairm.reparentTo(render)
|
||||
stairm.setPos(56,226,191)
|
||||
stairm.setHpr(0,0,0)
|
||||
stairm.setScale(2.5)
|
||||
|
||||
stairs = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
stairs.reparentTo(render)
|
||||
stairs.setPos(56,226,191)
|
||||
stairs.setHpr(60,0,0)
|
||||
stairs.setScale(3)
|
||||
|
||||
cbl = loader.loadModel("phase_4/models/modules/suit_landmark_legal.bam")
|
||||
cbl.reparentTo(render)
|
||||
cbl.setPos(61.138,13.386,110.550)
|
||||
cbl.setHpr(270,0,0)
|
||||
cbl.setScale(1)
|
||||
|
||||
c3l = loader.loadModel("phase_4/models/modules/elevator.bam")
|
||||
c3l.reparentTo(render)
|
||||
c3l.setPos(55.423,-1.493,110.565)
|
||||
c3l.setHpr(270,0,0)
|
||||
c3l.setScale(1)
|
||||
|
||||
f = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
f.reparentTo(render)
|
||||
f.setHpr(90,0,0)
|
||||
f.setPos(47.825,-1.672,110.565)
|
||||
pandaPosInterval22 = f.posInterval(13,Point3(47.825,-1.672,110.565),
|
||||
startPos=Point3(47.825,-1.672,220.565))
|
||||
pandaPosInterval33 = f.posInterval(13,Point3(47.825,-1.672,220.565),
|
||||
|
||||
startPos=Point3(47.825,-1.672,110.565))
|
||||
pandaHprInterval11 = f.hprInterval(3,Point3(0,0,0),
|
||||
|
||||
startHpr=Point3(0, 0, 0))
|
||||
pandaHprInterval22 = f.hprInterval(3,Point3(0, 0, 0),
|
||||
|
||||
startHpr=Point3(0, 0, 0))
|
||||
pandaPace = Sequence(pandaPosInterval22,
|
||||
pandaHprInterval11,
|
||||
pandaPosInterval33,
|
||||
pandaHprInterval22,
|
||||
name="pandaPace")
|
||||
pandaPace.loop()
|
||||
f.find('**/wall_back').removeNode()
|
||||
f.find('**/wall_front').removeNode()
|
||||
f.find('**/wall_left').removeNode()
|
||||
f.find('**/wall_right').removeNode()
|
||||
f.find('**/ceiling').removeNode()
|
||||
r = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
r.setPos(12.931,0.839,4.024)
|
||||
r.setHpr(0,340.30,0)
|
||||
r.hide()
|
||||
r.reparentTo(render)
|
||||
r.find('**/wall_back').removeNode()
|
||||
r.find('**/wall_front').removeNode()
|
||||
r.find('**/wall_left').removeNode()
|
||||
r.find('**/wall_right').removeNode()
|
||||
r.find('**/ceiling').removeNode()
|
||||
|
||||
environ2 = loader.loadModel('phase_8/models/neighborhoods/the_burrrgh.bam')
|
||||
environ2.reparentTo(render)
|
||||
environ2.setPos(47.825,-1.672,220.590)
|
||||
environ2.setHpr(0,0,0)
|
||||
environ2.setScale(1)
|
||||
|
||||
hg1 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg1.reparentTo(render)
|
||||
hg1.loop("cheer")
|
||||
hg1.setPos(59.932,-9.914,223.599)
|
||||
hg1.setHpr(90,0,0)
|
||||
hg1.setScale(3)
|
||||
|
||||
hg2 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg2.reparentTo(render)
|
||||
hg2.loop("cheer")
|
||||
hg2.setPos(66.932,2.914,223.599)
|
||||
hg2.setHpr(90,0,0)
|
||||
hg2.setScale(3)
|
||||
|
||||
hg3 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg3.reparentTo(render)
|
||||
hg3.loop("cheer")
|
||||
hg3.setPos(68.932,17.914,223.599)
|
||||
hg3.setHpr(90,0,0)
|
||||
hg3.setScale(3)
|
||||
|
||||
hg4 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg4.reparentTo(render)
|
||||
hg4.loop("cheer")
|
||||
hg4.setPos(58.932,25.914,223.599)
|
||||
hg4.setHpr(180,0,0)
|
||||
hg4.setScale(3)
|
||||
|
||||
base.localAvatar.setPos(12.931,0.839,110.601)
|
||||
|
||||
base.localAvatar.setHpr(270,0,0)
|
||||
|
||||
base.localAvatar.setSystemMessage(1,'Welcome to Team Admin Land!')
|
||||
|
||||
base.talkAssistant.sendOpenTalk('HOLY...')
|
||||
|
||||
hg5 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg5.reparentTo(render)
|
||||
hg5.loop("cheer")
|
||||
hg5.setPos(47.932,32.914,223.599)
|
||||
hg5.setHpr(180,0,0)
|
||||
hg5.setScale(3)
|
||||
|
||||
hg6 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg6.reparentTo(render)
|
||||
hg6.loop("cheer")
|
||||
hg6.setPos(32.932,28.914,223.599)
|
||||
hg6.setHpr(180,0,0)
|
||||
hg6.setScale(3)
|
||||
|
||||
hg7 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg7.reparentTo(render)
|
||||
hg7.loop("cheer")
|
||||
hg7.setPos(22.932,17.914,223.599)
|
||||
hg7.setHpr(220,0,0)
|
||||
hg7.setScale(3)
|
||||
|
||||
hg8 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg8.reparentTo(render)
|
||||
hg8.loop("cheer")
|
||||
hg8.setPos(19.932,5.914,223.599)
|
||||
hg8.setHpr(270,0,0)
|
||||
hg8.setScale(3)
|
||||
|
||||
hg9 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg9.reparentTo(render)
|
||||
hg9.loop("cheer")
|
||||
hg9.setPos(28.932,-11.914,223.599)
|
||||
hg9.setHpr(310,0,0)
|
||||
hg9.setScale(3)
|
||||
|
||||
hg10 = Actor("phase_5/models/char/tt_r_ara_ttc_hydrant.bam",
|
||||
{"cheer":"phase_5/models/char/tt_a_ara_ttc_hydrant_fightCheer.bam"})
|
||||
hg10.reparentTo(render)
|
||||
hg10.loop("cheer")
|
||||
hg10.setPos(46.932,-18.914,223.599)
|
||||
hg10.setHpr(350,0,0)
|
||||
hg10.setScale(3)
|
||||
|
||||
mill1 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
mill1.reparentTo(render)
|
||||
mill1.setPos(26,56,229)
|
||||
mill1.setHpr(90,0,0)
|
||||
mill1.setScale(3)
|
||||
|
||||
tug1 = loader.loadModel('phase_13/models/parties/partyTugOfWar.bam')
|
||||
tug1.reparentTo(render)
|
||||
tug1.setPos(132,50,226)
|
||||
tug1.setHpr(90,0,0)
|
||||
tug1.setScale(1)
|
||||
|
||||
cupcake1 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
cupcake1.reparentTo(render)
|
||||
cupcake1.setPos(98,-68,226)
|
||||
cupcake1.setHpr(120,0,0)
|
||||
cupcake1.setScale(1)
|
||||
|
||||
cupcake2 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
cupcake2.reparentTo(render)
|
||||
cupcake2.setPos(122,-51,226)
|
||||
cupcake2.setHpr(120,0,0)
|
||||
cupcake2.setScale(1)
|
||||
|
||||
cupcake3 = loader.loadModel('phase_5.5/models/estate/tt_m_ara_est_house_cupcake.bam')
|
||||
cupcake3.reparentTo(render)
|
||||
cupcake3.setPos(73,-79,226)
|
||||
cupcake3.setHpr(120,0,0)
|
||||
cupcake3.setScale(1)
|
||||
|
||||
dance = loader.loadModel("phase_13/models/parties/danceFloor.bam")
|
||||
dance.reparentTo(render)
|
||||
dance.setPos(116.949,-4.932,226.782)
|
||||
dance.setHpr(180,0,0)
|
||||
dance.setScale(1)
|
||||
carouselSpin=dance.hprInterval(20, Vec3(360, 0, 0))
|
||||
mgr = loader.loadModel("phase_13/models/parties/partyMerryGoRound.bam")
|
||||
mgr.reparentTo(render)
|
||||
mgr.setPos(-50.115,31.640,226.782)
|
||||
mgr.setHpr(0,0,0)
|
||||
mgr.setScale(4)
|
||||
pandaHprInterval1 = mgr.hprInterval(3,Point3(0,0,0),
|
||||
startHpr=Point3(270, 0, 0))
|
||||
pandaHprInterval2 = mgr.hprInterval(3,Point3(270, 0, 0),
|
||||
startHpr=Point3(0, 0, 0))
|
||||
# Create and play the sequence that coordinates the intervals.
|
||||
maryspin = Sequence(pandaHprInterval1,
|
||||
name="maryspin")
|
||||
maryspin.loop()
|
||||
carouselSpin.loop()
|
||||
pk1 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||||
pk1.reparentTo(render)
|
||||
pk1.setPos(109.563,-59.050,229.282)
|
||||
pk1.setHpr(210,0,0)
|
||||
pk1.setScale(1)
|
||||
carouselSpin=pk1.hprInterval(2, Vec3(360, 0, 0))
|
||||
pk2 = loader.loadModel('phase_4/models/estate/pumpkin_short.bam')
|
||||
pk2.reparentTo(render)
|
||||
pk2.setPos(84.250,-73.585,229.282)
|
||||
pk2.setHpr(210,0,0)
|
||||
pk2.setScale(1)
|
||||
carouselSpin.loop()
|
||||
boat1 = loader.loadModel("phase_6/models/neighborhoods/donalds_dock.bam")
|
||||
boat1.reparentTo(render)
|
||||
boat1.setPos(0,0,111111111111)
|
||||
boat1.setHpr(0,0,0)
|
||||
boat1.setScale(1)
|
||||
carouselSpin=pk2.hprInterval(2, Vec3(360, 0, 0))
|
||||
boat2 = boat1.find('**/donalds_boat')
|
||||
boat2.reparentTo(render)
|
||||
boat2.setPos(64.301,-45.289,226.782)
|
||||
boat2.setHpr(0,0,315)
|
||||
boat2.setScale(1)
|
||||
carouselSpin.loop()
|
||||
donald1 = Actor("phase_6/models/char/DL_donald-500.bam",
|
||||
{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
donald1.reparentTo(render)
|
||||
donald1.loop("neutral")
|
||||
donald1.setPos(72.411,-34.692,226.782)
|
||||
donald1.setHpr(270,50,0)
|
||||
donald1.setScale(1.5)
|
||||
|
||||
daisy1 = Actor("phase_4/models/char/daisyduck_1600.bam",
|
||||
{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
daisy1.reparentTo(render)
|
||||
daisy1.loop("idle")
|
||||
daisy1.setPos(77,-37,226)
|
||||
daisy1.setHpr(70,0,0)
|
||||
daisy1.setScale(1.5)
|
||||
|
||||
broken = loader.loadModel('phase_5/models/props/geyser.bam')
|
||||
broken.reparentTo(render)
|
||||
broken.setPos(61.301,-37.289,226.782)
|
||||
broken.setHpr(0,0,315)
|
||||
broken.setScale(2)
|
||||
|
||||
maze1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotMazex1_C.bam')
|
||||
maze1.reparentTo(render)
|
||||
maze1.setPos(-9,-111,226)
|
||||
maze1.setHpr(0,0,0)
|
||||
maze1.setScale(2)
|
||||
|
||||
e = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
e.reparentTo(render)
|
||||
e.setHpr(90,0,0)
|
||||
e.setPos(-94.567,-27.908,226.782)
|
||||
e.setScale(3)
|
||||
|
||||
e.find('**/wall_back').removeNode()
|
||||
e.find('**/wall_front').removeNode()
|
||||
e.find('**/wall_left').removeNode()
|
||||
e.find('**/wall_right').removeNode()
|
||||
e.find('**/ceiling').removeNode()
|
||||
|
||||
mazesign1 = loader.loadModel("phase_4/models/minigames/toonblitz_game_arrow.bam")
|
||||
mazesign1.reparentTo(render)
|
||||
mazesign1.setPos(-101.681,-37.524,226.807)
|
||||
mazesign1.setHpr(90,0,0)
|
||||
mazesign1.setScale(2)
|
||||
|
||||
mill2 = loader.loadModel('phase_6/models/golf/windmill.bam')
|
||||
mill2.reparentTo(render)
|
||||
mill2.setPos(-148.5,-26,225)
|
||||
mill2.setHpr(180,0,0)
|
||||
mill2.setScale(3)
|
||||
|
||||
fence1 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence1.reparentTo(render)
|
||||
fence1.setPos(-142.5,-42,225)
|
||||
fence1.setHpr(90,0,0)
|
||||
|
||||
fence2 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence2.reparentTo(render)
|
||||
fence2.setPos(-142.5,-52,225)
|
||||
fence2.setHpr(90,0,0)
|
||||
|
||||
fence3 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence3.reparentTo(render)
|
||||
fence3.setPos(-142.5,-57,225)
|
||||
fence3.setHpr(90,0,0)
|
||||
|
||||
fence4 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence4.reparentTo(render)
|
||||
fence4.setPos(-142.5,-22,225)
|
||||
fence4.setHpr(90,0,0)
|
||||
|
||||
fence5 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence5.reparentTo(render)
|
||||
fence5.setPos(-142.5,-12,225)
|
||||
fence5.setHpr(90,0,0)
|
||||
|
||||
fence6 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence6.reparentTo(render)
|
||||
fence6.setPos(-142.5,-7,225)
|
||||
fence6.setHpr(90,0,0)
|
||||
|
||||
fence7 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence7.reparentTo(render)
|
||||
fence7.setPos(67.5,214,191)
|
||||
fence7.setHpr(140,0,0)
|
||||
|
||||
fence8 = loader.loadModel('phase_3.5/models/modules/wood_fence.bam')
|
||||
fence8.reparentTo(render)
|
||||
fence8.setPos(48.5,225,191)
|
||||
fence8.setHpr(140,0,0)
|
||||
|
||||
block1 = loader.loadModel("phase_4/models/props/construction_sign.bam")
|
||||
block1.reparentTo(render)
|
||||
block1.setPos(-138,-25,225)
|
||||
block1.setHpr(90,0,0)
|
||||
block1.setScale(2)
|
||||
|
||||
cow = loader.loadModel('phase_13/models/parties/cogPieArena_model')
|
||||
cow.reparentTo(render)
|
||||
cow.setPos(-38,-75,227)
|
||||
cow.setHpr(330,0,0)
|
||||
cow.setScale(1)
|
||||
|
||||
launch1 = loader.loadModel('phase_13/models/parties/launchPad')
|
||||
launch1.reparentTo(render)
|
||||
launch1.setPos(17,-99,226)
|
||||
launch1.setHpr(0,0,0)
|
||||
launch1.setScale(1)
|
||||
|
||||
castle = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_castle.bam")
|
||||
castle.reparentTo(render)
|
||||
castle.setPos(143,-153,226)
|
||||
castle.setHpr(120,0,0)
|
||||
castle.setScale(8)
|
||||
|
||||
tiki = loader.loadModel("phase_5.5/models/estate/tt_m_ara_est_house_tiki.bam")
|
||||
tiki.reparentTo(render)
|
||||
tiki.setPos(250,-50,226)
|
||||
tiki.setHpr(160,0,0)
|
||||
tiki.setScale(8)
|
||||
|
||||
mr1 = loader.loadModel('phase_7/models/modules/cubicle_room.bam')
|
||||
mr1.reparentTo(render)
|
||||
mr1.setPos(-416,-27,226)
|
||||
mr1.setHpr(90,0,0)
|
||||
mr1.setScale(1)
|
||||
|
||||
mrt = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt.reparentTo(render)
|
||||
mrt.setPos(-416,-27,226)
|
||||
mrt.setHpr(90,0,0)
|
||||
mrt.setScale(.9)
|
||||
|
||||
rocket1 = loader.loadModel('phase_13/models/parties/rocket_model.bam')
|
||||
rocket1.reparentTo(render)
|
||||
rocket1.setPos(-2,-89,226)
|
||||
rocket1.setHpr(0,0,0)
|
||||
rocket1.setScale(2)
|
||||
|
||||
rexp1 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||||
rexp1.reparentTo(render)
|
||||
rexp1.setPos(-2,-89,226)
|
||||
rexp1.setHpr(0,0,0)
|
||||
rexp1.setScale(2)
|
||||
|
||||
rexp2 = loader.loadModel('phase_3.5/models/props/explosion.bam')
|
||||
rexp2.reparentTo(render)
|
||||
rexp2.setPos(-2,-89,226)
|
||||
rexp2.setHpr(180,0,0)
|
||||
rexp2.setScale(2)
|
||||
|
||||
c1 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c1.reparentTo(render)
|
||||
c1.setPos(-198.5,16,224)
|
||||
c1.setHpr(180,0,0)
|
||||
c1.setScale(4)
|
||||
|
||||
c2 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c2.reparentTo(render)
|
||||
c2.setPos(-301.5,-65,224)
|
||||
c2.setHpr(0,0,0)
|
||||
c2.setScale(4)
|
||||
|
||||
c3 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c3.reparentTo(render)
|
||||
c3.setPos(-217.5,-31,224)
|
||||
c3.setHpr(0,0,0)
|
||||
c3.setScale(4)
|
||||
|
||||
c4 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c4.reparentTo(render)
|
||||
c4.setPos(-199.5,-44,224)
|
||||
c4.setHpr(0,0,0)
|
||||
c4.setScale(4)
|
||||
|
||||
c5 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c5.reparentTo(render)
|
||||
c5.setPos(-217.5,3,224)
|
||||
c5.setHpr(180,0,0)
|
||||
c5.setScale(4)
|
||||
|
||||
c6 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c6.reparentTo(render)
|
||||
c6.setPos(-284.5,-30,224)
|
||||
c6.setHpr(180,0,0)
|
||||
c6.setScale(4)
|
||||
|
||||
c7 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c7.reparentTo(render)
|
||||
c7.setPos(-198.5,-1,224)
|
||||
c7.setHpr(0,0,0)
|
||||
c7.setScale(4)
|
||||
|
||||
f1 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
f1.reparentTo(render)
|
||||
f1.setHpr(90,0,0)
|
||||
f1.setPos(250,-50,226)
|
||||
f1.setScale(7)
|
||||
|
||||
f1.find('**/wall_back').removeNode()
|
||||
f1.find('**/wall_front').removeNode()
|
||||
f1.find('**/wall_left').removeNode()
|
||||
f1.find('**/wall_right').removeNode()
|
||||
f1.find('**/ceiling').removeNode()
|
||||
|
||||
fb1 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb1.reparentTo(render)
|
||||
fb1.setPos(277,-21,226)
|
||||
fb1.setHpr(270,0,0)
|
||||
fb1.setScale(3)
|
||||
|
||||
fb2 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb2.reparentTo(render)
|
||||
fb2.setPos(277,-33,226)
|
||||
fb2.setHpr(270,0,0)
|
||||
fb2.setScale(3)
|
||||
|
||||
fb3 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb3.reparentTo(render)
|
||||
fb3.setPos(277,-46,226)
|
||||
fb3.setHpr(270,0,0)
|
||||
fb3.setScale(3)
|
||||
|
||||
ca1 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca1.reparentTo(render)
|
||||
ca1.setPos(-431.768,-17.630,226.025)
|
||||
ca1.setHpr(260,0,0)
|
||||
ca1.setScale(2)
|
||||
|
||||
ca2 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca2.reparentTo(render)
|
||||
ca2.setPos(-431.768,-38.630,226.025)
|
||||
ca2.setHpr(280,0,0)
|
||||
ca2.setScale(2)
|
||||
|
||||
ca3 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca3.reparentTo(render)
|
||||
ca3.setPos(-366.768,-35.630,226.025)
|
||||
ca3.setHpr(290,0,0)
|
||||
ca3.setScale(2)
|
||||
|
||||
ca4 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca4.reparentTo(render)
|
||||
ca4.setPos(-366.768,-17.630,226.025)
|
||||
ca4.setHpr(250,0,0)
|
||||
ca4.setScale(2)
|
||||
|
||||
ca5 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca5.reparentTo(render)
|
||||
ca5.setPos(-398.768,-15.630,226.025)
|
||||
ca5.setHpr(120,0,0)
|
||||
ca5.setScale(2)
|
||||
|
||||
ca6 = loader.loadModel('phase_4/models/minigames/toon_cannon.bam')
|
||||
ca6.reparentTo(render)
|
||||
ca6.setPos(-398.768,-38.630,226.025)
|
||||
ca6.setHpr(60,0,0)
|
||||
ca6.setScale(2)
|
||||
|
||||
environ3 = loader.loadModel('phase_9/models/cogHQ/PaintMixer.bam')
|
||||
environ3.reparentTo(render)
|
||||
environ3.setPos(-508.081,-29.392,226.025)
|
||||
environ3.setHpr(0,0,0)
|
||||
environ3.setScale(7)
|
||||
|
||||
rope1 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope1.reparentTo(render)
|
||||
rope1.setPos(-508.081,-29.392,226.025)
|
||||
rope1.setHpr(0,0,0)
|
||||
rope1.setScale(1)
|
||||
|
||||
meter1 = Actor("phase_4/models/props/tt_a_ara_ttc_sillyMeter_default.bam",
|
||||
{"lol":"phase_4/models/props/tt_a_ara_ttc_sillyMeter_phaseFive.bam"})
|
||||
meter1.reparentTo(render)
|
||||
meter1.loop('lol')
|
||||
meter1.setPos(-508.081,-29.392,226.025)
|
||||
meter1.setHpr(90,0,0)
|
||||
meter1.setScale(1)
|
||||
|
||||
rope2 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope2.reparentTo(render)
|
||||
rope2.setPos(-507.867,-59.050,225.995)
|
||||
rope2.setHpr(0,0,0)
|
||||
rope2.setScale(.4)
|
||||
|
||||
mickey = Actor("phase_3/models/char/mickey-1200.bam",
|
||||
{"wait":"phase_3/models/char/mickey-wait.bam"})
|
||||
mickey.reparentTo(render)
|
||||
mickey.loop('wait')
|
||||
mickey.setPos(-507.867,-59.050,225.995)
|
||||
mickey.setHpr(270,0,0)
|
||||
mickey.setScale(2)
|
||||
|
||||
rope3 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope3.reparentTo(render)
|
||||
rope3.setPos(-486.485,-51.431,226.075)
|
||||
rope3.setHpr(0,0,0)
|
||||
rope3.setScale(.4)
|
||||
|
||||
minnie = Actor("phase_3/models/char/minnie-1200.bam",
|
||||
{"wait":"phase_3/models/char/minnie-wait.bam"})
|
||||
minnie.reparentTo(render)
|
||||
minnie.loop('wait')
|
||||
minnie.setPos(-486.485,-51.431,226.075)
|
||||
minnie.setHpr(270,0,0)
|
||||
minnie.setScale(2)
|
||||
|
||||
rope4 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope4.reparentTo(render)
|
||||
rope4.setPos(-486.497,-7.691,226.076)
|
||||
rope4.setHpr(0,0,0)
|
||||
rope4.setScale(.4)
|
||||
|
||||
dd2 = Actor("phase_4/models/char/daisyduck_1600.bam",{"idle":"phase_4/models/char/daisyduck_idle.bam"})
|
||||
dd2.reparentTo(render)
|
||||
dd2.loop('idle')
|
||||
dd2.setPos(-486.497,-7.691,226.076)
|
||||
dd2.setHpr(270,0,0)
|
||||
dd2.setScale(2)
|
||||
|
||||
rope5 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope5.reparentTo(render)
|
||||
rope5.setPos(-507.929,3.536,226.051)
|
||||
rope5.setHpr(0,0,0)
|
||||
rope5.setScale(.4)
|
||||
|
||||
dd1 = Actor("phase_6/models/char/DL_donald-500.bam",{"neutral":"phase_6/models/char/DL_donald-neutral.bam"})
|
||||
dd1.reparentTo(render)
|
||||
dd1.loop('neutral')
|
||||
dd1.setPos(-507.929,3.536,226.051)
|
||||
dd1.setHpr(270,0,0)
|
||||
dd1.setScale(2)
|
||||
|
||||
rope6 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope6.reparentTo(render)
|
||||
rope6.setPos(-530.552,-4.198,226.057)
|
||||
rope6.setHpr(0,0,0)
|
||||
rope6.setScale(.4)
|
||||
|
||||
chip1 = Actor("phase_6/models/char/chip_250",{"idle":"phase_6/models/char/chip_idle.bam"})
|
||||
chip1.reparentTo(render)
|
||||
chip1.loop('idle')
|
||||
chip1.setPos(-530.552,-4.198,226.057)
|
||||
chip1.setHpr(270,0,0)
|
||||
chip1.setScale(2)
|
||||
|
||||
rope7 = loader.loadModel("phase_4/models/modules/tt_m_ara_int_ropes.bam")
|
||||
rope7.reparentTo(render)
|
||||
rope7.setPos(-530.552,-52.467,226.069)
|
||||
rope7.setHpr(0,0,0)
|
||||
rope7.setScale(.4)
|
||||
|
||||
dale1 = Actor("phase_6/models/char/dale_250",{"idle":"phase_6/models/char/dale_idle.bam"})
|
||||
dale1.reparentTo(render)
|
||||
dale1.loop('idle')
|
||||
dale1.setPos(-530.552,-52.467,226.069)
|
||||
dale1.setHpr(270,0,0)
|
||||
dale1.setScale(2)
|
||||
|
||||
pluto1 = Actor("phase_6/models/char/pluto-1000.bam",
|
||||
{"neutral":"phase_6/models/char/pluto-neutral.bam"})
|
||||
pluto1.reparentTo(render)
|
||||
pluto1.loop('neutral')
|
||||
pluto1.setPos(-542.602,-30.061,226.070)
|
||||
pluto1.setHpr(270,0,0)
|
||||
pluto1.setScale(15)
|
||||
|
||||
fb4 = loader.loadModel('phase_12/models/bossbotHQ/canoffood.bam')
|
||||
fb4.reparentTo(render)
|
||||
fb4.setPos(277,-59,226)
|
||||
fb4.setHpr(270,0,0)
|
||||
fb4.setScale(3)
|
||||
|
||||
fb5 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb5.reparentTo(render)
|
||||
fb5.setPos(227,-26,226)
|
||||
fb5.setHpr(0,0,0)
|
||||
fb5.setScale(1)
|
||||
|
||||
fb6 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb6.reparentTo(render)
|
||||
fb6.setPos(241,-26,226)
|
||||
fb6.setHpr(0,0,0)
|
||||
fb6.setScale(1)
|
||||
|
||||
fb7 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb7.reparentTo(render)
|
||||
fb7.setPos(255,-26,226)
|
||||
fb7.setHpr(0,0,0)
|
||||
fb7.setScale(1)
|
||||
|
||||
fb8 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb8.reparentTo(render)
|
||||
fb8.setPos(255,-52,226)
|
||||
fb8.setHpr(0,0,0)
|
||||
fb8.setScale(1)
|
||||
|
||||
fb9 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb9.reparentTo(render)
|
||||
fb9.setPos(241,-52,226)
|
||||
fb9.setHpr(0,0,0)
|
||||
fb9.setScale(1)
|
||||
|
||||
fb10 = loader.loadModel('phase_6/models/golf/picnic_table.bam')
|
||||
fb10.reparentTo(render)
|
||||
fb10.setPos(227,-52,226)
|
||||
fb10.setHpr(0,0,0)
|
||||
fb10.setScale(1)
|
||||
|
||||
fb11 = loader.loadModel('phase_13/models/parties/partyClock')
|
||||
fb11.reparentTo(render)
|
||||
fb11.setPos(290,-45,226)
|
||||
fb11.setHpr(90,0,0)
|
||||
fb11.setScale(3)
|
||||
|
||||
fb12 = loader.loadModel('phase_13/models/parties/jukebox_model.bam')
|
||||
fb12.reparentTo(render)
|
||||
fb12.setPos(243,-4,226)
|
||||
fb12.setHpr(0,0,0)
|
||||
fb12.setScale(5)
|
||||
|
||||
fb13 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb13.reparentTo(render)
|
||||
fb13.setPos(219,-76,226)
|
||||
fb13.setHpr(0,0,0)
|
||||
fb13.setScale(25)
|
||||
|
||||
fb14 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb14.reparentTo(render)
|
||||
fb14.setPos(235,-76,234)
|
||||
fb14.setHpr(0,0,0)
|
||||
fb14.setScale(25)
|
||||
|
||||
fb15 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb15.reparentTo(render)
|
||||
fb15.setPos(250,-76,242)
|
||||
fb15.setHpr(0,0,0)
|
||||
fb15.setScale(25)
|
||||
|
||||
fb16 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb16.reparentTo(render)
|
||||
fb16.setPos(265,-76,250)
|
||||
fb16.setHpr(0,0,0)
|
||||
|
||||
fb17 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb17.reparentTo(render)
|
||||
fb17.setPos(265,-76,250)
|
||||
fb17.setHpr(90,0,0)
|
||||
fb17.setScale(25)
|
||||
|
||||
fb18 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb18.reparentTo(render)
|
||||
fb18.setPos(265,-60,258)
|
||||
fb18.setHpr(90,0,0)
|
||||
fb18.setScale(25)
|
||||
|
||||
fb19 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb19.reparentTo(render)
|
||||
fb19.setPos(265,-43,266)
|
||||
fb19.setHpr(90,0,0)
|
||||
fb19.setScale(25)
|
||||
|
||||
fb20 = loader.loadModel('phase_9/models/cogHQ/StairTen3060_15wide.bam')
|
||||
fb20.reparentTo(render)
|
||||
fb20.setPos(265,-26,274)
|
||||
fb20.setHpr(90,0,0)
|
||||
fb20.setScale(25)
|
||||
|
||||
fb21 = loader.loadModel('phase_9/models/cogHQ/Elevator.bam')
|
||||
fb21.reparentTo(render)
|
||||
fb21.setPos(275,-81,250)
|
||||
fb21.setHpr(0,0,0)
|
||||
fb21.setScale(1)
|
||||
|
||||
fb21.find('**/wall_back').removeNode()
|
||||
fb21.find('**/wall_front').removeNode()
|
||||
fb21.find('**/wall_left').removeNode()
|
||||
fb21.find('**/wall_right').removeNode()
|
||||
fb21.find('**/ceiling').removeNode()
|
||||
|
||||
f2 = loader.loadModel("phase_9/models/cogHQ/Elevator.bam")
|
||||
f2.reparentTo(render)
|
||||
f2.setHpr(90,0,0)
|
||||
f2.setPos(250,-40,282)
|
||||
f2.setScale(4)
|
||||
|
||||
f2.find('**/wall_back').removeNode()
|
||||
f2.find('**/wall_front').removeNode()
|
||||
f2.find('**/wall_left').removeNode()
|
||||
f2.find('**/wall_right').removeNode()
|
||||
f2.find('**/ceiling').removeNode()
|
||||
|
||||
cogplat1 = loader.loadModel('phase_9/models/cogHQ/platform1.bam')
|
||||
cogplat1.reparentTo(render)
|
||||
cogplat1.setPos(59,267,190)
|
||||
cogplat1.setHpr(0,0,0)
|
||||
cogplat1.setScale(5)
|
||||
|
||||
smr = loader.loadModel("phase_9/models/cogHQ/SellbotHQLobby.bam")
|
||||
smr.reparentTo(render)
|
||||
smr.setHpr(180,0,0)
|
||||
smr.setPos(59,386,169)
|
||||
smr.setScale(7)
|
||||
|
||||
mrt1 = loader.loadModel('phase_12/models/bossbotHQ/BanquetTableChairs.bam')
|
||||
mrt1.reparentTo(render)
|
||||
mrt1.setPos(60,363,169)
|
||||
mrt1.setHpr(90,0,0)
|
||||
mrt1.setScale(9)
|
||||
|
||||
c8 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c8.reparentTo(render)
|
||||
c8.setPos(80,362,166)
|
||||
c8.setHpr(0,0,0)
|
||||
c8.setScale(9)
|
||||
|
||||
c9 = loader.loadModel('phase_12/models/bossbotHQ/mole_cog.bam')
|
||||
c9.reparentTo(render)
|
||||
c9.setPos(40,362,166)
|
||||
c9.setHpr(0,0,0)
|
||||
c9.setScale(9)
|
||||
|
||||
b = loader.loadModel("phase_12/models/char/lawbotBoss-legs-zero.bam")
|
||||
b.reparentTo(render)
|
||||
b.setPos(45,444,196)
|
||||
b.setHpr(0,0,0)
|
||||
b.setScale(1)
|
||||
c = loader.loadModel("phase_12/models/char/cashbotBoss-torso-zero.bam")
|
||||
c.reparentTo(render)
|
||||
c.setPos(45,444,206)
|
||||
c.setHpr(0,0,0)
|
||||
c.setScale(1)
|
||||
d = loader.loadModel("phase_12/models/char/bossbotBoss-head-zero.bam")
|
||||
d.reparentTo(render)
|
||||
d.setPos(45,444,214.2)
|
||||
d.setHpr(90,0,-90)
|
||||
d.setScale(1)
|
||||
|
||||
serv1 = loader.loadModel("phase_12/models/char/cashbotBoss-legs-zero.bam")
|
||||
serv1.reparentTo(render)
|
||||
serv1.setPos(74,444,196)
|
||||
serv1.setHpr(0,0,0)
|
||||
serv1.setScale(1)
|
||||
serv2 = loader.loadModel("phase_10/models/char/lawbotBoss-torso-zero.bam")
|
||||
serv2.reparentTo(render)
|
||||
serv2.setPos(74,444,206)
|
||||
serv2.setHpr(0,0,0)
|
||||
serv2.setScale(1)
|
||||
serv3 = loader.loadModel("phase_10/models/char/sellbotBoss-head-zero.bam")
|
||||
serv3.reparentTo(render)
|
||||
serv3.setPos(74,444,214.2)
|
||||
serv3.setHpr(270,0,-90)
|
||||
serv3.setScale(1)
|
||||
|
||||
mole1 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||||
mole1.reparentTo(render)
|
||||
mole1.setPos(59,321,182)
|
||||
mole1.setHpr(180,0,0)
|
||||
mole1.setScale(6)
|
||||
|
||||
rm1 = loader.loadModel('phase_12/models/bossbotHQ/BossbotKartBoardingRm.bam')
|
||||
rm1.reparentTo(render)
|
||||
rm1.setPos(58,502,196)
|
||||
rm1.setHpr(90,0,0)
|
||||
rm1.setScale(1)
|
||||
|
||||
mole2 = loader.loadModel('phase_12/models/bossbotHQ/mole_hit.bam')
|
||||
mole2.reparentTo(render)
|
||||
mole2.setPos(40,530,194)
|
||||
mole2.setHpr(0,0,0)
|
||||
mole2.setScale(4)
|
|
@ -0,0 +1,262 @@
|
|||
TURBO SPEED
|
||||
|
||||
from direct.showbase import DirectObject
|
||||
class Control(DirectObject.DirectObject):
|
||||
def __init__(self):
|
||||
self.accept('f6',self.Control)
|
||||
def Control(self):
|
||||
ttv = base.cr.doFindAll("Vehicle")
|
||||
for ttv in base.cr.doFindAll("Vehicle"):
|
||||
ttv.setTurbo(999999)
|
||||
c = Control()
|
||||
|
||||
FULL SPEED
|
||||
|
||||
ttv = base.cr.doFindAll("Vehicle")
|
||||
for ttv in base.cr.doFindAll("Vehicle"):
|
||||
tid = ttv.doId
|
||||
lttv = base.cr.doFindAll("vehicle-" + str(tid))
|
||||
for lttv in base.cr.doFindAll("vehicle-" + str(tid)):
|
||||
lttv.windResistance.setAmplitude(-200)
|
||||
|
||||
messenger.send('leavingRace')
|
||||
|
||||
HOT KEYS!
|
||||
|
||||
|
||||
base.accept("`", base.localAvatar.b_setAnimState, ['Died'])
|
||||
base.accept("1", base.localAvatar.b_setAnimState, ['dive'])
|
||||
base.accept("2", base.localAvatar.b_setAnimState, ['swim'])
|
||||
base.accept("3", base.localAvatar.b_setAnimState, ['CatchEating'])
|
||||
base.accept("4", base.localAvatar.b_setAnimState, ['Flattened'])
|
||||
base.accept("5", base.localAvatar.b_setAnimState, ['Push'])
|
||||
base.accept("6", base.localAvatar.b_setAnimState, ['SitStart'])
|
||||
base.accept("7", base.localAvatar.b_setAnimState, ['GolfPuttSwing'])
|
||||
base.accept("8", base.localAvatar.b_setAnimState, ['GolfRotateRight'])
|
||||
base.accept("9", base.localAvatar.b_setAnimState, ['TeleportOut'])
|
||||
base.accept("0", base.localAvatar.b_setAnimState, ['TeleportIn'])
|
||||
base.accept("f1", base.localAvatar.collisionsOff, [])
|
||||
base.accept("f2", base.cr.sendSetZoneMsg, [7000])
|
||||
base.accept("f3", base.localAvatar.b_setAnimState, ['teleport'])
|
||||
base.accept("f4", base.cr.sendSetZoneMsg, [2000])
|
||||
base.accept("f5", base.localAvatar.collisionsOn, [])
|
||||
base.accept("f6", base.localAvatar.b_setAnimState, ['victory'])
|
||||
base.accept("f7", base.localAvatar.b_setAnimState, ['ScientistEmcee'])
|
||||
base.accept("f9", base.localAvatar.b_setAnimState, ['ScientistPlay'])
|
||||
base.accept("f10", base.localAvatar.b_setAnimState, ['ScientistWork'])
|
||||
base.accept("f11", base.localAvatar.b_setAnimState, ['ScientistJealous'])
|
||||
base.accept("f12", base.localAvatar.b_setAnimState, ['GolfGoodPutt'])
|
||||
base.accept("]", base.localAvatar.b_setAnimState, ['Sad'])
|
||||
base.accept("[", base.cr.sendSetZoneMsg, [2090])
|
||||
|
||||
|
||||
TIE DYE CLOTHES
|
||||
|
||||
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/shirtTieDyeNew.jpg")
|
||||
sleve=loader.loadTexture("phase_4/maps/sleeveTieDye.jpg")
|
||||
shorts=loader.loadTexture("phase_4/maps/shirtTieDyeNew.jpg")
|
||||
base.localAvatar.findAllMatches('**/torso-top').setTexture(shirts, 1)
|
||||
base.localAvatar.findAllMatches('**/torso-bot').setTexture(shorts, 1)
|
||||
base.localAvatar.findAllMatches('**/sleeves').setTexture(sleve, 1)
|
||||
|
||||
BLACK CLOTHES
|
||||
|
||||
base.localAvatar.findAllMatches('**/torso-bot').setColorScale(0)
|
||||
base.localAvatar.findAllMatches('**/torso-top').setColorScale(0)
|
||||
base.localAvatar.findAllMatches('**/sleeves').setColorScale(0)
|
||||
shirts=loader.loadTexture("phase_4/maps/shirtTieDyeNew.jpg")
|
||||
sleve=loader.loadTexture("phase_4/maps/sleeveTieDye.jpg")
|
||||
shorts=loader.loadTexture("phase_4/maps/shirtTieDyeNew.jpg")
|
||||
base.localAvatar.findAllMatches('**/torso-top').setTexture(shirts, 1)
|
||||
base.localAvatar.findAllMatches('**/torso-bot').setTexture(shorts, 1)
|
||||
base.localAvatar.findAllMatches('**/sleeves').setTexture(sleve, 1)
|
||||
TTGloves = base.localAvatar.findAllMatches('**/hands')
|
||||
base.accept('f1', TTGloves.setColor, [0.0,0.0,0.0])
|
||||
|
||||
SCIENCE!!
|
||||
|
||||
base.localAvatar.find('**/torso-bot').removeNode()
|
||||
base.localAvatar.find('**/torso-bot').removeNode()
|
||||
base.localAvatar.find('**/torso-top').removeNode()
|
||||
base.localAvatar.find('**/torso-top').removeNode()
|
||||
base.localAvatar.find('**/sleeves').removeNode()
|
||||
base.localAvatar.find('**/sleeves').removeNode()
|
||||
base.localAvatar.find('**/torso-bot').setColorScale(25)
|
||||
base.localAvatar.find('**/torso-top').setColorScale(25)
|
||||
base.localAvatar.find('**/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.find('**/torso-top').setTexture(shirts, 1)
|
||||
base.localAvatar.find('**/torso-bot').setTexture(shorts, 1)
|
||||
base.localAvatar.find('**/sleeves').setTexture
|
||||
|
||||
Black Cat
|
||||
|
||||
base.localAvatar.find('**/ears-short').setColor(0.25,0.25,0.3)
|
||||
base.localAvatar.find('**/head-short').setColor(0.25,0.25,0.3)
|
||||
base.localAvatar.find('**/head-front-short').setColor(0.25,0.25,0.3)
|
||||
base.localAvatar.find('**/neck').setColor(0.25,0.25,0.3)
|
||||
base.localAvatar.find('**/arms').removeNode()
|
||||
base.localAvatar.find('**/arms').removeNode()
|
||||
base.localAvatar.find('**/arms').setColor(0.25,0.25,0.3)
|
||||
base.localAvatar.find('**/legs').removeNode()
|
||||
base.localAvatar.find('**/legs').removeNode()
|
||||
base.localAvatar.find('**/legs').setColor(0.25,0.25,0.3)
|
||||
base.localAvatar.find('**/feet').removeNode()
|
||||
base.localAvatar.find('**/feet').removeNode()
|
||||
base.localAvatar.find('**/feet').setColor(0.25,0.25,0.3)
|
||||
|
||||
|
||||
GLOVE CODES
|
||||
|
||||
|
||||
|
||||
base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
|
||||
|
||||
base.localAvatar.find('**/hands').setColor(255,0,0) - red
|
||||
base.localAvatar.find('**/hands').setColor(0,0,0) - black
|
||||
base.localAvatar.find('**/hands').setColor(0,1,0) - green
|
||||
base.localAvatar.find('**/hands').setColor(0,0,1) - blue
|
||||
base.localAvatar.find('**/hands').setColor(1,1,1) - white
|
||||
base.localAvatar.find('**/hands').setColor(1,0,1) - purple
|
||||
base.localAvatar.find('**/hands').setColor(0,255,255) Cyan
|
||||
|
||||
TTGloves = base.localAvatar.findAllMatches('**/hands')
|
||||
base.accept('f1', TTGloves.setColor, [0.97,0.43,0.53]) - red
|
||||
base.accept('f1', TTGloves.setColor, [0.97,0.73,0.3]) - gold
|
||||
base.accept('f1', TTGloves.setColor, [0.97,0.73,0.9]) - pink
|
||||
base.accept('f1', TTGloves.setColor, [0.97,0.83,70.3]) - cotton candy
|
||||
base.accept('f1', TTGloves.setColor, [70.82,0.3,0.73]) - dark pink
|
||||
base.accept('f1', TTGloves.setColor, [0.97,0.73,0.8]) - peach
|
||||
base.accept('f1', TTGloves.setColor, [40.60,0.63,0.4]) - tan
|
||||
base.accept('f1', TTGloves.setColor, [0.90,0.53,0.3]) - tan-brownish
|
||||
base.accept('f1', TTGloves.setColor, [0.100,0.73,0.8]) - semi light blue
|
||||
base.accept('f1', TTGloves.setColor, [0.100,0.73,0.9]) - bright blue
|
||||
base.accept('f1', TTGloves.setColor, [0.100,0.73,0.1]) - green
|
||||
base.accept('f1', TTGloves.setColor, [0.10,0.73,0.48]) - granny green
|
||||
base.accept('f1', TTGloves.setColor, [70.00,0.53,0.1]) - orange
|
||||
base.accept('f1', TTGloves.setColor, [700.90,70.53,0.3]) - highlighter yellow
|
||||
base.accept('f1', TTGloves.setColor, [700.90,70.53,0.1) - yellow
|
||||
base.accept('f1', TTGloves.setColor, [700.950,70.53,0.1]) - bold yellow
|
||||
base.accept('f1', TTGloves.setColor, [700.90,70.53,0.9]) - white
|
||||
base.accept('f1', TTGloves.setColor, [0.60,0.63,0.1]) - snot green
|
||||
base.accept('f1', TTGloves.setColor, [0.0,0.0,0.0]) - black
|
||||
base.accept('f1', TTGloves.setColor, [00.0,0.23,0.4]) - dark blue
|
||||
base.accept('f1', TTGloves.setColor, [0.39,0.0,0.0]) - dark red
|
||||
base.accept('f1', TTGloves.setColor, [0.09,0.0,0.0]) - dark brown
|
||||
base.accept('f1', TTGloves.setColor, [0.4,0.3,0.2]) - brown
|
||||
|
||||
|
||||
BOT!
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def intro():
|
||||
base.localAvatar.b_setEmoteState(0,0)
|
||||
base.localAvatar.b_setSCSinging(50701)
|
||||
def part2():
|
||||
base.talkAssistant.sendOpenTalk('LOOK I CAN DO IT TOO')
|
||||
base.localAvatar.b_setEmoteState(23,1)
|
||||
def part3():
|
||||
base.talkAssistant.sendOpenTalk('I AM NOT THE ANTIS DONT GIVE THEM CREDIT')
|
||||
base.localAvatar.b_setEmoteState(22,1)
|
||||
def part4():
|
||||
base.talkAssistant.sendOpenTalk('THE ANTIS FAIL THEY CANT DO ANYTHING DONT BE AFRAID')
|
||||
base.localAvatar.b_setEmoteState(24,1)
|
||||
def part5():
|
||||
base.talkAssistant.sendOpenTalk('YOUR FRIENDS')
|
||||
def part6():
|
||||
base.talkAssistant.sendOpenTalk('TEAM AWESOME')
|
||||
base.localAvatar.b_setEmoteState(22,1)
|
||||
def part7():
|
||||
base.localAvatar.b_setSC(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(part7))
|
||||
seq.append(Wait(4))
|
||||
seq.append(Func(addzone))
|
||||
seq.start()
|
||||
onTime()
|
||||
|
||||
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def intro():
|
||||
base.localAvatar.b_setEmoteState(0,0)
|
||||
base.localAvatar.b_setSCSinging(50702)
|
||||
def part2():
|
||||
base.talkAssistant.sendOpenTalk('WE ARE TEAM AWESOME, YOU CANNOT STOP US!')
|
||||
base.localAvatar.b_setEmoteState(24,1)
|
||||
def part3():
|
||||
base.talkAssistant.sendOpenTalk('MUAHAHA')
|
||||
base.localAvatar.b_setEmoteState(24,1)
|
||||
def part4():
|
||||
base.talkAssistant.sendOpenTalk('GOODBYE, YOU NOOBS')
|
||||
base.localAvatar.b_setEmoteState(3,1)
|
||||
def part5():
|
||||
base.talkAssistant.sendOpenTalk('AND REMEMBER')
|
||||
def part6():
|
||||
base.talkAssistant.sendOpenTalk('TOONTOWN FAILS AT STOPPING HAWK ERRS!')
|
||||
base.localAvatar.b_setAnimState('ScientistPlay')
|
||||
def part7():
|
||||
base.localAvatar.b_setSC(50800)
|
||||
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(part7))
|
||||
seq.append(Wait(4))
|
||||
seq.append(Func(addzone))
|
||||
seq.start()
|
||||
onTime()
|
||||
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,10 @@
|
|||
from direct.interval.IntervalGlobal import *
|
||||
def wakeUp():
|
||||
base.talkAssistant.sendOpenTalk(''!")
|
||||
def onTime():
|
||||
seq = Sequence()
|
||||
seq.append(Func(wakeUp))
|
||||
seq.append(Wait(.1))
|
||||
seq.append(Func(onTime))
|
||||
seq.start()
|
||||
onTime()
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,17 @@
|
|||
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 = "ZoneFound"
|
||||
textObject.setText(bk_text)
|
||||
houseZoneGet = base.localAvatar.getZoneId()
|
||||
houseZoneGet += 10
|
||||
houseZoneGet = int(houseZoneGet)
|
||||
base.cr.sendSetZoneMsg(houseZoneGet)
|
||||
|
||||
b = DirectButton(text = ("Raid House", "Activate", "Activate", "Raid House"), scale=.06, pos = (-.28,-0,-.95), command=setText)
|
|
@ -0,0 +1,48 @@
|
|||
fishCaught = 0
|
||||
|
||||
fishCaught += 20
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def catch():
|
||||
fish = base.cr.doFindAll("FishingTarget")
|
||||
for fish in fish:
|
||||
print "Activated"
|
||||
|
||||
fp = base.cr.doFindAll("FishingPond")
|
||||
for fp in fp:
|
||||
fp.d_hitTarget(fish)
|
||||
def sell():
|
||||
base.localAvatar.setMaxFishTank(fishCaught)
|
||||
fishman = base.cr.doFindAll("Fisherman")
|
||||
for fishman in fishman:
|
||||
fishid = fishman.doId
|
||||
base.localAvatar.setMoney(base.localAvatar.bankMoney)
|
||||
messenger.send('enterNPCToon-' + str(fishid), [1])
|
||||
def onGo():
|
||||
seq = Sequence()
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Wait(1))
|
||||
seq.append(Func(sell))
|
||||
seq.start()
|
||||
onGo()
|
|
@ -0,0 +1,48 @@
|
|||
fishCaught = 0
|
||||
|
||||
fishCaught += 20
|
||||
from direct.interval.IntervalGlobal import *
|
||||
def catch():
|
||||
fish = base.cr.doFindAll("FishingTarget")
|
||||
for fish in fish:
|
||||
print "Activated"
|
||||
|
||||
fp = base.cr.doFindAll("FishingPond")
|
||||
for fp in fp:
|
||||
fp.d_hitTarget(fish)
|
||||
def sell():
|
||||
base.localAvatar.setMaxFishTank(fishCaught)
|
||||
fishman = base.cr.doFindAll("Fisherman")
|
||||
for fishman in fishman:
|
||||
fishid = fishman.doId
|
||||
base.localAvatar.setMoney(base.localAvatar.bankMoney)
|
||||
messenger.send('enterNPCToon-' + str(fishid), [1])
|
||||
def onGo():
|
||||
seq = Sequence()
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Func(catch))
|
||||
seq.append(Wait(1))
|
||||
seq.append(Func(sell))
|
||||
seq.start()
|
||||
onGo()
|
|
@ -0,0 +1,18 @@
|
|||
def blockBan(log):
|
||||
ftf = "C:/Program Files/Disney/Disney Online/ToontownOnline/" + str(log)
|
||||
rf = open('%s'%(ftf),'r')
|
||||
trash = rf.read()
|
||||
del trash
|
||||
def blockBan():
|
||||
ltp = str(rf.readline())
|
||||
if "Server is booting us out" in ltp:
|
||||
messenger.send('pandaRenderError')
|
||||
else:
|
||||
None
|
||||
def loopBanCheck():
|
||||
seq.append(Func(blockBan))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(loopBanCheck))
|
||||
seq.start()
|
||||
loopBanCheck()
|
||||
blockBan('toontown-110220_123004.log')
|
|
@ -0,0 +1,18 @@
|
|||
def banBlock(log):
|
||||
fileToRead = "C:/Program Files/Disney/Disney Online/ToontownOnline/" + str(log)
|
||||
readFile = open('%s'%(fileToRead),'r')
|
||||
trash = readFile.read()
|
||||
del trash
|
||||
def blockBan():
|
||||
line_to_parse = readFile.readline()
|
||||
line_to_parse = str(line_to_parse)
|
||||
if "Server is booting us out" in line_to_parse:
|
||||
messenger.send('pandaRenderError')
|
||||
else:
|
||||
None
|
||||
def alwaysGo():
|
||||
seq.append(Func(blockBan))
|
||||
seq.append(Wait(0.1))
|
||||
seq.append(Func(alwaysGo))
|
||||
seq.start()
|
||||
alwaysGo()
|
|
@ -0,0 +1 @@
|
|||
base.localAvatar.d_setAnimState('BananaPeel', -1)
|
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue