loon4tic

Toontown 2012-2013 Simple Codes

May 31st, 2016
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 101.12 KB | None | 0 0
  1. import toontown
  2. def new():
  3. return True
  4. def new2(*a,**k):
  5. return 2
  6. base.cr.isPaid = new
  7. base.cr.isParentPasswordSet = new
  8. toontown.toon.LocalToon.LocalToon.getGameAccess = new2
  9. base.cr.isPaid
  10. base.cr.isParentPasswordSet
  11. toontown.toon.LocalToon.LocalToon.getGameAccess
  12. import toontown
  13. def enter():
  14. return 1
  15. base.cr.isTestServer = enter
  16. base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
  17. base.localAvatar.setTrackBonusLevel([7,7,7,7,7,7,7])
  18. base.localAvatar.setPetTrickPhrases([0,1,2,3,4,5,6])
  19. 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])
  20. base.cr.sendSetZoneMsg(7000)
  21. base.cr.sendSetZoneMsg(2520)
  22. base.localAvatar.b_setAnimState('Sad')
  23. base.localAvatar.b_setAnimState('Sit')
  24. base.localAvatar.b_setAnimState('swim')
  25. base.localAvatar.b_setAnimState('Died')
  26. base.localAvatar.b_setAnimState('ScientistPlay')
  27. base.localAvatar.b_setAnimState('Catching')
  28. base.localAvatar.collisionsOff()
  29. base.localAvatar.collisionsOn()
  30. base.localAvatar.setHpr(0,0,315)
  31. base.localAvatar.setTickets(100000)
  32. base.localAvatar.b_setAnimState('Flattened')
  33. base.localAvatar.b_setAnimState('Squish')
  34. base.localAvatar.b_setAnimState('walk')
  35. base.localAvatar.b_setAnimState('run')
  36. base.localAvatar.b_setAnimState('GolfPuttLoop')
  37. base.localAvatar.b_setAnimState('GolfGoodPutt')
  38. base.localAvatar.b_setAnimState('GolfBadPutt')
  39. base.localAvatar.b_setAnimState('GolfRotateLeft')
  40. base.localAvatar.b_setAnimState('GolfRotateRight')
  41. base.localAvatar.b_setAnimState('Push')
  42. base.localAvatar.b_setAnimState('ScientistEmcee')
  43. base.localAvatar.setGhostMode(1)
  44. base.localAvatar.setGhostMode(0)
  45. base.localAvatar.setCogIndex(0)
  46. base.wireframeOn()
  47. base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 8000, 9000, 10000, 11000, 12000, 13000])
  48. base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 8000, 9000, 10000, 11000, 12000, 13000])
  49. base.localAvatar.book.pages[1].showPop = 1
  50. base.localAvatar.teleportCheat = 1
  51. base.localAvatar.physControls.avatarControlJumpForce = 100
  52. base.localAvatar.numPies = 99
  53. base.localAvatar.b_setAnimState('CatchEating')
  54. base.localAvatar.physControls.avatarControlForwardSpeed = 50
  55. base.localAvatar.setHp(137)
  56. base.localAvatar.setMaxHp(137)
  57. base.localAvatar.setName('Green Duck')
  58. base.localAvatar.b_setAnimState('dive')
  59. base.localAvatar.b_setAnimState('ScientistLessWork')
  60. base.localAvatar.b_setAnimState('ScientistWork')
  61. base.localAvatar.b_setAnimState('ScientistJealous')
  62. base.localAvatar.b_setAnimState('FallDown')
  63. base.localAvatar.b_setAnimState('OpenBook')
  64. base.localAvatar.b_setAnimState('ReadBook')
  65. base.localAvatar.setMoney(250)
  66. base.localAvatar.setMaxMoney(999999)
  67. base.localAvatar.takeDamage(137)
  68. base.localAvatar.setExperience('73500')
  69. base.localAvatar.loop('neutral')
  70. base.localAvatar.loop('angry')
  71. base.localAvatar.loop('book')
  72. base.localAvatar.loop('conked')
  73. base.localAvatar.loop('cringe')
  74. base.localAvatar.loop('duck')
  75. base.localAvatar.loop('jump')
  76. base.localAvatar.loop('throw')
  77. base.localAvatar.loop('running-jump')
  78. base.localAvatar.loop('shrug')
  79. base.localAvatar.loop('sidestep-left')
  80. base.localAvatar.loop('sidestep-right')
  81. base.localAvatar.loop('teleport')
  82. base.localAvatar.loop('walk')
  83. base.localAvatar.loop('wave')
  84. base.localAvatar.loop('applause')
  85. base.localAvatar.loop('bored')
  86. base.localAvatar.loop('bow')
  87. base.localAvatar.loop('cast')
  88. base.localAvatar.loop('castlong')
  89. base.localAvatar.loop('reel')
  90. base.localAvatar.loop('confused')
  91. base.localAvatar.loop('down')
  92. base.localAvatar.loop('up')
  93. base.localAvatar.loop('left')
  94. base.localAvatar.loop('right')
  95. base.localAvatar.loop('pole')
  96. base.localAvatar.loop('sad-neutral')
  97. base.localAvatar.loop('sit')
  98. base.localAvatar.loop('slip-backward')
  99. base.localAvatar.loop('slip-forward')
  100. base.localAvatar.loop('swim')
  101. base.localAvatar.loop('swing')
  102. base.localAvatar.loop('think')
  103. base.localAvatar.loop('tug-o-war')
  104. base.localAvatar.loop('climb')
  105. base.localAvatar.loop('firehose')
  106. base.localAvatar.loop('happy-dance')
  107. base.localAvatar.loop('hold-bottle')
  108. base.localAvatar.loop('hold-magnet')
  109. base.localAvatar.loop('hypnotize')
  110. base.localAvatar.loop('juggle')
  111. base.localAvatar.loop('lose')
  112. base.localAvatar.loop('melt')
  113. base.localAvatar.loop('smooch')
  114. base.localAvatar.loop('spit')
  115. base.localAvatar.loop('sprinkle-dust')
  116. base.localAvatar.loop('struggle')
  117. base.localAvatar.loop('tickle')
  118. base.localAvatar.loop('toss')
  119. base.localAvatar.loop('water-gun')
  120. base.localAvatar.loop('callPet')
  121. base.localAvatar.loop('feedPet')
  122. base.localAvatar.loop('takePhone')
  123. base.localAvatar.loop('phoneBack')
  124. base.localAvatar.loop('phoneNeutral')
  125. base.localAvatar.loop('sound')
  126. base.localAvatar.loop('badloop-putt')
  127. base.localAvatar.loop('bad-putt')
  128. base.localAvatar.loop('good-putt')
  129. base.localAvatar.loop('headdown-putt')
  130. base.localAvatar.loop('into-putt')
  131. base.localAvatar.loop('lookloop-putt')
  132. base.localAvatar.loop('look-putt')
  133. base.localAvatar.loop('loop-putt')
  134. base.localAvatar.loop('rotateL-putt')
  135. base.localAvatar.loop('rotateR-putt')
  136. base.localAvatar.loop('swing-putt')
  137. base.localAvatar.loop('push')
  138. base.localAvatar.loop('leverNeutral')
  139. base.localAvatar.loop('leverPull')
  140. base.localAvatar.loop('leverReach')
  141. base.localAvatar.loop('running-jump-land')
  142. base.localAvatar.loop('pet-start')
  143. base.localAvatar.loop('pushbutton')
  144. base.localAvatar.loop('jump-land')
  145. base.localAvatar.loop('catch-eatneutral')
  146. base.localAvatar.loop('battlecast')
  147. base.localAvatar.loop('catch-run')
  148. base.localAvatar.loop('pet-loop')
  149. base.localAvatar.loop('jump-squat')
  150. base.localAvatar.loop('reel-neutral')
  151. base.localAvatar.loop('pole-neutral')
  152. base.localAvatar.loop('bank')
  153. base.localAvatar.loop('scientistGame')
  154. base.localAvatar.loop('victory')
  155. base.localAvatar.loop('fish-end')
  156. base.localAvatar.loop('scientistWork')
  157. base.localAvatar.loop('scientistJealous')
  158. base.localAvatar.loop('catch-intro-throw')
  159. base.localAvatar.loop('curtsy')
  160. base.localAvatar.loop('loop-dig')
  161. base.localAvatar.loop('start-dig')
  162. base.localAvatar.loop('running-jump-squat')
  163. base.localAvatar.loop('fish-again')
  164. base.localAvatar.loop('jump-idle')
  165. base.localAvatar.loop('sad-walk')
  166. base.localAvatar.loop('running-jump-idle')
  167. base.localAvatar.loop('catch-neutral')
  168. messenger.send('nameTagShowAvId')
  169. messenger.send('gotoAvatar', [275087539, 'Ozzie', 1])
  170. base.localAvatar.physControls.avatarControlRotateSpeed=300
  171. base.localAvatar.b_setSC(50205)
  172. messenger.send('gardenGame')
  173. messenger.send('clearOutToonInterior')
  174. music = loader.loadMusic("phase_13/audio/bgm/party_generic_theme.mid")
  175. music.play()
  176. music.setLoop()
  177. messenger.send('rejectTutorial')
  178. messenger.send('enterStickerBook')
  179. messenger.send('openFriendsList')
  180. messenger.send('kickToPlayground', [1])
  181. from toontown.shtiker.MapPage import MapPage
  182. gohome = MapPage()
  183. gohome.goHome()
  184. base.oobe()
  185. base.useTrackBall()
  186. base.useDrive()
  187. base.localAvatar.setNametagStyle(11)
  188. base.localAvatar.setCogMerits([100,60,40,20])
  189. base.localAvatar.setMaxClothes(5000)
  190. base.localAvatar.setSleepAutoReply(0)
  191. base.localAvatar.setMaxNPCFriends(5000)
  192. base.localAvatar.playSplashEffect(0,0,0)
  193. base.localAvatar.setMaxFishTank(500)
  194. base.localAvatar.setMaxFlowerBasket(500)
  195. base.localAvatar.trickOrTreatTargetMet(100)
  196. base.localAvatar.winterCarolingTargetMet(100)
  197. base.localAvatar.hitBoss(1000)
  198. base.localAvatar.destroyGoon()
  199. base.localAvatar.setVelocity(0)
  200. base.localAvatar.setAffection(1))
  201. base.localAvatar.setPlayfullness(1))
  202. base.localAvatar.setSCResistance(1)
  203. base.localAvatar.physControls.avatarControlReverseSpeed = 50
  204. base.localAvatar.b_setToonWillLandInWater(int32/100)
  205. base.localAvatar.setInventory('49000')
  206. base.localAvatar.setMaxCarry('49000')
  207. base.localAvatar.cogMerits=([40, 80, 120, 200])
  208. base.localAvatar.promoteShovel(3)
  209. base.localAvatar.promoteWateringCan(3)
  210. base.localAvatar.setWateringCanSkill(9999)
  211. base.localAvatar.setShovelSkill(9999)
  212. base.localAvatar.pageDown()
  213. base.localAvatar.pageUp()
  214. render.clearFog()
  215. base.localAvatar.setBillboardPointEye()
  216. base.localAvatar.setBillboardPointWorld()
  217. base.camLens.setNear(9)
  218. base.camLens.setFov(100, 20)
  219. base.camLens.setFov(150)
  220. base.camLens.setFar(2000)
  221. base.localAvatar.printCamPos()
  222. base.localAvatar.nextCameraPos(0)
  223. base.localAvatar.clearBillboard()
  224. base.localAvatar.lookAt(1,1,1)
  225. base.localAvatar.setTunnelIn(1, 1, 1, 1, 1, 1)
  226. base.localAvatar.setTunnelOut(1, 1, 1, 1, 1, 1)
  227. base.localAvatar.setTunnelIn(1, 10, 10, 10, 100, 100)
  228. base.localAvatar.setTunnelOut(1, 10, 10, 10, 10, 100, 100)
  229. base.disableAllAudio()
  230. base.enableAllAudio()
  231. base.enableMusic(False)
  232. base.enableSoundEffects(True)
  233. base.camLens.setNear(9)
  234. base.localAvatar.setBillboardAxis()
  235. base.localAvatar.setEmoteState(22,1)
  236. base.localAvatar.setWhisperSCCustomFrom(NPC's ID, 90)
  237. base.localAvatar.getName(285869846)
  238. base.localAvatar.receiveAcceptGetName('Flippy')
  239. base.localAvatar.addName(285869846, 'Flippy')
  240. base.localAvatar.receiveAcceptAddName(285869846)
  241. ambientlight = AmbientLight('lighting')
  242. ambientlight.setColor(VBase4(.5, .5, .5, 5))
  243. attachlight = render.attachNewNode(ambientlight)
  244. render.setLight(attachlight)
  245. sky = loader.loadModel("phase_8/models/props/DL_sky.bam")
  246. sky.reparentTo(render)
  247. sky.setPos(9, -1, 4)
  248. sky.setHpr(0,0,0)
  249. sky.setScale(40)
  250. messenger.send('periodTimerExpired')
  251. messenger.send('shift-f1')
  252. messenger.send('shift-f6')
  253. messenger.send('minigameAbort')
  254. messenger.send('control')
  255. messenger.send('control-alt-arrow_down')
  256. messenger.send('control-alt-arrow_left')
  257. messenger.send('control-alt-arrow_up')
  258. messenger.send('control-alt-arrow_right')
  259. messenger.send('f9')
  260. messenger.send('panda3d-render-error')
  261. messenger.send('requestSkipTutorial')
  262. messenger.send('PandaRestarted')
  263. messenger.send('PandaPaused')
  264. messenger.send('arrow_right')
  265. messenger.send('arrow_up')
  266. messenger.send('arrow_down')
  267. messenger.send('arrow_left')
  268. messenger.send('updateWhilelist')
  269. messenger.send([base.localAvatar.b_setAnimState('victory', 28)])
  270. messenger.send('end')
  271. messenger.send('end-up')
  272. messenger.send('leavingRace')
  273. messenger.send('enterNormalChat')
  274. messenger.send('escape')
  275. messenger.send('f7')
  276. messenger.send('f8')
  277. messenger.send('force-forward')
  278. messenger.send('force-forward-stop')
  279. messenger.send('force-turnLeft')
  280. messenger.send('force-turnLeft-stop')
  281. messenger.send('force-turnRight')
  282. messenger.send('force-turnRight-stop')
  283. messenger.send('jumpHardLand')
  284. messenger.send('jumpLand')
  285. messenger.send('jumpStart')
  286. messenger.send('page_up')
  287. messenger.send('page_down')
  288. messenger.send('tab')
  289. messenger.send('system message aknowledge')
  290. messenger.send('home')
  291. messenger.send('home-up')
  292. messenger.send('enterFlowerSellBox')
  293. messenger.send('DistributedBlackCatMgr-activate')
  294. base.localAvatar.setHeight(2)
  295. base.localAvatar.setRefillThrow()
  296. base.localAvatar.enterSad()
  297. base.localAvatar.enterHappy()
  298. base.localAvatar.enterDied()
  299. base.localAvatar.enterScientistEmcee()
  300. base.localAvatar.enterPush()
  301. base.localAvatar.enterScientistLessWork()
  302. base.localAvatar.enterFlattened()
  303. base.localAvatar.enterSwimHold()
  304. base.localAvatar.exitSad()
  305. base.localAvatar.exitHappy()
  306. base.localAvatar.exitDied()
  307. base.localAvatar.exitScientistEmcee()
  308. base.localAvatar.exitPush()
  309. base.localAvatar.exitScientistLessWork()
  310. base.localAvatar.exitFlattened()
  311. base.localAvatar.exitSwimHold()
  312. base.localAvatar.setSpeedChatStyleIndex(1)
  313. base.localAvatar.thinkPos()
  314. base.localAvatar.nextCameraPos(0)
  315. base.talkAssistant.sendWhisperTalk('Hello ' * 50, 285960783)
  316. base.localAvatar.b_setAnimState('jumpAirborne')
  317. base.localAvatar.b_setAnimState('jumpLand')
  318. base.localAvatar.b_setAnimState('jumpSquat')
  319. base.localAvatar.setBestHeightInfo(2000)
  320. base.localAvatar.setLastHood(2000)
  321. base.localAvatar.localAvatar.cogLevels=[49, 49, 49, 49]
  322. 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])
  323. base.localAvatar.setCogParts([20, 80, 56447, 56411])
  324. base.localAvatar.swapToonLegs("CatLegs250Polys")
  325. base.localAvatar.setNametagScale(2)
  326. base.localAvatar.setWalkSpeedSlow()
  327. base.localAvatar.setWalkSpeedNormal()
  328. base.localAvatar.setRenderModeWireframe()
  329. anim1 = base.localAvatar.getAnimControl('swing', 'legs')
  330. anim1.play()
  331. base.localAvatar.physControls.avatarControlJumpForce = .1
  332. base.localAvatar.physControls.setGravity(.00001)
  333. base.cr.waitForDatabaseTimeout()
  334. base.cr.networkPlugPulled()
  335. base.cr.pullNetworkPlug()
  336. base.cr.restoreNetworkPlug()
  337. base.cr.toons.flush()
  338. messenger.send('last')
  339. messenger.send('next')
  340. messenger.send('releaseDirector')
  341. messenger.send('closetAsleep')
  342. messenger.send([base.cr.sendSetZoneMsg(7000)], [base.localAvatar.doId, 272503222, 'starkit', 1])
  343. messenger.send('gotoAvatar', [base.localAvatar.doId, 'you', 1])
  344. messenger.send('avatarDetails', [base.localAvatar.doId, 'Mickey', 1])
  345. messenger.send('friendAvatar', [284720681, 'Fireball', 1])
  346. base.localAvatar.setFishingTrophies([0,1,2,3,4,5,6])
  347. from direct.showbase import DirectObject
  348. class Collision(DirectObject.DirectObject):
  349. def __init__(self):
  350. self.accept('f1',self.Collision)
  351. def Collision(self):
  352. base.localAvatar.collisionsOff()
  353. base.localAvatar.setSystemMessage(0, 'Collisions Off')
  354. c = Collision()
  355. gloves = loader.loadTexture("phase_5.5/maps/windowView_Stars2.jpg")
  356. base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
  357. gloves = loader.loadTexture("phase_5.5/maps/flakes_border.jpg")
  358. base.localAvatar.findAllMatches('**/hands').setTexture(gloves, 1)
  359. base.localAvatar.setFriendsList([(236031563, 1)])
  360. base.localAvatar.showShovelButton()
  361. base.localAvatar.showNormalMuzzle()
  362. base.localAvatar.showAngryMuzzle()
  363. base.localAvatar.showSmileMuzzle()
  364. base.localAvatar.showSadMuzzle()
  365. base.localAvatar.showLaughMuzzle()
  366. base.localAvatar.showSurpriseMuzzle()
  367. base.localAvatar.showTightBounds()
  368. base.localAvatar.showWateringCanButton()
  369. base.localAvatar.showCS()
  370. base.localAvatar.showGardeningGui()
  371. base.localAvatar.showFurnitureGui()
  372. base.localAvatar.showAllBounds()
  373. base.localAvatar.showNametag2d()
  374. base.localAvatar.showNametag3d()
  375. base.localAvatar.showShadow()
  376. base.localAvatar.showAllDescendants()
  377. base.localAvatar.hideShovelButton()
  378. base.localAvatar.hideNormalMuzzle()
  379. base.localAvatar.hideAngryMuzzle()
  380. base.localAvatar.hideSmileMuzzle()
  381. base.localAvatar.hideSadMuzzle()
  382. base.localAvatar.hideLaughMuzzle()
  383. base.localAvatar.hideSurpriseMuzzle()
  384. base.localAvatar.hideBounds()
  385. base.localAvatar.hideWateringCanButton()
  386. base.localAvatar.hideCS()
  387. base.localAvatar.hideGardeningGui()
  388. base.localAvatar.hideFurnitureGui()
  389. base.localAvatar.hideAllBounds()
  390. base.localAvatar.hideNametag2d()
  391. base.localAvatar.hideNametag3d()
  392. base.localAvatar.clearRenderMode()
  393. base.localAvatar.hideShadow()
  394. base.localAvatar.startStareAtHeadPoint(1)
  395. base.localAvatar.forceGotoSleep()
  396. base.localAvatar.flush()
  397. base.localAvatar.enterEyelidsClosed()
  398. base.localAvatar.exitEyelidsClosed()
  399. base.localAvatar.enterEyelidsSurprised()
  400. base.localAvatar.exitEyelidsSurprised()
  401. base.localAvatar.enterEyelidsSad()
  402. base.localAvatar.exitEyelidsSad()
  403. base.localAvatar.newCatalogNotify(1)
  404. base.localAvatar.setControlEffect('sit', 0.65)
  405. base.localAvatar.setControlEffect('swim', 0.8)
  406. messenger.send('avatarDetails', [280215860, 'Toon Troop Travis', 1])
  407. messenger.send('friendAvatar', [base.localAvatar.doId, '', 1])
  408. messenger.send('gotoAvatar', [base.localAvatar.doId, '', 1])
  409. base.toggleTexMem()
  410. base.toggleWireframe()
  411. base.toggleStereo()
  412. base.toggleShowVertices()
  413. base.toggleBackface()
  414. base.textureOff()
  415. base.textureOn()
  416. base.toggleTexture()
  417. messenger.send('InputState-forward', [100])
  418. messenger.send('enterFurnitureManager', [1, 1])
  419. messenger.send('friendOnline', [286313331])
  420. messenger.send('friendOffline', [286313331])
  421. messenger.send('grab-0')
  422. messenger.send('reach-boat')
  423. messenger.send('hitby-crabby0')
  424. messenger.send('FishHit')
  425. messenger.send('hoodDone')
  426. base.cr.lostConnection()
  427. base.cr.congrulations('Congrulations by finding out this code!')
  428. base.cr.enterAfkTimeout()
  429. base.cr.exitAfkTimeout()
  430. Michael Boomer
  431. 0711-8756-7426-2713
  432.  
  433. #real membership
  434.  
  435. base.launcher.setPaidUserLoggedIn()
  436.  
  437. #fast access
  438.  
  439. import toontown
  440. def new():
  441. return True
  442. def new2(*a,**k):
  443. return 2
  444. base.cr.isPaid = new
  445. base.cr.isParentPasswordSet = new
  446. toontown.toon.LocalToon.LocalToon.getGameAccess = new2
  447. base.cr.isPaid
  448. base.cr.isParentPasswordSet
  449. toontown.toon.LocalToon.LocalToon.getGameAccess
  450. def white():
  451. base.localAvatar.findAllMatches('**/hands').setColor(1.0,1.0,1.0)
  452. base.localAvatar.setSystemMessage(1,'White gloves enabled!')
  453. def black():
  454. base.localAvatar.findAllMatches('**/hands').setColor(0.20,0.20,0.3)
  455. base.localAvatar.setSystemMessage(1,'Black gloves enabled!')
  456. def red():
  457. base.localAvatar.findAllMatches('**/hands').setColor(0.97,0.3,0.3)
  458. base.localAvatar.setSystemMessage(1,'Red gloves enabled!')
  459. def pink():
  460. base.localAvatar.findAllMatches('**/hands').setColor(0.96,0.7,0.7)
  461. base.localAvatar.setSystemMessage(1,'Pink gloves enabled!')
  462. def purple():
  463. base.localAvatar.findAllMatches('**/hands').setColor(0.69,0.29,0.95)
  464. base.localAvatar.setSystemMessage(1,'Purple gloves enabled!')
  465. def green():
  466. base.localAvatar.findAllMatches('**/hands').setColor(0.4,1,0.4)
  467. base.localAvatar.setSystemMessage(1,'Green gloves enabled!')
  468. def yellow():
  469. base.localAvatar.findAllMatches('**/hands').setColor(1,0.95,0.3)
  470. base.localAvatar.setSystemMessage(1,'Yellow gloves enabled!')
  471. def darkblue():
  472. base.localAvatar.findAllMatches('**/hands').setColor(0.35,0.35,0.85)
  473. base.localAvatar.setSystemMessage(1,'Dark blue gloves enabled!')
  474. def blue():
  475. base.localAvatar.findAllMatches('**/hands').setColor(0.3,0.64,0.85)
  476. base.localAvatar.setSystemMessage(1,'Blue gloves enabled!')
  477. def orange():
  478. base.localAvatar.findAllMatches('**/hands').setColor(1,0.5,0.18)
  479. base.localAvatar.setSystemMessage(1,'Orange gloves enabled!')
  480. def cream():
  481. base.localAvatar.findAllMatches('**/hands').setColor(1,1,0.57)
  482. base.localAvatar.setSystemMessage(1,'Cream gloves enabled!')
  483. def perwinkle():
  484. base.localAvatar.findAllMatches('**/hands').setColor(0.55,0.55,1)
  485. base.localAvatar.setSystemMessage(1,'Perwinkle gloves enabled!')
  486. def gray():
  487. base.localAvatar.findAllMatches('**/hands').setColor(0.70,0.70,0.70)
  488. base.localAvatar.setSystemMessage(1,'Gray gloves enabled!')
  489. def sideways():
  490. base.localAvatar.setHpr(0,0,315)
  491. base.localAvatar.setSystemMessage(1,'Toon rotated to sideways style.')
  492. base.accept("f2", normal, [])
  493. def normal():
  494. base.localAvatar.setHpr(0,0,0)
  495. base.localAvatar.setSystemMessage(1,'Toon rotated to normal.')
  496. base.accept("f2", sideways, [])
  497. def aron():
  498. messenger.send('force-forward')
  499. base.accept("insert", aroff, [])
  500. def aroff():
  501. messenger.send('force-forward-stop')
  502. base.accept("insert", aron, [])
  503. from direct.interval.IntervalGlobal import *
  504. def nosleep():
  505. messenger.send('wakeup')
  506. def ens():
  507. wake = Sequence()
  508. wake.append(Func(nosleep))
  509. wake.append(Wait(.1))
  510. wake.append(Func(ens))
  511. wake.start()
  512. ens()
  513. def coloff():
  514. base.localAvatar.collisionsOff()
  515. base.localAvatar.setSystemMessage(1,'Walk over walls enabled.')
  516. base.accept("f1", colon, [])
  517. def colon():
  518. base.localAvatar.collisionsOn()
  519. base.localAvatar.setSystemMessage(1,'Walk over walls disabled.')
  520. base.accept("f1", coloff, [])
  521. def faston():
  522. base.localAvatar.physControls.avatarControlReverseSpeed =50
  523. base.localAvatar.physControls.avatarControlRotateSpeed =80
  524. base.localAvatar.physControls.avatarControlJumpForce = 35
  525. base.localAvatar.physControls.setGravity(65)
  526. base.localAvatar.physControls.avatarControlForwardSpeed = 60
  527. base.localAvatar.setSystemMessage(1,'Fast toon and april fools gravity enabled.')
  528. base.accept("f4", fastoff, [])
  529. def fastoff():
  530. base.localAvatar.physControls.avatarControlReverseSpeed =10
  531. base.localAvatar.physControls.avatarControlRotateSpeed =80
  532. base.localAvatar.physControls.avatarControlJumpForce = 20
  533. base.localAvatar.physControls.setGravity(50)
  534. base.localAvatar.physControls.avatarControlForwardSpeed = 17
  535. base.localAvatar.setSystemMessage(1,'Fast toon and april fools gravity disabled.')
  536. base.accept("f4", faston, [])
  537. def resistance():
  538. base.localAvatar.setSCResistance(1)
  539. base.localAvatar.setSCResistance(1)
  540. base.localAvatar.setSCResistance(1)
  541. def forceLoop(str):
  542. ren = base.cr.doFindAll("render")
  543. for ren in ren:ren.loop(str)
  544. def forcePlay(str):
  545. ren = base.cr.doFindAll("render")
  546. for ren in ren:ren.play(str)
  547. base.localAvatar.setTeleportAccess([1000, 2000, 3000, 4000, 5000, 6000, 8000, 9000, 10000, 11000, 12000, 13000])
  548. base.localAvatar.setHoodsVisited([1000, 2000, 3000, 4000, 5000, 6000, 8000, 9000, 10000, 11000, 12000, 13000])
  549. base.localAvatar.book.pages[1].showPop = 1
  550. base.localAvatar.teleportCheat = 1
  551. base.localAvatar.physControls.avatarControlJumpForce = 50
  552. base.localAvatar.physControls.avatarControlForwardSpeed = 50
  553. base.localAvatar.physControls.avatarControlRotateSpeed = 50
  554. base.localAvatar.physControls.avatarControlReverseSpeed = 50
  555. base.localAvatar.setTrackAccess([1,1,1,1,1,1,1])
  556. base.localAvatar.setPetTrickPhrases([0,1,2,3,4,5,6])
  557. 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])
  558. base.localAvatar.setMaxClothes(5000)
  559. base.localAvatar.setCogMerits([100,60,40,20])
  560. base.localAvatar.setSleepAutoReply(0)
  561. base.localAvatar.setMaxNPCFriends(5000)
  562. base.localAvatar.setMaxFishTank(500)
  563. base.localAvatar.setMaxFlowerBasket(500)
  564. base.localAvatar.setSystemMessage(1,'Everything allowed and Ban Blocker enabled.')
  565. base.localAvatar.findAllMatches('**/hands').setColor(0.97,0.3,0.3)
  566. base.localAvatar.setSystemMessage(1,'Red Gloves put at hands.')
  567. base.accept("f1", coloff, [])
  568. base.accept("f2", sideways, [])
  569. base.accept("f3", messenger.send, ['nameTagShowAvId'])
  570. base.accept("f4", faston, [])
  571. base.accept("f5", resistance, [])
  572. base.accept("f12", base.localAvatar.b_setSC, [50205])
  573. base.accept("f11", base.localAvatar.b_setSC, [50202])
  574. base.accept("f10", base.localAvatar.b_setSC, [50704])
  575. base.accept("`", white, [])
  576. base.accept("0", black, [])
  577. base.accept("1", red, [])
  578. base.accept("2", pink, [])
  579. base.accept("3", purple, [])
  580. base.accept("4", green, [])
  581. base.accept("5", yellow, [])
  582. base.accept("6", darkblue, [])
  583. base.accept("7", blue, [])
  584. base.accept("8", orange, [])
  585. base.accept("9", cream, [])
  586. base.accept("f6", perwinkle, [])
  587. base.accept("f7", gray, [])
  588. base.accept("insert", aron, [])
  589. base.accept("shift", base.localAvatar.thinkPos, [])
  590. base.localAvatar.setSystemMessage(1,'Hotkeys enabled.')
  591. base.localAvatar.setNametagStyle(11)
  592. base.localAvatar.setSystemMessage(1,'Nametag font changed.')
  593. anim = base.localAvatar.b_setAnimState
  594. talk = base.talkAssistant.sendOpenTalk
  595. loop = base.localAvatar.loop
  596. coff = base.localAvatar.collisionsOff
  597. con = base.localAvatar.collisionsOn
  598. zone = base.cr.sendSetZoneMsg
  599. emote = base.localAvatar.b_setEmoteState
  600. server = messenger.send
  601. avatar = base.localAvatar
  602. local = base.cr
  603. cog = base.localAvatar.setCogIndex
  604. coords = base.localAvatar.setXYZH
  605. height = base.localAvatar.setZ
  606. findhands = base.localAvatar.findAllMatches('**/hands')
  607. findneck = base.localAvatar.findAllMatches('**/neck')
  608. findhead = base.localAvatar.findAllMatches('**/head')
  609. findhfront = base.localAvatar.findAllMatches('**/head-front')
  610. findshirt = base.localAvatar.findAllMatches('**/torso-top')
  611. findsleeves = base.localAvatar.findAllMatches('**/sleeves')
  612. findshort = base.localAvatar.findAllMatches('**/torso-bot')
  613. findskirt = base.localAvatar.findAllMatches('**/torso-bot')
  614. findfeet = base.localAvatar.findAllMatches('**/feet')
  615. findlegs = base.localAvatar.findAllMatches('**/legs')
  616. findarms = base.localAvatar.findAllMatches('**/arms')
  617. findnose = base.localAvatar.findAllMatches('**/nose')
  618. findface = base.localAvatar.findAllMatches('**/muzzle')
  619. name = base.localAvatar.setName
  620. find = base.localAvatar.findAllMatches
  621. sc = base.localAvatar.b_setSC
  622. scs = base.localAvatar.b_setSCCustom
  623. base.localAvatar.setSystemMessage(1,'Shorten codes enabled.')
  624.  
  625. #scarecrow
  626.  
  627. base.localAvatar.collisionsOff()
  628. base.cr.sendSetZoneMsg(7000)
  629. base.localAvatar.b_setAnimState('teleport')
  630. base.cr.sendSetZoneMsg(2000)
  631.  
  632. #zone IDs
  633. base.cr.sendSetZoneMsg(1000)# - donald's dock
  634. base.cr.sendSetZoneMsg(2000)# - toontown central
  635. base.cr.sendSetZoneMsg(3000)# - the brrrgh
  636. base.cr.sendSetZoneMsg(4000)# - minnie's melodyland
  637. base.cr.sendSetZoneMsg(5000)# - daisy's gardens
  638. base.cr.sendSetZoneMsg(6000)# - chip 'n dale
  639. base.cr.sendSetZoneMsg(7000)# - funny farm
  640. base.cr.sendSetZoneMsg(8000)# - goofy speedway
  641. base.cr.sendSetZoneMsg(9000)# - donald's dreamland
  642. base.cr.sendSetZoneMsg(10000)# - bossbot hq
  643. base.cr.sendSetZoneMsg(11000)# - sellbot hq
  644. base.cr.sendSetZoneMsg(12000)# - cashbot hq
  645. base.cr.sendSetZoneMsg(13000)# - lawbot hq
  646. base.cr.sendSetZoneMsg(11100)# - sellbot lobby
  647. base.cr.sendSetZoneMsg(12100)# - cashbot lobby
  648. base.cr.sendSetZoneMsg(13100)# - lawbot lobby
  649. base.cr.sendSetZoneMsg(10100)# - bossbot clubhouse
  650. base.cr.sendSetZoneMsg(11200)# - sellbot factory
  651. base.cr.sendSetZoneMsg(9504)# - donalds dreamland gag shop
  652. base.cr.sendSetZoneMsg(2521)# - toontown central clothes shop
  653. base.cr.sendSetZoneMsg(2522)# - toontown central pet shop
  654. base.cr.sendSetZoneMsg(1508)# - donald's dock clothes shop
  655. base.cr.sendSetZoneMsg(1506)# - donald's dock gag shop
  656. base.cr.sendSetZoneMsg(2519)# - toontown central gag shop
  657. base.cr.sendSetZoneMsg(2514)# - toontown bank
  658. base.cr.sendSetZoneMsg(1507)# - donald dock toon hq
  659. base.cr.sendSetZoneMsg(3607)# - lil oldman
  660. base.cr.sendSetZoneMsg(3621)# - sticky george
  661. base.cr.sendSetZoneMsg(3621)# - hysterical harry
  662. base.cr.sendSetZoneMsg(3627)# - snooty sinjin
  663. base.cr.sendSetZoneMsg(3629)# - chicken boy
  664. base.cr.sendSetZoneMsg(3636)# - gus gooseburger
  665. base.cr.sendSetZoneMsg(3638)# - toboggan ted
  666. base.cr.sendSetZoneMsg(3643)# - lounge lassard
  667. base.cr.sendSetZoneMsg(3653)# - creepy carl
  668. base.cr.sendSetZoneMsg(3721)# - bumpy noggin
  669. base.cr.sendSetZoneMsg(3722)# - vidalia vavoom
  670. base.cr.sendSetZoneMsg(3728)# - simian sam
  671. base.cr.sendSetZoneMsg(3730)# - wynne chill
  672. base.cr.sendSetZoneMsg(3732)# - grumpy phil
  673. base.cr.sendSetZoneMsg(3808)# - johnny cashmere
  674. base.cr.sendSetZoneMsg(3813)# - march harry
  675. base.cr.sendSetZoneMsg(2513)# - flippy
  676. base.cr.sendSetZoneMsg(2518)# - librarian larry
  677. base.cr.sendSetZoneMsg(2516)# - professor pete
  678. base.cr.sendSetZoneMsg(2656)# - loony louis
  679. base.cr.sendSetZoneMsg(2629)# - honey haha
  680. base.cr.sendSetZoneMsg(2708)# - sticky lou
  681. base.cr.sendSetZoneMsg(2729)# - professor wiggle
  682. base.cr.sendSetZoneMsg(2729)# - sharky jones
  683. base.cr.sendSetZoneMsg(2655)# - woody nickel
  684. base.cr.sendSetZoneMsg(2660)# - feather duster
  685. base.cr.sendSetZoneMsg(2610)# - dr. tom
  686. base.cr.sendSetZoneMsg(2711)# - postmaster pete
  687. base.cr.sendSetZoneMsg(2705)# - will wiseacre
  688. base.cr.sendSetZoneMsg(2712)# - charlie chortle
  689. base.cr.sendSetZoneMsg(2804)# - dr. pulyurleg
  690. base.cr.sendSetZoneMsg(2520)# - toon hq
  691. base.cr.sendSetZoneMsg(1612)# - captain carl
  692. base.cr.sendSetZoneMsg(1606)# - admiral hook
  693. base.cr.sendSetZoneMsg(1617)# - doctor squall
  694. base.cr.sendSetZoneMsg(1627)# - billy budd
  695. base.cr.sendSetZoneMsg(1710)# - barnacle barbara
  696. base.cr.sendSetZoneMsg(1712)# - rocky shores
  697. base.cr.sendSetZoneMsg(1713)# - art
  698. base.cr.sendSetZoneMsg(1725)# - ahab
  699. base.cr.sendSetZoneMsg(1604)# - mrs. starch
  700. base.cr.sendSetZoneMsg(1621)# - cal estenicks
  701. base.cr.sendSetZoneMsg(1826)# - claggart
  702. base.cr.sendSetZoneMsg(1828)# - alice
  703. base.cr.sendSetZoneMsg(1832)# - melville
  704. base.cr.sendSetZoneMsg(4612)# - dr. fret
  705. base.cr.sendSetZoneMsg(4626)# - cleff
  706. #stopped at base.cr.sendSetZoneMsg(3826)
  707.  
  708. #colored gloves
  709. base.localAvatar.findAllMatches('**/hands').setColor(0.97,0.3,0.3)# - red
  710. base.localAvatar.findAllMatches('**/hands').setColor(0.96,0.7,0.7)# - pink
  711. base.localAvatar.findAllMatches('**/hands').setColor(1,0.44,1)# - pinkish
  712. base.localAvatar.findAllMatches('**/hands').setColor(0.86,0.4,0.42)# - pink 2
  713. base.localAvatar.findAllMatches('**/hands').setColor(0.69,0.29,0.95)# - purple
  714. base.localAvatar.findAllMatches('**/hands').setColor(0.44,0,1)# - neon purple
  715. base.localAvatar.findAllMatches('**/hands').setColor(0.4,1,0.4)# - green
  716. base.localAvatar.findAllMatches('**/hands').setColor(0.44,1,0)# - neon green 1
  717. base.localAvatar.findAllMatches('**/hands').setColor(0.0,1.0,0.0)# - neon green 2
  718. base.localAvatar.findAllMatches('**/hands').setColor(0.2,0.3,0.11)# - rusty green
  719. base.localAvatar.findAllMatches('**/hands').setColor(0.55,0.82,0.32)# - lime green
  720. base.localAvatar.findAllMatches('**/hands').setColor(1,0.95,0.3)# - yellow
  721. base.localAvatar.findAllMatches('**/hands').setColor(0.28,0.33,0.73)# - dark blue
  722. base.localAvatar.findAllMatches('**/hands').setColor(0.3,0.64,0.85)# - blue
  723. base.localAvatar.findAllMatches('**/hands').setColor(0.44,1,1)# - blue 2
  724. base.localAvatar.findAllMatches('**/hands').setColor(0.43,0.9,0.84)# - blue 3
  725. base.localAvatar.findAllMatches('**/hands').setColor(0,0.44,1)# - weird blue
  726. base.localAvatar.findAllMatches('**/hands').setColor(0,0.44,0.44)# - rusty aqua
  727. base.localAvatar.findAllMatches('**/hands').setColor(1,0.5,0.18)# - orange
  728. base.localAvatar.findAllMatches('**/hands').setColor(1,1,0.57)# - cream
  729. base.localAvatar.findAllMatches('**/hands').setColor(0.55,0.55,1)# - perwinkle
  730. base.localAvatar.findAllMatches('**/hands').setColor(0.70,0.70,0.70)# - gray
  731. base.localAvatar.findAllMatches('**/hands').setColor(1.0,1.0,1.0)# - white
  732. base.localAvatar.findAllMatches('**/hands').setColor(0.20,0.20,0.3)# - black
  733. base.localAvatar.findAllMatches('**/hands').setColor(0,0,0.4)# - ink
  734. base.localAvatar.findAllMatches('**/hands').setColor(0.38,0.72,0.72)# - aqua
  735. base.localAvatar.findAllMatches('**/hands').setColor(0.35,1,0.85)# - aqua 2
  736. base.localAvatar.findAllMatches('**/hands').setColor(0.62,0.26,0.36)# - red, pinkish
  737. base.localAvatar.findAllMatches('**/hands').setColor(0.35,0,0.1)# - rusty red, pinkish
  738. base.localAvatar.findAllMatches('**/hands').setColor(0.64,0.35,0.27)# - brown
  739. base.localAvatar.findAllMatches('**/hands').setColor(0.72,1,0.36)# - olive
  740. base.localAvatar.findAllMatches('**/hands').setColor(0.57,0.45,0.16)# - swamp
  741.  
  742. #ta
  743. sgcs = base.cr.doFindAll("render/Short Greencat Short")
  744. for sgcs in sgcs:
  745. sgcs.findAllMatches('**/hands').setColor(0.992, 0.48, 0.168, 1)
  746. mm = base.cr.doFindAll("render/Magic Maker")
  747. for mm in mm:
  748. mm.findAllMatches('**/hands').setColor(1,0.95,0.3, 1)
  749. fd = base.cr.doFindAll("render/Fd Green Cat Fd")
  750. for fd in fd:
  751. fd.findAllMatches('**/hands').setColor(0.97,0.3,0.3, 1)
  752. d = base.cr.doFindAll("render/Disyer")
  753. for d in d:
  754. d.findAllMatches('**/hands').setColor(0.64,0.35,0.27)
  755. cb = base.cr.doFindAll("render/Captain Butch")
  756. for cb in cb:
  757. cb.findAllMatches('**/hands').setColor(0.1,0.9,0.99)
  758. i = base.cr.doFindAll("render/Incorrent")
  759. for i in i:
  760. i.findAllMatches('**/hands').setColor(0.69,0.29,0.95)
  761. from direct.actor.Actor import Actor
  762. from pandac.PandaModules import *
  763. from direct.task import Task
  764. import math
  765. from math import pi, sin, cos
  766. from direct.showbase.ShowBase import ShowBase
  767. from direct.task import Task
  768. from direct.interval.IntervalGlobal import Sequence
  769. from pandac.PandaModules import Point3
  770. from pandac.PandaModules import *
  771. getEmblemSource = loader.loadModel("phase_3.5/models/gui/tt_m_gui_gm_toontroop_whistle.bam")
  772. getEmblemSource.reparentTo(render)
  773. getEmblemSource.hide()
  774. emblem = getEmblemSource.find('**/whistleIcon')
  775. emblem.reparentTo(fd)
  776. emblem.show()
  777. emblem.setScale(3)
  778. emblem.setZ(1.5)
  779. emblemSpin = emblem.hprInterval(3, Vec3(360, 0, 0))
  780. emblemSpin.loop()
  781.  
  782. #talk
  783.  
  784. from direct.interval.IntervalGlobal import *
  785. def intro():
  786. base.localAvatar.b_setEmoteState(0,0)
  787. base.localAvatar.b_setSC(50701)
  788. def part2():
  789. base.talkAssistant.sendOpenTalk('LOOK I CAN DO IT TOO')
  790. base.localAvatar.b_setEmoteState(23,1)
  791. def part3():
  792. base.talkAssistant.sendOpenTalk('I AM NOT A ANTIS MEMBER DONT GIVE THE ANTIS CREDIT!')
  793. base.localAvatar.b_setEmoteState(22,1)
  794. def part4():
  795. base.talkAssistant.sendOpenTalk('THE ANTIS FAIL THEY CANT DO ANYTHING DONT BE SCARED THEY CANT HOCK')
  796. base.localAvatar.b_setEmoteState(24,1)
  797. def part5():
  798. base.talkAssistant.sendOpenTalk('YOUR FRIENDS, WE ARE FRIENDLY. OH AND...')
  799. def part6():
  800. base.talkAssistant.sendOpenTalk('WE ARE TEAM DIS YER')
  801. base.localAvatar.b_setEmoteState(22,1)
  802. def part7():
  803. base.localAvatar.b_setSC(50202)
  804. base.localAvatar.b_setEmoteState(0,0)
  805. def addzone():
  806. zond = base.localAvatar.getZoneId()
  807. zond += 10
  808. base.localAvatar.b_setLocation(base.localAvatar.defaultShard, zond)
  809. def onTime():
  810. seq = Sequence()
  811. seq.append(Func(intro))
  812. seq.append(Wait(5))
  813. seq.append(Func(part2))
  814. seq.append(Wait(1))
  815. seq.append(Func(part2))
  816. seq.append(Wait(1))
  817. seq.append(Func(part2))
  818. seq.append(Wait(1))
  819. seq.append(Func(part2))
  820. seq.append(Wait(1))
  821. seq.append(Func(part2))
  822. seq.append(Wait(1))
  823. seq.append(Func(part3))
  824. seq.append(Wait(5))
  825. seq.append(Func(part4))
  826. seq.append(Wait(5))
  827. seq.append(Func(part5))
  828. seq.append(Wait(5))
  829. seq.append(Func(part6))
  830. seq.append(Wait(5))
  831. seq.append(Func(part7))
  832. seq.append(Wait(4))
  833. seq.append(Func(addzone))
  834. seq.start()
  835. onTime()
  836.  
  837. #invisible
  838.  
  839. word = base.localAvatar.getZoneId()
  840. word += 10
  841. base.localAvatar.b_setLocation(base.localAvatar.defaultShard, word)
  842.  
  843. #hotkeys
  844.  
  845. def white():
  846. base.localAvatar.findAllMatches('**/hands').setColor(1.0,1.0,1.0)
  847. base.localAvatar.setSystemMessage(1,'White gloves enabled!')
  848. def black():
  849. base.localAvatar.findAllMatches('**/hands').setColor(0.35,0.35,0.3)
  850. base.localAvatar.setSystemMessage(1,'Black gloves enabled!')
  851. def red():
  852. base.localAvatar.findAllMatches('**/hands').setColor(0.97,0.3,0.3)
  853. base.localAvatar.setSystemMessage(1,'Red gloves enabled!')
  854. def pink():
  855. base.localAvatar.findAllMatches('**/hands').setColor(0.96,0.7,0.7)
  856. base.localAvatar.setSystemMessage(1,'Pink gloves enabled!')
  857. def purple():
  858. base.localAvatar.findAllMatches('**/hands').setColor(0.69,0.29,0.95)
  859. base.localAvatar.setSystemMessage(1,'Purple gloves enabled!')
  860. def green():
  861. base.localAvatar.findAllMatches('**/hands').setColor(0.4,1,0.4)
  862. base.localAvatar.setSystemMessage(1,'Green gloves enabled!')
  863. def yellow():
  864. base.localAvatar.findAllMatches('**/hands').setColor(1,0.95,0.3)
  865. base.localAvatar.setSystemMessage(1,'Yellow gloves enabled!')
  866. def darkblue():
  867. base.localAvatar.findAllMatches('**/hands').setColor(0.35,0.35,0.85)
  868. base.localAvatar.setSystemMessage(1,'Dark blue gloves enabled!')
  869. def blue():
  870. base.localAvatar.findAllMatches('**/hands').setColor(0.3,0.64,0.85)
  871. base.localAvatar.setSystemMessage(1,'Blue gloves enabled!')
  872. def orange():
  873. base.localAvatar.findAllMatches('**/hands').setColor(1,0.5,0.18)
  874. base.localAvatar.setSystemMessage(1,'Orange gloves enabled!')
  875. def cream():
  876. base.localAvatar.findAllMatches('**/hands').setColor(1,1,0.57)
  877. base.localAvatar.setSystemMessage(1,'Cream gloves enabled!')
  878. def perwinkle():
  879. base.localAvatar.findAllMatches('**/hands').setColor(0.55,0.55,1)
  880. base.localAvatar.setSystemMessage(1,'Perwinkle gloves enabled!')
  881. def gray():
  882. base.localAvatar.findAllMatches('**/hands').setColor(0.70,0.70,0.70)
  883. base.localAvatar.setSystemMessage(1,'Gray gloves enabled!')
  884. def sideways():
  885. base.localAvatar.setHpr(0,0,315)
  886. base.localAvatar.setSystemMessage(1,'Toon rotated to sideways style.')
  887. base.accept("f2", normal, [])
  888. def normal():
  889. base.localAvatar.setHpr(0,0,0)
  890. base.localAvatar.setSystemMessage(1,'Toon rotated to normal.')
  891. base.accept("f2", sideways, [])
  892. def coloff():
  893. base.localAvatar.collisionsOff()
  894. base.localAvatar.setSystemMessage(1,'Walk over walls enabled.')
  895. base.accept("f1", colon, [])
  896. def colon():
  897. base.localAvatar.collisionsOn()
  898. base.localAvatar.setSystemMessage(1,'Walk over walls disabled.')
  899. base.accept("f1", coloff, [])
  900. def faston():
  901. base.localAvatar.physControls.avatarControlJumpForce = 50
  902. base.localAvatar.physControls.avatarControlForwardSpeed = 50
  903. base.localAvatar.physControls.avatarControlRotateSpeed = 100
  904. base.localAvatar.physControls.avatarControlReverseSpeed = 50
  905. base.localAvatar.physControls.setGravity(75)
  906. base.localAvatar.setSystemMessage(1,'Fast toon and april fools gravity enabled.')
  907. base.accept("f4", fastoff, [])
  908. def fastoff():
  909. base.localAvatar.physControls.avatarControlJumpForce = 20
  910. base.localAvatar.physControls.avatarControlForwardSpeed = 20
  911. base.localAvatar.physControls.avatarControlRotateSpeed = 50
  912. base.localAvatar.physControls.avatarControlReverseSpeed = 10
  913. base.localAvatar.setSystemMessage(1,'Fast toon and april fools gravity disabled.')
  914. base.accept("f4", faston, [])
  915. def aron():
  916. messenger.send('force-forward')
  917. base.accept("insert", aroff, [])
  918. def aron():
  919. messenger.send('force-forward-stop')
  920. base.accept("insert", aron, [])
  921. base.accept("f1", coloff, [])
  922. base.accept("f2", sideways, [])
  923. base.accept("f3", messenger.send, ['nameTagShowAvId'])
  924. base.accept("f4", faston, [])
  925. base.accept("f12", base.localAvatar.b_setSC, [50205])
  926. base.accept("f11", base.localAvatar.b_setSC, [50202])
  927. base.accept("f10", base.localAvatar.b_setSC, [50704])
  928. base.accept("`", white, [])
  929. base.accept("0", black, [])
  930. base.accept("1", red, [])
  931. base.accept("2", pink, [])
  932. base.accept("3", purple, [])
  933. base.accept("4", green, [])
  934. base.accept("5", yellow, [])
  935. base.accept("6", darkblue, [])
  936. base.accept("7", blue, [])
  937. base.accept("8", orange, [])
  938. base.accept("9", cream, [])
  939. base.accept("f6", perwinkle, [])
  940. base.accept("f7", gray, [])
  941. base.accept("insert", aron, [])
  942. base.accept("shift", base.localAvatar.thinkPos, [])
  943.  
  944. #toon effects
  945.  
  946. base.localAvatar.setCheesyEffect(14, 0, 0)# --snowman head -
  947. base.localAvatar.setCheesyEffect(13, 0, 0)# --white 1-
  948. base.localAvatar.setCheesyEffect(12, 0, 0)# --pumpkin head-
  949. base.localAvatar.setCheesyEffect(11, 0, 0)# --no head-
  950. base.localAvatar.setCheesyEffect(10, 0, 0)# --white 2-
  951. base.localAvatar.setCheesyEffect(9, 0, 0)# --invisible-
  952. base.localAvatar.setCheesyEffect(8, 0, 0)# --sideways 1-
  953. base.localAvatar.setCheesyEffect(7, 0, 0)# --sideways 2-
  954. base.localAvatar.setCheesyEffect(6, 0, 0)# --small toon-
  955. base.localAvatar.setCheesyEffect(5, 0, 0)# --big toon-
  956. base.localAvatar.setCheesyEffect(4, 0, 0)# --small feet-
  957. base.localAvatar.setCheesyEffect(3, 0, 0)# --big feet-
  958. base.localAvatar.setCheesyEffect(1, 0, 0)# --big head-
  959. base.localAvatar.setCheesyEffect(2, 0, 0)# --small head-
  960.  
  961. #rotate codes
  962.  
  963. base.localAvatar.setHpr(0,0,315)# sideway 1
  964. base.localAvatar.setHpr(0,0,0)# normal
  965. base.localAvatar.setHpr(0,0,180)
  966. base.localAvatar.collisionsOff()# upside down
  967. base.localAvatar.setHpr(0,0,80)# sideways 2
  968. base.localAvatar.setHpr(0,0,360)# straight
  969. base.localAvatar.setHpr(315,315,315)# - flip
  970. base.localAvatar.setHpr(0,90,0)# on your back
  971. base.localAvatar.setHpr(0,270,0)# on your face
  972. base.localAvatar.setHpr(0,0,30)# sideways 3
  973. base.localAvatar.setHpr(0,0,10)# sideways 4
  974.  
  975. #unite codes
  976.  
  977. base.localAvatar.setSCResistance(1)# toonup
  978. base.localAvatar.setSCResistance(71)# toonup restock
  979. base.localAvatar.setSCResistance(36)# trap restock
  980. base.localAvatar.setSCResistance(553)# lure restock
  981. base.localAvatar.setSCResistance(1302)# sound restock
  982. base.localAvatar.setSCResistance(305)# throw restock
  983. base.localAvatar.setSCResistance(323)# squirt restock
  984. base.localAvatar.setSCResistance(44)# drop restock
  985.  
  986. #speedchat codes
  987.  
  988. base.localAvatar.b_announceBingo()
  989. base.localAvatar.b_setSC(20030)# I haven't been wrong yet.
  990. base.localAvatar.b_setSC(20100)# Which face would you like to defeat you?
  991. base.localAvatar.b_setSC(20200)# I'm gonna tell the boss about you!
  992. base.localAvatar.b_setSC(20201)# I may be just a Flunky - but I'm real spunky.
  993. base.localAvatar.b_setSC(20136)# RAID!
  994. base.localAvatar.b_setSC(20237)# I can bag this.
  995. base.localAvatar.b_setSC(20229)# Let's get going - time is money.
  996. base.localAvatar.b_setSC(20220)# I'm watching every move you make.
  997. base.localAvatar.b_setSC(20219)# I'll take care of you in no time.
  998. base.localAvatar.b_setSC(20300)# You make my hair curl.
  999. base.localAvatar.b_setSC(20299)# Don't brush me aside.
  1000. base.localAvatar.b_setSC(20297)# I'm prepared to close this deal quickly.
  1001. base.localAvatar.b_setSC(20296)# Too bad for you -- I make house calls.
  1002. base.localAvatar.b_setSC(20293)# I was planning on running into you.
  1003. base.localAvatar.b_setSC(20291)# You won't be able to get rid of me now.
  1004. base.localAvatar.b_setSC(20287)# Careful, I may leave a mark.
  1005. base.localAvatar.b_setSC(20284)# I hate it when things get dull.
  1006. base.localAvatar.b_setSC(20283)# Let's hurry, I bore easily.
  1007. base.localAvatar.b_setSC(20282)# Let's get right to the point.
  1008. base.localAvatar.b_setSC(20281)# I'll have to make my point more clear.
  1009. base.localAvatar.b_setSC(20071)# In my opinion, your name is MUD.
  1010. base.localAvatar.b_setSC(20279)# I'm No.2!
  1011. base.localAvatar.b_setSC(20278)# Hey, you can't push me around.
  1012. base.localAvatar.b_setSC(20266)# I hope you don't forget your lines.
  1013. base.localAvatar.b_setSC(20091)# This is no laughing matter.
  1014. base.localAvatar.b_setSC(20262)# I'm going to roll your end credits.
  1015. base.localAvatar.b_setSC(20096)# Face it, I'm better than you.
  1016. base.localAvatar.b_setSC(20258)# Today the role of defeated toon, will be played by - YOU!
  1017. base.localAvatar.b_setSC(20256)# Lights, camera, action!
  1018. base.localAvatar.b_setSC(20251)# Well, isn't this cozy?
  1019. base.localAvatar.b_setSC(20122)# Legally, you're too small to fight me.
  1020. base.localAvatar.b_setSC(20150)# I'm going to cream you.
  1021. base.localAvatar.b_setSC(20133)# Let me get your back.
  1022. base.localAvatar.b_setSC(20132)# Whoa, back up there toon.
  1023. base.localAvatar.b_setSC(20127)# Take that back or else.
  1024. base.localAvatar.b_setSC(20350)# I have my own special spin on the subject.
  1025. base.localAvatar.b_setSC(20349)# Care to take a few turns with me?
  1026. base.localAvatar.b_setSC(20346)# The doctor is in, the Toon is out.
  1027. base.localAvatar.b_setSC(20345)# You look like you need a doctor.
  1028. base.localAvatar.b_setSC(20341)# You'll never know when I'll stop.
  1029. base.localAvatar.b_setSC(20320)# You've been robbed.
  1030. base.localAvatar.b_setSC(20329)# You should know not to talk to strangers.
  1031. base.localAvatar.b_setSC(20335)# You'll experience a shortfall.
  1032. base.localAvatar.b_setSC(20113)# You are going to have such a headache.
  1033. base.localAvatar.b_setSC(20107)# Oh good, I've been hunting for you.
  1034. base.localAvatar.b_setSC(50101)# Blimey!
  1035. base.localAvatar.b_setSC(50206)# You need a sharp sword and sharper wits.
  1036. base.localAvatar.b_setSC(60103)# Yo!
  1037. base.localAvatar.b_setSC(50208)# Watch yer tongue or I'll pickle it with sea salt!
  1038. base.localAvatar.b_setSC(50211)# You're a canvas shy of a full sail, aren't ye mate?
  1039. base.localAvatar.b_setSC(50210)# The horizon be as empty as yer head.
  1040. base.localAvatar.b_setSC(50209)# Touch me loot and you get the boot!
  1041. base.localAvatar.b_setSC(50300)# Fine shooting mate!
  1042. base.localAvatar.b_setSC(50704)# Hey Bucko.
  1043. base.localAvatar.b_setSC(50205)# Addle-minded fool!
  1044. base.localAvatar.b_setSC(50202)# See ye in Davy Jones locker!
  1045. base.localAvatar.b_setSC(20117)# I'm bringing down the law on you.
  1046. base.localAvatar.b_setSC(50100)# Gangway!
  1047. base.localAvatar.b_setSC(50102)# Well blow me down!
  1048. base.localAvatar.b_setSC(50103)# Walk the plank!
  1049. base.localAvatar.b_setSC(50102)# Dead men tell no tales....
  1050. base.localAvatar.b_setSC(50105)# Shiver me timbers!
  1051. base.localAvatar.b_setSC(50106)# Salty as a Kraken's kiss.
  1052. base.localAvatar.b_setSC(50107)# Treasure be the measure of our pleasure!
  1053. base.localAvatar.b_setSC(50108)# I don't fear death - I attune it.
  1054. base.localAvatar.b_setSC(50200)# Blige rat!
  1055. base.localAvatar.b_setSC(50201)# Scurvy dog!
  1056. base.localAvatar.b_setSC(50203)# Scoundrel!
  1057. base.localAvatar.b_setSC(50204)# Landlubber!
  1058. base.localAvatar.b_setSC(50203)# Ye be one doubloon short of a full hull mate!
  1059. base.localAvatar.b_setSC(50301)# A well placed blow!
  1060. base.localAvatar.b_setSC(50302)# Nice shot!
  1061. base.localAvatar.b_setSC(50303)# Well met!
  1062. base.localAvatar.b_setSC(50304)# We showed them!
  1063. base.localAvatar.b_setSC(50305)# Yer not so bad yerself!
  1064. base.localAvatar.b_setSC(50306)# A fine plunder haul!
  1065. base.localAvatar.b_setSC(50400)# Let's set sail.
  1066. base.localAvatar.b_setSC(50401)# Let's get out of here.
  1067. base.localAvatar.b_setSC(51100)# I be sailing some rough waters today.
  1068. base.localAvatar.b_setSC(52100)# Want to group up?
  1069. base.localAvatar.b_setSC(52101)# Join me crew?
  1070. base.localAvatar.b_setSC(53101)# I caught a fish!
  1071. base.localAvatar.b_setSC(53102)# I saw a Legendary Fish!
  1072. base.localAvatar.b_setSC(53103)# What did you catch?
  1073. base.localAvatar.b_setSC(53104)# This will make a whale of a tale!
  1074. base.localAvatar.b_setSC(53105)# That was a beauty!
  1075. base.localAvatar.b_setSC(53106)# Arr, the sea is treacherous today.
  1076. base.localAvatar.b_setSC(53107)# What a bountiful haul of fish!
  1077. base.localAvatar.b_setSC(10000)# The choice is yours!
  1078. base.localAvatar.b_setSC(10001)# Who are you voting for?
  1079. base.localAvatar.b_setSC(10002)# I'm pickin' Chicken!
  1080. base.localAvatar.b_setSC(10003)# Vote now! Vote Cow!
  1081. base.localAvatar.b_setSC(10004)# Go bananas! Vote Monkey!
  1082. base.localAvatar.b_setSC(10005)# Be a honey! Vote Bear!
  1083. base.localAvatar.b_setSC(10006)# Think big! Vote Pig!
  1084. base.localAvatar.b_setSC(10007)# Vote Goat - and that's all she wrote!
  1085. base.localAvatar.b_setSC(60672)# I just found the treasure I've been searching for.
  1086. base.localAvatar.b_setSC(60673)# If you were a booger, I'd pick you first.
  1087. base.localAvatar.b_setSC(60674)# Come to Tortuga often?
  1088. base.localAvatar.b_setSC(60675)# Do you have a map? I just keep getting lost in your eyes.
  1089. base.localAvatar.b_setSC(60676)# Flirt
  1090. base.localAvatar.b_setSC(60677)# Zombie dance
  1091. base.localAvatar.b_setSC(60671)# Hello, I'm a Pirate, and I'm here to steal your heart.
  1092. base.localAvatar.b_setSC(60678)# Noisemaker
  1093. base.localAvatar.b_setSC(60670)# Dance
  1094. base.localAvatar.b_setSC(60669)# Sleep
  1095. base.localAvatar.b_setSC(60668)# Celebrate
  1096. base.localAvatar.b_setSC(60500)# Where are you?
  1097. base.localAvatar.b_setSC(60501)# Let's go to the Gateway Store.
  1098. base.localAvatar.b_setSC(60502)# Let's go to the Disco Hall.
  1099. base.localAvatar.b_setSC(60503)# Let's go to Toontown.
  1100. base.localAvatar.b_setSC(60504)# Let's go to Pirates of the Carribean.
  1101. base.localAvatar.b_setSC(60504)# Flip coin
  1102. base.localAvatar.b_setSC(60401)# Doh!
  1103. base.localAvatar.b_setSC(60402)# Aw man!
  1104. base.localAvatar.b_setSC(60404)# Bummer!
  1105. base.localAvatar.b_setSC(60301)# Have you seen the Silly Meter?
  1106. base.localAvatar.b_setSC(60302)# The Silly Meter is in Toon Hall.
  1107. base.localAvatar.b_setSC(60303)# Things sure are getting silly around here!
  1108. base.localAvatar.b_setSC(60304)# I saw a fire hydrant moving!
  1109. base.localAvatar.b_setSC(60305)# Toontown is coming to life!
  1110. base.localAvatar.b_setSC(60306)# Have you been to Flippy's new office?
  1111. base.localAvatar.b_setSC(60307)# I caused a Silly Surge in battle!
  1112. base.localAvatar.b_setSC(60308)# Let's defeat some Cogs to make Toontown sillier!
  1113. base.localAvatar.b_setSC(60309)# The Silly Meter is bigger and crazier than ever!
  1114. base.localAvatar.b_setSC(60310)# Lots of hydrants have come alive!
  1115. base.localAvatar.b_setSC(60311)# I saw a mail box moving!
  1116. base.localAvatar.b_setSC(60312)# I watched a trash can wake up!
  1117. base.localAvatar.b_setSC(60313)# How silly can it get?
  1118. base.localAvatar.b_setSC(60314)# What's going to happen next?
  1119. base.localAvatar.b_setSC(60315)# Something silly, I bet!
  1120. base.localAvatar.b_setSC(60316)# Have you caused a Silly Surge yet?
  1121. base.localAvatar.b_setSC(60318)# Cog Invasion!
  1122. base.localAvatar.b_setSC(60319)# Incoming!
  1123. base.localAvatar.b_setSC(60320)# Let's stop these Cogs!
  1124. base.localAvatar.b_setSC(60321)# I miss the Silly Surges!
  1125. base.localAvatar.b_setSC(60322)# Let's go stop an Invasion!
  1126. base.localAvatar.b_setSC(60323)# Toontown is sillier than ever now!
  1127. base.localAvatar.b_setSC(60324)# Have you seen something come alive?
  1128. base.localAvatar.b_setSC(60200)# Deck the halls...
  1129. base.localAvatar.b_setSC(60201)# Load some pies...
  1130. base.localAvatar.b_setSC(60202)# Joyful toons...
  1131. base.localAvatar.b_setSC(60203)# Snowman heads...
  1132. base.localAvatar.b_setSC(60204)# Toontown's merry...
  1133. base.localAvatar.b_setSC(60205)# Lure good cheer...
  1134. base.localAvatar.b_setSC(60220)# Deck the halls with seltzer spray! Happy Winter Holiday!
  1135. base.localAvatar.b_setSC(60221)# Load some pies into your sleigh! Happy Winter Holiday!
  1136. base.localAvatar.b_setSC(60222)# Joyful toons bring Cogs dismay! Happy Winter Holiday!
  1137. base.localAvatar.b_setSC(60223)# Snowman heads are hot today! Happy Winter Holiday!
  1138. base.localAvatar.b_setSC(60224)# Toontown's merry, come what may! Happy Winter Holiday!
  1139. base.localAvatar.b_setSC(60225)# Lure good cheer the Toontown way! Happy Winter Holiday!
  1140. base.localAvatar.b_setSC(60100)# Happy April Toons' Week!
  1141. base.localAvatar.b_setSC(60101)# Welcome to my April Toons' Week party!
  1142. base.localAvatar.b_setSC(60110)# Mickey is in Daisy Garden.
  1143. base.localAvatar.b_setSC(60111)# Daisy is in Toontown Central.
  1144. base.localAvatar.b_setSC(60112)# Minnie is in The Brrrgh.
  1145. base.localAvatar.b_setSC(60113)# Pluto is in Melodyland.
  1146. base.localAvatar.b_setSC(60114)# Donald is sleepwalking at the Speedway.
  1147. base.localAvatar.b_setSC(60115)# Goofy is in Dreamland.
  1148. base.localAvatar.b_setSC(60120)# Mickey is acting like Daisy!
  1149. base.localAvatar.b_setSC(60121)# Daisy is acting like Mickey!
  1150. base.localAvatar.b_setSC(60122)# Minnie is acting like Pluto!
  1151. base.localAvatar.b_setSC(60123)# Pluto is acting like Minnie!
  1152. base.localAvatar.b_setSC(60124)# Pluto is talking!
  1153. base.localAvatar.b_setSC(60125)# Goofy is acting like Donald!
  1154. base.localAvatar.b_setSC(60126)# Donald is dreaming he is Goofy!
  1155. base.localAvatar.b_setSC(51001)# May our stiff winds be at our backs, the sun on our faces and our cannons fire true!
  1156. base.localAvatar.b_setSC(60350)# Welcome to my Victory Party!
  1157. base.localAvatar.b_setSC(60351)# This is a great Victory Party!
  1158. base.localAvatar.b_setSC(60352)# We showed those Cogs who's boss!
  1159. base.localAvatar.b_setSC(60353)# Good job helping end the Cog invasions!
  1160. base.localAvatar.b_setSC(60354)# I bet this is driving the Cogs crazy!
  1161. base.localAvatar.b_setSC(60355)# Let's play Cog-O-War!
  1162. base.localAvatar.b_setSC(60356)# My team won at Cog-O-War!
  1163. base.localAvatar.b_setSC(60357)# It's nice to have fire hydrants, trash cans, and mailboxes here!
  1164. base.localAvatar.b_setSC(60358)# I like the balloon of the Doodle biting the Cog!
  1165. base.localAvatar.b_setSC(60359)# I like the balloon of the Cog covered in ice cream!
  1166. base.localAvatar.b_setSC(60360)# I like the wavy Cog that flaps his arms!
  1167. base.localAvatar.b_setSC(60361)# I jumped on a Cog's face!
  1168. base.localAvatar.b_setSC(1700)# Let's split up.
  1169. base.localAvatar.b_setSC(1701)# Let's stay together.
  1170. base.localAvatar.b_setSC(1702)# Let's battle the Cogs.
  1171. base.localAvatar.b_setSC(1703)# Step on the switch.
  1172. base.localAvatar.b_setSC(1704)# Go through the door.
  1173. base.localAvatar.b_setSC(1803)# I'm in the Front Entrance.
  1174. base.localAvatar.b_setSC(1804)# I'm in the Lobby.
  1175. base.localAvatar.b_setSC(1805)# I'm in the hallway outside the Lobby.
  1176. base.localAvatar.b_setSC(1807)# I'm in the Gear Room.
  1177. base.localAvatar.b_setSC(1808)# I'm in the Boiler Room.
  1178. base.localAvatar.b_setSC(1809)# I'm on the East Catwalk.
  1179. base.localAvatar.b_setSC(1810)# I'm in the Paint Mixer.
  1180. base.localAvatar.b_setSC(1811)# I'm in the Paint Mixer Storage Room.
  1181. base.localAvatar.b_setSC(1812)# I'm on the West Silo Catwalk.
  1182. base.localAvatar.b_setSC(1813)# I'm in the Pipe Room.
  1183. base.localAvatar.b_setSC(1814)# I'm on the stairs to the Pipe Room.
  1184. base.localAvatar.b_setSC(1815)# I'm in the Duct Room.
  1185. base.localAvatar.b_setSC(1816)# I'm in the Side Entrance.
  1186. base.localAvatar.b_setSC(1817)# I'm in Stomper Alley.
  1187. base.localAvatar.b_setSC(1818)# I'm outside the Lava Room.
  1188. base.localAvatar.b_setSC(1819)# I'm in the Lava Room.
  1189. base.localAvatar.b_setSC(1820)# I'm in the Lava Storage Room.
  1190. base.localAvatar.b_setSC(1821)# I'm on the West Catwalk.
  1191. base.localAvatar.b_setSC(1822)# I'm in the Oil Room.
  1192. base.localAvatar.b_setSC(1823)# I'm on the Warehouse Lookout.
  1193. base.localAvatar.b_setSC(1824)# I'm in the Warehouse.
  1194. base.localAvatar.b_setSC(1825)# I'm outside the Paint Mixer.
  1195. base.localAvatar.b_setSC(1827)# I'm outside the Oil Room.
  1196. base.localAvatar.b_setSC(1830)# I'm in the East Silo Control Room.
  1197. base.localAvatar.b_setSC(1831)# I'm in the West Silo Control Room.
  1198. base.localAvatar.b_setSC(1833)# I'm at the East Silo.
  1199. base.localAvatar.b_setSC(1834)# I'm on the West Silo.
  1200. base.localAvatar.b_setSC(1835)# I'm on the Center Silo.
  1201. base.localAvatar.b_setSC(1841)# I'm on top of the East Silo.
  1202. base.localAvatar.b_setSC(1860)# I'm on the West Silo Elevator.
  1203. base.localAvatar.b_setSC(1861)# I'm on the East Silo Elevator.
  1204. base.localAvatar.b_setSC(2100)# Please operate the crane.
  1205. base.localAvatar.b_setSC(2101)# May I operate the crane?
  1206. base.localAvatar.b_setSC(2102)# I need practice operating the crane.
  1207. base.localAvatar.b_setSC(2103)# Pick up a disabled goon.
  1208. base.localAvatar.b_setSC(2104)# Throw the goon at the CFO.
  1209. base.localAvatar.b_setSC(2105)# Throw a safe now!
  1210. base.localAvatar.b_setSC(2106)# Don't throw a safe now!
  1211. base.localAvatar.b_setSC(2107)# A safe will knock off his helmet.
  1212. base.localAvatar.b_setSC(2108)# A safe will become his new helmet.
  1213. base.localAvatar.b_setSC(2109)# I can't reach any safes.
  1214. base.localAvatar.b_setSC(2110)# I can't reach any goons.
  1215. base.localAvatar.b_setSC(2200)# You need to hit the scale.
  1216. base.localAvatar.b_setSC(2201)# I will hit the scale.
  1217. base.localAvatar.b_setSC(2202)# I need help with the scale!
  1218. base.localAvatar.b_setSC(2203)# You need to stun the Cogs.
  1219. base.localAvatar.b_setSC(2204)# I will stun the Cogs.
  1220. base.localAvatar.b_setSC(2205)# I need help with the Cogs!
  1221. base.localAvatar.b_setSC(2206)# I need more evidence!
  1222. base.localAvatar.b_setSC(2207)# I'm shooting for chairs in the top row.
  1223. base.localAvatar.b_setSC(2208)# I'm shooting for chairs in the bottom row.
  1224. base.localAvatar.b_setSC(2209)# Move out of the way! We can't hit the pan.
  1225. base.localAvatar.b_setSC(2210)# I'll do Toon-Ups for us.
  1226. base.localAvatar.b_setSC(2211)# I don't have any bonus weight.
  1227. base.localAvatar.b_setSC(2212)# I have a bonus weight of 1.
  1228. base.localAvatar.b_setSC(2213)# I have a bonus weight of 2.
  1229. base.localAvatar.b_setSC(2214)# I have a bonus weight of 3.
  1230. base.localAvatar.b_setSC(2215)# I have a bonus weight of 4.
  1231. base.localAvatar.b_setSC(2216)# I have a bonus weight of 5.
  1232. base.localAvatar.b_setSC(2217)# I have a bonus weight of 6.
  1233. base.localAvatar.b_setSC(2218)# I have a bonus weight of 7.
  1234. base.localAvatar.b_setSC(2219)# I have a bonus weight of 8.
  1235. base.localAvatar.b_setSC(2220)# I have a bonus weight of 9.
  1236. base.localAvatar.b_setSC(2221)# I have a bonus weight of 10.
  1237. base.localAvatar.b_setSC(2222)# I have a bonus weight of 11.
  1238. base.localAvatar.b_setSC(2223)# I have a bonus weight of 12.
  1239. base.localAvatar.b_setSC(2300)# You feed the Cogs on the left.
  1240. base.localAvatar.b_setSC(2301)# I'll feed the Cogs on the left.
  1241. base.localAvatar.b_setSC(2302)# You feed the Cogs on the right.
  1242. base.localAvatar.b_setSC(2303)# I'll feed the Cogs on the right.
  1243. base.localAvatar.b_setSC(2304)# You feed the Cogs on the front.
  1244. base.localAvatar.b_setSC(2305)# I'll feed the Cogs on the front.
  1245. base.localAvatar.b_setSC(2306)# You feed the Cogs on the back.
  1246. base.localAvatar.b_setSC(2307)# I'll feed the Cogs on the back.
  1247. base.localAvatar.b_setSC(2308)# You use the seltzer bottle.
  1248. base.localAvatar.b_setSC(2309)# I'll use the seltzer bottle.
  1249. base.localAvatar.b_setSC(2310)# You use the golf tee.
  1250. base.localAvatar.b_setSC(2311)# I'll use the golf tee.
  1251. base.localAvatar.b_setSC(2312)# I'll serve this table.
  1252. base.localAvatar.b_setSC(2313)# Can you serve this table?
  1253. base.localAvatar.b_setSC(2314)# Feed the same cog again.
  1254. base.localAvatar.b_setSC(2315)# Hurry, your cog is hungry!
  1255. base.localAvatar.b_setSC(2316)# Please save the snacks for sadder toons.
  1256. base.localAvatar.b_setSC(2317)# Take the snacks before they fall.
  1257. base.localAvatar.b_setSC(3600)# Which track do you want to race on?
  1258. base.localAvatar.b_setSC(3601)# Pick a track!
  1259. base.localAvatar.b_setSC(3602)# Can we race on a different track?
  1260. base.localAvatar.b_setSC(3603)# Let's pick a different track!
  1261. base.localAvatar.b_setSC(4000)# Let's play minigolf!
  1262. base.localAvatar.b_setSC(4001)# Let's play again!
  1263. base.localAvatar.b_setSC(4002)# Want to golf?
  1264. base.localAvatar.b_setSC(4100)# Let's play 'Walk In The Par.'
  1265. base.localAvatar.b_setSC(4101)# Let's play 'Hole Some Fun.'
  1266. base.localAvatar.b_setSC(4102)# Let's play 'The Hole Kit and Caboodle.'
  1267. base.localAvatar.b_setSC(4103)# That course is too easy.
  1268. base.localAvatar.b_setSC(4104)# That course is too hard.
  1269. base.localAvatar.b_setSC(4105)# That course is just right.
  1270. base.localAvatar.b_setSC(4200)# Try standing more to the left.
  1271. base.localAvatar.b_setSC(4201)# Try standing more to the right.
  1272. base.localAvatar.b_setSC(4202)# Try standing right in the middle.
  1273. base.localAvatar.b_setSC(4203)# Try hitting it harder.
  1274. base.localAvatar.b_setSC(4204)# Try hitting it softer.
  1275. base.localAvatar.b_setSC(4205)# Try aiming more to the left.
  1276. base.localAvatar.b_setSC(4206)# Try aiming more to the right.
  1277. base.localAvatar.b_setSC(4207)# Try aiming right down the middle.
  1278. base.localAvatar.b_setSC(4300)# So close!
  1279. base.localAvatar.b_setSC(4301)# What a great shot!
  1280. base.localAvatar.b_setSC(4302)# That was a lucky shot.
  1281. base.localAvatar.b_setSC(4303)# I'll take a mulligan...
  1282. base.localAvatar.b_setSC(4304)# That's a gimme.
  1283. base.localAvatar.b_setSC(4305)# Fore!
  1284. base.localAvatar.b_setSC(4306)# Shhhh!
  1285. base.localAvatar.b_setSC(4307)# Good game!
  1286. base.localAvatar.b_setSC(5100)# Let's go to the Front Three.
  1287. base.localAvatar.b_setSC(5101)# Let's go to the Middle Six.
  1288. base.localAvatar.b_setSC(5102)# Let's go to the Back Nine.
  1289. base.localAvatar.b_setSC(5103)# Let's go to the C.E.O. Battle.
  1290. base.localAvatar.b_setSC(5104)# Let's go to the Senior V.P Battle.
  1291. base.localAvatar.b_setSC(5105)# Let's go to the Front Entrance.
  1292. base.localAvatar.b_setSC(5106)# Let's go to the Side Entrance.
  1293. base.localAvatar.b_setSC(5107)# Let's go to the Coin Mint.
  1294. base.localAvatar.b_setSC(5108)# Let's go to the Dollar Mint.
  1295. base.localAvatar.b_setSC(5109)# Let's go to the Bullion Mint.
  1296. base.localAvatar.b_setSC(5110)# Let's go to the C.F.O. Battle.
  1297. base.localAvatar.b_setSC(5111)# Let's go to the Chief Justice Battle.
  1298. base.localAvatar.b_setSC(5112)# Let's go to the Lawbot A Office.
  1299. base.localAvatar.b_setSC(5113)# Let's go to the Lawbot B Office.
  1300. base.localAvatar.b_setSC(5114)# Let's go to the Lawbot C Office.
  1301. base.localAvatar.b_setSC(5115)# Let's go to the Lawbot D Office.
  1302. base.localAvatar.b_setSC(5200)# We're going to the Front Three.
  1303. base.localAvatar.b_setSC(5201)# We're going to the Middle Six.
  1304. base.localAvatar.b_setSC(5202)# We're going to the Back Nine.
  1305. base.localAvatar.b_setSC(5203)# We're going to the C.E.O. Battle.
  1306. base.localAvatar.b_setSC(5204)# We're going to the Senior V.P Battle.
  1307. base.localAvatar.b_setSC(5205)# We're going to the Front Entrance.
  1308. base.localAvatar.b_setSC(5206)# We're going to the Side Entrance.
  1309. base.localAvatar.b_setSC(5207)# We're going to the Coin Mint.
  1310. base.localAvatar.b_setSC(5208)# We're going to the Dollar Mint.
  1311. base.localAvatar.b_setSC(5209)# We're going to the Bullion Mint.
  1312. base.localAvatar.b_setSC(5210)# We're going to the C.F.O. Battle.
  1313. base.localAvatar.b_setSC(5211)# We're going to the Chief Justice Battle.
  1314. base.localAvatar.b_setSC(5212)# We're going to the Lawbot A Office.
  1315. base.localAvatar.b_setSC(5213)# We're going to the Lawbot B Office.
  1316. base.localAvatar.b_setSC(5214)# We're going to the Lawbot C Office.
  1317. base.localAvatar.b_setSC(5215)# We're going to the Lawbot D Office.
  1318. base.localAvatar.b_setSC(3200)# Where do you want to race?
  1319. base.localAvatar.b_setSC(3201)# Let's pick a different track.
  1320. base.localAvatar.b_setSC(3300)# Wow! You are FAST!
  1321. base.localAvatar.b_setSC(3301)# You're too fast for me!
  1322. base.localAvatar.b_setSC(3400)# Too scared to race me?
  1323.  
  1324.  
  1325.  
  1326. #Smile Code
  1327.  
  1328. from direct.interval.IntervalGlobal import *
  1329. def intro():
  1330. base.localAvatar.b_setEmoteState(22,1)
  1331. def part2():
  1332. base.localAvatar.setCheesyEffect(13, 0, 0)
  1333. def part3():
  1334. base.localAvatar.setCheesyEffect(0, 0, 0)
  1335. def onTime():
  1336. seq = Sequence()
  1337. seq.append(Func(intro))
  1338. seq.append(Wait(1))
  1339. seq.append(Func(part2))
  1340. seq.append(Wait(2))
  1341. seq.append(Func(part3))
  1342. seq.start()
  1343. onTime()
  1344.  
  1345. #Looping codes
  1346.  
  1347. from direct.interval.IntervalGlobal import *
  1348. def big():
  1349. base.localAvatar.setCheesyEffect(13, 0, 0)
  1350. def normal():
  1351. base.localAvatar.setCheesyEffect(0, 0, 0)
  1352. def onTime():
  1353. seq = Sequence()
  1354. seq.append(Func(big))
  1355. seq.append(Wait(2))
  1356. seq.append(Func(normal))
  1357. seq.append(Wait(2)
  1358. seq.append(Func(onTime))
  1359. seq.start()
  1360. onTime()
  1361.  
  1362. #Black cat client sided
  1363.  
  1364. base.localAvatar.findAllMatches('**/head-short').setColor(0.35,0.35,0.3)
  1365. base.localAvatar.findAllMatches('**/head-front-short').setColor(0.35,0.35,0.3)
  1366. base.localAvatar.findAllMatches('**/head-long').setColor(0.35,0.35,0.3)
  1367. base.localAvatar.findAllMatches('**/head-front-long').setColor(0.35,0.35,0.3)
  1368. base.localAvatar.findAllMatches('**/ears-short').setColor(0.35,0.35,0.3)
  1369. base.localAvatar.findAllMatches('**/ears-long').setColor(0.35,0.35,0.3)
  1370. base.localAvatar.findAllMatches('**/neck').setColor(0.35,0.35,0.3)
  1371. base.localAvatar.findAllMatches('**/arms').setColor(0.35,0.35,0.3)
  1372. base.localAvatar.findAllMatches('**/feet').setColor(0.35,0.35,0.3)
  1373. base.localAvatar.findAllMatches('**/legs').setColor(0.35,0.35,0.3)
  1374.  
  1375. #ScientistEmcee talk
  1376.  
  1377. from direct.interval.IntervalGlobal import *
  1378. def intro():
  1379. base.localAvatar.b_setAnimState('ScientistEmcee')
  1380. base.talkAssistant.sendOpenTalk('Congratulations Toons!')
  1381. def part2():
  1382. base.talkAssistant.sendOpenTalk('You all successfully held off the Cog Invasions...')
  1383. def part3():
  1384. base.talkAssistant.sendOpenTalk('With a little help from our newly animated friends...')
  1385. def part4():
  1386. base.talkAssistant.sendOpenTalk('And brought Toontown back to its usual silly self!')
  1387. def part5():
  1388. base.talkAssistant.sendOpenTalk('We hope to get the Silly Meter rising again soon...')
  1389. def part6():
  1390. base.talkAssistant.sendOpenTalk('So in the meantime, keep up the Cog fight...')
  1391. def part7():
  1392. base.talkAssistant.sendOpenTalk('And enjoy the silliest place ever, Toontown!')
  1393. def onTime():
  1394. seq = Sequence()
  1395. seq.append(Func(intro))
  1396. seq.append(Wait(5))
  1397. seq.append(Func(part2))
  1398. seq.append(Wait(5))
  1399. seq.append(Func(part3))
  1400. seq.append(Wait(5))
  1401. seq.append(Func(part4))
  1402. seq.append(Wait(5))
  1403. seq.append(Func(part5))
  1404. seq.append(Wait(5))
  1405. seq.append(Func(part6))
  1406. seq.append(Wait(5))
  1407. seq.append(Func(part7))
  1408. seq.start()
  1409. onTime()
  1410.  
  1411. #Server side cream pies
  1412.  
  1413. from direct.interval.IntervalGlobal import *
  1414. def id():
  1415. base.cr.sendSetZoneMsg(2513)
  1416. def play():
  1417. messenger.send('kickToPlayground', [1])
  1418. from toontown.shtiker.MapPage import MapPage
  1419. gohome = MapPage()
  1420. gohome.goHome()
  1421. def onTime():
  1422. seq = Sequence()
  1423. seq.append(Wait(10))
  1424. seq.append(Func(id))
  1425. seq.append(Wait(2))
  1426. seq.append(Func(play))
  1427. seq.start()
  1428. onTime()
  1429.  
  1430. #teleport to funny farms
  1431.  
  1432. from direct.interval.IntervalGlobal import *
  1433. def tptohole():
  1434. base.localAvatar.b_setAnimState('TeleportOut')
  1435. def id():
  1436. base.cr.sendSetZoneMsg(7000)
  1437. def tpfromhole():
  1438. base.localAvatar.b_setAnimState('TeleportIn')
  1439. def onTime():
  1440. seq = Sequence()
  1441. seq.append(Func(tptohole))
  1442. seq.append(Wait(4.0))
  1443. seq.append(Func(id))
  1444. seq.append(Wait(2.0))
  1445. seq.append(Func(tpfromhole))
  1446. seq.start()
  1447. onTime()
  1448.  
  1449. #scientist clothes
  1450.  
  1451. base.localAvatar.findAllMatches('**/sleeves').setColor(1.0,1.0,1.0)
  1452. base.localAvatar.findAllMatches('**/torso-top').setColor(1.0,1.0,1.0)
  1453. base.localAvatar.findAllMatches('**/torso-bot').setColor(1.0,1.0,1.0)
  1454. base.localAvatar.findAllMatches('**/torso-bot-cap').setColor(1.0,1.0,1.0)
  1455. sleeves = base.localAvatar.findAllMatches('**/sleeves')
  1456. sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
  1457. sleeves.setTexture(sleevestex, 1)
  1458. shirt = base.localAvatar.findAllMatches('**/torso-top')
  1459. shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistB.jpg")
  1460. shirt.setTexture(shirttex, 1)
  1461. short = base.localAvatar.findAllMatches('**/torso-bot')
  1462. shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistC.jpg")
  1463. short.setTexture(shorttex, 1)
  1464. shortcap = base.localAvatar.findAllMatches('**/torso-bot-cap')
  1465. shortcap.setTexture(shorttex, 1)
  1466.  
  1467. #tye dye gloves
  1468.  
  1469. glove = findhands
  1470. gloves = loader.loadTexture("phase_4/maps/sleevesTieDye.jpg")
  1471. glove.setTexture(gloves, 1)
  1472.  
  1473. #octopus dog with armor
  1474.  
  1475. base.localAvatar.findAllMatches('**/head').setColor(0.35,0.64,0.85)
  1476. base.localAvatar.findAllMatches('**/head-front').setColor(0.35,0.64,0.85)
  1477. base.localAvatar.findAllMatches('**/legs').setColor(0.35,0.64,0.85)
  1478. base.localAvatar.findAllMatches('**/feet').setColor(0.35,0.64,0.85)
  1479. base.localAvatar.findAllMatches('**/arms').setColor(0.35,0.64,0.85)
  1480. base.localAvatar.findAllMatches('**/neck').setColor(0.35,0.64,0.85)
  1481. base.localAvatar.findAllMatches('**/torso-bot').setColor(0.35,0.35,0.85)
  1482. base.localAvatar.findAllMatches('**/torso-bot-cap').setColor(0.35,0.35,0.85)
  1483. base.localAvatar.findAllMatches('**/torso-top').setColor(0.35,0.35,0.85)
  1484. base.localAvatar.findAllMatches('**/sleeves').setColor(0.35,0.35,0.85)
  1485. head1 = base.localAvatar.findAllMatches('**/head')
  1486. head1tex = loader.loadTexture("custom/textures/metal.jpg")
  1487. head1.setTexture(head1tex, 1)
  1488. head2 = base.localAvatar.findAllMatches('**/head-front')
  1489. head2tex = loader.loadTexture("custom/textures/metal.jpg")
  1490. head2.setTexture(head2tex, 1)
  1491. paws = base.localAvatar.findAllMatches('**/legs')
  1492. pawstex = loader.loadTexture("custom/textures/metal.jpg")
  1493. paws.setTexture(pawstex, 1)
  1494. feet = base.localAvatar.findAllMatches('**/feet')
  1495. feettex = loader.loadTexture("custom/textures/metal.jpg")
  1496. feet.setTexture(feettex, 1)
  1497. arms = base.localAvatar.findAllMatches('**/arms')
  1498. armstex = loader.loadTexture("custom/textures/metal.jpg")
  1499. arms.setTexture(armstex, 1)
  1500. neck = base.localAvatar.findAllMatches('**/neck')
  1501. necktex = loader.loadTexture("custom/textures/metal.jpg")
  1502. neck.setTexture(necktex, 1)
  1503. shirt = base.localAvatar.findAllMatches('**/torso-top')
  1504. shirttex = loader.loadTexture("custom/textures/armor.jpg")
  1505. shirt.setTexture(shirttex, 1)
  1506. short = base.localAvatar.findAllMatches('**/torso-bot')
  1507. shorttex = loader.loadTexture("custom/textures/armor.jpg")
  1508. short.setTexture(shorttex, 1)
  1509. sleeves = base.localAvatar.findAllMatches('**/sleeves')
  1510. sleevestex = loader.loadTexture("custom/textures/armor.jpg")
  1511. sleeves.setTexture(sleevestex, 1)
  1512. shortcap = base.localAvatar.findAllMatches('**/torso-bot-cap')
  1513. shortcap.setTexture(shorttex, 1)
  1514.  
  1515. #become a resistance ranger
  1516.  
  1517. shirt = base.localAvatar.findAllMatches('**/torso-top')
  1518. shirttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_sellbotCrusher.jpg")
  1519. shirt.setTexture(shirttex, 1)
  1520. short = base.localAvatar.findAllMatches('**/torso-bot')
  1521. shorttex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_sellbotCrusher.jpg")
  1522. short.setTexture(shorttex, 1)
  1523. sleeves = base.localAvatar.findAllMatches('**/sleeves')
  1524. sleevestex = loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_sellbotCrusher.jpg")
  1525. sleeves.setTexture(sleevestex, 1)
  1526. shortcap = base.localAvatar.findAllMatches('**/torso-bot-cap')
  1527. shortcap.setTexture(shorttex, 1)
  1528. base.localAvatar.setName('RESISTANCE RANGER Green')
  1529.  
  1530. #create merry-go-round
  1531.  
  1532. from pandac.PandaModules import *
  1533. from direct.task import Task
  1534. merrygoround = loader.loadModel("phase_13/models/parties/partyMerryGoRound.bam")
  1535. merrygoround.reparentTo(render)
  1536. merrygoround.setPos(-9999.999,-9999.999,-9999.999)
  1537. merrygoround.setHpr(0,0,0)
  1538. merrygoround.setScale(5)
  1539. pandaHprInterval1 = merrygoround.hprInterval(3,Point3(0,0,0),
  1540. startHpr=Point3(270, 0, 0))
  1541. pandaHprInterval2 = merrygoround.hprInterval(3,Point3(270, 0, 0),
  1542. startHpr=Point3(0, 0, 0))
  1543. merryspin = Sequence(pandaHprInterval1,
  1544. name="merryspin")
  1545. merryspin.loop()
  1546.  
  1547. #play merry-go-round
  1548.  
  1549. from direct.interval.IntervalGlobal import *
  1550. def tptohole():
  1551. base.localAvatar.b_setAnimState('TeleportOut')
  1552. def tpfromhole():
  1553. base.localAvatar.setXYZH(-9983.387,-10090.576,-9995.443,2170.439)
  1554. base.localAvatar.setHpr(360,360,360)
  1555. base.localAvatar.b_setAnimState('TeleportIn')
  1556. def onTime():
  1557. seq = Sequence()
  1558. seq.append(Func(tptohole))
  1559. seq.append(Wait(4.0))
  1560. seq.append(Func(tpfromhole))
  1561. seq.start()
  1562. onTime()
  1563.  
  1564. #shorten codes
  1565.  
  1566. anim = base.localAvatar.b_setAnimState
  1567. talk = base.talkAssistant.sendOpenTalk
  1568. loop = base.localAvatar.loop
  1569. coff = base.localAvatar.collisionsOff
  1570. con = base.localAvatar.collisionsOn
  1571. zone = base.cr.sendSetZoneMsg
  1572. emote = base.localAvatar.b_setEmoteState
  1573. server = messenger.send
  1574. avatar = base.localAvatar
  1575. local = base.cr
  1576. cog = base.localAvatar.setCogIndex
  1577. coordinates = base.localAvatar.setXYZH
  1578. height = base.localAvatar.setZ
  1579. findhands = findhands
  1580. findneck = base.localAvatar.findAllMatches('**/neck')
  1581. findhead = base.localAvatar.findAllMatches('**/head')
  1582. findhfront = base.localAvatar.findAllMatches('**/head-front')
  1583. findshirt = base.localAvatar.findAllMatches('**/torso-top')
  1584. findsleeves = base.localAvatar.findAllMatches('**/sleeves')
  1585. findshort = base.localAvatar.findAllMatches('**/torso-bot')
  1586. findskirt = base.localAvatar.findAllMatches('**/torso-bot')
  1587. findfeet = base.localAvatar.findAllMatches('**/feet')
  1588. findlegs = base.localAvatar.findAllMatches('**/legs')
  1589. findarms = base.localAvatar.findAllMatches('**/arms')
  1590. findnose = base.localAvatar.findAllMatches('**/nose')
  1591. findface = base.localAvatar.findAllMatches('**/muzzle')
  1592.  
  1593. #monkey mouth
  1594.  
  1595. mouth = base.localAvatar.findAllMatches('**/muzzle')
  1596. mouthtext = loader.loadTexture("phase_3/maps/avatar_palette_3cmla_13.jpg")
  1597. mouth.setTexture(mouthtext, 1)
  1598.  
  1599. #custom music
  1600.  
  1601. base.enableAllAudio()
  1602. music = loader.loadMusic("custom/music/forever_charmed.mp3")
  1603. music.play()
  1604. music.setLoop()
  1605. from direct.interval.IntervalGlobal import *
  1606.  
  1607. #flippy clothes
  1608.  
  1609. base.localAvatar.findAllMatches('**/torso-top').setColor(1,0.5,0.18)
  1610. base.localAvatar.findAllMatches('**/sleeves').setColor(1,0.5,0.18)
  1611. base.localAvatar.findAllMatches('**/sleeves').setColor(1,0.5,0.18)
  1612. base.localAvatar.findAllMatches('**/torso-bot').setColor(0.62,0.26,0.36)
  1613. base.localAvatar.findAllMatches('**/torso-bot-cap').setColor(0.62,0.26,0.36)
  1614. shirt = base.localAvatar.findAllMatches('**/torso-top')
  1615. shirttex = loader.loadTexture("phase_3/maps/desat_shirt_4.jpg")
  1616. shirt.setTexture(shirttex, 1)
  1617. sleeves = base.localAvatar.findAllMatches('**/sleeves')
  1618. sleevestex = loader.loadTexture("phase_3/maps/desat_sleeve_4.jpg")
  1619. sleeves.setTexture(sleevestex, 1)
  1620. short = base.localAvatar.findAllMatches('**/torso-bot')
  1621. shorttex = loader.loadTexture("phase_3/maps/desat_shorts_10.jpg")
  1622. short.setTexture(shorttex, 1)
  1623. shortcap = base.localAvatar.findAllMatches('**/torso-bot-cap')
  1624. shortcap.setTexture(shorttex, 1)
  1625.  
  1626. #rainbow gloves
  1627.  
  1628. from direct.interval.IntervalGlobal import *
  1629. def red():
  1630. base.localAvatar.findAllMatches('**/hands').setColor(0.97,0.3,0.3)
  1631. def pink():
  1632. base.localAvatar.findAllMatches('**/hands').setColor(0.96,0.7,0.7)
  1633. def purple():
  1634. base.localAvatar.findAllMatches('**/hands').setColor(0.69,0.29,0.95)
  1635. def green():
  1636. base.localAvatar.findAllMatches('**/hands').setColor(0.4,1,0.4)
  1637. def yellow():
  1638. base.localAvatar.findAllMatches('**/hands').setColor(1,0.95,0.3)
  1639. def dblue():
  1640. base.localAvatar.findAllMatches('**/hands').setColor(0.35,0.35,0.85)
  1641. def blue():
  1642. base.localAvatar.findAllMatches('**/hands').setColor(0.3,0.64,0.85)
  1643. def orange():
  1644. base.localAvatar.findAllMatches('**/hands').setColor(1,0.5,0.18)
  1645. def cream():
  1646. base.localAvatar.findAllMatches('**/hands').setColor(1,1,0.57)
  1647. def perwk():
  1648. base.localAvatar.findAllMatches('**/hands').setColor(0.55,0.55,1)
  1649. def rainglov():
  1650. rain = Sequence()
  1651. rain.append(Func(red))
  1652. rain.append(Wait(0.3))
  1653. rain.append(Func(pink))
  1654. rain.append(Wait(0.3))
  1655. rain.append(Func(purple))
  1656. rain.append(Wait(0.3))
  1657. rain.append(Func(green))
  1658. rain.append(Wait(0.3))
  1659. rain.append(Func(yellow))
  1660. rain.append(Wait(0.3))
  1661. rain.append(Func(dblue))
  1662. rain.append(Wait(0.3))
  1663. rain.append(Func(blue))
  1664. rain.append(Wait(0.3))
  1665. rain.append(Func(orange))
  1666. rain.append(Wait(0.3))
  1667. rain.append(Func(cream))
  1668. rain.append(Wait(0.3))
  1669. rain.append(Func(perwk))
  1670. rain.append(Wait(0.3))
  1671. rain.append(Func(rainglov))
  1672. rain.start()
  1673. rainglov()
  1674.  
  1675. #humanist
  1676.  
  1677.  
  1678. humanist = loader.loadTexture("phase_3/maps/Humanist.rgb")
  1679.  
  1680.  
  1681.  
  1682. find = base.localAvatar.findAllMatches
  1683. neck = find('**/neck')
  1684.  
  1685.  
  1686. neck.setColor(3.30,0.30,0.3)
  1687.  
  1688. neck.setTexture(humanist, 1)
  1689. feet = find('**/feet')
  1690.  
  1691. feet.setColor(3.30,0.30,0.3)
  1692. feet.setTexture(humanist, 1)
  1693.  
  1694. legs = find('**/legs')
  1695. legs.setColor(3.30,0.30,0.3)
  1696. legs.setTexture(humanist, 1)
  1697.  
  1698.  
  1699. arms = find('**/arms')
  1700.  
  1701. arms.setColor(3.30,0.30,0.3)
  1702. arms.setTexture(humanist, 1)
  1703.  
  1704.  
  1705.  
  1706. mouth = find('**/muzzle-short-neutral')
  1707. mouth.setColor(3.30,0.30,0.3)
  1708.  
  1709. mouth.setTexture(humanist, 1)
  1710.  
  1711.  
  1712. shirts=loader.loadTexture("phase_4/maps/tt_t_chr_shirt_scientistC.jpg")
  1713.  
  1714.  
  1715. sleeves=loader.loadTexture("phase_4/maps/tt_t_chr_shirtSleeve_scientist.jpg")
  1716.  
  1717.  
  1718. shorts=loader.loadTexture("phase_4/maps/tt_t_chr_shorts_scientistB.jpg")
  1719.  
  1720.  
  1721. torsotop = find('**/torso-top')
  1722. torsotop.setColor(1,1,1)
  1723. torsotop.setTexture(shirts, 1)
  1724.  
  1725.  
  1726. torsobot1 = find('**/torso-bot')
  1727. torsobot1.setColor(1,1,1)
  1728. torsobot1.setTexture(shorts, 1)
  1729.  
  1730. torsobot2 = find('**/torso-bot-cap')
  1731. torsobot2.setColor(1,1,1)
  1732. torsobot2.setTexture(shorts, 1)
  1733.  
  1734.  
  1735.  
  1736.  
  1737. sleevet = find('**/sleeves')
  1738. sleevet.setColor(1,1,1)
  1739. sleevet.setTexture(sleeves, 1)
  1740.  
  1741.  
  1742.  
  1743. #maxxed toon
  1744.  
  1745. from direct.interval.IntervalGlobal import *
  1746. def start():
  1747. base.localAvatar.setMaxHp(137)
  1748. base.localAvatar.setHp(137)
  1749. def laffh():
  1750. laff = Sequence()
  1751. laff.append(Func(start))
  1752. laff.append(Wait(1))
  1753. laff.append(Func(laffh))
  1754. laff.start()
  1755. laffh()
  1756.  
  1757. #halloween style toon
  1758.  
  1759. base.localAvatar.findAllMatches('**/head-front').removeNode()
  1760. base.localAvatar.findAllMatches('**/head').removeNode()
  1761. base.localAvatar.findAllMatches('**/head-short').removeNode()
  1762. base.localAvatar.findAllMatches('**/head-short-front').removeNode()
  1763. base.localAvatar.findAllMatches('**/head-long').removeNode()
  1764. base.localAvatar.findAllMatches('**/head-long-front').removeNode()
  1765. base.localAvatar.findAllMatches('**/ears-long').removeNode()
  1766. base.localAvatar.findAllMatches('**/ears-short').removeNode()
  1767. base.localAvatar.findAllMatches('**/eyes-long').removeNode()
  1768. base.localAvatar.findAllMatches('**/eyes-short').removeNode()
  1769. base.localAvatar.findAllMatches('**/arms').removeNode()
  1770. base.localAvatar.findAllMatches('**/hands').removeNode()
  1771. base.localAvatar.findAllMatches('**/neck').setColor(1,0,0)
  1772. shirts=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween5.jpg")
  1773. sleve=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween5.jpg")
  1774. shorts=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_halloween5.jpg")
  1775. halstys=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirt_halloween5.jpg")
  1776. halstsl=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shirtSleeve_halloween5.jpg")
  1777. halstsh=loader.loadTexture("phase_4/maps/tt_t_chr_avt_shorts_halloween5.jpg")
  1778.  
  1779. torsotop = base.localAvatar.findAllMatches('**/torso-top')
  1780. torsotop.setColor(1,1,1)
  1781. torsotop.setTexture(halstys, 1)
  1782.  
  1783.  
  1784. torsobot1 = base.localAvatar.findAllMatches('**/torso-bot')
  1785. torsobot1.setColor(1,1,1)
  1786. torsobot1.setTexture(halstsh, 1)
  1787.  
  1788. torsobot2 = base.localAvatar.findAllMatches('**/torso-bot-cap')
  1789. torsobot2.setColor(1,1,1)
  1790. torsobot2.setTexture(halstsh, 1)
  1791.  
  1792.  
  1793.  
  1794.  
  1795. sleevet = base.localAvatar.findAllMatches('**/sleeves')
  1796. sleevet.setColor(1,1,1)
  1797. sleevet.setTexture(halstsl, 1)
  1798.  
  1799.  
  1800. #district name
  1801. ttd = base.cr.doFindAll("ToontownDistrict")
  1802. for ttd in base.cr.doFindAll("ToontownDistrict"):
  1803. ttd.setName('Professor Graham will rule')
  1804.  
  1805. #toon troop
  1806. base.accept("insert", base.localAvatar.setSCResistance, [201])
  1807. from direct.actor.Actor import Actor
  1808. from pandac.PandaModules import *
  1809. from direct.task import Task
  1810. import math
  1811. from math import pi, sin, cos
  1812. from direct.showbase.ShowBase import ShowBase
  1813. from direct.task import Task
  1814. from direct.interval.IntervalGlobal import Sequence
  1815. from pandac.PandaModules import Point3
  1816. from pandac.PandaModules import *
  1817. troophat = loader.loadModel("phase_3.5/models/gui/tt_m_gui_gm_toontroop_whistle.bam")
  1818. troophat.reparentTo(base.localAvatar)
  1819. troophat.setZ(5)
  1820. troopwhistle = troophat.find('**/whistleIcon').hprInterval(3, Vec3(360, 0, 0))
  1821. troopwhistle.loop()
  1822. base.localAvatar.setName('TOON TROOP Graham')
  1823. base.localAvatar.setNametagStyle(5)
  1824. base.localAvatar.setMaxHp(112)
  1825. def hp():
  1826. base.localAvatar.setHp(112)
  1827. def hpl():
  1828. seq = Sequence()
  1829. seq.append(Func(hp))
  1830. seq.append(Wait(.1))
  1831. seq.append(Func(hpl))
  1832. seq.start()
  1833. hpl()
  1834.  
  1835. #treasure controlling
  1836.  
  1837. def trpos(str):
  1838. ttt = base.cr.doFindAll("TTTreasure")
  1839. for ttt in base.cr.doFindAll("TTTreasure"):
  1840. ttt.setPosition(str)
  1841. ttt = base.cr.doFindAll("DDTreasure")
  1842. for ttt in base.cr.doFindAll("BRTreasure"):
  1843. ttt.setPosition(str)
  1844. ttt = base.cr.doFindAll("DGTreasure")
  1845. for ttt in base.cr.doFindAll("DGTreasure"):
  1846. ttt.setPosition(str)
  1847. ttt = base.cr.doFindAll("MMTreasure")
  1848. for ttt in base.cr.doFindAll("MMTreasure"):
  1849. ttt.setPosition(str)
  1850. ttt = base.cr.doFindAll("BRTreasure")
  1851. for ttt in base.cr.doFindAll("BRTreasure"):
  1852. ttt.setPosition(str)
  1853. ttt = base.cr.doFindAll("DLTreasure")
  1854. for ttt in base.cr.doFindAll("DLTreasure"):
  1855. ttt.setPosition(str)
  1856. trpos(0,0,0)
  1857.  
  1858. def trgrb():
  1859. ttt = base.cr.doFindAll("TTTreasure")
  1860. for ttt in base.cr.doFindAll("TTTreasure"):
  1861. ttt.d_requestGrab()
  1862. ttt = base.cr.doFindAll("DDTreasure")
  1863. for ttt in base.cr.doFindAll("BRTreasure"):
  1864. ttt.d_requestGrab()
  1865. ttt = base.cr.doFindAll("DGTreasure")
  1866. for ttt in base.cr.doFindAll("DGTreasure"):
  1867. ttt.d_requestGrab()
  1868. ttt = base.cr.doFindAll("MMTreasure")
  1869. for ttt in base.cr.doFindAll("MMTreasure"):
  1870. ttt.d_requestGrab()
  1871. ttt = base.cr.doFindAll("BRTreasure")
  1872. for ttt in base.cr.doFindAll("BRTreasure"):
  1873. ttt.d_requestGrab()
  1874. ttt = base.cr.doFindAll("DLTreasure")
  1875. for ttt in base.cr.doFindAll("DLTreasure"):
  1876. ttt.d_requestGrab()
  1877. trgrb()
  1878.  
  1879. def trsvd():
  1880. ttt = base.cr.doFindAll("TTTreasure")
  1881. for ttt in base.cr.doFindAll("TTTreasure"):
  1882. ttt.startValentinesDay()
  1883. ttt = base.cr.doFindAll("DDTreasure")
  1884. for ttt in base.cr.doFindAll("BRTreasure"):
  1885. ttt.startValentinesDay()
  1886. ttt = base.cr.doFindAll("DGTreasure")
  1887. for ttt in base.cr.doFindAll("DGTreasure"):
  1888. ttt.startValentinesDay()
  1889. ttt = base.cr.doFindAll("MMTreasure")
  1890. for ttt in base.cr.doFindAll("MMTreasure"):
  1891. ttt.startValentinesDay()
  1892. ttt = base.cr.doFindAll("BRTreasure")
  1893. for ttt in base.cr.doFindAll("BRTreasure"):
  1894. ttt.startValentinesDay()
  1895. ttt = base.cr.doFindAll("DLTreasure")
  1896. for ttt in base.cr.doFindAll("DLTreasure"):
  1897. ttt.startValentinesDay()
  1898. trsvd()
  1899.  
  1900. def trnvd():
  1901. ttt = base.cr.doFindAll("TTTreasure")
  1902. for ttt in ttt:
  1903. ttt.stopValentinesDay()
  1904. ttt = base.cr.doFindAll("DDTreasure")
  1905. for ttt in ttt:
  1906. ttt.stopValentinesDay()
  1907. ttt = base.cr.doFindAll("DGTreasure")
  1908. for ttt in ttt:
  1909. ttt.stopValentinesDay()
  1910. ttt = base.cr.doFindAll("MMTreasure")
  1911. for ttt in ttt:
  1912. ttt.stopValentinesDay()
  1913. ttt = base.cr.doFindAll("BRTreasure")
  1914. for ttt in ttt:
  1915. ttt.stopValentinesDay()
  1916. ttt = base.cr.doFindAll("DLTreasure")
  1917. for ttt in ttt:
  1918. ttt.stopValentinesDay()
  1919. trnvd()
  1920.  
  1921. #trolley controlling
  1922.  
  1923. tr = base.cr.doFindAll("Trolley")
  1924. for tr in tr:
  1925. tr.enterEntering(0)
  1926.  
  1927. tr = base.cr.doFindAll("Trolley")
  1928. for tr in tr:
  1929. tr.enterLeaving(0)
  1930.  
  1931. #player controlling
  1932.  
  1933. ttp = base.cr.doFindAll("render/Disyer")
  1934. for ttp in ttp:
  1935. ttp.setName('TOON TROOP Disyer')
  1936.  
  1937. #minigame controlling
  1938.  
  1939. ttd = base.cr.doFindAll("DivingGame")
  1940. for ttd in base.cr.doFindAll("DivingGame"):
  1941. ttd.setTreasureGrabbed(base.localAvatar.doId, True)
  1942.  
  1943.  
  1944. ttd = base.cr.doFindAll("TargetGame")
  1945. for ttd in base.cr.doFindAll("TargetGame"):
  1946. ttd.speedLaunch = 2000
  1947. ttd.speedForward = 2000
  1948.  
  1949. #render controlling
  1950.  
  1951. ttr = base.cr.doFindAll("render")
  1952. for ttr in base.cr.doFindAll("render"):
  1953. ttr.setHpr(0,0,315)
  1954.  
  1955. #sellbot door controlling
  1956.  
  1957. sbhqd = base.cr.doFindAll("SellbotHQDoor")
  1958. for sbhqd in base.cr.doFindAll("SellbotHQDoor"):
  1959. sbhqd.setState('opening', 1)
  1960. Sleep(1)
  1961. sbhqd = base.cr.doFindAll("SellbotHQDoor")
  1962. for sbhqd in base.cr.doFindAll("SellbotHQDoor"):
  1963. sbhqd.setState('open', 1)
  1964.  
  1965. sbhqd = base.cr.doFindAll("SellbotHQDoor")
  1966. for sbhqd in base.cr.doFindAll("SellbotHQDoor"):
  1967. sbhqd.setState('closing', 1)
  1968.  
  1969. sbhqd = base.cr.doFindAll("SellbotHQDoor")
  1970. for sbhqd in base.cr.doFindAll("SellbotHQDoor"):
  1971. sbhqd.setState('closed', 1)
  1972.  
  1973. sbhqd = base.cr.doFindAll("CogHQDoor")
  1974. for sbhqd in base.cr.doFindAll("CogHQDoor"):
  1975. sbhqd.rejectEnter = sbhqd.avatarEnter(base.localAvatar.doId)
  1976. sbhqd.setOtherZoneIdAndDoId(10100, base.localAvatar.doId)
  1977.  
  1978. #man skirt
  1979.  
  1980. closet = base.cr.doFindAll("closet")
  1981. for closet in closet:
  1982. generateClothes = "purchaseDone-" + str(closet.doId)
  1983. messenger.send(generateClothes)
  1984.  
  1985. #vehicle controlling
  1986.  
  1987. ttv = base.cr.doFindAll("Vehicle")
  1988. for veh in base.cr.doFindAll("Vehicle"):veh.setTurbo(999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)
  1989. base.accept("f1", veh.startTurbo, [])
  1990.  
  1991. ttv = base.cr.doFindAll("Vehicle")
  1992. for ttv in base.cr.doFindAll("Vehicle"):
  1993. ttvid = '"vehicle-' + ttv.doId
  1994. ttvs = base.cr.doFindAll(ttvid)
  1995. for ttvs in base.cr.doFindAll(ttvid):
  1996. ttvs.windResistance.setAmplitude(-30)
  1997.  
  1998. #news
  1999.  
  2000. nmgr = base.cr.doFindAll("NewsManager")
  2001. for nmgr in base.cr.doFindAll("NewsManager"):
  2002. nmgr.setInvasionStatus(msgType=0, cogType="f", numRemaining=1, skeleton=1)
  2003. # msgType must be 0.
  2004. # cogType haves the same variables as putOnSuit. Like mm stands for MicroManager, ls for Loan Shark.
  2005. # numRemaining - you can give any number here.
  2006. # skeleton - if 1, it makes the cog invading as "Skelecog". if 0, it makes the cog invading as cogType.
  2007.  
  2008. nmgr = base.cr.doFindAll("NewsManager")
  2009. for nmgr in base.cr.doFindAll("NewsManager"):
  2010. nmgr.setBankUpgradeHolidayStart() # Something Toontastic happened to your Jeallybean Bank!
  2011.  
  2012. nmgr = base.cr.doFindAll("NewsManager")
  2013. for nmgr in base.cr.doFindAll("NewsManager"):
  2014. nmgr.setBingoStart() # It's time for Fish Bingo! Go to any available pier to play!
  2015.  
  2016. nmgr = base.cr.doFindAll("NewsManager")
  2017. for nmgr in base.cr.doFindAll("NewsManager"):
  2018. nmgr.setBingoOngoing() # Welcome! Fish Bingo is currently in progress.
  2019.  
  2020. nmgr = base.cr.doFindAll("NewsManager")
  2021. for nmgr in base.cr.doFindAll("NewsManager"):
  2022. nmgr.setBingoEnd() # Hope you had fun playing Fish Bingo.
  2023.  
  2024. nmgr = base.cr.doFindAll("NewsManager")
  2025. for nmgr in base.cr.doFindAll("NewsManager"):
  2026. nmgr.setBlackCatHolidayStart() # Create a Black Cat - Today only!
  2027.  
  2028. nmgr = base.cr.doFindAll("NewsManager")
  2029. for nmgr in base.cr.doFindAll("NewsManager"):
  2030. nmgr.setBlackCatHolidayStart() # Create a Black Cat - Today only!
  2031.  
  2032. nmgr = base.cr.doFindAll("NewsManager")
  2033. for nmgr in base.cr.doFindAll("NewsManager"):
  2034. nmgr.setBlackCatHolidayEnd() # Black Cat day has ended!
  2035.  
  2036. nmgr = base.cr.doFindAll("NewsManager")
  2037. for nmgr in base.cr.doFindAll("NewsManager"):
  2038. nmgr.setCircuitRaceStart() # The Toontown Grand Prix at Goofy Speedway is about to begin! To win, collect the most points in three consecutive races!
  2039.  
  2040. nmgr = base.cr.doFindAll("NewsManager")
  2041. for nmgr in base.cr.doFindAll("NewsManager"):
  2042. nmgr.setCircuitRaceOngoing() # Welcome! The Toontown Grand Prix is currently in progress.
  2043.  
  2044. nmgr = base.cr.doFindAll("NewsManager")
  2045. for nmgr in base.cr.doFindAll("NewsManager"):
  2046. nmgr.setCircuitRaceEnd() # That's all for today's Toontown Grand Prix at Goofy Speedway. See you next week!
  2047.  
  2048. nmgr = base.cr.doFindAll("NewsManager")
  2049. for nmgr in base.cr.doFindAll("NewsManager"):
  2050. nmgr.setGrandPrixWeekendStart() # It's Grand Prix Weekend at Goofy Speedway! Free and paid players collect the most points in three consecutive races.
  2051.  
  2052. nmgr = base.cr.doFindAll("NewsManager")
  2053. for nmgr in base.cr.doFindAll("NewsManager"):
  2054. nmgr.setGrandPrixWeekendEnd() # That's all for Grand Prix Weekend. See you next year.
  2055.  
  2056. nmgr = base.cr.doFindAll("NewsManager")
  2057. for nmgr in base.cr.doFindAll("NewsManager"):
  2058. nmgr.setHalloweenPropsHolidayStart() # It's Halloween in Toontown!
  2059.  
  2060. nmgr = base.cr.doFindAll("NewsManager")
  2061. for nmgr in base.cr.doFindAll("NewsManager"):
  2062. nmgr.setHalloweenPropsHolidayEnd() # Halloween has ended. Boo!
  2063.  
  2064. nmgr = base.cr.doFindAll("NewsManager")
  2065. for nmgr in base.cr.doFindAll("NewsManager"):
  2066. nmgr.setJellybeanDayStart() # It's Jellybean Day! Get Double Jellybean rewards at Parties!
  2067.  
  2068. nmgr = base.cr.doFindAll("NewsManager")
  2069. for nmgr in base.cr.doFindAll("NewsManager"):
  2070. nmgr.setJellybeanDayEnd() # That's all for Jellybean Day. See you next year.
  2071.  
  2072. nmgr = base.cr.doFindAll("NewsManager")
  2073. for nmgr in base.cr.doFindAll("NewsManager"):
  2074. nmgr.setJellybeanFishingHolidayStart() # Double Bean Days for Fishing have begun!
  2075.  
  2076. nmgr = base.cr.doFindAll("NewsManager")
  2077. for nmgr in base.cr.doFindAll("NewsManager"):
  2078. nmgr.setJellybeanFishingHolidayEnd() # Double Bean Days for Fishing have ended!
  2079.  
  2080. nmgr = base.cr.doFindAll("NewsManager")
  2081. for nmgr in base.cr.doFindAll("NewsManager"):
  2082. nmgr.setJellybeanPartiesHolidayStart() # Double Bean Days for Party Games have begun!
  2083.  
  2084. nmgr = base.cr.doFindAll("NewsManager")
  2085. for nmgr in base.cr.doFindAll("NewsManager"):
  2086. nmgr.setJellybeanPartiesHolidayEnd() # Double Bean Days have ended!
  2087.  
  2088. nmgr = base.cr.doFindAll("NewsManager")
  2089. for nmgr in base.cr.doFindAll("NewsManager"):
  2090. nmgr.setJellybeanTrolleyHolidayStart() # Double Bean Days for Trolley Games have begun!
  2091.  
  2092. nmgr = base.cr.doFindAll("NewsManager")
  2093. for nmgr in base.cr.doFindAll("NewsManager"):
  2094. nmgr.setJellybeanTrolleyHolidayEnd() # Double Bean Days for Trolley Games have ended!
  2095.  
  2096. nmgr = base.cr.doFindAll("NewsManager")
  2097. for nmgr in base.cr.doFindAll("NewsManager"):
  2098. nmgr.setMoreXpHolidayStart() # Good news! Exlcusive Test Toon double gag experience time has started.
  2099.  
  2100. nmgr = base.cr.doFindAll("NewsManager")
  2101. for nmgr in base.cr.doFindAll("NewsManager"):
  2102. nmgr.setMoreXpHolidayOngoing() # Good news! Exclusive Test Toon double gag experience time is currently ongoing.
  2103.  
  2104. nmgr = base.cr.doFindAll("NewsManager")
  2105. for nmgr in base.cr.doFindAll("NewsManager"):
  2106. nmgr.setMoreXpHolidayEnd() # Good news! Exclusive Test Toon double gag experience time has ended. Thanks for helping us Test things!
  2107.  
  2108. nmgr = base.cr.doFindAll("NewsManager")
  2109. for nmgr in base.cr.doFindAll("NewsManager"):
  2110. nmgr.setRoamingTrialerWeekendStart() # Tour Toontown is starting! Free players may now enter any neighborhood!
  2111.  
  2112. nmgr = base.cr.doFindAll("NewsManager")
  2113. for nmgr in base.cr.doFindAll("NewsManager"):
  2114. nmgr.setRoamingTrialerWeekendOngoing() # Welcome to Tour Toontown! Free players may now enter any neighborhood!
  2115.  
  2116. nmgr = base.cr.doFindAll("NewsManager")
  2117. for nmgr in base.cr.doFindAll("NewsManager"):
  2118. nmgr.setRoamingTrialerWeekendEnd() # That's all for Tour Toontown.
  2119.  
  2120. nmgr = base.cr.doFindAll("NewsManager")
  2121. for nmgr in base.cr.doFindAll("NewsManager"):
  2122. nmgr.setSellbotNerfHolidayStart() # Operation: Storm Sellbot is happening now! Battle the VP today!
  2123.  
  2124. nmgr = base.cr.doFindAll("NewsManager")
  2125. for nmgr in base.cr.doFindAll("NewsManager"):
  2126. nmgr.setSellbotNerfHolidayStart() # Operation: Storm Sellbot is happening now! Battle the VP today!
  2127.  
  2128. nmgr = base.cr.doFindAll("NewsManager")
  2129. for nmgr in base.cr.doFindAll("NewsManager"):
  2130. nmgr.setSellbotNerfHolidayEnd() # Operation: Storm Sellbot has ended. Great work, Toons!
  2131.  
  2132. nmgr = base.cr.doFindAll("NewsManager")
  2133. for nmgr in base.cr.doFindAll("NewsManager"):
  2134. nmgr.setTopToonsMarathonStart() # The Top Toons New Year's Day Marathon has begun!
  2135.  
  2136. nmgr = base.cr.doFindAll("NewsManager")
  2137. for nmgr in base.cr.doFindAll("NewsManager"):
  2138. nmgr.setTopToonsMarathonEnd() # The Top Toons New Year's Day Marathon has ended.
  2139.  
  2140. nmgr = base.cr.doFindAll("NewsManager")
  2141. for nmgr in base.cr.doFindAll("NewsManager"):
  2142. nmgr.setTrolleyHolidayStart() # Trolley Tracks is about to begin! Board any trolley with 2 or more toons to play.
  2143.  
  2144. nmgr = base.cr.doFindAll("NewsManager")
  2145. for nmgr in base.cr.doFindAll("NewsManager"):
  2146. nmgr.setTrolleyHolidayOngoing() # Welcome! Trolley Tracks is currently in progress.
  2147.  
  2148. nmgr = base.cr.doFindAll("NewsManager")
  2149. for nmgr in base.cr.doFindAll("NewsManager"):
  2150. nmgr.setTrolleyHolidayEnd() # That's all for today's Trolley Tracks. See you next week!
  2151.  
  2152. nmgr = base.cr.doFindAll("NewsManager")
  2153. for nmgr in base.cr.doFindAll("NewsManager"):
  2154. nmgr.setWinterCarolingStart() # Caroling has come to Toontown. Sing for your Snowman Head - see the Blog for details!
  2155.  
  2156. nmgr = base.cr.doFindAll("NewsManager")
  2157. for nmgr in base.cr.doFindAll("NewsManager"):
  2158. nmgr.setWinterDecorationsStart() # It's Winter Holiday time in Toontown!
  2159.  
  2160. nmgr = base.cr.doFindAll("NewsManager")
  2161. for nmgr in base.cr.doFindAll("NewsManager"):
  2162. nmgr.setWinterDecorationsEnd() # Winter Holiday is over - Happy New Year!
  2163.  
  2164. #disyer servert cogs
  2165.  
  2166. import random
  2167. cogs = base.cr.doFindAllMatching("render")
  2168. cogs.remove(base.localAvatar)
  2169. for cogs in cogs:
  2170. level = random.randint(1, 50)
  2171. cogs.setSkelecog(True)
  2172. cogs.setSkeleRevives(1)
  2173. cogs.setName("Disyer\nDisyer's Servert\nLevel " + str(level))
  2174.  
  2175. #ban blocker
  2176.  
  2177. def blockBan(log):
  2178. ftf = "C:/Program Files/Disney/Disney Online/ToontownOnline/" + str(log)
  2179. rf = open('%s'%(ftf),'r')
  2180. del rf.read()
  2181. def blockBan():
  2182. if "Server is booting us out" in str(rf.readline()):
  2183. messenger.send('pandaRenderError')
  2184. else:
  2185. None
  2186. def loopBanCheck():
  2187. seq.append(Func(blockBan))
  2188. seq.append(Wait(0.1))
  2189. seq.append(Func(loopBanCheck))
  2190. seq.start()
  2191. loopBanCheck()
  2192. blockBan('toontown-log_goeshere.log')
  2193.  
  2194. #pet controlling
  2195.  
  2196. pet = base.cr.doFindAll("T-Bone")
  2197. for pet in base.cr.doFindAll("T-Bone"):
  2198. pet.displayTalk('Hi there! My name is \'T-Bone\'.')
  2199.  
  2200. pet = base.cr.doFindAll("T-Bone")
  2201. for pet in base.cr.doFindAll("T-Bone"):
  2202. pet.enterTeleportIn(0)
  2203.  
  2204. pet = base.cr.doFindAll("T-Bone")
  2205. for pet in base.cr.doFindAll("T-Bone"):
  2206. pet.enterTeleportOut(0)
  2207.  
  2208. pet = base.cr.doFindAll("T-Bone")
  2209. for pet in base.cr.doFindAll("T-Bone"):
  2210. pet.setPetName('T-Skull')
  2211.  
  2212. pet = base.cr.doFindAll("T-Bone")
  2213. for pet in base.cr.doFindAll("T-Bone"):
  2214. pet.enterDance()
  2215.  
  2216. pet = base.cr.doFindAll("T-Bone")
  2217. for pet in base.cr.doFindAll("T-Bone"):
  2218. pet.enterSwim()
  2219.  
  2220. # Pets are also similar to base.localAvatar.
  2221.  
  2222. #anim tracker
  2223.  
  2224. from direct.interval.IntervalGlobal import *
  2225. from direct.gui.OnscreenText import OnscreenText
  2226. from direct.gui.DirectGui import *
  2227. from pandac.PandaModules import TextNode
  2228. from direct.task import Task
  2229.  
  2230. animState = OnscreenText(text='', style=1, fg=(1,1,1,1), align=TextNode.ALeft, pos=(-1.15, .8), scale=.07)
  2231.  
  2232. def updateAnimState():
  2233. animState.setText(str(base.localAvatar.getCurrentAnim()))
  2234.  
  2235. def loopAnimUpdate():
  2236. lau = Sequence()
  2237. lau.append(Func(updateAnimText))
  2238. lau.append(Wait(0.1))
  2239. lau.append(Func(loopAnimUpdate))
  2240. lau.start()
  2241.  
  2242. loopAnimUpdate()
  2243.  
  2244. #animation buttons
  2245.  
  2246. from direct.gui.OnscreenText import OnscreenText
  2247. from direct.gui.DirectGui import *
  2248. from pandac.PandaModules import TextNode
  2249.  
  2250. bk_text = "Button Hack Ready"
  2251. textObject = OnscreenText(text = bk_text, pos = (0.95,-0.95),
  2252. scale = 0.07,fg=(1,0.5,0.5,1),align=TextNode.ACenter,mayChange=1)
  2253.  
  2254. def normal1():
  2255. bk_text = "Button Hack Ready"
  2256. textObject.setText(bk_text)
  2257.  
  2258. def setText1():
  2259. bk_text = "Swimming"
  2260. textObject.setText(bk_text)
  2261. base.localAvatar.b_setAnimState('swim')
  2262. b1.hide()
  2263. b2.show()
  2264. b3.show()
  2265. b4.show()
  2266. b5.show()
  2267. b6.show()
  2268. b7.show()
  2269. b8.show()
  2270. var = 0
  2271.  
  2272. def setText2():
  2273. bk_text = "Sitting"
  2274. textObject.setText(bk_text)
  2275. base.localAvatar.b_setAnimState('SitStart')
  2276. b1.show()
  2277. b2.hide()
  2278. b3.show()
  2279. b4.show()
  2280. b5.show()
  2281. b6.show()
  2282. b7.show()
  2283. b8.show()
  2284. var = 1
  2285.  
  2286.  
  2287. def setText3():
  2288. bk_text = "Catching"
  2289. textObject.setText(bk_text)
  2290. base.localAvatar.b_setAnimState('Catching')
  2291. b1.show()
  2292. b2.show()
  2293. b3.hide()
  2294. b4.show()
  2295. b5.show()
  2296. b6.show()
  2297. b7.show()
  2298. b8.show()
  2299. var = 1
  2300.  
  2301. def setText4():
  2302. bk_text = "Fast RC"
  2303. textObject.setText(bk_text)
  2304. ttv = base.cr.doFindAll("Vehicle")
  2305. for ttv in base.cr.doFindAll("Vehicle"):
  2306. tid = ttv.doId
  2307.  
  2308. lttv = base.cr.doFindAll("vehicle-" + str(tid))
  2309. for lttv in base.cr.doFindAll("vehicle-" + str(tid)):
  2310. lttv.windResistance.setAmplitude(-190)
  2311. b1.show()
  2312. b2.show()
  2313. b3.show0
  2314. b4.hide()
  2315. b5.show()
  2316. b6.show()
  2317. b7.show()
  2318. b8.show()
  2319. var = 1
  2320.  
  2321. def setText5a():
  2322. bk_text = "Neutral"
  2323. textObject.setText(bk_text)
  2324. base.localAvatar.reparentTo(render)
  2325. b1.show()
  2326. b2.show()
  2327. b3.show0
  2328. b4.show()
  2329. b5.destroy()
  2330. b5 = DirectButton(text = (di, di, di, di), scale=.06, pos = (-0,-0,-.95), command=setText5b)
  2331. b6.show()
  2332. b7.show()
  2333. b8.show()
  2334. var = 0
  2335.  
  2336. def setText5b():
  2337. bk_text = "Dying"
  2338. textObject.setText(bk_text)
  2339. base.localAvatar.b_setAnimState('Died')
  2340. b1.show()
  2341. b2.show()
  2342. b3.show0
  2343. b4.show()
  2344. b5.destroy()
  2345. db = "neutral"
  2346. b5 = DirectButton(text = (db, db, db, db), scale=.06, pos = (-0,-0,-.95), command=setText5a)
  2347. b6.show()
  2348. b7.show()
  2349. b8.show()
  2350. var = 0
  2351.  
  2352. def setText6():
  2353. bk_text = "Racing Code"
  2354. textObject.setText(bk_text)
  2355. ttv = base.cr.doFindAll("Vehicle")
  2356. for ttv in base.cr.doFindAll("Vehicle"):
  2357. ttv.setTurbo(999999)
  2358. b1.show()
  2359. b2.show()
  2360. b3.show0
  2361. b4.show()
  2362. b5.show()
  2363. b6.hide()
  2364. b7.show()
  2365. b8.show()
  2366. var = 1
  2367.  
  2368. def setText7():
  2369. bk_text = "Nutty River"
  2370. textObject.setText(bk_text)
  2371. base.localAvatar.book.pages[1].showPop = 1
  2372. b1.show()
  2373. b2.show()
  2374. b3.show0
  2375. b4.show()
  2376. b5.show()
  2377. b6.show()
  2378. b7.hide()
  2379. b8.show()
  2380. var = 1
  2381.  
  2382. def setText8():
  2383. bk_text = "Member"
  2384. textObject.setText(bk_text)
  2385. def new():
  2386. return True
  2387. base.cr.isPaid = new
  2388. base.cr.isParentPasswordSet = new
  2389. b1.show()
  2390. b2.show()
  2391. b3.show0
  2392. b4.show()
  2393. b5.show()
  2394. b6.show()
  2395. b7.show()
  2396. b8.hide()
  2397. var = 1
  2398.  
  2399. base.accept("escape", normal1, [])
  2400. sw = "swim"
  2401. b1 = DirectButton(text = (sw, sw, sw, sw), scale=.06, pos = (-.98,-0,-.95), command=setText1)
  2402. si = "sit"
  2403. b2 = DirectButton(text = (si, si, si, si), scale=.06, pos = (-.8,-0,-.95), command=setText2)
  2404. ct = "catch"
  2405. b3 = DirectButton(text = (ct, ct, ct, ct), scale=.06, pos = (-.6,-0,-.95), command=setText3)
  2406. gr = "golf rotate"
  2407. b4 = DirectButton(text = (gr, gr, gr, gr), scale=.06, pos = (-.28,-0,-.95), command=setText4)
  2408. di = "die"
  2409. b5 = DirectButton(text = (di, di, di, di), scale=.06, pos = (-0,-0,-.95), command=setText5b)
  2410. rc = "r c"
  2411. b6 = DirectButton(text = (rc, rc, rc, rc), scale=.06, pos = (.16,-0,-.95), command=setText6)
  2412. rv = "river"
  2413. b7 = DirectButton(text = (rv, rv, rv, rv), scale=.06, pos = (.35,-0,-.95), command=setText7)
  2414. mb = "member"
  2415. b8 = DirectButton(text = (mb, mb, mb, mb), scale=.06, pos = (.565,-0,-.95), command=setText8)
  2416.  
  2417. #nametag color change
  2418.  
  2419. from direct.actor.Actor import Actor
  2420. from pandac.PandaModules import *
  2421. from direct.task import Task
  2422. from direct.showbase.ShowBase import ShowBase
  2423. from direct.task import Task
  2424. from direct.interval.IntervalGlobal import Sequence
  2425. from pandac.PandaModules import *
  2426. nametag3DLight = AmbientLight('alight')
  2427. nametag3DLight.setColor(VBase4(.93,0,0,1))
  2428. colorChange = render.attachNewNode(nametag3DLight)
  2429. messenger.send('nametagAmbientLightChanged', [colorChange])
  2430.  
  2431. #super flip
  2432.  
  2433. from direct.interval.IntervalGlobal import *
  2434. def start():
  2435. base.localAvatar.setPos(7,-13,7)
  2436. def anim():
  2437. base.localAvatar.b_setAnimState(('jumpAirborne'))
  2438. def intro():
  2439. base.localAvatar.setHpr(0,0,90)
  2440. def part2():
  2441. base.localAvatar.setHpr(0,0,180)
  2442. def part3():
  2443. base.localAvatar.setHpr(0,0,270)
  2444. def part4():
  2445. base.localAvatar.setHpr(0,0,360)
  2446. def onTime():
  2447. seq = Sequence()
  2448. seq.append(Func(anim))
  2449. seq.append(Wait(0))
  2450. seq.append(Func(start))
  2451. seq.append(Wait(0))
  2452. seq.append(Func(intro))
  2453. seq.append(Wait(.1))
  2454. seq.append(Func(part2))
  2455. seq.append(Wait(.1))
  2456. seq.append(Func(part3))
  2457. seq.append(Wait(.1))
  2458. seq.append(Func(part4))
  2459. seq.append(Wait(.1))
  2460. seq.append(Func(anim))
  2461. seq.append(Wait(0))
  2462. seq.append(Func(start))
  2463. seq.append(Wait(0))
  2464. seq.append(Func(intro))
  2465. seq.append(Wait(.1))
  2466. seq.append(Func(part2))
  2467. seq.append(Wait(.1))
  2468. seq.append(Func(part3))
  2469. seq.append(Wait(.1))
  2470. seq.append(Func(part4))
  2471. seq.append(Wait(.1))
  2472. seq.append(Func(anim))
  2473. seq.append(Wait(0))
  2474. seq.append(Func(start))
  2475. seq.append(Wait(0))
  2476. seq.append(Func(intro))
  2477. seq.append(Wait(.1))
  2478. seq.append(Func(part2))
  2479. seq.append(Wait(.1))
  2480. seq.append(Func(part3))
  2481. seq.append(Wait(.1))
  2482. seq.append(Func(part4))
  2483. seq.append(Wait(.1))
  2484. seq.append(Func(anim))
  2485. seq.append(Wait(0))
  2486. seq.append(Func(start))
  2487. seq.append(Wait(0))
  2488. seq.append(Func(intro))
  2489. seq.append(Wait(.1))
  2490. seq.append(Func(part2))
  2491. seq.append(Wait(.1))
  2492. seq.append(Func(part3))
  2493. seq.append(Wait(.1))
  2494. seq.append(Func(part4))
  2495. seq.append(Wait(.1))
  2496. seq.append(Func(anim))
  2497. seq.append(Wait(0))
  2498. seq.append(Func(start))
  2499. seq.append(Wait(0))
  2500. seq.append(Func(intro))
  2501. seq.append(Wait(.1))
  2502. seq.append(Func(part2))
  2503. seq.append(Wait(.1))
  2504. seq.append(Func(part3))
  2505. seq.append(Wait(.1))
  2506. seq.append(Func(part4))
  2507. seq.append(Wait(.1))
  2508. seq.append(Func(anim))
  2509. seq.append(Wait(0))
  2510. seq.append(Func(start))
  2511. seq.append(Wait(0))
  2512. seq.append(Func(intro))
  2513. seq.append(Wait(.1))
  2514. seq.append(Func(part2))
  2515. seq.append(Wait(.1))
  2516. seq.append(Func(part3))
  2517. seq.append(Wait(.1))
  2518. seq.append(Func(part4))
  2519. seq.append(Wait(.1))
  2520. seq.append(Func(anim))
  2521. seq.append(Wait(0))
  2522. seq.append(Func(start))
  2523. seq.append(Wait(0))
  2524. seq.append(Func(intro))
  2525. seq.append(Wait(.1))
  2526. seq.append(Func(part2))
  2527. seq.append(Wait(.1))
  2528. seq.append(Func(part3))
  2529. seq.append(Wait(.1))
  2530. seq.append(Func(part4))
  2531. seq.append(Wait(.1))
  2532. seq.append(Func(anim))
  2533. seq.append(Wait(0))
  2534. seq.append(Func(start))
  2535. seq.append(Wait(0))
  2536. seq.append(Func(intro))
  2537. seq.append(Wait(.1))
  2538. seq.append(Func(part2))
  2539. seq.append(Wait(.1))
  2540. seq.append(Func(part3))
  2541. seq.append(Wait(.1))
  2542. seq.append(Func(part4))
  2543. seq.append(Wait(.1))
  2544. seq.append(Func(anim))
  2545. seq.append(Wait(0))
  2546. seq.append(Func(start))
  2547. seq.append(Wait(0))
  2548. seq.append(Func(intro))
  2549. seq.append(Wait(.1))
  2550. seq.append(Func(part2))
  2551. seq.append(Wait(.1))
  2552. seq.append(Func(part3))
  2553. seq.append(Wait(.1))
  2554. seq.append(Func(part4))
  2555. seq.append(Wait(.1))
  2556. seq.append(Func(anim))
  2557. seq.append(Wait(0))
  2558. seq.append(Func(start))
  2559. seq.append(Wait(0))
  2560. seq.append(Func(intro))
  2561. seq.append(Wait(.1))
  2562. seq.append(Func(part2))
  2563. seq.append(Wait(.1))
  2564. seq.append(Func(part3))
  2565. seq.append(Wait(.1))
  2566. seq.append(Func(part4))
  2567. seq.append(Wait(.1))
  2568. seq.append(Func(anim))
  2569. seq.append(Wait(0))
  2570. seq.append(Func(start))
  2571. seq.append(Wait(0))
  2572. seq.append(Func(intro))
  2573. seq.append(Wait(.1))
  2574. seq.append(Func(part2))
  2575. seq.append(Wait(.1))
  2576. seq.append(Func(part3))
  2577. seq.append(Wait(.1))
  2578. seq.append(Func(part4))
  2579. seq.append(Wait(.1))
  2580. seq.append(Func(anim))
  2581. seq.append(Wait(0))
  2582. seq.append(Func(start))
  2583. seq.append(Wait(0))
  2584. seq.append(Func(intro))
  2585. seq.append(Wait(.1))
  2586. seq.append(Func(part2))
  2587. seq.append(Wait(.1))
  2588. seq.append(Func(part3))
  2589. seq.append(Wait(.1))
  2590. seq.append(Func(part4))
  2591. seq.append(Wait(.1))
  2592. seq.append(Func(anim))
  2593. seq.append(Wait(0))
  2594. seq.append(Func(start))
  2595. seq.append(Wait(0))
  2596. seq.append(Func(intro))
  2597. seq.append(Wait(.1))
  2598. seq.append(Func(part2))
  2599. seq.append(Wait(.1))
  2600. seq.append(Func(part3))
  2601. seq.append(Wait(.1))
  2602. seq.append(Func(part4))
  2603. seq.append(Wait(.1))
  2604. seq.append(Func(anim))
  2605. seq.append(Wait(0))
  2606. seq.append(Func(start))
  2607. seq.append(Wait(0))
  2608. seq.append(Func(intro))
  2609. seq.append(Wait(.1))
  2610. seq.append(Func(part2))
  2611. seq.append(Wait(.1))
  2612. seq.append(Func(part3))
  2613. seq.append(Wait(.1))
  2614. seq.append(Func(part4))
  2615. seq.append(Wait(.1))
  2616. seq.append(Func(anim))
  2617. seq.append(Wait(0))
  2618. seq.append(Func(start))
  2619. seq.append(Wait(0))
  2620. seq.append(Func(intro))
  2621. seq.append(Wait(.1))
  2622. seq.append(Func(part2))
  2623. seq.append(Wait(.1))
  2624. seq.append(Func(part3))
  2625. seq.append(Wait(.1))
  2626. seq.append(Func(part4))
  2627. seq.append(Wait(.1))
  2628. seq.append(Func(anim))
  2629. seq.append(Wait(0))
  2630. seq.append(Func(start))
  2631. seq.append(Wait(0))
  2632. seq.append(Func(intro))
  2633. seq.append(Wait(.1))
  2634. seq.append(Func(part2))
  2635. seq.append(Wait(.1))
  2636. seq.append(Func(part3))
  2637. seq.append(Wait(.1))
  2638. seq.append(Func(part4))
  2639. seq.append(Wait(.1))
  2640. seq.append(Func(anim))
  2641. seq.append(Wait(0))
  2642. seq.append(Func(start))
  2643. seq.append(Wait(0))
  2644. seq.append(Func(intro))
  2645. seq.append(Wait(.1))
  2646. seq.append(Func(part2))
  2647. seq.append(Wait(.1))
  2648. seq.append(Func(part3))
  2649. seq.append(Wait(.1))
  2650. seq.append(Func(part4))
  2651. seq.append(Wait(.1))
  2652. seq.append(Func(anim))
  2653. seq.append(Wait(0))
  2654. seq.append(Func(start))
  2655. seq.append(Wait(0))
  2656. seq.append(Func(intro))
  2657. seq.append(Wait(.1))
  2658. seq.append(Func(part2))
  2659. seq.append(Wait(.1))
  2660. seq.append(Func(part3))
  2661. seq.append(Wait(.1))
  2662. seq.append(Func(part4))
  2663. seq.append(Wait(.1))
  2664. seq.start()
  2665. onTime()
Add Comment
Please, Sign In to add comment