audio: Load .ogg instead of .mp3.

This commit is contained in:
Sam Edwards 2013-10-26 21:04:53 -06:00
parent 2a5fdf1d6e
commit 2c5b613f35
175 changed files with 712 additions and 712 deletions

View file

@ -511,7 +511,7 @@ class OTPClientRepository(ClientRepositoryBase):
whisper = WhisperPopup(message, OTPGlobals.getInterfaceFont(), WhisperPopup.WTSystem)
whisper.manage(base.marginManager)
if not self.systemMessageSfx:
self.systemMessageSfx = base.loadSfx('phase_3/audio/sfx/clock03.mp3')
self.systemMessageSfx = base.loadSfx('phase_3/audio/sfx/clock03.ogg')
if self.systemMessageSfx:
base.playSfx(self.systemMessageSfx)

View file

@ -135,9 +135,9 @@ def doFanfare(delay, toon, panel):
red_p0.renderer.getColorInterpolationManager().addConstant(0.0, 1.0, Vec4(1.0, 0.0, 0.0, 1.0), 1)
trumpetsAppear = LerpColorInterval(trumpetNode, 0.3, startColor=Vec4(1, 1, 0, 0), color=Vec4(1, 1, 0, 1))
trumpetsVanish = LerpColorInterval(trumpetNode, 0.3, startColor=Vec4(1, 1, 0, 1), color=Vec4(1, 1, 0, 0))
crabHorn = globalBattleSoundCache.getSound('King_Crab.mp3')
drumroll = globalBattleSoundCache.getSound('SZ_MM_drumroll.mp3')
fanfare = globalBattleSoundCache.getSound('SZ_MM_fanfare.mp3')
crabHorn = globalBattleSoundCache.getSound('King_Crab.ogg')
drumroll = globalBattleSoundCache.getSound('SZ_MM_drumroll.ogg')
fanfare = globalBattleSoundCache.getSound('SZ_MM_fanfare.ogg')
crabHorn.setTime(1.5)
partyBall.setTransparency(1)
partyBall.setColorScale(1, 1, 1, 1)

View file

@ -356,9 +356,9 @@ class Movie(DirectObject.DirectObject):
self.tutorialTom.setName(TTLocalizer.NPCToonNames[20000])
self.tutorialTom.uniqueName = uniqueName
if base.config.GetString('language', 'english') == 'japanese':
self.tomDialogue03 = base.loadSfx('phase_3.5/audio/dial/CC_tom_movie_tutorial_reward01.mp3')
self.tomDialogue04 = base.loadSfx('phase_3.5/audio/dial/CC_tom_movie_tutorial_reward02.mp3')
self.tomDialogue05 = base.loadSfx('phase_3.5/audio/dial/CC_tom_movie_tutorial_reward03.mp3')
self.tomDialogue03 = base.loadSfx('phase_3.5/audio/dial/CC_tom_movie_tutorial_reward01.ogg')
self.tomDialogue04 = base.loadSfx('phase_3.5/audio/dial/CC_tom_movie_tutorial_reward02.ogg')
self.tomDialogue05 = base.loadSfx('phase_3.5/audio/dial/CC_tom_movie_tutorial_reward03.ogg')
self.musicVolume = base.config.GetFloat('tutorial-music-volume', 0.5)
else:
self.tomDialogue03 = None

View file

@ -9,8 +9,8 @@ import MovieNPCSOS
from MovieUtil import calcAvgSuitPos
from direct.showutil import Effects
notify = DirectNotifyGlobal.directNotify.newCategory('MovieDrop')
hitSoundFiles = ('AA_drop_flowerpot.mp3', 'AA_drop_sandbag.mp3', 'AA_drop_anvil.mp3', 'AA_drop_bigweight.mp3', 'AA_drop_safe.mp3', 'AA_drop_piano.mp3', 'AA_drop_boat.mp3')
missSoundFiles = ('AA_drop_flowerpot_miss.mp3', 'AA_drop_sandbag_miss.mp3', 'AA_drop_anvil_miss.mp3', 'AA_drop_bigweight_miss.mp3', 'AA_drop_safe_miss.mp3', 'AA_drop_piano_miss.mp3', 'AA_drop_boat_miss.mp3')
hitSoundFiles = ('AA_drop_flowerpot.ogg', 'AA_drop_sandbag.mp3', 'AA_drop_anvil.mp3', 'AA_drop_bigweight.mp3', 'AA_drop_safe.mp3', 'AA_drop_piano.mp3', 'AA_drop_boat.mp3')
missSoundFiles = ('AA_drop_flowerpot_miss.ogg', 'AA_drop_sandbag_miss.mp3', 'AA_drop_anvil_miss.mp3', 'AA_drop_bigweight_miss.mp3', 'AA_drop_safe_miss.mp3', 'AA_drop_piano_miss.mp3', 'AA_drop_boat_miss.mp3')
tDropShadow = 1.3
tSuitDodges = 2.45 + tDropShadow
tObjectAppears = 3.0 + tDropShadow
@ -98,12 +98,12 @@ def __getSoundTrack(level, hitSuit, node = None):
soundEffect = globalBattleSoundCache.getSound(missSoundFiles[level])
soundTrack = Sequence()
if soundEffect:
buttonSound = globalBattleSoundCache.getSound('AA_drop_trigger_box.mp3')
buttonSound = globalBattleSoundCache.getSound('AA_drop_trigger_box.ogg')
fallingSound = None
buttonDelay = tButtonPressed - 0.3
fallingDuration = 1.5
if not level == UBER_GAG_LEVEL_INDEX:
fallingSound = globalBattleSoundCache.getSound('incoming_whistleALT.mp3')
fallingSound = globalBattleSoundCache.getSound('incoming_whistleALT.ogg')
soundTrack.append(Wait(buttonDelay))
soundTrack.append(SoundInterval(buttonSound, duration=0.67, node=node))
if fallingSound:
@ -406,7 +406,7 @@ def __createSuitTrack(drop, delay, level, alreadyDodged, alreadyTeased, target,
suitTrack.append(updateHealthBar)
suitGettingHit = Parallel(suitReact)
if level == UBER_GAG_LEVEL_INDEX:
gotHitSound = globalBattleSoundCache.getSound('AA_drop_boat_cog.mp3')
gotHitSound = globalBattleSoundCache.getSound('AA_drop_boat_cog.ogg')
suitGettingHit.append(SoundInterval(gotHitSound, node=toon))
suitTrack.append(suitGettingHit)
bonusTrack = None

View file

@ -11,7 +11,7 @@ import MovieCamera
import MovieUtil
from MovieUtil import calcAvgSuitPos
notify = DirectNotifyGlobal.directNotify.newCategory('MovieThrow')
hitSoundFiles = ('AA_tart_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_wholepie_only.mp3', 'AA_wholepie_only.mp3')
hitSoundFiles = ('AA_tart_only.ogg', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_wholepie_only.mp3', 'AA_wholepie_only.mp3')
tPieLeavesHand = 2.7
tPieHitsSuit = 3.0
tSuitDodges = 2.45
@ -215,7 +215,7 @@ def __pieMissGroupLerpCallback(t, missDict):
def __getSoundTrack(level, hitSuit, node = None):
throwSound = globalBattleSoundCache.getSound('AA_drop_trigger_box.mp3')
throwSound = globalBattleSoundCache.getSound('AA_drop_trigger_box.ogg')
throwTrack = Sequence(Wait(2.15), SoundInterval(throwSound, node=node))
return throwTrack
@ -310,13 +310,13 @@ def __throwPie(throw, delay, hitCount, showCannon = 1):
smoke.setScale(0.5)
smoke.hide()
smoke.setBillboardPointEye()
soundBomb = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.mp3')
soundBomb = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.ogg')
playSoundBomb = SoundInterval(soundBomb, node=cannonHolder)
soundFly = base.loadSfx('phase_4/audio/sfx/firework_whistle_01.mp3')
soundFly = base.loadSfx('phase_4/audio/sfx/firework_whistle_01.ogg')
playSoundFly = SoundInterval(soundFly, node=cannonHolder)
soundCannonAdjust = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.mp3')
soundCannonAdjust = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.ogg')
playSoundCannonAdjust = SoundInterval(soundCannonAdjust, duration=0.6, node=cannonHolder)
soundCogPanic = base.loadSfx('phase_5/audio/sfx/ENC_cogafssm.mp3')
soundCogPanic = base.loadSfx('phase_5/audio/sfx/ENC_cogafssm.ogg')
playSoundCogPanic = SoundInterval(soundCogPanic, node=cannonHolder)
reactIval = Parallel(ActorInterval(suit, 'pie-small-react'), Sequence(Wait(0.0), LerpPosInterval(cannonHolder, 2.0, posFinal, startPos=posInit, blendType='easeInOut'), Parallel(LerpHprInterval(barrel, 0.6, Point3(0, 45, 0), startHpr=Point3(0, 90, 0), blendType='easeIn'), playSoundCannonAdjust), Wait(2.0), Parallel(LerpHprInterval(barrel, 0.6, Point3(0, 90, 0), startHpr=Point3(0, 45, 0), blendType='easeIn'), playSoundCannonAdjust), LerpPosInterval(cannonHolder, 1.0, posInit, startPos=posFinal, blendType='easeInOut')), Sequence(Wait(0.0), Parallel(ActorInterval(suit, 'flail'), suit.scaleInterval(1.0, suitScale), LerpPosInterval(suit, 0.25, Point3(0, -1.0, 0.0)), Sequence(Wait(0.25), Parallel(playSoundCogPanic, LerpPosInterval(suit, 1.5, Point3(0, -deep, 0.0), blendType='easeIn')))), Wait(2.5), Parallel(playSoundBomb, playSoundFly, Sequence(Func(smoke.show), Parallel(LerpScaleInterval(smoke, 0.5, 3), LerpColorScaleInterval(smoke, 0.5, Vec4(2, 2, 2, 0))), Func(smoke.hide)), Sequence(Func(kapow.show),
ActorInterval(kapow, 'kapow'), Func(kapow.hide)), LerpPosInterval(suit, 3.0, Point3(0, 150.0, 0.0)), suit.scaleInterval(3.0, 0.01)), Func(suit.hide)))

View file

@ -15,7 +15,7 @@ import MovieNPCSOS
from toontown.effects import Splash
from direct.task import Task
notify = DirectNotifyGlobal.directNotify.newCategory('MovieHeal')
soundFiles = ('AA_heal_tickle.mp3', 'AA_heal_telljoke.mp3', 'AA_heal_smooch.mp3', 'AA_heal_happydance.mp3', 'AA_heal_pixiedust.mp3', 'AA_heal_juggle.mp3', 'AA_heal_High_Dive.mp3')
soundFiles = ('AA_heal_tickle.ogg', 'AA_heal_telljoke.mp3', 'AA_heal_smooch.mp3', 'AA_heal_happydance.mp3', 'AA_heal_pixiedust.mp3', 'AA_heal_juggle.mp3', 'AA_heal_High_Dive.mp3')
healPos = Point3(0, 0, 0)
healHpr = Vec3(180.0, 0, 0)
runHealTime = 1.0

View file

@ -123,7 +123,7 @@ def __createFishingPoleMultiTrack(lure, dollar, dollarName):
tracks.append(suitTrack)
else:
tracks.append(Sequence(Wait(3.7), Func(MovieUtil.indicateMissed, suit)))
tracks.append(getSoundTrack('TL_fishing_pole.mp3', delay=0.5, node=toon))
tracks.append(getSoundTrack('TL_fishing_pole.ogg', delay=0.5, node=toon))
return tracks
@ -181,9 +181,9 @@ def __createMagnetMultiTrack(lure, magnet, pos, hpr, scale, isSmallMagnet = 1, n
tracks.append(Sequence(Wait(3.7), Func(MovieUtil.indicateMissed, suit)))
if isSmallMagnet == 1:
tracks.append(getSoundTrack('TL_small_magnet.mp3', delay=0.7, node=toon))
tracks.append(getSoundTrack('TL_small_magnet.ogg', delay=0.7, node=toon))
else:
tracks.append(getSoundTrack('TL_large_magnet.mp3', delay=0.7, node=toon))
tracks.append(getSoundTrack('TL_large_magnet.ogg', delay=0.7, node=toon))
return tracks
@ -236,7 +236,7 @@ def __createHypnoGogglesMultiTrack(lure, npcs = []):
else:
tracks.append(Sequence(Wait(2.3), Func(MovieUtil.indicateMissed, suit, 1.1)))
tracks.append(getSoundTrack('TL_hypnotize.mp3', delay=0.5, node=toon))
tracks.append(getSoundTrack('TL_hypnotize.ogg', delay=0.5, node=toon))
return tracks
@ -322,7 +322,7 @@ def __createSuitDamageTrack(battle, suit, hp, lure, trapProp):
animTrack = Sequence(ActorInterval(trapProp, 'banana', startTime=3.1), Wait(1.1), LerpScaleInterval(trapProp, 1, Point3(0.01, 0.01, 0.01)))
suitTrack = ActorInterval(suit, 'slip-backward')
damageTrack = Sequence(Wait(0.5), Func(suit.showHpText, -hp, openEnded=0), Func(suit.updateHealthBar, hp))
soundTrack = Sequence(SoundInterval(globalBattleSoundCache.getSound('AA_pie_throw_only.mp3'), duration=0.55, node=suit), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.mp3'), node=suit))
soundTrack = Sequence(SoundInterval(globalBattleSoundCache.getSound('AA_pie_throw_only.ogg'), duration=0.55, node=suit), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.mp3'), node=suit))
result.append(Parallel(moveTrack, animTrack, suitTrack, damageTrack, soundTrack))
elif trapName == 'rake' or trapName == 'rake-react':
hpr = trapProp.getHpr(parent)
@ -333,7 +333,7 @@ def __createSuitDamageTrack(battle, suit, hp, lure, trapProp):
rakeAnimDuration = 3.125
suitTrack = ActorInterval(suit, 'rake-react', duration=rakeAnimDuration)
damageTrack = Sequence(Wait(0.5), Func(suit.showHpText, -hp, openEnded=0), Func(suit.updateHealthBar, hp))
soundTrack = getSoundTrack('TL_step_on_rake.mp3', delay=0.6, node=suit)
soundTrack = getSoundTrack('TL_step_on_rake.ogg', delay=0.6, node=suit)
result.append(Parallel(rakeTrack, suitTrack, damageTrack, soundTrack))
elif trapName == 'marbles':
slidePos = trapProp.getPos(parent)
@ -342,7 +342,7 @@ def __createSuitDamageTrack(battle, suit, hp, lure, trapProp):
animTrack = ActorInterval(trapProp, 'marbles', startTime=3.1)
suitTrack = ActorInterval(suit, 'slip-backward')
damageTrack = Sequence(Wait(0.5), Func(suit.showHpText, -hp, openEnded=0), Func(suit.updateHealthBar, hp))
soundTrack = Sequence(SoundInterval(globalBattleSoundCache.getSound('AA_pie_throw_only.mp3'), duration=0.55, node=suit), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.mp3'), node=suit))
soundTrack = Sequence(SoundInterval(globalBattleSoundCache.getSound('AA_pie_throw_only.ogg'), duration=0.55, node=suit), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.mp3'), node=suit))
result.append(Parallel(moveTrack, animTrack, suitTrack, damageTrack, soundTrack))
elif trapName == 'quicksand':
sinkPos1 = trapProp.getPos(battle)
@ -360,7 +360,7 @@ def __createSuitDamageTrack(battle, suit, hp, lure, trapProp):
moveTrack = Sequence(Wait(0.9), LerpPosInterval(suit, 0.9, sinkPos1, other=battle), LerpPosInterval(suit, 0.4, sinkPos2, other=battle), Func(suit.setPos, battle, dropPos), Func(suit.wrtReparentTo, hidden), Wait(1.1), Func(suit.wrtReparentTo, battle), LerpPosInterval(suit, 0.3, landPos, other=battle))
animTrack = Sequence(ActorInterval(suit, 'flail'), ActorInterval(suit, 'flail', startTime=1.1), Wait(0.7), ActorInterval(suit, 'slip-forward', duration=2.1))
damageTrack = Sequence(Wait(3.5), Func(suit.showHpText, -hp, openEnded=0), Func(suit.updateHealthBar, hp))
soundTrack = Sequence(Wait(0.7), SoundInterval(globalBattleSoundCache.getSound('TL_quicksand.mp3'), node=suit), Wait(0.1), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.mp3'), node=suit))
soundTrack = Sequence(Wait(0.7), SoundInterval(globalBattleSoundCache.getSound('TL_quicksand.ogg'), node=suit), Wait(0.1), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.mp3'), node=suit))
result.append(Parallel(trapTrack, moveTrack, animTrack, damageTrack, soundTrack))
elif trapName == 'trapdoor':
sinkPos = trapProp.getPos(battle)
@ -372,15 +372,15 @@ def __createSuitDamageTrack(battle, suit, hp, lure, trapProp):
moveTrack = Sequence(Wait(2.2), LerpPosInterval(suit, 0.4, sinkPos, other=battle), Func(suit.setPos, battle, dropPos), Func(suit.wrtReparentTo, hidden), Wait(1.6), Func(suit.wrtReparentTo, battle), LerpPosInterval(suit, 0.3, landPos, other=battle))
animTrack = Sequence(getSplicedLerpAnimsTrack(suit, 'flail', 0.7, 0.25), Func(trapProp.setColor, Vec4(0, 0, 0, 1)), ActorInterval(suit, 'flail', startTime=0.7, endTime=0), ActorInterval(suit, 'neutral', duration=0.5), ActorInterval(suit, 'flail', startTime=1.1), Wait(1.1), ActorInterval(suit, 'slip-forward', duration=2.1))
damageTrack = Sequence(Wait(3.5), Func(suit.showHpText, -hp, openEnded=0), Func(suit.updateHealthBar, hp))
soundTrack = Sequence(Wait(0.8), SoundInterval(globalBattleSoundCache.getSound('TL_trap_door.mp3'), node=suit), Wait(0.8), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.mp3'), node=suit))
soundTrack = Sequence(Wait(0.8), SoundInterval(globalBattleSoundCache.getSound('TL_trap_door.ogg'), node=suit), Wait(0.8), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.mp3'), node=suit))
result.append(Parallel(trapTrack, moveTrack, animTrack, damageTrack, soundTrack))
elif trapName == 'tnt':
tntTrack = ActorInterval(trapProp, 'tnt')
explosionTrack = Sequence(Wait(2.3), createTNTExplosionTrack(battle, trapProp=trapProp, relativeTo=parent))
suitTrack = Sequence(ActorInterval(suit, 'flail', duration=0.7), ActorInterval(suit, 'flail', startTime=0.7, endTime=0.0), ActorInterval(suit, 'neutral', duration=0.4), ActorInterval(suit, 'flail', startTime=0.6, endTime=0.7), Wait(0.4), ActorInterval(suit, 'slip-forward', startTime=2.48, duration=0.1), Func(battle.movie.needRestoreColor), Func(suit.setColorScale, Vec4(0.2, 0.2, 0.2, 1)), Func(trapProp.reparentTo, hidden), ActorInterval(suit, 'slip-forward', startTime=2.58), Func(suit.clearColorScale), Func(trapProp.sparksEffect.cleanup), Func(battle.movie.clearRestoreColor))
damageTrack = Sequence(Wait(2.3), Func(suit.showHpText, -hp, openEnded=0), Func(suit.updateHealthBar, hp))
explosionSound = base.loadSfx('phase_3.5/audio/sfx/ENC_cogfall_apart.mp3')
soundTrack = Sequence(SoundInterval(globalBattleSoundCache.getSound('TL_dynamite.mp3'), duration=2.0, node=suit), SoundInterval(explosionSound, duration=0.6, node=suit))
explosionSound = base.loadSfx('phase_3.5/audio/sfx/ENC_cogfall_apart.ogg')
soundTrack = Sequence(SoundInterval(globalBattleSoundCache.getSound('TL_dynamite.ogg'), duration=2.0, node=suit), SoundInterval(explosionSound, duration=0.6, node=suit))
result.append(Parallel(tntTrack, suitTrack, damageTrack, explosionTrack, soundTrack))
elif trapName == 'traintrack':
trainInterval = createIncomingTrainInterval(battle, suit, hp, lure, trapProp)
@ -472,7 +472,7 @@ def createSuitReactionToTrain(battle, suit, hp, lure, trapProp):
updateHealthBar = Func(suit.updateHealthBar, hp)
anim = 'flatten'
suitReact = ActorInterval(suit, anim)
cogGettingHit = getSoundTrack('TL_train_cog.mp3', node=toon)
cogGettingHit = getSoundTrack('TL_train_cog.ogg', node=toon)
suitTrack.append(Func(suit.loop, 'neutral'))
suitTrack.append(Wait(timeToGetHit + TRAIN_MATERIALIZE_TIME))
suitTrack.append(updateHealthBar)
@ -539,7 +539,7 @@ def createIncomingTrainInterval(battle, suit, hp, lure, trapProp):
trainIval.append(LerpPosInterval(train, TRAIN_DURATION, Point3(endingX, 0, 0), other=battle))
trainIval.append(LerpColorScaleInterval(train, TRAIN_MATERIALIZE_TIME, Point4(1, 1, 1, 0)))
retval.append(trainIval)
trainSoundTrack = getSoundTrack('TL_train.mp3', node=toon)
trainSoundTrack = getSoundTrack('TL_train.ogg', node=toon)
retval.append(trainSoundTrack)
return retval
@ -613,6 +613,6 @@ def __createSlideshowMultiTrack(lure, npcs = []):
else:
tracks.append(Sequence(Wait(2.3), Func(MovieUtil.indicateMissed, suit, 1.1)))
tracks.append(getSoundTrack('TL_presentation.mp3', delay=2.3, node=toon))
tracks.append(getSoundTrack('AA_drop_trigger_box.mp3', delay=slideshowDelay, node=toon))
tracks.append(getSoundTrack('TL_presentation.ogg', delay=2.3, node=toon))
tracks.append(getSoundTrack('AA_drop_trigger_box.ogg', delay=slideshowDelay, node=toon))
return tracks

View file

@ -11,7 +11,7 @@ from toontown.toonbase import TTLocalizer
from toontown.toonbase import ToontownBattleGlobals
from toontown.toon import NPCToons
notify = DirectNotifyGlobal.directNotify.newCategory('MovieNPCSOS')
soundFiles = ('AA_heal_tickle.mp3', 'AA_heal_telljoke.mp3', 'AA_heal_smooch.mp3', 'AA_heal_happydance.mp3', 'AA_heal_pixiedust.mp3', 'AA_heal_juggle.mp3')
soundFiles = ('AA_heal_tickle.ogg', 'AA_heal_telljoke.mp3', 'AA_heal_smooch.mp3', 'AA_heal_happydance.mp3', 'AA_heal_pixiedust.mp3', 'AA_heal_juggle.mp3')
offset = Point3(0, 4.0, 0)
def __cogsMiss(attack, level, hp):

View file

@ -11,7 +11,7 @@ from toontown.toonbase import TTLocalizer
from toontown.toonbase import ToontownBattleGlobals
from toontown.pets import Pet, PetTricks
notify = DirectNotifyGlobal.directNotify.newCategory('MoviePetSOS')
soundFiles = ('AA_heal_tickle.mp3', 'AA_heal_telljoke.mp3', 'AA_heal_smooch.mp3', 'AA_heal_happydance.mp3', 'AA_heal_pixiedust.mp3', 'AA_heal_juggle.mp3')
soundFiles = ('AA_heal_tickle.ogg', 'AA_heal_telljoke.mp3', 'AA_heal_smooch.mp3', 'AA_heal_happydance.mp3', 'AA_heal_pixiedust.mp3', 'AA_heal_juggle.mp3')
offset = Point3(0, 4.0, 0)
def doPetSOSs(PetSOSs):

View file

@ -10,9 +10,9 @@ import MovieUtil
import MovieNPCSOS
from toontown.toonbase import ToontownBattleGlobals
notify = DirectNotifyGlobal.directNotify.newCategory('MovieSound')
soundFiles = ('AA_sound_bikehorn.mp3', 'AA_sound_whistle.mp3', 'AA_sound_bugle.mp3', 'AA_sound_aoogah.mp3', 'AA_sound_elephant.mp3', 'SZ_DD_foghorn.mp3', 'AA_sound_Opera_Singer.mp3')
appearSoundFiles = ('MG_tag_1.mp3', 'LB_receive_evidence.mp3', 'm_match_trumpet.mp3', 'TL_step_on_rake.mp3', 'toonbldg_grow.mp3', 'mailbox_full_wobble.mp3', 'mailbox_full_wobble.mp3')
hitSoundFiles = ('AA_sound_Opera_Singer_Cog_Glass.mp3',)
soundFiles = ('AA_sound_bikehorn.ogg', 'AA_sound_whistle.mp3', 'AA_sound_bugle.mp3', 'AA_sound_aoogah.mp3', 'AA_sound_elephant.mp3', 'SZ_DD_foghorn.mp3', 'AA_sound_Opera_Singer.mp3')
appearSoundFiles = ('MG_tag_1.ogg', 'LB_receive_evidence.mp3', 'm_match_trumpet.mp3', 'TL_step_on_rake.mp3', 'toonbldg_grow.mp3', 'mailbox_full_wobble.mp3', 'mailbox_full_wobble.mp3')
hitSoundFiles = ('AA_sound_Opera_Singer_Cog_Glass.ogg',)
tSound = 2.45
tSuitReact = 2.8
DISTANCE_TO_WALK_BACK = MovieUtil.SUIT_LURE_DISTANCE * 0.75

View file

@ -12,8 +12,8 @@ from toontown.toonbase import ToontownGlobals
from toontown.toonbase import ToontownBattleGlobals
import random
notify = DirectNotifyGlobal.directNotify.newCategory('MovieSquirt')
hitSoundFiles = ('AA_squirt_flowersquirt.mp3', 'AA_squirt_glasswater.mp3', 'AA_squirt_neonwatergun.mp3', 'AA_squirt_seltzer.mp3', 'firehose_spray.mp3', 'AA_throw_stormcloud.mp3', 'AA_squirt_Geyser.mp3')
missSoundFiles = ('AA_squirt_flowersquirt_miss.mp3', 'AA_squirt_glasswater_miss.mp3', 'AA_squirt_neonwatergun_miss.mp3', 'AA_squirt_seltzer_miss.mp3', 'firehose_spray.mp3', 'AA_throw_stormcloud_miss.mp3', 'AA_squirt_Geyser.mp3')
hitSoundFiles = ('AA_squirt_flowersquirt.ogg', 'AA_squirt_glasswater.mp3', 'AA_squirt_neonwatergun.mp3', 'AA_squirt_seltzer.mp3', 'firehose_spray.mp3', 'AA_throw_stormcloud.mp3', 'AA_squirt_Geyser.mp3')
missSoundFiles = ('AA_squirt_flowersquirt_miss.ogg', 'AA_squirt_glasswater_miss.mp3', 'AA_squirt_neonwatergun_miss.mp3', 'AA_squirt_seltzer_miss.mp3', 'firehose_spray.mp3', 'AA_throw_stormcloud_miss.mp3', 'AA_squirt_Geyser.mp3')
sprayScales = [0.2,
0.3,
0.1,

View file

@ -594,10 +594,10 @@ def getAllyToonsDodgeParallel(target):
toonDodgeList = PoMR
if toonDodgeList is leftToons:
sidestepAnim = 'sidestep-left'
soundEffect = globalBattleSoundCache.getSound('AV_side_step.mp3')
soundEffect = globalBattleSoundCache.getSound('AV_side_step.ogg')
else:
sidestepAnim = 'sidestep-right'
soundEffect = globalBattleSoundCache.getSound('AV_jump_to_side.mp3')
soundEffect = globalBattleSoundCache.getSound('AV_jump_to_side.ogg')
toonTracks = Parallel()
for t in toonDodgeList:
toonTracks.append(Sequence(ActorInterval(t, sidestepAnim), Func(t.loop, 'neutral')))
@ -807,7 +807,7 @@ def doClipOnTie(attack):
tiePropTrack.append(Func(tie.setHpr, Point3(0, -90, 0)))
tiePropTrack.append(getPropThrowTrack(attack, tie, [__toonFacePoint(toon)], [__toonGroundPoint(attack, toon, 0.1)], hitDuration=0.4, missDuration=0.8, missScaleDown=1.2))
toonTrack = getToonTrack(attack, damageDelay, ['conked'], dodgeDelay, ['sidestep'])
throwSound = getSoundTrack('SA_powertie_throw.mp3', delay=throwDelay + 1, node=suit)
throwSound = getSoundTrack('SA_powertie_throw.ogg', delay=throwDelay + 1, node=suit)
return Parallel(suitTrack, toonTrack, tiePropTrack, throwSound)
@ -825,7 +825,7 @@ def doPoundKey(attack):
receiverPosPoints = [Point3(0.23, 0.17, -0.11), VBase3(5.939, 2.763, -177.591)]
propTrack = Sequence(Wait(0.3), Func(__showProp, phone, suit.getLeftHand(), phonePosPoints[0], phonePosPoints[1]), Func(__showProp, receiver, suit.getLeftHand(), receiverPosPoints[0], receiverPosPoints[1]), LerpScaleInterval(phone, 0.5, MovieUtil.PNT3_ONE, MovieUtil.PNT3_NEARZERO), Wait(0.74), Func(receiver.wrtReparentTo, suit.getRightHand()), LerpPosHprInterval(receiver, 0.0001, Point3(-0.45, 0.48, -0.62), VBase3(-87.47, -18.21, 7.82)), Wait(3.14), Func(receiver.wrtReparentTo, phone), Wait(0.62), LerpScaleInterval(phone, 0.5, MovieUtil.PNT3_NEARZERO), Func(MovieUtil.removeProps, [receiver, phone]))
toonTrack = getToonTrack(attack, 2.7, ['cringe'], 1.9, ['sidestep'])
soundTrack = getSoundTrack('SA_hangup.mp3', delay=1.3, node=suit)
soundTrack = getSoundTrack('SA_hangup.ogg', delay=1.3, node=suit)
return Parallel(suitTrack, toonTrack, propTrack, partTrack, soundTrack)
@ -842,7 +842,7 @@ def doShred(attack):
shredderPosPoints = [Point3(0, -0.12, -0.34), VBase3(-90.0, -53.77, -0.0)]
shredderPropTrack = getPropTrack(shredder, suit.getLeftHand(), shredderPosPoints, 1, 3, scaleUpPoint=Point3(4.81, 4.81, 4.81))
toonTrack = getToonTrack(attack, suitTrack.getDuration() - 1.1, ['conked'], suitTrack.getDuration() - 3.1, ['sidestep'])
soundTrack = getSoundTrack('SA_shred.mp3', delay=3.4, node=suit)
soundTrack = getSoundTrack('SA_shred.ogg', delay=3.4, node=suit)
return Parallel(suitTrack, paperPropTrack, shredderPropTrack, partTrack, toonTrack, soundTrack)
@ -994,7 +994,7 @@ def doFountainPen(attack):
penSpill.setPos(getPenTip())
penSpillTrack = getPartTrack(penSpill, 1.4, 0.7, [penSpill, pen, 0])
toonTrack = getToonTrack(attack, 1.81, ['conked'], dodgeDelay=0.11, splicedDodgeAnims=[['duck', 0.01, 0.6]], showMissedExtraTime=1.66)
soundTrack = getSoundTrack('SA_fountain_pen.mp3', delay=1.6, node=suit)
soundTrack = getSoundTrack('SA_fountain_pen.ogg', delay=1.6, node=suit)
return Parallel(suitTrack, toonTrack, propTrack, soundTrack, penSpillTrack, splashTrack)
@ -1053,7 +1053,7 @@ def doRubOut(attack):
return track
soundTrack = getSoundTrack('SA_rubout.mp3', delay=1.7, node=suit)
soundTrack = getSoundTrack('SA_rubout.ogg', delay=1.7, node=suit)
if dmg > 0:
hideTrack.append(Wait(2.2))
hideTrack.append(Func(battle.movie.needRestoreColor))
@ -1107,7 +1107,7 @@ def doFingerWag(attack):
particleEffect.setPos(0.167, 1.9, suit.getHeight() - 1.8)
particleEffect.setP(-110)
toonTrack = getToonTrack(attack, damageDelay, ['slip-backward'], dodgeDelay, ['sidestep'])
soundTrack = getSoundTrack('SA_finger_wag.mp3', delay=1.3, node=suit)
soundTrack = getSoundTrack('SA_finger_wag.ogg', delay=1.3, node=suit)
return Parallel(suitTrack, toonTrack, partTrack, soundTrack)
@ -1136,7 +1136,7 @@ def doWriteOff(attack):
pencilPropTrack.append(LerpScaleInterval(pencil, 0.5, MovieUtil.PNT3_NEARZERO))
pencilPropTrack.append(Func(MovieUtil.removeProp, pencil))
toonTrack = getToonTrack(attack, 3.4, ['slip-forward'], 2.4, ['sidestep'])
soundTrack = Sequence(Wait(2.3), SoundInterval(globalBattleSoundCache.getSound('SA_writeoff_pen_only.mp3'), duration=0.9, node=suit), SoundInterval(globalBattleSoundCache.getSound('SA_writeoff_ding_only.mp3'), node=suit))
soundTrack = Sequence(Wait(2.3), SoundInterval(globalBattleSoundCache.getSound('SA_writeoff_pen_only.ogg'), duration=0.9, node=suit), SoundInterval(globalBattleSoundCache.getSound('SA_writeoff_ding_only.mp3'), node=suit))
return Parallel(suitTrack, toonTrack, padPropTrack, pencilPropTrack, soundTrack)
@ -1169,7 +1169,7 @@ def doRubberStamp(attack):
propTrack.append(LerpScaleInterval(stamp, 0.5, MovieUtil.PNT3_NEARZERO))
propTrack.append(Func(MovieUtil.removeProp, stamp))
toonTrack = getToonTrack(attack, 3.4, ['conked'], 1.9, ['sidestep'])
soundTrack = getSoundTrack('SA_rubber_stamp.mp3', delay=1.3, duration=1.1, node=suit)
soundTrack = getSoundTrack('SA_rubber_stamp.ogg', delay=1.3, duration=1.1, node=suit)
return Parallel(suitTrack, toonTrack, propTrack, padPropTrack, soundTrack)
@ -1192,7 +1192,7 @@ def doRazzleDazzle(attack):
signPropTrack = Sequence(Wait(0.5), Func(__showProp, sign, suit.getRightHand(), signPosPoints[0], signPosPoints[1]), LerpScaleInterval(sign, 0.5, Point3(1.39, 1.39, 1.39)), Wait(0.5), Func(battle.movie.needRestoreParticleEffect, particleEffect), Func(particleEffect.start, sign), Func(particleEffect.wrtReparentTo, render), LerpPosInterval(particleEffect, 2.0, pos=hitPoint), Func(particleEffect.cleanup), Func(battle.movie.clearRestoreParticleEffect, particleEffect))
signPropAnimTrack = ActorInterval(sign, 'smile', duration=4, startTime=0)
toonTrack = getToonTrack(attack, 2.6, ['cringe'], 1.9, ['sidestep'])
soundTrack = getSoundTrack('SA_razzle_dazzle.mp3', delay=1.6, node=suit)
soundTrack = getSoundTrack('SA_razzle_dazzle.ogg', delay=1.6, node=suit)
return Sequence(Parallel(suitTrack, signPropTrack, signPropAnimTrack, toonTrack, soundTrack), Func(MovieUtil.removeProp, sign))
@ -1220,9 +1220,9 @@ def doSynergy(attack):
dodgeAnims.extend(getSplicedLerpAnims('jump', 0.31, 1.3, startTime=0.6))
dodgeAnims.append(['jump', 0, 0.91])
toonTracks = getToonTracks(attack, damageDelay=damageDelay, damageAnimNames=['slip-forward'], dodgeDelay=0.91, splicedDodgeAnims=dodgeAnims, showMissedExtraTime=1.0)
synergySoundTrack = Sequence(Wait(0.9), SoundInterval(globalBattleSoundCache.getSound('SA_synergy.mp3'), node=suit))
synergySoundTrack = Sequence(Wait(0.9), SoundInterval(globalBattleSoundCache.getSound('SA_synergy.ogg'), node=suit))
if hitAtleastOneToon > 0:
fallingSoundTrack = Sequence(Wait(damageDelay + 0.5), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.mp3'), node=suit))
fallingSoundTrack = Sequence(Wait(damageDelay + 0.5), SoundInterval(globalBattleSoundCache.getSound('Toon_bodyfall_synergy.ogg'), node=suit))
return Parallel(suitTrack, partTrack, waterfallTrack, synergySoundTrack, fallingSoundTrack, toonTracks)
else:
return Parallel(suitTrack, partTrack, waterfallTrack, synergySoundTrack, toonTracks)
@ -1255,7 +1255,7 @@ def doTeeOff(attack):
ballPropTrack.append(Func(battle.movie.clearRenderProp, ball))
dodgeDelay = suitTrack.getDuration() - 4.35
toonTrack = getToonTrack(attack, suitTrack.getDuration() - 2.25, ['conked'], dodgeDelay, ['duck'], showMissedExtraTime=1.7)
soundTrack = getSoundTrack('SA_tee_off.mp3', delay=4.1, node=suit)
soundTrack = getSoundTrack('SA_tee_off.ogg', delay=4.1, node=suit)
return Parallel(suitTrack, toonTrack, clubPropTrack, ballPropTrack, soundTrack)
@ -1309,7 +1309,7 @@ def doBrainStorm(attack):
0.4,
0.8], ['duck', 1e-06, 1.6]]
toonTrack = getToonTrack(attack, damageDelay=damageDelay, splicedDamageAnims=damageAnims, dodgeDelay=dodgeDelay, dodgeAnimNames=['sidestep'], showMissedExtraTime=1.1)
soundTrack = getSoundTrack('SA_brainstorm.mp3', delay=2.6, node=suit)
soundTrack = getSoundTrack('SA_brainstorm.ogg', delay=2.6, node=suit)
return Parallel(suitTrack, toonTrack, cloudPropTrack, soundTrack)
@ -1365,7 +1365,7 @@ def doBuzzWord(attack):
particleTracks.append(getPartTrack(effect, partDelay, partDuration, [effect, suit, 0]))
toonTrack = getToonTrack(attack, damageDelay=damageDelay, damageAnimNames=['cringe'], splicedDodgeAnims=[['duck', dodgeDelay, 1.4]], showMissedExtraTime=dodgeDelay + 0.5)
soundTrack = getSoundTrack('SA_buzz_word.mp3', delay=3.9, node=suit)
soundTrack = getSoundTrack('SA_buzz_word.ogg', delay=3.9, node=suit)
return Parallel(suitTrack, toonTrack, soundTrack, *particleTracks)
@ -1400,7 +1400,7 @@ def doDemotion(attack):
damageAnims.extend(getSplicedLerpAnims('cringe', 0.3, 0.6, startTime=1.2))
damageAnims.append(['cringe', 2.6, 1.5])
toonTrack = getToonTrack(attack, damageDelay=1.0, splicedDamageAnims=damageAnims, splicedDodgeAnims=dodgeAnims, showMissedExtraTime=1.6, showDamageExtraTime=1.3)
soundTrack = getSoundTrack('SA_demotion.mp3', delay=1.2, node=suit)
soundTrack = getSoundTrack('SA_demotion.ogg', delay=1.2, node=suit)
if dmg > 0:
return Parallel(suitTrack, toonTrack, soundTrack, partTrack, partTrack2, partTrack3)
else:
@ -1461,7 +1461,7 @@ def doCanned(attack):
throwTrack.append(Func(battle.movie.clearRestoreHips))
scaleTrack = Sequence(Wait(propDelay + suitDelay), LerpScaleInterval(can, throwDuration, scaleUpPoint))
hprTrack = Sequence(Wait(propDelay + suitDelay), LerpHprInterval(can, throwDuration, canHpr))
soundTrack = Sequence(Wait(2.6), SoundInterval(globalBattleSoundCache.getSound('SA_canned_tossup_only.mp3'), node=suit), SoundInterval(globalBattleSoundCache.getSound('SA_canned_impact_only.mp3'), node=suit))
soundTrack = Sequence(Wait(2.6), SoundInterval(globalBattleSoundCache.getSound('SA_canned_tossup_only.ogg'), node=suit), SoundInterval(globalBattleSoundCache.getSound('SA_canned_impact_only.mp3'), node=suit))
else:
land = toon.getPos(battle)
land.setZ(land.getZ() + 0.7)
@ -1478,7 +1478,7 @@ def doCanned(attack):
throwTrack.append(LerpScaleInterval(can, 0.3, MovieUtil.PNT3_NEARZERO))
scaleTrack = Sequence(Wait(propDelay + suitDelay), LerpScaleInterval(can, throwDuration, Point3(11, 11, 11)))
hprTrack = Sequence(Wait(propDelay + suitDelay), LerpHprInterval(can, throwDuration, canHpr), Wait(0.4), LerpHprInterval(can, 0.4, Point3(83.27, 19.52, -177.92)), LerpHprInterval(can, 0.3, Point3(95.24, -72.09, 88.65)), LerpHprInterval(can, 0.2, Point3(-96.34, -2.63, 179.89)))
soundTrack = getSoundTrack('SA_canned_tossup_only.mp3', delay=2.6, node=suit)
soundTrack = getSoundTrack('SA_canned_tossup_only.ogg', delay=2.6, node=suit)
canTrack = Sequence(Parallel(throwTrack, scaleTrack, hprTrack), Func(MovieUtil.removeProp, can), Func(battle.movie.clearRenderProp, can))
damageAnims = [['struggle',
propDelay + suitDelay + throwDuration,
@ -1574,7 +1574,7 @@ def doPinkSlip(attack):
0.3,
0.7], ['slip-forward', 0.01]]
toonTrack = getToonTrack(attack, damageDelay=2.81, splicedDamageAnims=damageAnims, dodgeDelay=2.8, dodgeAnimNames=['jump'], showDamageExtraTime=0.9)
soundTrack = getSoundTrack('SA_pink_slip.mp3', delay=2.9, duration=1.1, node=suit)
soundTrack = getSoundTrack('SA_pink_slip.ogg', delay=2.9, duration=1.1, node=suit)
return Parallel(suitTrack, toonTrack, propTrack, soundTrack)
@ -1735,7 +1735,7 @@ def doGlowerPower(attack):
damageAnims = [['slip-backward', 0.01, 0.35]]
toonTrack = getToonTrack(attack, damageDelay=1.6, splicedDamageAnims=damageAnims, dodgeDelay=0.7, dodgeAnimNames=['sidestep'])
soundTrack = getSoundTrack('SA_glower_power.mp3', delay=1.1, node=suit)
soundTrack = getSoundTrack('SA_glower_power.ogg', delay=1.1, node=suit)
return Parallel(suitTrack, toonTrack, soundTrack, leftKnifeTracks, rightKnifeTracks)
@ -1862,8 +1862,8 @@ def doHeadShrink(attack):
0.4])
toonTrack = getToonTrack(attack, damageDelay=damageDelay, splicedDamageAnims=damageAnims, dodgeDelay=dodgeDelay, dodgeAnimNames=['sidestep'])
if dmg > 0:
shrinkSound = globalBattleSoundCache.getSound('SA_head_shrink_only.mp3')
growSound = globalBattleSoundCache.getSound('SA_head_grow_back_only.mp3')
shrinkSound = globalBattleSoundCache.getSound('SA_head_shrink_only.ogg')
growSound = globalBattleSoundCache.getSound('SA_head_grow_back_only.ogg')
soundTrack = Sequence(Wait(2.1), SoundInterval(shrinkSound, duration=2.1, node=suit), Wait(1.6), SoundInterval(growSound, node=suit))
return Parallel(suitTrack, sprayTrack, cloudTrack, dropTrack, toonTrack, shrinkTrack, soundTrack)
else:
@ -1918,7 +1918,7 @@ def doRolodex(attack):
suitTrack = getSuitTrack(attack)
propTrack = getPropTrack(rollodex, suit.getLeftHand(), propPosPoints, 1e-06, 4.7, scaleUpPoint=propScale, anim=0, propName='rollodex', animDuration=0, animStartTime=0)
toonTrack = getToonTrack(attack, damageDelay, ['conked'], dodgeDelay, ['sidestep'])
soundTrack = getSoundTrack('SA_rolodex.mp3', delay=2.8, node=suit)
soundTrack = getSoundTrack('SA_rolodex.ogg', delay=2.8, node=suit)
return Parallel(suitTrack, toonTrack, propTrack, soundTrack, partTrack2, partTrack3)
@ -1968,7 +1968,7 @@ def doEvilEye(attack):
0.01,
1.4], ['cringe', 0.01, 0.3]]
toonTrack = getToonTrack(attack, splicedDamageAnims=damageAnims, damageDelay=damageDelay, dodgeDelay=dodgeDelay, dodgeAnimNames=['duck'], showDamageExtraTime=1.7, showMissedExtraTime=1.7)
soundTrack = getSoundTrack('SA_evil_eye.mp3', delay=1.3, node=suit)
soundTrack = getSoundTrack('SA_evil_eye.ogg', delay=1.3, node=suit)
return Parallel(suitTrack, toonTrack, eyePropTrack, soundTrack)
@ -2013,7 +2013,7 @@ def doPlayHardball(attack):
propTrack.append(LerpPosInterval(ball, 0.1, Point3(x, y + 8.5, z + 0.6)))
propTrack.append(LerpPosInterval(ball, 0.1, Point3(x, y + 9, z + 0.2)))
propTrack.append(Wait(0.4))
soundTrack = getSoundTrack('SA_hardball_impact_only.mp3', delay=2.8, node=suit)
soundTrack = getSoundTrack('SA_hardball_impact_only.ogg', delay=2.8, node=suit)
else:
propTrack.append(LerpPosInterval(ball, 0.5, Point3(x, y + 2, z)))
propTrack.append(LerpPosInterval(ball, 0.4, Point3(x, y - 1, z + 2)))
@ -2023,7 +2023,7 @@ def doPlayHardball(attack):
propTrack.append(LerpPosInterval(ball, 0.1, Point3(x, y - 5.5, z + 0.6)))
propTrack.append(LerpPosInterval(ball, 0.1, Point3(x, y - 6, z + 0.2)))
propTrack.append(Wait(0.4))
soundTrack = getSoundTrack('SA_hardball.mp3', delay=3.1, node=suit)
soundTrack = getSoundTrack('SA_hardball.ogg', delay=3.1, node=suit)
propTrack.append(LerpScaleInterval(ball, 0.3, MovieUtil.PNT3_NEARZERO))
propTrack.append(Func(MovieUtil.removeProp, ball))
propTrack.append(Func(battle.movie.clearRenderProp, ball))
@ -2062,9 +2062,9 @@ def doPowerTie(attack):
tiePropTrack.append(Func(tie.setBillboardPointEye))
tiePropTrack.append(getPropThrowTrack(attack, tie, [__toonFacePoint(toon)], [__toonGroundPoint(attack, toon, 0.1)], hitDuration=0.4, missDuration=0.8))
toonTrack = getToonTrack(attack, damageDelay, ['conked'], dodgeDelay, ['sidestep'])
throwSound = getSoundTrack('SA_powertie_throw.mp3', delay=2.3, node=suit)
throwSound = getSoundTrack('SA_powertie_throw.ogg', delay=2.3, node=suit)
if dmg > 0:
hitSound = getSoundTrack('SA_powertie_impact.mp3', delay=2.9, node=suit)
hitSound = getSoundTrack('SA_powertie_impact.ogg', delay=2.9, node=suit)
return Parallel(suitTrack, toonTrack, tiePropTrack, throwSound, hitSound)
else:
return Parallel(suitTrack, toonTrack, tiePropTrack, throwSound)
@ -2099,7 +2099,7 @@ def doDoubleTalk(attack):
0.4,
1.05], ['cringe', 1e-06, 0.8]]
toonTrack = getToonTrack(attack, damageDelay=damageDelay, splicedDamageAnims=damageAnims, dodgeDelay=dodgeDelay, splicedDodgeAnims=[['duck', 0.01, 1.4]], showMissedExtraTime=0.9, showDamageExtraTime=0.8)
soundTrack = getSoundTrack('SA_filibuster.mp3', delay=2.5, node=suit)
soundTrack = getSoundTrack('SA_filibuster.ogg', delay=2.5, node=suit)
return Parallel(suitTrack, toonTrack, partTrack, partTrack2, soundTrack)
@ -2221,7 +2221,7 @@ def doHotAir(attack):
1.2])
damageAnims.append(['slip-forward', 0.01, 1.0])
toonTrack = getToonTrack(attack, damageDelay=damageDelay, splicedDamageAnims=damageAnims, dodgeDelay=dodgeDelay, dodgeAnimNames=['sidestep'])
soundTrack = getSoundTrack('SA_hot_air.mp3', delay=1.6, node=suit)
soundTrack = getSoundTrack('SA_hot_air.ogg', delay=1.6, node=suit)
if dmg > 0:
return Parallel(suitTrack, toonTrack, sprayTrack, soundTrack, baseFlameTrack, flameTrack, flecksTrack, colorTrack)
else:
@ -2240,7 +2240,7 @@ def doPickPocket(attack):
toonTrack = getToonTrack(attack, 0.6, ['cringe'], 0.01, ['sidestep'])
multiTrackList = Parallel(suitTrack, toonTrack)
if dmg > 0:
soundTrack = getSoundTrack('SA_pick_pocket.mp3', delay=0.2, node=suit)
soundTrack = getSoundTrack('SA_pick_pocket.ogg', delay=0.2, node=suit)
multiTrackList.append(billPropTrack)
multiTrackList.append(soundTrack)
return multiTrackList
@ -2278,7 +2278,7 @@ def doFilibuster(attack):
0.8])
toonTrack = getToonTrack(attack, damageDelay=damageDelay, splicedDamageAnims=damageAnims, dodgeDelay=dodgeDelay, dodgeAnimNames=['sidestep'])
soundTrack = getSoundTrack('SA_filibuster.mp3', delay=1.1, node=suit)
soundTrack = getSoundTrack('SA_filibuster.ogg', delay=1.1, node=suit)
if dmg > 0:
return Parallel(suitTrack, toonTrack, soundTrack, sprayTrack, sprayTrack2, sprayTrack3, sprayTrack4)
else:
@ -2369,7 +2369,7 @@ def doTremor(attack):
damageAnims = [['slip-forward'], ['slip-forward', 0.01]]
dodgeAnims = [['jump'], ['jump', 0.01]]
toonTracks = getToonTracks(attack, damageDelay=1.1, splicedDamageAnims=damageAnims, dodgeDelay=0.7, splicedDodgeAnims=dodgeAnims, showMissedExtraTime=2.8, showDamageExtraTime=1.1)
soundTrack = getSoundTrack('SA_tremor.mp3', delay=0.9, node=suit)
soundTrack = getSoundTrack('SA_tremor.ogg', delay=0.9, node=suit)
return Parallel(suitTrack, soundTrack, toonTracks)
@ -2398,7 +2398,7 @@ def doHangUp(attack):
scaleUpPoint = MovieUtil.PNT3_ONE
propTrack = Sequence(Wait(0.3), Func(__showProp, phone, suit.getLeftHand(), phonePosPoints[0], phonePosPoints[1]), Func(__showProp, receiver, suit.getLeftHand(), receiverPosPoints[0], receiverPosPoints[1]), LerpScaleInterval(phone, 0.5, scaleUpPoint, MovieUtil.PNT3_NEARZERO), Wait(pickupDelay), Func(receiver.wrtReparentTo, suit.getRightHand()), LerpScaleInterval(receiver, 0.01, receiverAdjustScale), LerpPosHprInterval(receiver, 0.0001, Point3(-0.53, 0.21, -0.54), VBase3(-99.49, -35.27, 1.84)), Wait(dialDuration), Func(receiver.wrtReparentTo, phone), Wait(finalPhoneDelay), LerpScaleInterval(phone, 0.5, MovieUtil.PNT3_NEARZERO), Func(MovieUtil.removeProps, [receiver, phone]))
toonTrack = getToonTrack(attack, 5.5, ['slip-backward'], 4.7, ['jump'])
soundTrack = getSoundTrack('SA_hangup.mp3', delay=1.3, node=suit)
soundTrack = getSoundTrack('SA_hangup.ogg', delay=1.3, node=suit)
return Parallel(suitTrack, toonTrack, propTrack, soundTrack)
@ -2450,7 +2450,7 @@ def doRedTape(attack):
tubeTracks.append(Func(battle.movie.clearRestoreHips))
toonTrack = getToonTrack(attack, 3.4, ['struggle'], 2.8, ['jump'])
soundTrack = getSoundTrack('SA_red_tape.mp3', delay=2.9, node=suit)
soundTrack = getSoundTrack('SA_red_tape.ogg', delay=2.9, node=suit)
if dmg > 0:
return Parallel(suitTrack, toonTrack, propTrack, soundTrack, tubeTracks)
else:
@ -2537,7 +2537,7 @@ def doParadigmShift(attack):
dodgeAnims.append(['jump', 0, 0.91])
toonTracks = getToonTracks(attack, damageDelay=damageDelay, splicedDamageAnims=damageAnims, dodgeDelay=dodgeDelay, splicedDodgeAnims=dodgeAnims, showDamageExtraTime=2.7)
if hitAtleastOneToon == 1:
soundTrack = getSoundTrack('SA_paradigm_shift.mp3', delay=2.1, node=suit)
soundTrack = getSoundTrack('SA_paradigm_shift.ogg', delay=2.1, node=suit)
return Parallel(suitTrack, sprayTrack, soundTrack, liftTracks, toonTracks, toonRiseTracks)
else:
return Parallel(suitTrack, sprayTrack, liftTracks, toonTracks, toonRiseTracks)
@ -2639,7 +2639,7 @@ def doBounceCheck(attack):
checkPropTrack.append(LerpScaleInterval(check, 0.3, MovieUtil.PNT3_NEARZERO))
checkPropTrack.append(Func(MovieUtil.removeProp, check))
toonTrack = getToonTrack(attack, damageDelay, ['conked'], dodgeDelay, ['sidestep'])
soundTracks = Sequence(getSoundTrack('SA_pink_slip.mp3', delay=throwDelay + 0.5, duration=0.6, node=suit), getSoundTrack('SA_pink_slip.mp3', delay=0.4, duration=0.6, node=suit))
soundTracks = Sequence(getSoundTrack('SA_pink_slip.ogg', delay=throwDelay + 0.5, duration=0.6, node=suit), getSoundTrack('SA_pink_slip.mp3', delay=0.4, duration=0.6, node=suit))
return Parallel(suitTrack, checkPropTrack, toonTrack, soundTracks)
@ -2682,7 +2682,7 @@ def doWatercooler(attack):
splash.setScale(0.3)
splashTrack = Sequence(Func(battle.movie.needRestoreRenderProp, splash), Wait(3.2), Func(prepSplash, splash, __toonFacePoint(toon)), ActorInterval(splash, 'splash-from-splat'), Func(MovieUtil.removeProp, splash), Func(battle.movie.clearRenderProp, splash))
toonTrack = getToonTrack(attack, suitTrack.getDuration() - 1.5, ['cringe'], 2.4, ['sidestep'])
soundTrack = Sequence(Wait(1.1), SoundInterval(globalBattleSoundCache.getSound('SA_watercooler_appear_only.mp3'), node=suit, duration=1.4722), Wait(0.4), SoundInterval(globalBattleSoundCache.getSound('SA_watercooler_spray_only.mp3'), node=suit, duration=2.313))
soundTrack = Sequence(Wait(1.1), SoundInterval(globalBattleSoundCache.getSound('SA_watercooler_appear_only.ogg'), node=suit, duration=1.4722), Wait(0.4), SoundInterval(globalBattleSoundCache.getSound('SA_watercooler_spray_only.mp3'), node=suit, duration=2.313))
return Parallel(suitTrack, toonTrack, propTrack, soundTrack, splashTrack)
@ -2758,7 +2758,7 @@ def doFired(attack):
1.2])
damageAnims.extend(getSplicedLerpAnims('slip-forward', 0.31, 0.8, startTime=1.2))
toonTrack = getToonTrack(attack, damageDelay=1.5, splicedDamageAnims=damageAnims, dodgeDelay=0.3, dodgeAnimNames=['sidestep'])
soundTrack = getSoundTrack('SA_hot_air.mp3', delay=1.0, node=suit)
soundTrack = getSoundTrack('SA_hot_air.ogg', delay=1.0, node=suit)
if dmg > 0:
return Parallel(suitTrack, baseFlameTrack, flameTrack, flecksTrack, toonTrack, colorTrack, soundTrack)
else:
@ -2799,7 +2799,7 @@ def doAudit(attack):
scaleUpPoint = Point3(1.0, 1.37, 1.31)
calcPropTrack = getPropTrack(calculator, suit.getLeftHand(), calcPosPoints, 1e-06, calcDuration, scaleUpPoint=scaleUpPoint, anim=1, propName='calculator', animStartTime=0.5, animDuration=3.4)
toonTrack = getToonTrack(attack, 3.2, ['conked'], 0.9, ['duck'], showMissedExtraTime=2.2)
soundTrack = getSoundTrack('SA_audit.mp3', delay=1.9, node=suit)
soundTrack = getSoundTrack('SA_audit.ogg', delay=1.9, node=suit)
return Parallel(suitTrack, toonTrack, calcPropTrack, soundTrack, partTrack, partTrack2, partTrack3, partTrack4, partTrack5)
@ -2984,7 +2984,7 @@ def doLiquidate(attack):
cloudPropTrack.append(Func(battle.movie.clearRenderProp, cloud))
damageAnims = [['melt'], ['jump', 1.5, 0.4]]
toonTrack = getToonTrack(attack, damageDelay=damageDelay, splicedDamageAnims=damageAnims, dodgeDelay=dodgeDelay, dodgeAnimNames=['sidestep'])
soundTrack = getSoundTrack('SA_liquidate.mp3', delay=2.0, node=suit)
soundTrack = getSoundTrack('SA_liquidate.ogg', delay=2.0, node=suit)
if dmg > 0:
puddle = globalPropPool.getProp('quicksand')
puddle.setColor(Vec4(0.0, 0.0, 1.0, 1))
@ -3241,7 +3241,7 @@ def doWithdrawal(attack):
return track
soundTrack = getSoundTrack('SA_withdrawl.mp3', delay=1.4, node=suit)
soundTrack = getSoundTrack('SA_withdrawl.ogg', delay=1.4, node=suit)
if dmg > 0:
colorTrack = Sequence()
colorTrack.append(Wait(1.6))
@ -3322,7 +3322,7 @@ def doJargon(attack):
damageAnims.append(['conked', 0.0001, 0.4])
dodgeAnims = [['duck', 0.0001, 1.2], ['duck', 0.0001, 1.3]]
toonTrack = getToonTrack(attack, damageDelay=damageDelay, splicedDamageAnims=damageAnims, dodgeDelay=dodgeDelay, splicedDodgeAnims=dodgeAnims, showMissedExtraTime=1.6, showDamageExtraTime=0.7)
soundTrack = getSoundTrack('SA_jargon.mp3', delay=2.1, node=suit)
soundTrack = getSoundTrack('SA_jargon.ogg', delay=2.1, node=suit)
return Parallel(suitTrack, toonTrack, soundTrack, partTrack, partTrack2, partTrack3, partTrack4)
@ -3350,7 +3350,7 @@ def doMumboJumbo(attack):
partTrack4 = getPartTrack(particleEffect4, 3.3, 1.7, [particleEffect4, toon, 0])
partTrack5 = getPartTrack(particleEffect5, 3.3, 1.7, [particleEffect5, toon, 0])
toonTrack = getToonTrack(attack, 3.2, ['cringe'], 2.2, ['sidestep'])
soundTrack = getSoundTrack('SA_mumbo_jumbo.mp3', delay=2.5, node=suit)
soundTrack = getSoundTrack('SA_mumbo_jumbo.ogg', delay=2.5, node=suit)
if dmg > 0:
return Parallel(suitTrack, toonTrack, soundTrack, partTrack, partTrack2, partTrack3, partTrack4, partTrack5)
else:
@ -3391,7 +3391,7 @@ def doGuiltTrip(attack):
partTrack2 = getPowerTrack(powerBar2)
waterfallTrack = getPartTrack(waterfallEffect, 0.6, 0.6, [waterfallEffect, suit, 0])
toonTracks = getToonTracks(attack, 1.5, ['slip-forward'], 0.86, ['jump'])
soundTrack = getSoundTrack('SA_guilt_trip.mp3', delay=1.1, node=suit)
soundTrack = getSoundTrack('SA_guilt_trip.ogg', delay=1.1, node=suit)
return Parallel(suitTrack, partTrack1, partTrack2, soundTrack, waterfallTrack, toonTracks)

View file

@ -11,7 +11,7 @@ import MovieCamera
import MovieUtil
from MovieUtil import calcAvgSuitPos
notify = DirectNotifyGlobal.directNotify.newCategory('MovieThrow')
hitSoundFiles = ('AA_tart_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_wholepie_only.mp3', 'AA_wholepie_only.mp3')
hitSoundFiles = ('AA_tart_only.ogg', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_slice_only.mp3', 'AA_wholepie_only.mp3', 'AA_wholepie_only.mp3')
tPieLeavesHand = 2.7
tPieHitsSuit = 3.0
tSuitDodges = 2.45
@ -233,17 +233,17 @@ def __pieMissGroupLerpCallback(t, missDict):
def __getWeddingCakeSoundTrack(level, hitSuit, node = None):
throwTrack = Sequence()
if hitSuit:
throwSound = globalBattleSoundCache.getSound('AA_throw_wedding_cake.mp3')
throwSound = globalBattleSoundCache.getSound('AA_throw_wedding_cake.ogg')
songTrack = Sequence()
songTrack.append(Wait(1.0))
songTrack.append(SoundInterval(throwSound, node=node))
splatSound = globalBattleSoundCache.getSound('AA_throw_wedding_cake_cog.mp3')
splatSound = globalBattleSoundCache.getSound('AA_throw_wedding_cake_cog.ogg')
splatTrack = Sequence()
splatTrack.append(Wait(tPieHitsSuit))
splatTrack.append(SoundInterval(splatSound, node=node))
throwTrack.append(Parallel(songTrack, splatTrack))
else:
throwSound = globalBattleSoundCache.getSound('AA_throw_wedding_cake_miss.mp3')
throwSound = globalBattleSoundCache.getSound('AA_throw_wedding_cake_miss.ogg')
throwTrack.append(Wait(tSuitDodges))
throwTrack.append(SoundInterval(throwSound, node=node))
return throwTrack
@ -252,7 +252,7 @@ def __getWeddingCakeSoundTrack(level, hitSuit, node = None):
def __getSoundTrack(level, hitSuit, node = None):
if level == UBER_GAG_LEVEL_INDEX:
return __getWeddingCakeSoundTrack(level, hitSuit, node)
throwSound = globalBattleSoundCache.getSound('AA_pie_throw_only.mp3')
throwSound = globalBattleSoundCache.getSound('AA_pie_throw_only.ogg')
throwTrack = Sequence(Wait(2.6), SoundInterval(throwSound, node=node))
if hitSuit:
hitSound = globalBattleSoundCache.getSound(hitSoundFiles[level])

View file

@ -78,7 +78,7 @@ def doToonVictory(localToonActive, toons, rewardToonIds, rewardDicts, deathList,
track.append(Func(NametagGlobals.setOnscreenChatForced, 1))
camTrack = Sequence()
endTrack = Sequence()
danceSound = globalBattleSoundCache.getSound('ENC_Win.mp3')
danceSound = globalBattleSoundCache.getSound('ENC_Win.ogg')
toonList = []
countToons = 0
uberListNew = []

View file

@ -188,7 +188,7 @@ def __createThrownTrapMultiTrack(trap, propList, propName, propPos = None, propH
slideTrack = Parallel(moveTrack, animTrack)
motionTrack = Sequence(throwingTrack, slideTrack)
hprTrack = LerpHprInterval(thrownProp, 1.7, hpr=Point3(0, 0, 0))
soundTrack = getSoundTrack('TL_banana.mp3', node=toon)
soundTrack = getSoundTrack('TL_banana.ogg', node=toon)
scaleTrack = LerpScaleInterval(thrownProp, 1.7, scale=MovieUtil.PNT3_ONE)
throwTrack.append(Wait(0.25))
throwTrack.append(Func(thrownProp.wrtReparentTo, suit))
@ -200,7 +200,7 @@ def __createThrownTrapMultiTrack(trap, propList, propName, propPos = None, propH
throwingTrack = createThrowingTrack(thrownProp, trapPoint, duration=throwDuration, parent=battle)
hprTrack = LerpHprInterval(thrownProp, 0.9, hpr=Point3(0, 90, 0))
scaleTrack = LerpScaleInterval(thrownProp, 0.9, scale=MovieUtil.PNT3_ONE)
soundTrack = getSoundTrack('TL_dynamite.mp3', delay=0.8, duration=0.7, node=suit)
soundTrack = getSoundTrack('TL_dynamite.ogg', delay=0.8, duration=0.7, node=suit)
throwTrack.append(Wait(0.2))
throwTrack.append(Parallel(throwingTrack, hprTrack, scaleTrack, soundTrack))
elif trapName == 'marbles':
@ -214,7 +214,7 @@ def __createThrownTrapMultiTrack(trap, propList, propName, propPos = None, propH
moveTrack = Sequence(Func(thrownProp.wrtReparentTo, suit), Func(thrownProp.setHpr, Point3(94, 0, 0)), LerpPosInterval(thrownProp, flingDuration, pos=landPoint, other=suit), LerpPosInterval(thrownProp, rollDuration, pos=throwPoint, other=suit))
animTrack = ActorInterval(thrownProp, propName, startTime=throwDelay + 0.9)
scaleTrack = LerpScaleInterval(thrownProp, throwDuration, scale=MovieUtil.PNT3_ONE)
soundTrack = getSoundTrack('TL_marbles.mp3', delay=0.1, node=toon)
soundTrack = getSoundTrack('TL_marbles.ogg', delay=0.1, node=toon)
throwTrack.append(Wait(0.2))
throwTrack.append(Parallel(moveTrack, animTrack, scaleTrack, soundTrack))
elif trapName == 'rake':
@ -224,7 +224,7 @@ def __createThrownTrapMultiTrack(trap, propList, propName, propPos = None, propH
throwingTrack = createThrowingTrack(thrownProp, trapPoint, duration=throwDuration, parent=suit)
hprTrack = LerpHprInterval(thrownProp, throwDuration, hpr=VBase3(63.43, -90.0, 63.43))
scaleTrack = LerpScaleInterval(thrownProp, 0.9, scale=Point3(0.7, 0.7, 0.7))
soundTrack = SoundInterval(globalBattleSoundCache.getSound('TL_rake_throw_only.mp3'), duration=1.1, node=suit)
soundTrack = SoundInterval(globalBattleSoundCache.getSound('TL_rake_throw_only.ogg'), duration=1.1, node=suit)
throwTrack.append(Wait(0.2))
throwTrack.append(Parallel(throwingTrack, hprTrack, scaleTrack, soundTrack))
else:
@ -343,10 +343,10 @@ def __createPlacedTrapMultiTrack(trap, prop, propName, propPos = None, propHpr =
toonTrack.append(Func(toon.loop, 'neutral'))
toonTrack.append(Func(toon.setHpr, battle, origHpr))
if propName == 'quicksand':
propSound = globalBattleSoundCache.getSound('TL_quicksand.mp3')
propSound = globalBattleSoundCache.getSound('TL_quicksand.ogg')
else:
propSound = globalBattleSoundCache.getSound('TL_trap_door.mp3')
buttonSound = globalBattleSoundCache.getSound('AA_drop_trigger_box.mp3')
propSound = globalBattleSoundCache.getSound('TL_trap_door.ogg')
buttonSound = globalBattleSoundCache.getSound('AA_drop_trigger_box.ogg')
soundTrack = Sequence(Wait(2.3), SoundInterval(buttonSound, duration=0.67, node=toon), Wait(0.3), SoundInterval(propSound, duration=0.5, node=toon))
return Parallel(trapTracks, toonTrack, soundTrack)
@ -572,11 +572,11 @@ def __createPlacedGroupTrapTrack(trap, prop, propName, centerSuit, propPos = Non
toonTrack.append(Func(toon.loop, 'neutral'))
toonTrack.append(Func(toon.setHpr, battle, origHpr))
if propName == 'quicksand':
propSound = globalBattleSoundCache.getSound('TL_quicksand.mp3')
propSound = globalBattleSoundCache.getSound('TL_quicksand.ogg')
elif propName == 'traintrack':
propSound = globalBattleSoundCache.getSound('TL_train_track_appear.mp3')
propSound = globalBattleSoundCache.getSound('TL_train_track_appear.ogg')
else:
propSound = globalBattleSoundCache.getSound('TL_trap_door.mp3')
buttonSound = globalBattleSoundCache.getSound('AA_drop_trigger_box.mp3')
propSound = globalBattleSoundCache.getSound('TL_trap_door.ogg')
buttonSound = globalBattleSoundCache.getSound('AA_drop_trigger_box.ogg')
soundTrack = Sequence(Wait(2.3), Parallel(SoundInterval(buttonSound, duration=0.67, node=toon), SoundInterval(propSound, node=toon)))
return Parallel(trapTracks, toonTrack, soundTrack)

View file

@ -262,8 +262,8 @@ def createSuitReviveTrack(suit, toon, battle, npcs = []):
suitTrack.append(Func(removeReviveSuit, suit, deathSuit, name='remove-death-suit'))
suitTrack.append(Func(notify.debug, 'after removeDeathSuit'))
suitTrack.append(Func(suit.loop, 'neutral'))
spinningSound = base.loadSfx('phase_3.5/audio/sfx/Cog_Death.mp3')
deathSound = base.loadSfx('phase_3.5/audio/sfx/ENC_cogfall_apart.mp3')
spinningSound = base.loadSfx('phase_3.5/audio/sfx/Cog_Death.ogg')
deathSound = base.loadSfx('phase_3.5/audio/sfx/ENC_cogfall_apart.ogg')
deathSoundTrack = Sequence(Wait(0.8), SoundInterval(spinningSound, duration=1.2, startTime=1.5, volume=0.2, node=suit), SoundInterval(spinningSound, duration=3.0, startTime=0.6, volume=0.8, node=suit), SoundInterval(deathSound, volume=0.32, node=suit))
BattleParticles.loadParticles()
smallGears = BattleParticles.createParticleEffect(file='gearExplosionSmall')
@ -307,8 +307,8 @@ def createSuitDeathTrack(suit, toon, battle, npcs = []):
suitTrack.append(Func(notify.debug, 'before removeDeathSuit'))
suitTrack.append(Func(removeDeathSuit, suit, deathSuit, name='remove-death-suit'))
suitTrack.append(Func(notify.debug, 'after removeDeathSuit'))
spinningSound = base.loadSfx('phase_3.5/audio/sfx/Cog_Death.mp3')
deathSound = base.loadSfx('phase_3.5/audio/sfx/ENC_cogfall_apart.mp3')
spinningSound = base.loadSfx('phase_3.5/audio/sfx/Cog_Death.ogg')
deathSound = base.loadSfx('phase_3.5/audio/sfx/ENC_cogfall_apart.ogg')
deathSoundTrack = Sequence(Wait(0.8), SoundInterval(spinningSound, duration=1.2, startTime=1.5, volume=0.2, node=deathSuit), SoundInterval(spinningSound, duration=3.0, startTime=0.6, volume=0.8, node=deathSuit), SoundInterval(deathSound, volume=0.32, node=deathSuit))
BattleParticles.loadParticles()
smallGears = BattleParticles.createParticleEffect(file='gearExplosionSmall')

View file

@ -18,10 +18,10 @@ class DistributedBossElevator(DistributedElevatorExt.DistributedElevatorExt):
def __init__(self, cr):
DistributedElevatorExt.DistributedElevatorExt.__init__(self, cr)
self.elevatorPoints = BigElevatorPoints
self.openSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.mp3')
self.finalOpenSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.mp3')
self.closeSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.mp3')
self.finalCloseSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.mp3')
self.openSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.ogg')
self.finalOpenSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.ogg')
self.closeSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.ogg')
self.finalCloseSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.ogg')
self.type = ELEVATOR_VP
self.countdownTime = ElevatorData[self.type]['countdown']

View file

@ -346,20 +346,20 @@ class DistributedBuilding(DistributedObject.DistributedObject):
if base.config.GetBool('want-qa-regression', 0):
self.notify.info('QA-REGRESSION: COGBUILDING: Cog Take Over')
if self.cogDropSound == None:
self.cogDropSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'cogbldg_drop.mp3')
self.cogLandSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'cogbldg_land.mp3')
self.cogSettleSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'cogbldg_settle.mp3')
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.mp3')
self.cogDropSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'cogbldg_drop.ogg')
self.cogLandSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'cogbldg_land.ogg')
self.cogSettleSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'cogbldg_settle.ogg')
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.ogg')
return
def loadAnimToToonSfx(self):
if base.config.GetBool('want-qa-regression', 0):
self.notify.info('QA-REGRESSION: COGBUILDING: Toon Take Over')
if self.cogWeakenSound == None:
self.cogWeakenSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'cogbldg_weaken.mp3')
self.toonGrowSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'toonbldg_grow.mp3')
self.toonSettleSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'toonbldg_settle.mp3')
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.mp3')
self.cogWeakenSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'cogbldg_weaken.ogg')
self.toonGrowSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'toonbldg_grow.ogg')
self.toonSettleSound = base.loadSfx(self.TAKEOVER_SFX_PREFIX + 'toonbldg_settle.ogg')
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.ogg')
return
def unloadSfx(self):

View file

@ -23,8 +23,8 @@ class DistributedDoor(DistributedObject.DistributedObject, DelayDeletable):
def __init__(self, cr):
DistributedObject.DistributedObject.__init__(self, cr)
self.openSfx = base.loadSfx('phase_3.5/audio/sfx/Door_Open_1.mp3')
self.closeSfx = base.loadSfx('phase_3.5/audio/sfx/Door_Close_1.mp3')
self.openSfx = base.loadSfx('phase_3.5/audio/sfx/Door_Open_1.ogg')
self.closeSfx = base.loadSfx('phase_3.5/audio/sfx/Door_Close_1.ogg')
self.nametag = None
self.fsm = ClassicFSM.ClassicFSM('DistributedDoor_right', [State.State('off', self.enterOff, self.exitOff, ['closing',
'closed',

View file

@ -26,9 +26,9 @@ class DistributedElevator(DistributedObject.DistributedObject):
self.deferredSlots = []
self.localToonOnBoard = 0
self.boardedAvIds = {}
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.mp3')
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.ogg')
self.finalOpenSfx = None
self.closeSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_close.mp3')
self.closeSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_close.ogg')
self.elevatorFSM = None
self.finalCloseSfx = None
self.elevatorPoints = ElevatorPoints

View file

@ -39,9 +39,9 @@ class DistributedElevatorFSM(DistributedObject.DistributedObject, FSM):
self.deferredSlots = []
self.localToonOnBoard = 0
self.boardedAvIds = {}
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.mp3')
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.ogg')
self.finalOpenSfx = None
self.closeSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_close.mp3')
self.closeSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_close.ogg')
self.elevatorFSM = None
self.finalCloseSfx = None
self.elevatorPoints = ElevatorPoints

View file

@ -59,8 +59,8 @@ class DistributedKnockKnockDoor(DistributedAnimatedProp.DistributedAnimatedProp)
def knockKnockTrack(self, avatar, duration):
if avatar == None:
return
self.rimshot = base.loadSfx('phase_5/audio/sfx/AA_heal_telljoke.mp3')
self.knockSfx = base.loadSfx('phase_5/audio/sfx/GUI_knock_3.mp3')
self.rimshot = base.loadSfx('phase_5/audio/sfx/AA_heal_telljoke.ogg')
self.knockSfx = base.loadSfx('phase_5/audio/sfx/GUI_knock_3.ogg')
joke = KnockKnockJokes[self.propId % len(KnockKnockJokes)]
place = base.cr.playGame.getPlace()
if place:

View file

@ -18,8 +18,8 @@ class DistributedSuitInterior(DistributedObject.DistributedObject):
DistributedObject.DistributedObject.__init__(self, cr)
self.toons = []
self.activeIntervals = {}
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.mp3')
self.closeSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_close.mp3')
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.ogg')
self.closeSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_close.ogg')
self.suits = []
self.reserveSuits = []
self.joiningReserves = []

View file

@ -215,19 +215,19 @@ class DistributedToonHallInterior(DistributedToonInterior):
self.sillyMeter.makeSubpart('arrow', ['uvj_progressBar*', 'def_springA'])
self.sillyMeter.makeSubpart('meter', ['def_pivot'], ['uvj_progressBar*', 'def_springA'])
self.audio3d = Audio3DManager.Audio3DManager(base.sfxManagerList[0], camera)
self.phase1Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseOne.mp3')
self.phase1Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseOne.ogg')
self.phase1Sfx.setLoop(True)
self.phase2Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseTwo.mp3')
self.phase2Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseTwo.ogg')
self.phase2Sfx.setLoop(True)
self.phase3Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseThree.mp3')
self.phase3Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseThree.ogg')
self.phase3Sfx.setLoop(True)
self.phase4Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseFour.mp3')
self.phase4Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseFour.ogg')
self.phase4Sfx.setLoop(True)
self.phase4To5Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseFourToFive.mp3')
self.phase4To5Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseFourToFive.ogg')
self.phase4To5Sfx.setLoop(False)
self.phase5Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseFive.mp3')
self.phase5Sfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterPhaseFive.ogg')
self.phase5Sfx.setLoop(True)
self.arrowSfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterArrow.mp3')
self.arrowSfx = self.audio3d.loadSfx('phase_4/audio/sfx/tt_s_prp_sillyMeterArrow.ogg')
self.arrowSfx.setLoop(False)
self.audio3d.setDropOffFactor(0.1)
self.accept('SillyMeterPhase', self.selectPhase)

View file

@ -397,7 +397,7 @@ class Char(Avatar.Avatar):
chatterType = chatterTypes[categoryIndex]
for fileIndex in audioIndexArray[categoryIndex]:
if fileIndex:
self.chatterArray[categoryIndex].append(base.loadSfx('%s/CC_%s_chatter_%s%02d.mp3' % (loadPath,
self.chatterArray[categoryIndex].append(base.loadSfx('%s/CC_%s_chatter_%s%02d.ogg' % (loadPath,
name,
chatterType,
fileIndex)))
@ -532,12 +532,12 @@ class Char(Avatar.Avatar):
4])
self.loadChatterDialogue('donald', chatterIndexArray, 'phase_6/audio/dial', language)
elif char == 'p' or char == 'wp':
dialogueFile = base.loadSfx('phase_3.5/audio/dial/AV_dog_med.mp3')
dialogueFile = base.loadSfx('phase_3.5/audio/dial/AV_dog_med.ogg')
for i in range(0, 6):
self.dialogueArray.append(dialogueFile)
elif char == 'cl':
dialogueFile = base.loadSfx('phase_3.5/audio/dial/AV_dog_med.mp3')
dialogueFile = base.loadSfx('phase_3.5/audio/dial/AV_dog_med.ogg')
for i in range(0, 6):
self.dialogueArray.append(dialogueFile)

View file

@ -34,7 +34,7 @@ class ToontownChatManager(ChatManager.ChatManager):
gui = loader.loadModel('phase_3.5/models/gui/chat_input_gui')
self.normalButton = DirectButton(image=(gui.find('**/ChtBx_ChtBtn_UP'), gui.find('**/ChtBx_ChtBtn_DN'), gui.find('**/ChtBx_ChtBtn_RLVR')), pos=(-1.2647, 0, 0.928), scale=1.179, relief=None, image_color=Vec4(1, 1, 1, 1), text=('', OTPLocalizer.ChatManagerChat, OTPLocalizer.ChatManagerChat), text_align=TextNode.ALeft, text_scale=TTLocalizer.TCMnormalButton, text_fg=Vec4(1, 1, 1, 1), text_shadow=Vec4(0, 0, 0, 1), text_pos=(-0.0525, -0.09), textMayChange=0, sortOrder=DGG.FOREGROUND_SORT_INDEX, command=self.__normalButtonPressed)
self.normalButton.hide()
self.openScSfx = loader.loadSfx('phase_3.5/audio/sfx/GUI_quicktalker.mp3')
self.openScSfx = loader.loadSfx('phase_3.5/audio/sfx/GUI_quicktalker.ogg')
self.openScSfx.setVolume(0.6)
self.scButton = DirectButton(image=(gui.find('**/ChtBx_ChtBtn_UP'), gui.find('**/ChtBx_ChtBtn_DN'), gui.find('**/ChtBx_ChtBtn_RLVR')), pos=TTLocalizer.TCMscButtonPos, scale=1.179, relief=None, image_color=Vec4(0.75, 1, 0.6, 1), text=('', OTPLocalizer.GlobalSpeedChatName, OTPLocalizer.GlobalSpeedChatName), text_scale=TTLocalizer.TCMscButton, text_fg=Vec4(1, 1, 1, 1), text_shadow=Vec4(0, 0, 0, 1), text_pos=(0, -0.09), textMayChange=0, sortOrder=DGG.FOREGROUND_SORT_INDEX, command=self.__scButtonPressed, clickSound=self.openScSfx)
self.scButton.hide()

View file

@ -51,7 +51,7 @@ StomperProps = [{'path': '**/stomper_GRP_01/stomper_cylinder_01',
{'path': '**/stomper_GRP_12/stomper_cylinder_034',
'motion': 'up'}]
StomperHaltTime = 7.3
StomperSound = 'phase_9/audio/sfx/CHQ_FACT_stomper_raise.mp3'
StomperSound = 'phase_9/audio/sfx/CHQ_FACT_stomper_raise.ogg'
MaxToons = 4
BarrelRoomModel = 'phase_5/models/cogdominium/tt_m_ara_cbr_barrelRoom'
BarrelRoomModelPos = (0, 0, 0)
@ -89,8 +89,8 @@ BarrelCollParams = (0,
0,
2,
2.0)
BarrelBumpSound = 'phase_4/audio/sfx/Golf_Hit_Barrier_2.mp3'
BarrelGrabSound = 'phase_4/audio/sfx/SZ_DD_treasure.mp3'
BarrelBumpSound = 'phase_4/audio/sfx/Golf_Hit_Barrier_2.ogg'
BarrelGrabSound = 'phase_4/audio/sfx/SZ_DD_treasure.ogg'
StateHidden, StateAvailable, StateUsed, StateCrushed = range(4)
def numBarrels():

View file

@ -79,7 +79,7 @@ class CogdoElevatorMovie(CogdoGameMovie):
self.clipPlane = self.toonHead.attachNewNode(PlaneNode('clip'))
self.clipPlane.node().setPlane(Plane(0, 0, 1, 0))
self.clipPlane.setPos(0, 0, 2.45)
self._toonDialogueSfx = loader.loadSfx('phase_3.5/audio/dial/AV_dog_long.mp3')
self._toonDialogueSfx = loader.loadSfx('phase_3.5/audio/dial/AV_dog_long.ogg')
self._camHelperNode = NodePath('CamHelperNode')
self._camHelperNode.reparentTo(render)
dialogue = TTLocalizer.CogdoElevatorRewardLaff

View file

@ -84,7 +84,7 @@ class CogdoExecutiveSuiteIntro(CogdoGameMovie):
self.clipPlane = self.toonHead.attachNewNode(PlaneNode('clip'))
self.clipPlane.node().setPlane(Plane(0, 0, 1, 0))
self.clipPlane.setPos(0, 0, 2.45)
self._toonDialogueSfx = loader.loadSfx('phase_3.5/audio/dial/AV_dog_long.mp3')
self._toonDialogueSfx = loader.loadSfx('phase_3.5/audio/dial/AV_dog_long.ogg')
self._camHelperNode = NodePath('CamHelperNode')
self._camHelperNode.reparentTo(render)
dialogue = TTLocalizer.CogdoExecutiveSuiteIntroMessage

View file

@ -178,27 +178,27 @@ Audio.MusicFiles = {'normal': 'phase_4/audio/bgm/MG_cannon_game.ogg',
'invul': 'phase_4/audio/bgm/MG_CogThief.ogg',
'timeRunningOut': 'phase_7/audio/bgm/encntr_suit_winning_indoor.ogg'}
Audio.SfxFiles = {'propeller': 'phase_4/audio/sfx/TB_propeller.wav',
'propeller_damaged': 'phase_5/audio/sfx/tt_s_ara_cfg_propellers_damaged.mp3',
'propeller_damaged': 'phase_5/audio/sfx/tt_s_ara_cfg_propellers_damaged.ogg',
'fan': 'phase_4/audio/sfx/target_wind_float_loop.wav',
'getMemo': 'phase_4/audio/sfx/MG_maze_pickup.mp3',
'getLaff': 'phase_4/audio/sfx/avatar_emotion_laugh.mp3',
'getRedTape': 'phase_5/audio/sfx/SA_red_tape.mp3',
'invulBuff': 'phase_4/audio/sfx/ring_get.mp3',
'invulDebuff': 'phase_4/audio/sfx/ring_miss.mp3',
'refuel': 'phase_5/audio/sfx/LB_receive_evidence.mp3',
'bladeBreak': 'phase_5/audio/sfx/tt_s_ara_cfg_propellerBreaks.mp3',
'popupHelpText': 'phase_3/audio/sfx/GUI_balloon_popup.mp3',
'collide': 'phase_3.5/audio/sfx/AV_collision.mp3',
'whirlwind': 'phase_5/audio/sfx/tt_s_ara_cfg_whirlwind.mp3',
'toonInWhirlwind': 'phase_5/audio/sfx/tt_s_ara_cfg_toonInWhirlwind.mp3',
'death': 'phase_5/audio/sfx/tt_s_ara_cfg_toonFalls.mp3',
'legalEagleScream': 'phase_5/audio/sfx/tt_s_ara_cfg_eagleCry.mp3',
'toonHit': 'phase_5/audio/sfx/tt_s_ara_cfg_toonHit.mp3',
'lose': 'phase_4/audio/sfx/MG_lose.mp3',
'win': 'phase_4/audio/sfx/MG_win.mp3',
'refuelSpin': 'phase_4/audio/sfx/clock12.mp3',
'cogDialogue': 'phase_3.5/audio/dial/COG_VO_statement.mp3',
'toonDialogue': 'phase_3.5/audio/dial/AV_dog_long.mp3'}
'getMemo': 'phase_4/audio/sfx/MG_maze_pickup.ogg',
'getLaff': 'phase_4/audio/sfx/avatar_emotion_laugh.ogg',
'getRedTape': 'phase_5/audio/sfx/SA_red_tape.ogg',
'invulBuff': 'phase_4/audio/sfx/ring_get.ogg',
'invulDebuff': 'phase_4/audio/sfx/ring_miss.ogg',
'refuel': 'phase_5/audio/sfx/LB_receive_evidence.ogg',
'bladeBreak': 'phase_5/audio/sfx/tt_s_ara_cfg_propellerBreaks.ogg',
'popupHelpText': 'phase_3/audio/sfx/GUI_balloon_popup.ogg',
'collide': 'phase_3.5/audio/sfx/AV_collision.ogg',
'whirlwind': 'phase_5/audio/sfx/tt_s_ara_cfg_whirlwind.ogg',
'toonInWhirlwind': 'phase_5/audio/sfx/tt_s_ara_cfg_toonInWhirlwind.ogg',
'death': 'phase_5/audio/sfx/tt_s_ara_cfg_toonFalls.ogg',
'legalEagleScream': 'phase_5/audio/sfx/tt_s_ara_cfg_eagleCry.ogg',
'toonHit': 'phase_5/audio/sfx/tt_s_ara_cfg_toonHit.ogg',
'lose': 'phase_4/audio/sfx/MG_lose.ogg',
'win': 'phase_4/audio/sfx/MG_win.ogg',
'refuelSpin': 'phase_4/audio/sfx/clock12.ogg',
'cogDialogue': 'phase_3.5/audio/dial/COG_VO_statement.ogg',
'toonDialogue': 'phase_3.5/audio/dial/AV_dog_long.ogg'}
Level = VariableContainer()
Level.GatherableTypes = PythonUtil.Enum(('Memo', 'Propeller', 'LaffPowerup', 'InvulPowerup'))
Level.ObstacleTypes = PythonUtil.Enum(('Whirlwind', 'Fan', 'Minion'))

View file

@ -15,8 +15,8 @@ class CogdoGameExit(NodePath):
self._model.reparentTo(self)
self._leftDoor = self._model.find('**/left_door')
self._rightDoor = self._model.find('**/right_door')
self._openSfx = openSfx or base.loadSfx('phase_9/audio/sfx/CHQ_VP_door_open.mp3')
self._closeSfx = closeSfx or base.loadSfx('phase_9/audio/sfx/CHQ_VP_door_close.mp3')
self._openSfx = openSfx or base.loadSfx('phase_9/audio/sfx/CHQ_VP_door_open.ogg')
self._closeSfx = closeSfx or base.loadSfx('phase_9/audio/sfx/CHQ_VP_door_close.ogg')
self._elevatorPoints = []
for point in ElevatorConstants.ElevatorPoints:
self._elevatorPoints.append(point[0])

View file

@ -173,22 +173,22 @@ WaterCoolerHideEventName = 'CogdoMazeWaterCooler_Hide'
AudioCutoff = 75.0
MusicFiles = {'normal': 'phase_9/audio/bgm/CHQ_FACT_bg.ogg',
'timeRunningOut': 'phase_7/audio/bgm/encntr_suit_winning_indoor.ogg'}
SfxFiles = {'toonHitByDrop': 'phase_5/audio/sfx/tt_s_ara_cmg_toonHit.mp3',
'toonHit': 'phase_4/audio/sfx/MG_cannon_hit_dirt.mp3',
'getMemo': 'phase_4/audio/sfx/MG_maze_pickup.mp3',
'drop': 'phase_5/audio/sfx/tt_s_ara_cmg_itemHitsFloor.mp3',
'throw': 'phase_3.5/audio/sfx/AA_pie_throw_only.mp3',
'splat': 'phase_5/audio/sfx/SA_watercooler_spray_only.mp3',
'cogSpin': 'phase_3.5/audio/sfx/Cog_Death.mp3',
'cogDeath': 'phase_3.5/audio/sfx/ENC_cogfall_apart.mp3',
'bossCogAngry': 'phase_5/audio/sfx/tt_s_ara_cmg_bossCogAngry.mp3',
'cogStomp': 'phase_5/audio/sfx/tt_s_ara_cmg_cogStomp.mp3',
'quake': 'phase_5/audio/sfx/tt_s_ara_cmg_groundquake.mp3',
'waterCoolerFill': 'phase_5/audio/sfx/tt_s_ara_cmg_waterCoolerFill.mp3',
'lose': 'phase_4/audio/sfx/MG_lose.mp3',
'win': 'phase_4/audio/sfx/MG_win.mp3',
'cogDialogue': 'phase_3.5/audio/dial/COG_VO_statement.mp3',
'toonDialogue': 'phase_3.5/audio/dial/AV_dog_long.mp3'}
SfxFiles = {'toonHitByDrop': 'phase_5/audio/sfx/tt_s_ara_cmg_toonHit.ogg',
'toonHit': 'phase_4/audio/sfx/MG_cannon_hit_dirt.ogg',
'getMemo': 'phase_4/audio/sfx/MG_maze_pickup.ogg',
'drop': 'phase_5/audio/sfx/tt_s_ara_cmg_itemHitsFloor.ogg',
'throw': 'phase_3.5/audio/sfx/AA_pie_throw_only.ogg',
'splat': 'phase_5/audio/sfx/SA_watercooler_spray_only.ogg',
'cogSpin': 'phase_3.5/audio/sfx/Cog_Death.ogg',
'cogDeath': 'phase_3.5/audio/sfx/ENC_cogfall_apart.ogg',
'bossCogAngry': 'phase_5/audio/sfx/tt_s_ara_cmg_bossCogAngry.ogg',
'cogStomp': 'phase_5/audio/sfx/tt_s_ara_cmg_cogStomp.ogg',
'quake': 'phase_5/audio/sfx/tt_s_ara_cmg_groundquake.ogg',
'waterCoolerFill': 'phase_5/audio/sfx/tt_s_ara_cmg_waterCoolerFill.ogg',
'lose': 'phase_4/audio/sfx/MG_lose.ogg',
'win': 'phase_4/audio/sfx/MG_win.ogg',
'cogDialogue': 'phase_3.5/audio/dial/COG_VO_statement.ogg',
'toonDialogue': 'phase_3.5/audio/dial/AV_dog_long.ogg'}
MessageLabelPos = (0.0, 0.0, -0.4)
MemoGuiPos = (-0.85, 0, -0.9)
MemoGuiTextScale = 0.1

View file

@ -70,11 +70,11 @@ class DistCogdoCrane(DistributedObject.DistributedObject, FSM.FSM):
self.heldObject = None
self.craneAdviceLabel = None
self.magnetAdviceLabel = None
self.atLimitSfx = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.mp3')
self.magnetOnSfx = base.loadSfx('phase_10/audio/sfx/CBHQ_CFO_magnet_on.mp3')
self.atLimitSfx = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.ogg')
self.magnetOnSfx = base.loadSfx('phase_10/audio/sfx/CBHQ_CFO_magnet_on.ogg')
self.magnetLoopSfx = base.loadSfx('phase_10/audio/sfx/CBHQ_CFO_magnet_loop.wav')
self.magnetSoundInterval = Parallel(SoundInterval(self.magnetOnSfx), Sequence(Wait(0.5), Func(base.playSfx, self.magnetLoopSfx, looping=1)))
self.craneMoveSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_elevator_up_down.mp3')
self.craneMoveSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_elevator_up_down.ogg')
self.fadeTrack = None
return

View file

@ -18,10 +18,10 @@ class DistCogdoCraneMoneyBag(DistCogdoCraneObject):
DistCogdoCraneObject.__init__(self, cr)
NodePath.__init__(self, 'object')
self.index = None
self.flyToMagnetSfx = loader.loadSfx('phase_5/audio/sfx/TL_rake_throw_only.mp3')
self.hitMagnetSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_safe.mp3')
self.flyToMagnetSfx = loader.loadSfx('phase_5/audio/sfx/TL_rake_throw_only.ogg')
self.hitMagnetSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_safe.ogg')
self.toMagnetSoundInterval = Parallel(SoundInterval(self.flyToMagnetSfx, duration=ToontownGlobals.CashbotBossToMagnetTime, node=self), Sequence(Wait(ToontownGlobals.CashbotBossToMagnetTime - 0.02), SoundInterval(self.hitMagnetSfx, duration=1.0, node=self)))
self.hitFloorSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_bigweight_miss.mp3')
self.hitFloorSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_bigweight_miss.ogg')
self.hitFloorSoundInterval = SoundInterval(self.hitFloorSfx, node=self)
return

View file

@ -26,9 +26,9 @@ class DistCogdoCraneObject(DistributedSmoothNode.DistributedSmoothNode, FSM.FSM)
self.physicsActivated = 0
self.toMagnetSoundInterval = Sequence()
self.hitFloorSoundInterval = Sequence()
self.hitBossSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_safe_miss.mp3')
self.hitBossSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_safe_miss.ogg')
self.hitBossSoundInterval = SoundInterval(self.hitBossSfx)
self.touchedBossSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_sandbag.mp3')
self.touchedBossSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_sandbag.ogg')
self.touchedBossSoundInterval = SoundInterval(self.touchedBossSfx, duration=0.8)
self.lerpInterval = None
return

View file

@ -34,8 +34,8 @@ class DistributedCogdoInterior(DistributedObject.DistributedObject):
DistributedObject.DistributedObject.__init__(self, cr)
self.toons = []
self.activeIntervals = {}
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.mp3')
self.closeSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_close.mp3')
self.openSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_open.ogg')
self.closeSfx = base.loadSfx('phase_5/audio/sfx/elevator_door_close.ogg')
self.suits = []
self.reserveSuits = []
self.joiningReserves = []
@ -173,8 +173,8 @@ class DistributedCogdoInterior(DistributedObject.DistributedObject):
def handleAnnounceGenerate(self, obj):
self.ignore(self.announceGenerateName)
self.cageDoorSfx = loader.loadSfx('phase_5/audio/sfx/CHQ_SOS_cage_door.mp3')
self.cageLowerSfx = loader.loadSfx('phase_5/audio/sfx/CHQ_SOS_cage_lower.mp3')
self.cageDoorSfx = loader.loadSfx('phase_5/audio/sfx/CHQ_SOS_cage_door.ogg')
self.cageLowerSfx = loader.loadSfx('phase_5/audio/sfx/CHQ_SOS_cage_lower.ogg')
self.sendUpdate('setAvatarJoined', [])
def disable(self):

View file

@ -173,11 +173,11 @@ class DistributedBanquetTable(DistributedObject.DistributedObject, FSM.FSM, Banq
self.tableGeom = self.tableGroup.find('**/Geometry')
self.setupDiners()
self.setupChairCols()
self.squirtSfx = loader.loadSfx('phase_4/audio/sfx/AA_squirt_seltzer_miss.mp3')
self.hitBossSfx = loader.loadSfx('phase_5/audio/sfx/SA_watercooler_spray_only.mp3')
self.squirtSfx = loader.loadSfx('phase_4/audio/sfx/AA_squirt_seltzer_miss.ogg')
self.hitBossSfx = loader.loadSfx('phase_5/audio/sfx/SA_watercooler_spray_only.ogg')
self.hitBossSoundInterval = SoundInterval(self.hitBossSfx, node=self.boss, volume=1.0)
self.serveFoodSfx = loader.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_bell_for_trolley.mp3')
self.pitcherMoveSfx = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.mp3')
self.serveFoodSfx = loader.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_bell_for_trolley.ogg')
self.pitcherMoveSfx = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.ogg')
def setupDiners(self):
for i in xrange(self.numDiners):
@ -367,8 +367,8 @@ class DistributedBanquetTable(DistributedObject.DistributedObject, FSM.FSM, Banq
locator = self.tableGroup.find('**/chair_%d' % (chairIndex + 1))
deathSuit = diner.getLoseActor()
ival = Sequence(Func(self.notify.debug, 'before actorinterval sit-lose'), ActorInterval(diner, 'sit-lose'), Func(self.notify.debug, 'before deathSuit.setHpr'), Func(deathSuit.setHpr, diner.getHpr()), Func(self.notify.debug, 'before diner.hide'), Func(diner.hide), Func(self.notify.debug, 'before deathSuit.reparentTo'), Func(deathSuit.reparentTo, self.chairLocators[chairIndex]), Func(self.notify.debug, 'befor ActorInterval lose'), ActorInterval(deathSuit, 'lose', duration=MovieUtil.SUIT_LOSE_DURATION), Func(self.notify.debug, 'before remove deathsuit'), Func(removeDeathSuit, diner, deathSuit, name='remove-death-suit-%d-%d' % (chairIndex, self.index)), Func(self.notify.debug, 'diner.stash'), Func(diner.stash))
spinningSound = base.loadSfx('phase_3.5/audio/sfx/Cog_Death.mp3')
deathSound = base.loadSfx('phase_3.5/audio/sfx/ENC_cogfall_apart.mp3')
spinningSound = base.loadSfx('phase_3.5/audio/sfx/Cog_Death.ogg')
deathSound = base.loadSfx('phase_3.5/audio/sfx/ENC_cogfall_apart.ogg')
deathSoundTrack = Sequence(Wait(0.8), SoundInterval(spinningSound, duration=1.2, startTime=1.5, volume=0.2, node=deathSuit), SoundInterval(spinningSound, duration=3.0, startTime=0.6, volume=0.8, node=deathSuit), SoundInterval(deathSound, volume=0.32, node=deathSuit))
intervalName = 'dinerDie-%d-%d' % (self.index, chairIndex)
deathIval = Parallel(ival, deathSoundTrack)

View file

@ -11,8 +11,8 @@ class DistributedBarrelBase(BasicEntities.DistributedNodePathEntity, BarrelBase.
def __init__(self, cr):
self.rewardPerGrabMax = 0
BasicEntities.DistributedNodePathEntity.__init__(self, cr)
self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.mp3'
self.rejectSoundPath = 'phase_4/audio/sfx/ring_miss.mp3'
self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.ogg'
self.rejectSoundPath = 'phase_4/audio/sfx/ring_miss.ogg'
self.animTrack = None
self.shadow = 0
self.barrelScale = 0.5

View file

@ -89,7 +89,7 @@ class DistributedButton(DistributedSwitch.DistributedSwitch):
DistributedSwitch.DistributedSwitch.exitTrigger(self, args)
def switchOnTrack(self):
onSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_switch_pressed.mp3')
onSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_switch_pressed.ogg')
duration = 0.8
halfDur = duration * 0.5
pos = Vec3(0.0, 0.0, -0.2)
@ -99,7 +99,7 @@ class DistributedButton(DistributedSwitch.DistributedSwitch):
def switchCountdownTrack(self):
wait = self.secondsOn - self.countdownSeconds
countDownSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_switch_depressed.mp3')
countDownSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_switch_depressed.ogg')
track = Parallel(
SoundInterval(countDownSfx),
Sequence(
@ -123,7 +123,7 @@ class DistributedButton(DistributedSwitch.DistributedSwitch):
return track
def switchOffTrack(self):
offSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_switch_popup.mp3')
offSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_switch_popup.ogg')
duration = 1.0
halfDur = duration * 0.5
pos = Vec3(0.0)

View file

@ -71,11 +71,11 @@ class DistributedCashbotBossCrane(DistributedObject.DistributedObject, FSM.FSM):
self.closeButton = None
self.craneAdviceLabel = None
self.magnetAdviceLabel = None
self.atLimitSfx = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.mp3')
self.magnetOnSfx = base.loadSfx('phase_10/audio/sfx/CBHQ_CFO_magnet_on.mp3')
self.atLimitSfx = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.ogg')
self.magnetOnSfx = base.loadSfx('phase_10/audio/sfx/CBHQ_CFO_magnet_on.ogg')
self.magnetLoopSfx = base.loadSfx('phase_10/audio/sfx/CBHQ_CFO_magnet_loop.wav')
self.magnetSoundInterval = Parallel(SoundInterval(self.magnetOnSfx), Sequence(Wait(0.5), Func(base.playSfx, self.magnetLoopSfx, looping=1)))
self.craneMoveSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_elevator_up_down.mp3')
self.craneMoveSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_elevator_up_down.ogg')
self.fadeTrack = None
return

View file

@ -26,9 +26,9 @@ class DistributedCashbotBossObject(DistributedSmoothNode.DistributedSmoothNode,
self.physicsActivated = 0
self.toMagnetSoundInterval = Sequence()
self.hitFloorSoundInterval = Sequence()
self.hitBossSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_safe_miss.mp3')
self.hitBossSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_safe_miss.ogg')
self.hitBossSoundInterval = SoundInterval(self.hitBossSfx)
self.touchedBossSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_sandbag.mp3')
self.touchedBossSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_sandbag.ogg')
self.touchedBossSoundInterval = SoundInterval(self.touchedBossSfx, duration=0.8)
self.lerpInterval = None
return

View file

@ -17,10 +17,10 @@ class DistributedCashbotBossSafe(DistributedCashbotBossObject.DistributedCashbot
DistributedCashbotBossObject.DistributedCashbotBossObject.__init__(self, cr)
NodePath.__init__(self, 'object')
self.index = None
self.flyToMagnetSfx = loader.loadSfx('phase_5/audio/sfx/TL_rake_throw_only.mp3')
self.hitMagnetSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_safe.mp3')
self.flyToMagnetSfx = loader.loadSfx('phase_5/audio/sfx/TL_rake_throw_only.ogg')
self.hitMagnetSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_safe.ogg')
self.toMagnetSoundInterval = Parallel(SoundInterval(self.flyToMagnetSfx, duration=ToontownGlobals.CashbotBossToMagnetTime, node=self), Sequence(Wait(ToontownGlobals.CashbotBossToMagnetTime - 0.02), SoundInterval(self.hitMagnetSfx, duration=1.0, node=self)))
self.hitFloorSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_bigweight_miss.mp3')
self.hitFloorSfx = loader.loadSfx('phase_5/audio/sfx/AA_drop_bigweight_miss.ogg')
self.hitFloorSoundInterval = SoundInterval(self.hitFloorSfx, node=self)
return

View file

@ -13,7 +13,7 @@ class DistributedCashbotBossTreasure(DistributedSZTreasure.DistributedSZTreasure
def __init__(self, cr):
DistributedSZTreasure.DistributedSZTreasure.__init__(self, cr)
self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.mp3'
self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.ogg'
def setStyle(self, hoodId):
newModel = Models[hoodId]

View file

@ -14,8 +14,8 @@ class DistributedCogHQDoor(DistributedDoor.DistributedDoor):
def __init__(self, cr):
DistributedDoor.DistributedDoor.__init__(self, cr)
self.openSfx = base.loadSfx('phase_9/audio/sfx/CHQ_door_open.mp3')
self.closeSfx = base.loadSfx('phase_9/audio/sfx/CHQ_door_close.mp3')
self.openSfx = base.loadSfx('phase_9/audio/sfx/CHQ_door_open.ogg')
self.closeSfx = base.loadSfx('phase_9/audio/sfx/CHQ_door_close.ogg')
def wantsNametag(self):
return 0

View file

@ -34,8 +34,8 @@ class DistributedCrate(DistributedCrushableEntity.DistributedCrushableEntity):
self.stuckToCrate = 0
self.upPressed = 0
self.isPushing = 0
self.creakSound = loader.loadSfx('phase_9/audio/sfx/CHQ_FACT_crate_effort.mp3')
self.pushSound = loader.loadSfx('phase_9/audio/sfx/CHQ_FACT_crate_sliding.mp3')
self.creakSound = loader.loadSfx('phase_9/audio/sfx/CHQ_FACT_crate_effort.ogg')
self.pushSound = loader.loadSfx('phase_9/audio/sfx/CHQ_FACT_crate_sliding.ogg')
return
def disable(self):

View file

@ -58,7 +58,7 @@ class DistributedDoorEntityLock(DistributedDoorEntityBase.LockBase, FourState.Fo
def enterState1(self):
FourState.FourState.enterState1(self)
beat = self.duration * 0.05
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_arms_retracting.mp3')
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_arms_retracting.ogg')
self.setTrack(Sequence(Wait(beat * 2.0), Parallel(SoundInterval(slideSfx, node=self.door.node, volume=0.8), Sequence(ShowInterval(self.leftNodePath), ShowInterval(self.rightNodePath), Parallel(LerpPosInterval(nodePath=self.leftNodePath, other=self.lockedNodePath, duration=beat * 16.0, pos=Vec3(0.0), blendType='easeIn'), LerpPosInterval(nodePath=self.rightNodePath, other=self.lockedNodePath, duration=beat * 16.0, pos=Vec3(0.0), blendType='easeIn')), HideInterval(self.leftNodePath), HideInterval(self.rightNodePath), ShowInterval(self.lockedNodePath)))))
def enterState2(self):
@ -73,8 +73,8 @@ class DistributedDoorEntityLock(DistributedDoorEntityBase.LockBase, FourState.Fo
def enterState3(self):
FourState.FourState.enterState3(self)
unlockSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_unlock.mp3')
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_arms_retracting.mp3')
unlockSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_unlock.ogg')
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_arms_retracting.ogg')
beat = self.duration * 0.05
self.setTrack(Sequence(Wait(beat * 2), Parallel(SoundInterval(unlockSfx, node=self.door.node, volume=0.8), SoundInterval(slideSfx, node=self.door.node, volume=0.8), Sequence(HideInterval(self.lockedNodePath), ShowInterval(self.leftNodePath), ShowInterval(self.rightNodePath), Parallel(LerpPosInterval(nodePath=self.leftNodePath, other=self.lockedNodePath, duration=beat * 16, pos=self.slideLeft, blendType='easeOut'), LerpPosInterval(nodePath=self.rightNodePath, other=self.lockedNodePath, duration=beat * 16, pos=self.slideRight, blendType='easeOut')), HideInterval(self.leftNodePath), HideInterval(self.rightNodePath)))))
@ -366,15 +366,15 @@ class DistributedDoorEntity(DistributedDoorEntityBase.DistributedDoorEntityBase,
if not self.level.complexVis() or self.isOuterDoorOpen and (not self.isVisBlocker or self.isVisReady):
print 'openInnerDoors stage Two'
duration = self.duration
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.mp3')
finalSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.mp3')
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.ogg')
finalSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.ogg')
moveDistance = 8.0
self.setInnerDoorsTrack(Sequence(Func(self.leftInnerCollision.unstash), Func(self.rightInnerCollision.unstash), Parallel(SoundInterval(slideSfx, node=self.node, duration=duration * 0.4, volume=0.8), LerpPosInterval(nodePath=self.doorLeft, duration=duration * 0.4, pos=Vec3(-moveDistance, 0.0, 0.0), blendType='easeOut'), LerpPosInterval(nodePath=self.doorRight, duration=duration * 0.4, pos=Vec3(moveDistance, 0.0, 0.0), blendType='easeOut'), Sequence(Wait(duration * 0.375), SoundInterval(finalSfx, node=self.node, duration=1.0, volume=0.8))), Func(self.doorLeft.stash), Func(self.doorRight.stash)))
def closeInnerDoors(self):
duration = self.duration
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.mp3')
finalSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.mp3')
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.ogg')
finalSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.ogg')
moveDistance = 8.0
self.setInnerDoorsTrack(Sequence(Func(self.doorLeft.unstash), Func(self.doorRight.unstash), Parallel(SoundInterval(slideSfx, node=self.node, duration=duration * 0.4, volume=0.8), LerpPosInterval(nodePath=self.doorLeft, duration=duration * 0.4, pos=Vec3(0.0), blendType='easeIn'), LerpPosInterval(nodePath=self.doorRight, duration=duration * 0.4, pos=Vec3(0.0), blendType='easeIn'), Sequence(Wait(duration * 0.375), SoundInterval(finalSfx, node=self.node, duration=1.0, volume=0.8))), Func(self.leftInnerCollision.stash), Func(self.rightInnerCollision.stash)))
@ -391,8 +391,8 @@ class DistributedDoorEntity(DistributedDoorEntityBase.DistributedDoorEntityBase,
else:
self.okToUnblockVis()
duration = self.duration
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.mp3')
finalSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.mp3')
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.ogg')
finalSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.ogg')
moveDistance = 8.0
self.setTrack(Sequence(Wait(duration * 0.1), Parallel(SoundInterval(slideSfx, node=self.node, duration=duration * 0.4, volume=0.8), LerpPosInterval(nodePath=self.doorTop, duration=duration * 0.4, pos=Vec3(0.0, 0.0, moveDistance), blendType='easeOut'), LerpPosInterval(nodePath=self.doorBottom, duration=duration * 0.4, pos=Vec3(0.0, 0.0, -moveDistance), blendType='easeOut'), Sequence(Wait(duration * 0.375), SoundInterval(finalSfx, node=self.node, duration=1.0, volume=0.8))), Func(self.doorTop.stash), Func(self.doorBottom.stash), Func(self.setisOuterDoorOpen, 1), Func(self.openInnerDoors)))
@ -420,8 +420,8 @@ class DistributedDoorEntity(DistributedDoorEntityBase.DistributedDoorEntityBase,
def enterState3(self):
FourState.FourState.enterState3(self)
duration = self.duration
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.mp3')
finalSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.mp3')
slideSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_sliding.ogg')
finalSfx = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_door_open_final.ogg')
self.setTrack(Sequence(Wait(duration * 0.1),
Func(self.closeInnerDoors),
Wait(duration * 0.4),

View file

@ -277,14 +277,14 @@ class DistributedGolfGreenGame(BattleBlocker.BattleBlocker):
self.invModel = loader.loadModel('phase_3.5/models/gui/inventory_icons')
self.model = model
self.model1 = model1
self.soundFire = base.loadSfx('phase_6/audio/sfx/Golf_Hit_Ball.mp3')
self.soundLand = base.loadSfx('phase_4/audio/sfx/MG_maze_pickup.mp3')
self.soundBurst = base.loadSfx('phase_5/audio/sfx/Toon_bodyfall_synergy.mp3')
self.soundBomb = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.mp3')
self.soundLose = base.loadSfx('phase_11/audio/sfx/LB_capacitor_discharge_3.mp3')
self.soundWin = base.loadSfx('phase_4/audio/sfx/MG_pairing_match_bonus_both.mp3')
self.soundDone = base.loadSfx('phase_3/audio/sfx/GUI_create_toon_back.mp3')
self.soundMove = base.loadSfx('phase_3.5/audio/sfx/SA_shred.mp3')
self.soundFire = base.loadSfx('phase_6/audio/sfx/Golf_Hit_Ball.ogg')
self.soundLand = base.loadSfx('phase_4/audio/sfx/MG_maze_pickup.ogg')
self.soundBurst = base.loadSfx('phase_5/audio/sfx/Toon_bodyfall_synergy.ogg')
self.soundBomb = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.ogg')
self.soundLose = base.loadSfx('phase_11/audio/sfx/LB_capacitor_discharge_3.ogg')
self.soundWin = base.loadSfx('phase_4/audio/sfx/MG_pairing_match_bonus_both.ogg')
self.soundDone = base.loadSfx('phase_3/audio/sfx/GUI_create_toon_back.ogg')
self.soundMove = base.loadSfx('phase_3.5/audio/sfx/SA_shred.ogg')
background = model.find('**/bg')
itemBoard = model.find('**/item_board')
self.focusPoint = self.baseNode.attachNewNode('GolfGreenGameFrame')

View file

@ -107,7 +107,7 @@ class DistributedGolfSpot(DistributedObject.DistributedObject, FSM.FSM):
cn.setIntoCollideMask(ToontownGlobals.WallBitmask)
self.trigger = self.root.attachNewNode(cn)
self.trigger.stash()
self.hitBallSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Hit_Ball.mp3')
self.hitBallSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Hit_Ball.ogg')
def cleanup(self):
if self.swingInterval:
@ -703,7 +703,7 @@ class DistributedGolfSpot(DistributedObject.DistributedObject, FSM.FSM):
if flyBallCodeStr:
flyBallCode = int(flyBallCodeStr)
pos = entry.getSurfacePoint(render)
timestamp32 = globalClockDelta.getFrameNetworkTime(bits=32)
timest.ogg2 = globalClockDelta.getFrameNetworkTime(bits=32)
throwerId = int(entry.getFromNodePath().getNetTag('throwerId'))
splat = self.getFlyBallSplatInterval(pos[0], pos[1], pos[2], flyBallCode, throwerId)
splat = Sequence(splat, Func(self.flyBallFinishedSplatting, sequence))
@ -738,10 +738,10 @@ class DistributedGolfSpot(DistributedObject.DistributedObject, FSM.FSM):
if flyBallCode == ToontownGlobals.PieCodeBossCog:
self.notify.debug('changing color to %s' % self.ballColor)
splat.setColor(self.ballColor)
sound = loader.loadSfx('phase_11/audio/sfx/LB_evidence_miss.mp3')
sound = loader.loadSfx('phase_11/audio/sfx/LB_evidence_miss.ogg')
vol = 1.0
if flyBallCode == ToontownGlobals.PieCodeBossCog:
sound = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_1.mp3')
sound = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_1.ogg')
soundIval = SoundInterval(sound, node=splat, volume=vol)
if flyBallCode == ToontownGlobals.PieCodeBossCog and localAvatar.doId == throwerId:
vol = 1.0

View file

@ -56,9 +56,9 @@ class DistributedLaserField(BattleBlocker.BattleBlocker):
self.gridGame = 'some game'
self.gridGameText = ' '
self.activeLF = 1
self.successSound = loader.loadSfx('phase_11/audio/sfx/LB_capacitor_discharge_3.mp3')
self.successSound = loader.loadSfx('phase_11/audio/sfx/LB_capacitor_discharge_3.ogg')
self.successTrack = Parallel(SoundInterval(self.successSound, node=self, volume=0.8))
self.failSound = loader.loadSfx('phase_11/audio/sfx/LB_sparks_1.mp3')
self.failSound = loader.loadSfx('phase_11/audio/sfx/LB_sparks_1.ogg')
self.failTrack = Parallel(SoundInterval(self.failSound, node=self, volume=0.8))
return

View file

@ -36,7 +36,7 @@ class DistributedLawbotBossGavel(DistributedObject.DistributedObject, FSM.FSM):
self.name = 'gavel-%s' % self.doId
self.loadModel(self.modelPath, self.modelFindString)
self.nodePath.wrtReparentTo(render)
self.gavelSfx = loader.loadSfx('phase_11/audio/sfx/LB_gavel.mp3')
self.gavelSfx = loader.loadSfx('phase_11/audio/sfx/LB_gavel.ogg')
tempTuple = ToontownGlobals.LawbotBossGavelPosHprs[self.index]
self.nodePath.setPosHpr(*tempTuple)
self.origHpr = Point3(tempTuple[3], tempTuple[4], tempTuple[5])

View file

@ -128,10 +128,10 @@ class DistributedLawbotCannon(DistributedObject.DistributedObject):
self.cannon.reparentTo(self.nodePath)
self.kartColNode = CollisionNode(self.uniqueName('KartColNode'))
self.kartNode = self.nodePath.attachNewNode(self.kartColNode)
self.sndCannonMove = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.mp3')
self.sndCannonFire = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.mp3')
self.sndHitGround = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.mp3')
self.sndHitChair = base.loadSfx('phase_11/audio/sfx/LB_toon_jury.mp3')
self.sndCannonMove = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.ogg')
self.sndCannonFire = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.ogg')
self.sndHitGround = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.ogg')
self.sndHitChair = base.loadSfx('phase_11/audio/sfx/LB_toon_jury.ogg')
self.cannon.hide()
self.flashingLabel = None
return

View file

@ -93,11 +93,11 @@ class DistributedLawbotChair(DistributedObject.DistributedObject, FSM.FSM):
def loadSounds(self):
if self.propInSound == None:
self.propInSound = base.loadSfx('phase_5/audio/sfx/ENC_propeller_in.mp3')
self.propInSound = base.loadSfx('phase_5/audio/sfx/ENC_propeller_in.ogg')
if self.propOutSound == None:
self.propOutSound = base.loadSfx('phase_5/audio/sfx/ENC_propeller_out.mp3')
self.propOutSound = base.loadSfx('phase_5/audio/sfx/ENC_propeller_out.ogg')
if self.cogJurorSound == None:
self.cogJurorSound = base.loadSfx('phase_11/audio/sfx/LB_cog_jury.mp3')
self.cogJurorSound = base.loadSfx('phase_11/audio/sfx/LB_cog_jury.ogg')
return
def unloadSounds(self):

View file

@ -17,7 +17,7 @@ class DistributedLift(BasicEntities.DistributedNodePathEntity):
def generateInit(self):
self.notify.debug('generateInit')
BasicEntities.DistributedNodePathEntity.generateInit(self)
self.moveSnd = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_elevator_up_down.mp3')
self.moveSnd = base.loadSfx('phase_9/audio/sfx/CHQ_FACT_elevator_up_down.ogg')
self.fsm = ClassicFSM.ClassicFSM('DistributedLift', [State.State('off', self.enterOff, self.exitOff, ['moving']), State.State('moving', self.enterMoving, self.exitMoving, ['waiting']), State.State('waiting', self.enterWaiting, self.exitWaiting, ['moving'])], 'off', 'off')
self.fsm.enterInitialState()

View file

@ -111,11 +111,11 @@ class DistributedMoleField(DistributedNodePathEntity, MoleFieldBase.MoleFieldBas
self.numMoles = len(self.moleHills)
self.centerNode = self.attachNewNode('center')
self.centerCenterNode()
self.soundBomb = base.loadSfx('phase_12/audio/sfx/Mole_Surprise.mp3')
self.soundBomb2 = base.loadSfx('phase_3.5/audio/dial/AV_pig_howl.mp3')
self.soundCog = base.loadSfx('phase_12/audio/sfx/Mole_Stomp.mp3')
self.soundUp = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.mp3')
self.soundDown = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.mp3')
self.soundBomb = base.loadSfx('phase_12/audio/sfx/Mole_Surprise.ogg')
self.soundBomb2 = base.loadSfx('phase_3.5/audio/dial/AV_pig_howl.ogg')
self.soundCog = base.loadSfx('phase_12/audio/sfx/Mole_Stomp.ogg')
self.soundUp = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.ogg')
self.soundDown = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.ogg')
upInterval = SoundInterval(self.soundUp, loop=0)
downInterval = SoundInterval(self.soundDown, loop=0)
self.soundIUpDown = Sequence(upInterval, downInterval)

View file

@ -83,15 +83,15 @@ class DistributedSecurityCamera(BasicEntities.DistributedNodePathEntity):
self.Alert['Green'] = 0.0
self.Alert['Blue'] = 0.0
self.Alert['Alpha'] = 1.0
self.attackSound = loader.loadSfx('phase_9/audio/sfx/CHQ_GOON_tractor_beam_alarmed.mp3')
self.onSound = loader.loadSfx('phase_11/audio/sfx/LB_camera_shutter_2.mp3')
self.attackSound = loader.loadSfx('phase_9/audio/sfx/CHQ_GOON_tractor_beam_alarmed.ogg')
self.onSound = loader.loadSfx('phase_11/audio/sfx/LB_camera_shutter_2.ogg')
self.attackTrack = Parallel(SoundInterval(self.attackSound, node=self, volume=0.8), SoundInterval(self.onSound, node=self, volume=0.8))
self.moveStartSound = loader.loadSfx('phase_11/audio/sfx/LB_laser_beam_on_2.mp3')
self.moveStartSound = loader.loadSfx('phase_11/audio/sfx/LB_laser_beam_on_2.ogg')
self.moveStartTrack = Parallel(SoundInterval(self.moveStartSound, node=self, volume=0.4))
self.moveLoopSound = loader.loadSfx('phase_11/audio/sfx/LB_laser_beam_hum_2.mp3')
self.moveLoopSound = loader.loadSfx('phase_11/audio/sfx/LB_laser_beam_hum_2.ogg')
self.moveLoopSound.setLoop()
self.moveLoopTrack = Parallel(SoundInterval(self.moveLoopSound, node=self, volume=0.4))
self.moveStopSound = loader.loadSfx('phase_11/audio/sfx/LB_laser_beam_off_2.mp3')
self.moveStopSound = loader.loadSfx('phase_11/audio/sfx/LB_laser_beam_off_2.ogg')
self.moveStopTrack = Parallel(SoundInterval(self.moveStopSound, node=self, volume=0.4))
self.taskName = None
return

View file

@ -12,7 +12,7 @@ from toontown.toonbase import ToontownGlobals
class DistributedStomper(DistributedCrusherEntity.DistributedCrusherEntity):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedStomper')
stomperSounds = ['phase_4/audio/sfx/CHQ_FACT_stomper_small.mp3', 'phase_9/audio/sfx/CHQ_FACT_stomper_med.mp3', 'phase_9/audio/sfx/CHQ_FACT_stomper_large.mp3']
stomperSounds = ['phase_4/audio/sfx/CHQ_FACT_stomper_small.ogg', 'phase_9/audio/sfx/CHQ_FACT_stomper_med.mp3', 'phase_9/audio/sfx/CHQ_FACT_stomper_large.mp3']
stomperModels = ['phase_9/models/cogHQ/square_stomper']
def __init__(self, cr):

View file

@ -894,7 +894,7 @@ GlobalEntities = {1000: {'type': 'levelMgr',
'hpr': Vec3(0, 0, 0),
'scale': 1,
'enabled': 1,
'soundPath': 'phase_9/audio/sfx/CHQ_FACT_whistling_wind.mp3',
'soundPath': 'phase_9/audio/sfx/CHQ_FACT_whistling_wind.ogg',
'volume': 1},
10016: {'type': 'ambientSound',
'name': 'sndConveyorBelt',
@ -904,7 +904,7 @@ GlobalEntities = {1000: {'type': 'levelMgr',
'hpr': Vec3(0, 0, 0),
'scale': 1,
'enabled': 1,
'soundPath': 'phase_9/audio/sfx/CHQ_FACT_conveyor_belt.mp3',
'soundPath': 'phase_9/audio/sfx/CHQ_FACT_conveyor_belt.ogg',
'volume': 0.5},
10053: {'type': 'ambientSound',
'name': 'eastWind',
@ -914,7 +914,7 @@ GlobalEntities = {1000: {'type': 'levelMgr',
'hpr': Vec3(0, 0, 0),
'scale': 1,
'enabled': 1,
'soundPath': 'phase_9/audio/sfx/CHQ_FACT_whistling_wind.mp3',
'soundPath': 'phase_9/audio/sfx/CHQ_FACT_whistling_wind.ogg',
'volume': 1},
10055: {'type': 'ambientSound',
'name': 'sndGears',
@ -924,7 +924,7 @@ GlobalEntities = {1000: {'type': 'levelMgr',
'hpr': Vec3(0, 0, 0),
'scale': 1,
'enabled': 1,
'soundPath': 'phase_9/audio/sfx/CHQ_FACT_gears_turning.mp3',
'soundPath': 'phase_9/audio/sfx/CHQ_FACT_gears_turning.ogg',
'volume': 1},
10031: {'type': 'battleBlocker',
'name': '<unnamed>',

View file

@ -4,8 +4,8 @@ from direct.showbase import PythonUtil
from toontown.battle.BattleProps import globalPropPool
from direct.directnotify import DirectNotifyGlobal
SFX = PythonUtil.Enum('poof, magic')
SFXPATHS = {SFX.poof: 'phase_4/audio/sfx/firework_distance_02.mp3',
SFX.magic: 'phase_4/audio/sfx/SZ_DD_treasure.mp3'}
SFXPATHS = {SFX.poof: 'phase_4/audio/sfx/firework_distance_02.ogg',
SFX.magic: 'phase_4/audio/sfx/SZ_DD_treasure.ogg'}
class DustCloud(NodePath):
dustCloudCount = 0

View file

@ -21,13 +21,13 @@ from toontown.effects.SkullBurst import SkullBurst
from toontown.effects.SkullFlash import SkullFlash
from toontown.effects.TrailExplosion import TrailExplosion
from toontown.effects.IceCream import IceCream
trailSfxNames = ['phase_4/audio/sfx/firework_whistle_01.mp3', 'phase_4/audio/sfx/firework_whistle_02.mp3']
burstSfxNames = ['phase_4/audio/sfx/firework_explosion_01.mp3',
'phase_4/audio/sfx/firework_explosion_02.mp3',
'phase_4/audio/sfx/firework_explosion_03.mp3',
'phase_4/audio/sfx/firework_distance_01.mp3',
'phase_4/audio/sfx/firework_distance_02.mp3',
'phase_4/audio/sfx/firework_distance_03.mp3']
trailSfxNames = ['phase_4/audio/sfx/firework_whistle_01.ogg', 'phase_4/audio/sfx/firework_whistle_02.mp3']
burstSfxNames = ['phase_4/audio/sfx/firework_explosion_01.ogg',
'phase_4/audio/sfx/firework_explosion_02.ogg',
'phase_4/audio/sfx/firework_explosion_03.ogg',
'phase_4/audio/sfx/firework_distance_01.ogg',
'phase_4/audio/sfx/firework_distance_02.ogg',
'phase_4/audio/sfx/firework_distance_03.ogg']
class FireworkEffect(NodePath):

View file

@ -85,7 +85,7 @@ def shootFireworkRing(x, y, z, color1, color2, amp):
f.addParticles(p0)
f.setPos(x, y, z)
f.setHpr(0, random.random() * 180, random.random() * 180)
sfx = loader.loadSfx('phase_4/audio/sfx/firework_distance_03.mp3')
sfx = loader.loadSfx('phase_4/audio/sfx/firework_distance_03.ogg')
t = Sequence(Func(f.start, render, render), Func(sfx.play), Wait(0.5), Func(p0.setBirthRate, 3), Wait(1.5), Func(f.cleanup), name=getNextSequenceName('shootFireworkRing'))
t.start()
@ -124,14 +124,14 @@ def shootFireworkRocket(x, y, z, color1, color2, amp):
gravityForceGroup.addForce(force0)
f.addForceGroup(gravityForceGroup)
f.setPos(x, y, z)
sfxName = random.choice(('phase_4/audio/sfx/firework_whistle_01.mp3', 'phase_4/audio/sfx/firework_whistle_02.mp3'))
sfxName = random.choice(('phase_4/audio/sfx/firework_whistle_01.ogg', 'phase_4/audio/sfx/firework_whistle_02.mp3'))
sfx = loader.loadSfx(sfxName)
t = Sequence(Func(f.start, render, render), Func(sfx.play), LerpPosInterval(f, 2.0, Vec3(x, y, z + 20 * amp), blendType='easeInOut'), Func(p0.setBirthRate, 3), Wait(0.5), Func(f.cleanup), name=getNextSequenceName('shootFirework'))
t.start()
def shootPop(x, y, z, color1, color2, amp):
sfxName = random.choice(('phase_4/audio/sfx/firework_distance_01.mp3', 'phase_4/audio/sfx/firework_distance_02.mp3', 'phase_4/audio/sfx/firework_distance_03.mp3'))
sfxName = random.choice(('phase_4/audio/sfx/firework_distance_01.ogg', 'phase_4/audio/sfx/firework_distance_02.mp3', 'phase_4/audio/sfx/firework_distance_03.mp3'))
sfx = loader.loadSfx(sfxName)
t = Sequence(Func(sfx.play), Wait(3), name=getNextSequenceName('shootFireworkRocket'))
t.start()
@ -180,7 +180,7 @@ def shootFireworkCircleGeneric(x, y, z, color1, color2, amp, poolSize):
circleForceGroup.addForce(force1)
f.addForceGroup(circleForceGroup)
f.setPos(x, y, z)
sfxName = random.choice(('phase_4/audio/sfx/firework_explosion_01.mp3', 'phase_4/audio/sfx/firework_explosion_02.mp3', 'phase_4/audio/sfx/firework_explosion_03.mp3'))
sfxName = random.choice(('phase_4/audio/sfx/firework_explosion_01.ogg', 'phase_4/audio/sfx/firework_explosion_02.mp3', 'phase_4/audio/sfx/firework_explosion_03.mp3'))
sfx = loader.loadSfx(sfxName)
t = Sequence(Func(f.start, render, render), Func(sfx.play), Wait(0.5), Func(p0.setBirthRate, 3), Wait(0.5), Func(p0.renderer.setCenterColor, color2), Func(p0.renderer.setEdgeColor, color2), Wait(1.5), Func(f.cleanup), name=getNextSequenceName('shootFireworkCircle'))
t.start()
@ -220,7 +220,7 @@ def shootFireworkCircleSprite(x, y, z, color, texture, amp):
circleForceGroup.addForce(force1)
f.addForceGroup(circleForceGroup)
f.setPos(x, y, z)
sfxName = random.choice(('phase_4/audio/sfx/firework_explosion_01.mp3', 'phase_4/audio/sfx/firework_explosion_02.mp3', 'phase_4/audio/sfx/firework_explosion_03.mp3'))
sfxName = random.choice(('phase_4/audio/sfx/firework_explosion_01.ogg', 'phase_4/audio/sfx/firework_explosion_02.mp3', 'phase_4/audio/sfx/firework_explosion_03.mp3'))
sfx = loader.loadSfx(sfxName)
t = Sequence(Func(f.start, render, render), Func(sfx.play), Wait(0.5), Func(p0.setBirthRate, 3), Wait(2.0), Func(f.cleanup), name=getNextSequenceName('shootFireworkSprite'))
t.start()

View file

@ -290,14 +290,14 @@ class DistributedCannon(DistributedObject.DistributedObject):
self.splash = Splash.Splash(render)
self.dustCloud = DustCloud.DustCloud(render)
self.dustCloud.setBillboardPointEye()
self.sndCannonMove = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.mp3')
self.sndCannonFire = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.mp3')
self.sndHitGround = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.mp3')
self.sndHitTower = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_tower.mp3')
self.sndHitWater = base.loadSfx('phase_4/audio/sfx/MG_cannon_splash.mp3')
self.sndWhizz = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.mp3')
self.sndWin = base.loadSfx('phase_4/audio/sfx/MG_win.mp3')
self.sndHitHouse = base.loadSfx('phase_5/audio/sfx/AA_drop_sandbag.mp3')
self.sndCannonMove = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.ogg')
self.sndCannonFire = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.ogg')
self.sndHitGround = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.ogg')
self.sndHitTower = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_tower.ogg')
self.sndHitWater = base.loadSfx('phase_4/audio/sfx/MG_cannon_splash.ogg')
self.sndWhizz = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.ogg')
self.sndWin = base.loadSfx('phase_4/audio/sfx/MG_win.ogg')
self.sndHitHouse = base.loadSfx('phase_5/audio/sfx/AA_drop_sandbag.ogg')
self.collSphere = CollisionSphere(0, 0, 0, self.getSphereRadius())
self.collSphere.setTangible(1)
self.collNode = CollisionNode(self.uniqueName('CannonSphere'))

View file

@ -331,7 +331,7 @@ class DistributedGardenPlot(DistributedLawnDecor.DistributedLawnDecor):
self.movie.start()
def generatePlaceItemTrack(self, toon, item):
sound = loader.loadSfx('phase_5.5/audio/sfx/burrow.mp3')
sound = loader.loadSfx('phase_5.5/audio/sfx/burrow.ogg')
sound.setPlayRate(0.5)
placeItemTrack = Parallel()
placeItemTrack.append(Sequence(ActorInterval(toon, 'start-dig'), Parallel(ActorInterval(toon, 'loop-dig', loop=1, duration=5.13), Sequence(Wait(0.25), SoundInterval(sound, node=toon, duration=0.55), Wait(0.8), SoundInterval(sound, node=toon, duration=0.55), Wait(1.35), SoundInterval(sound, node=toon, duration=0.55))), ActorInterval(toon, 'start-dig', playRate=-1), Func(toon.loop, 'neutral'), Func(toon.detachShovel)))

View file

@ -340,7 +340,7 @@ class DistributedLawnDecor(DistributedNode.DistributedNode, NodePath, ShadowCast
self.movie.start()
def generateDigupTrack(self, toon):
sound = loader.loadSfx('phase_5.5/audio/sfx/burrow.mp3')
sound = loader.loadSfx('phase_5.5/audio/sfx/burrow.ogg')
sound.setPlayRate(0.5)
pos = self.model.getPos()
pos.setZ(pos[2] - 1)

View file

@ -170,9 +170,9 @@ class DistributedMailbox(DistributedObject.DistributedObject):
return
elif mode == MailboxGlobals.MAILBOX_MOVIE_EXIT:
if random.random() < 0.5:
sfx = base.loadSfx('phase_5.5/audio/sfx/mailbox_close_1.mp3')
sfx = base.loadSfx('phase_5.5/audio/sfx/mailbox_close_1.ogg')
else:
sfx = base.loadSfx('phase_5.5/audio/sfx/mailbox_close_2.mp3')
sfx = base.loadSfx('phase_5.5/audio/sfx/mailbox_close_2.ogg')
sfxTrack = SoundInterval(sfx, node=self.model)
sfxTrack.start()
DistributedMailbox.notify.debug('setMovie: exit')
@ -190,9 +190,9 @@ class DistributedMailbox(DistributedObject.DistributedObject):
elif mode == MailboxGlobals.MAILBOX_MOVIE_READY:
DistributedMailbox.notify.debug('setMovie: ready')
if random.random() < 0.5:
sfx = base.loadSfx('phase_5.5/audio/sfx/mailbox_open_1.mp3')
sfx = base.loadSfx('phase_5.5/audio/sfx/mailbox_open_1.ogg')
else:
sfx = base.loadSfx('phase_5.5/audio/sfx/mailbox_open_2.mp3')
sfx = base.loadSfx('phase_5.5/audio/sfx/mailbox_open_2.ogg')
sfxTrack = SoundInterval(sfx, node=self.model)
sfxTrack.start()
if isLocalToon:

View file

@ -96,10 +96,10 @@ class DistributedPhone(DistributedFurnitureItem.DistributedFurnitureItem):
mount = loader.loadModel('phase_5.5/models/estate/phoneMount-mod')
mount.setTransparency(0, 1)
self.model.reparentTo(mount)
self.ringSfx = loader.loadSfx('phase_3.5/audio/sfx/telephone_ring.mp3')
self.handleSfx = loader.loadSfx('phase_5.5/audio/sfx/telephone_handle2.mp3')
self.hangUpSfx = loader.loadSfx('phase_5.5/audio/sfx/telephone_hang_up.mp3')
self.pickUpSfx = loader.loadSfx('phase_5.5/audio/sfx/telephone_pickup1.mp3')
self.ringSfx = loader.loadSfx('phase_3.5/audio/sfx/telephone_ring.ogg')
self.handleSfx = loader.loadSfx('phase_5.5/audio/sfx/telephone_handle2.ogg')
self.hangUpSfx = loader.loadSfx('phase_5.5/audio/sfx/telephone_hang_up.ogg')
self.pickUpSfx = loader.loadSfx('phase_5.5/audio/sfx/telephone_pickup1.ogg')
if self.initialScale:
mount.setScale(*self.initialScale)
self.usedInitialScale = 1

View file

@ -195,7 +195,7 @@ class DistributedPlantBase(DistributedLawnDecor.DistributedLawnDecor):
self.waterTrackDict[avId] = track
def generateWaterTrack(self, toon):
sound = loader.loadSfx('phase_5/audio/sfx/firehose_spray.mp3')
sound = loader.loadSfx('phase_5/audio/sfx/firehose_spray.ogg')
sound.setPlayRate(0.75)
waterTrack = Parallel()
waterTrack.append(Sequence(Parallel(ActorInterval(toon, 'water'), SoundInterval(sound, node=toon, volume=0.5)), Func(toon.loop, 'neutral')))

View file

@ -51,7 +51,7 @@ class DistributedTarget(DistributedObject.DistributedObject):
self.geom.setPos(0, 0, 40)
self.geom.setScale(3)
self.geom.stash()
self.hitSound = base.loadSfx('phase_4/audio/sfx/MG_Tag_A.mp3')
self.hitSound = base.loadSfx('phase_4/audio/sfx/MG_Tag_A.ogg')
self.rewardSound = base.loadSfx('phase_4/audio/sfx/MG_pos_buzzer.wav')
self.scoreText = TextNode('scoreText')
self.scoreText.setTextColor(1, 0, 0, 1)

View file

@ -48,11 +48,11 @@ class EstateLoader(SafeZoneLoader.SafeZoneLoader):
def load(self):
SafeZoneLoader.SafeZoneLoader.load(self)
self.music = base.loadMusic('phase_4/audio/bgm/TC_nbrhood.ogg')
self.underwaterSound = base.loadSfx('phase_4/audio/sfx/AV_ambient_water.mp3')
self.swimSound = base.loadSfx('phase_4/audio/sfx/AV_swim_single_stroke.mp3')
self.submergeSound = base.loadSfx('phase_5.5/audio/sfx/AV_jump_in_water.mp3')
self.birdSound = map(base.loadSfx, ['phase_4/audio/sfx/SZ_TC_bird1.mp3', 'phase_4/audio/sfx/SZ_TC_bird2.mp3', 'phase_4/audio/sfx/SZ_TC_bird3.mp3'])
self.cricketSound = map(base.loadSfx, ['phase_4/audio/sfx/SZ_TC_bird1.mp3', 'phase_4/audio/sfx/SZ_TC_bird2.mp3', 'phase_4/audio/sfx/SZ_TC_bird3.mp3'])
self.underwaterSound = base.loadSfx('phase_4/audio/sfx/AV_ambient_water.ogg')
self.swimSound = base.loadSfx('phase_4/audio/sfx/AV_swim_single_stroke.ogg')
self.submergeSound = base.loadSfx('phase_5.5/audio/sfx/AV_jump_in_water.ogg')
self.birdSound = map(base.loadSfx, ['phase_4/audio/sfx/SZ_TC_bird1.ogg', 'phase_4/audio/sfx/SZ_TC_bird2.mp3', 'phase_4/audio/sfx/SZ_TC_bird3.mp3'])
self.cricketSound = map(base.loadSfx, ['phase_4/audio/sfx/SZ_TC_bird1.ogg', 'phase_4/audio/sfx/SZ_TC_bird2.mp3', 'phase_4/audio/sfx/SZ_TC_bird3.mp3'])
if base.goonsEnabled:
invModel = loader.loadModel('phase_3.5/models/gui/inventory_icons')
self.invModels = []

View file

@ -56,79 +56,79 @@ RodRarityFactor = {0: 1.0 / (GlobalRarityDialBase * 1),
3: 1.0 / (GlobalRarityDialBase * 0.9),
4: 1.0 / (GlobalRarityDialBase * 0.85)}
MaxRodId = 4
FishAudioFileDict = {-1: ('Clownfish.mp3',
FishAudioFileDict = {-1: ('Clownfish.ogg',
1,
1.5,
1.0),
0: ('BalloonFish.mp3',
0: ('BalloonFish.ogg',
1,
0,
1.23),
2: ('CatFish.mp3',
2: ('CatFish.ogg',
1,
0,
1.26),
4: ('Clownfish.mp3',
4: ('Clownfish.ogg',
1,
1.5,
1.0),
6: ('Frozen_Fish.mp3',
6: ('Frozen_Fish.ogg',
1,
0,
1.0),
8: ('Starfish.mp3',
8: ('Starfish.ogg',
0,
0,
1.25),
10: ('Holy_Mackerel.mp3',
10: ('Holy_Mackerel.ogg',
1,
0.9,
1.0),
12: ('Dog_Fish.mp3',
12: ('Dog_Fish.ogg',
1,
0,
1.25),
14: ('AmoreEel.mp3',
14: ('AmoreEel.ogg',
1,
0,
1.0),
16: ('Nurse_Shark.mp3',
16: ('Nurse_Shark.ogg',
0,
0,
1.0),
18: ('King_Crab.mp3',
18: ('King_Crab.ogg',
0,
0,
1.0),
20: ('Moon_Fish.mp3',
20: ('Moon_Fish.ogg',
0,
1.0,
1.0),
22: ('Seahorse.mp3',
22: ('Seahorse.ogg',
1,
0,
1.26),
24: ('Pool_Shark.mp3',
24: ('Pool_Shark.ogg',
1,
2.0,
1.0),
26: ('Bear_Acuda.mp3',
26: ('Bear_Acuda.ogg',
1,
0,
1.0),
28: ('CutThroatTrout.mp3',
28: ('CutThroatTrout.ogg',
1,
0,
1.0),
30: ('Piano_Tuna.mp3',
30: ('Piano_Tuna.ogg',
0,
0,
1.0),
32: ('PBJ_Fish.mp3',
32: ('PBJ_Fish.ogg',
1,
0,
1.25),
34: ('DevilRay.mp3',
34: ('DevilRay.ogg',
0,
0,
1.0)}

View file

@ -302,24 +302,24 @@ class DistributedGolfHole(DistributedPhysicsWorld.DistributedPhysicsWorld, FSM,
self.hardSurfaceNodePath.flattenStrong()
def loadSounds(self):
self.hitBallSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Hit_Ball.mp3')
self.holeInOneSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Hole_In_One.mp3')
self.holeInTwoPlusSfx = loader.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_fall.mp3')
self.hitBallSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Hit_Ball.ogg')
self.holeInOneSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Hole_In_One.ogg')
self.holeInTwoPlusSfx = loader.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_fall.ogg')
self.ballGoesInStartSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Ball_Goes_In_Start.wav')
self.ballGoesInLoopSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Ball_Goes_In_Loop.wav')
self.ballGoesToRestSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Ball_Rest_In_Cup.mp3')
self.kickedOutSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Sad_Noise_Kicked_Off_Hole.mp3')
self.ballGoesToRestSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Ball_Rest_In_Cup.ogg')
self.kickedOutSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Sad_Noise_Kicked_Off_Hole.ogg')
self.crowdBuildupSfx = []
self.crowdApplauseSfx = []
self.crowdMissSfx = []
for i in xrange(4):
self.crowdBuildupSfx.append(loader.loadSfx('phase_6/audio/sfx/Golf_Crowd_Buildup.mp3'))
self.crowdApplauseSfx.append(loader.loadSfx('phase_6/audio/sfx/Golf_Crowd_Applause.mp3'))
self.crowdMissSfx.append(loader.loadSfx('phase_6/audio/sfx/Golf_Crowd_Miss.mp3'))
self.crowdBuildupSfx.append(loader.loadSfx('phase_6/audio/sfx/Golf_Crowd_Buildup.ogg'))
self.crowdApplauseSfx.append(loader.loadSfx('phase_6/audio/sfx/Golf_Crowd_Applause.ogg'))
self.crowdMissSfx.append(loader.loadSfx('phase_6/audio/sfx/Golf_Crowd_Miss.ogg'))
self.bumpHardSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Hit_Barrier_3.mp3')
self.bumpMoverSfx = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_2.mp3')
self.bumpWindmillSfx = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_1.mp3')
self.bumpHardSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Hit_Barrier_3.ogg')
self.bumpMoverSfx = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_2.ogg')
self.bumpWindmillSfx = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_1.ogg')
def setup(self):
self.notify.debug('setup golf hole')

View file

@ -78,7 +78,7 @@ class DistributedPhysicsWorld(DistributedObject.DistributedObject, PhysicsWorldB
odeBody = pair[1]
if odeBody == box:
self.notify.debug('nodePath = %s' % pandaNodePathGeom)
moverSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Moving_Barrier.mp3')
moverSfx = loader.loadSfx('phase_6/audio/sfx/Golf_Moving_Barrier.ogg')
moverSoundInterval = SoundInterval(moverSfx, node=pandaNodePathGeom, listenerNode=base.camera, seamlessLoop=True, volume=0.5)
moverSoundInterval.start()
self.physicsSfxDict[index] = (moverSfx, moverSoundInterval, index)

View file

@ -186,7 +186,7 @@ class GolfRewardDialog:
self.trophy.hide()
self.rankLabel['text'] = text
if len(self.avIdList) > 1:
self.victory = base.loadSfx('phase_6/audio/sfx/KART_Applause_%d.mp3' % self.myPlace)
self.victory = base.loadSfx('phase_6/audio/sfx/KART_Applause_%d.ogg' % self.myPlace)
self.victory.play()
for avId in self.avIdList:

View file

@ -16,7 +16,7 @@ class FishAnimatedProp(AnimatedProp.AnimatedProp):
node.clearMat()
self.fish.loadAnims({'jump': 'phase_4/models/props/SZ_fish-jump',
'swim': 'phase_4/models/props/SZ_fish-swim'})
self.splashSfxList = (loader.loadSfx('phase_4/audio/sfx/TT_splash1.mp3'), loader.loadSfx('phase_4/audio/sfx/TT_splash2.mp3'))
self.splashSfxList = (loader.loadSfx('phase_4/audio/sfx/TT_splash1.ogg'), loader.loadSfx('phase_4/audio/sfx/TT_splash2.mp3'))
self.node = self.fish
self.geom = self.fish.getGeomNode()
self.exitRipples = Ripples(self.geom)

View file

@ -107,7 +107,7 @@ class GenericAnimatedProp(AnimatedProp.AnimatedProp):
if origAnimName in self.AnimsUsingWav:
theSound = loader.loadSfx(fullPath + '.wav')
else:
theSound = loader.loadSfx(fullPath + '.mp3')
theSound = loader.loadSfx(fullPath + '.ogg')
self.origAnimNameToSound[origAnimName] = theSound
if theSound:
soundDur = theSound.length()

View file

@ -11,7 +11,7 @@ class MailboxOneAnimatedProp(ZeroAnimatedProp.ZeroAnimatedProp):
3: ('tt_a_ara_dod_mailbox_firstMoveFlagSpin3', 8 * PauseTimeMult),
4: ('tt_a_ara_dod_mailbox_firstMoveJumpSummersault', 6 * PauseTimeMult),
5: ('tt_a_ara_dod_mailbox_firstMoveJumpFall', 4 * PauseTimeMult),
6: ('tt_a_ara_dod_mailbox_firstMoveJump3Summersaults', 2 * PauseTimeMult)}
6: ('tt_a_ara_dod_mailbox_firstMoveJ.oggSummersaults', 2 * PauseTimeMult)}
PhaseWeStartAnimating = 3
def __init__(self, node):

View file

@ -11,7 +11,7 @@ class MailboxTwoAnimatedProp(ZeroAnimatedProp.ZeroAnimatedProp):
3: ('tt_a_ara_dod_mailbox_firstMoveFlagSpin3', 8 * PauseTimeMult),
4: ('tt_a_ara_dod_mailbox_firstMoveJumpSummersault', 6 * PauseTimeMult),
5: ('tt_a_ara_dod_mailbox_firstMoveJumpFall', 4 * PauseTimeMult),
6: ('tt_a_ara_dod_mailbox_firstMoveJump3Summersaults', 2 * PauseTimeMult)}
6: ('tt_a_ara_dod_mailbox_firstMoveJ.oggSummersaults', 2 * PauseTimeMult)}
PhaseWeStartAnimating = 5
def __init__(self, node):

View file

@ -11,7 +11,7 @@ class MailboxZeroAnimatedProp(ZeroAnimatedProp.ZeroAnimatedProp):
3: ('tt_a_ara_dod_mailbox_firstMoveFlagSpin3', 8 * PauseTimeMult),
4: ('tt_a_ara_dod_mailbox_firstMoveJumpSummersault', 6 * PauseTimeMult),
5: ('tt_a_ara_dod_mailbox_firstMoveJumpFall', 4 * PauseTimeMult),
6: ('tt_a_ara_dod_mailbox_firstMoveJump3Summersaults', 2 * PauseTimeMult)}
6: ('tt_a_ara_dod_mailbox_firstMoveJ.oggSummersaults', 2 * PauseTimeMult)}
def __init__(self, node):
ZeroAnimatedProp.ZeroAnimatedProp.__init__(self, node, 'mailbox', self.PhaseInfo, ToontownGlobals.MAILBOX_ZERO_HOLIDAY)

View file

@ -254,13 +254,13 @@ class MakeAToon(StateData.StateData):
self.music = base.loadMusic('phase_3/audio/bgm/create_a_toon.ogg')
self.musicVolume = base.config.GetFloat('makeatoon-music-volume', 1)
self.sfxVolume = base.config.GetFloat('makeatoon-sfx-volume', 1)
self.soundBack = base.loadSfx('phase_3/audio/sfx/GUI_create_toon_back.mp3')
self.soundBack = base.loadSfx('phase_3/audio/sfx/GUI_create_toon_back.ogg')
self.crashSounds = []
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_boing.mp3'))
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_glassBoing.mp3'))
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_wood.mp3'))
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_woodBoing.mp3'))
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_woodGlass.mp3'))
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_boing.ogg'))
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_glassBoing.ogg'))
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_wood.ogg'))
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_woodBoing.ogg'))
self.crashSounds.append(base.loadSfx('phase_3/audio/sfx/tt_s_ara_mat_crash_woodGlass.ogg'))
return
def unload(self):

View file

@ -51,7 +51,7 @@ class CogThief(DirectObject):
self.maxAcceleration = 5.0
self.perceptionRange = 6
self.notify.debug('cogSpeed=%s' % self.cogSpeed)
self.kaboomSound = loader.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.mp3')
self.kaboomSound = loader.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.ogg')
self.kaboom = loader.loadModel('phase_4/models/minigames/ice_game_kaboom')
self.kaboom.setScale(2.0)
self.kaboom.setBillboardPointEye()
@ -61,7 +61,7 @@ class CogThief(DirectObject):
self.splat = globalPropPool.getProp(splatName)
self.splat.setBillboardPointEye()
self.splatType = globalPropPool.getPropType(splatName)
self.pieHitSound = globalBattleSoundCache.getSound('AA_wholepie_only.mp3')
self.pieHitSound = globalBattleSoundCache.getSound('AA_wholepie_only.ogg')
return
def destroy(self):

View file

@ -112,14 +112,14 @@ class DistributedCannonGame(DistributedMinigame):
self.rewardPanel = DirectLabel(parent=hidden, relief=None, pos=(1.16, 0.0, 0.45), scale=0.65, text='', text_scale=0.2, text_fg=(0.95, 0.95, 0, 1), text_pos=(0, -.13), text_font=ToontownGlobals.getSignFont(), image=self.jarImage)
self.rewardPanelTitle = DirectLabel(parent=self.rewardPanel, relief=None, pos=(0, 0, 0.06), scale=0.08, text=TTLocalizer.CannonGameReward, text_fg=(0.95, 0.95, 0, 1), text_shadow=(0, 0, 0, 1))
self.music = base.loadMusic('phase_4/audio/bgm/MG_cannon_game.ogg')
self.sndCannonMove = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.mp3')
self.sndCannonFire = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.mp3')
self.sndHitGround = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.mp3')
self.sndHitTower = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_tower.mp3')
self.sndHitWater = base.loadSfx('phase_4/audio/sfx/MG_cannon_splash.mp3')
self.sndWhizz = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.mp3')
self.sndWin = base.loadSfx('phase_4/audio/sfx/MG_win.mp3')
self.sndRewardTick = base.loadSfx('phase_3.5/audio/sfx/tick_counter.mp3')
self.sndCannonMove = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.ogg')
self.sndCannonFire = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.ogg')
self.sndHitGround = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.ogg')
self.sndHitTower = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_tower.ogg')
self.sndHitWater = base.loadSfx('phase_4/audio/sfx/MG_cannon_splash.ogg')
self.sndWhizz = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.ogg')
self.sndWin = base.loadSfx('phase_4/audio/sfx/MG_win.ogg')
self.sndRewardTick = base.loadSfx('phase_3.5/audio/sfx/tick_counter.ogg')
guiModel = 'phase_4/models/gui/cannon_game_gui'
cannonGui = loader.loadModel(guiModel)
self.aimPad = DirectFrame(image=cannonGui.find('**/CannonFire_PAD'), relief=None, pos=(0.7, 0, -0.553333), scale=0.8)

View file

@ -96,10 +96,10 @@ class DistributedCatchGame(DistributedMinigame):
model.flattenMedium()
self.music = base.loadMusic('phase_4/audio/bgm/MG_toontag.ogg')
self.sndGoodCatch = base.loadSfx('phase_4/audio/sfx/SZ_DD_treasure.mp3')
self.sndOof = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.mp3')
self.sndAnvilLand = base.loadSfx('phase_4/audio/sfx/AA_drop_anvil_miss.mp3')
self.sndPerfect = base.loadSfx('phase_4/audio/sfx/ring_perfect.mp3')
self.sndGoodCatch = base.loadSfx('phase_4/audio/sfx/SZ_DD_treasure.ogg')
self.sndOof = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.ogg')
self.sndAnvilLand = base.loadSfx('phase_4/audio/sfx/AA_drop_anvil_miss.ogg')
self.sndPerfect = base.loadSfx('phase_4/audio/sfx/ring_perfect.ogg')
self.toonSDs = {}
avId = self.localAvId
toonSD = CatchGameToonSD.CatchGameToonSD(avId, self)

View file

@ -120,9 +120,9 @@ class DistributedCogThiefGame(DistributedMinigame):
self.loadCogs()
self.toonHitTracks = {}
self.toonPieTracks = {}
self.sndOof = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.mp3')
self.sndRewardTick = base.loadSfx('phase_3.5/audio/sfx/tick_counter.mp3')
self.sndPerfect = base.loadSfx('phase_4/audio/sfx/ring_perfect.mp3')
self.sndOof = base.loadSfx('phase_4/audio/sfx/MG_cannon_hit_dirt.ogg')
self.sndRewardTick = base.loadSfx('phase_3.5/audio/sfx/tick_counter.ogg')
self.sndPerfect = base.loadSfx('phase_4/audio/sfx/ring_perfect.ogg')
self.timer = ToontownTimer.ToontownTimer()
self.timer.posInTopRightCorner()
self.timer.hide()
@ -187,8 +187,8 @@ class DistributedCogThiefGame(DistributedMinigame):
self.sndTable = {'hitBySuit': [None] * self.numPlayers,
'falling': [None] * self.numPlayers}
for i in xrange(self.numPlayers):
self.sndTable['hitBySuit'][i] = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.mp3')
self.sndTable['falling'][i] = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.mp3')
self.sndTable['hitBySuit'][i] = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.ogg')
self.sndTable['falling'][i] = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.ogg')
base.playMusic(self.music, looping=1, volume=0.8)
self.introTrack = self.getIntroTrack()
@ -702,7 +702,7 @@ class DistributedCogThiefGame(DistributedMinigame):
animPie = Sequence()
if pieType == 'actor':
animPie = ActorInterval(pie, pieName, startFrame=48)
sound = loader.loadSfx('phase_3.5/audio/sfx/AA_pie_throw_only.mp3')
sound = loader.loadSfx('phase_3.5/audio/sfx/AA_pie_throw_only.ogg')
t = power / 100.0
dist = 100 - 70 * t
time = 1 + 0.5 * t

View file

@ -70,7 +70,7 @@ class DistributedDivingGame(DistributedMinigame):
DistributedMinigame.load(self)
loadBase = 'phase_4/models/minigames/'
loadBaseShip = 'phase_5/models/props/'
self.sndAmbience = base.loadSfx('phase_4/audio/sfx/AV_ambient_water.mp3')
self.sndAmbience = base.loadSfx('phase_4/audio/sfx/AV_ambient_water.ogg')
self.environModel = loader.loadModel(loadBase + 'diving_game.bam')
self.boatModel = self.environModel.find('**/boat')
self.skyModel = self.environModel.find('**/sky')
@ -104,18 +104,18 @@ class DistributedDivingGame(DistributedMinigame):
toonSD = DivingGameToonSD.DivingGameToonSD(avId, self)
self.toonSDs[avId] = toonSD
toonSD.load()
crabSoundName = 'King_Crab.mp3'
crabSoundName = 'King_Crab.ogg'
crabSoundPath = 'phase_4/audio/sfx/%s' % crabSoundName
self.crabSound = loader.loadSfx(crabSoundPath)
treasureSoundName = 'SZ_DD_treasure.mp3'
treasureSoundName = 'SZ_DD_treasure.ogg'
treasureSoundPath = 'phase_4/audio/sfx/%s' % treasureSoundName
self.treasureSound = loader.loadSfx(treasureSoundPath)
hitSoundName = 'diving_game_hit.mp3'
hitSoundName = 'diving_game_hit.ogg'
hitSoundPath = 'phase_4/audio/sfx/%s' % hitSoundName
self.hitSound = loader.loadSfx(hitSoundPath)
self.music = base.loadMusic('phase_4/audio/bgm/MG_Target.ogg')
self.addSound('dropGold', 'diving_treasure_drop_off.mp3', 'phase_4/audio/sfx/')
self.addSound('getGold', 'diving_treasure_pick_up.mp3', 'phase_4/audio/sfx/')
self.addSound('dropGold', 'diving_treasure_drop_off.ogg', 'phase_4/audio/sfx/')
self.addSound('getGold', 'diving_treasure_pick_up.ogg', 'phase_4/audio/sfx/')
self.swimSound = loader.loadSfx('phase_4/audio/sfx/diving_swim_loop.wav')
self.swimSound.setVolume(0.0)
self.swimSound.setPlayRate(1.0)
@ -711,17 +711,17 @@ class DistributedDivingGame(DistributedMinigame):
fish = self.spawners[spawnerId].fishArray[spawnId]
endX = self.spawners[spawnerId].position.getX()
if fish.name == 'clown':
fishSoundName = 'Clownfish.mp3'
fishSoundName = 'Clownfish.ogg'
elif fish.name == 'pbj':
fishSoundName = 'PBJ_Fish.mp3'
fishSoundName = 'PBJ_Fish.ogg'
elif fish.name == 'balloon':
fishSoundName = 'BalloonFish.mp3'
fishSoundName = 'BalloonFish.ogg'
elif fish.name == 'bear':
fishSoundName = 'Bear_Acuda.mp3'
fishSoundName = 'Bear_Acuda.ogg'
elif fish.name == 'nurse':
fishSoundName = 'Nurse_Shark.mp3'
fishSoundName = 'Nurse_Shark.ogg'
elif fish.name == 'piano':
fishSoundName = 'Piano_Tuna.mp3'
fishSoundName = 'Piano_Tuna.ogg'
else:
fishSoundName = ' '
fishSoundPath = 'phase_4/audio/sfx/%s' % fishSoundName

View file

@ -167,22 +167,22 @@ class DistributedIceGame(DistributedMinigame.DistributedMinigame, DistributedIce
self.obstacles.append(newObstacle)
index += 1
self.countSound = loader.loadSfx('phase_3.5/audio/sfx/tick_counter.mp3')
self.treasureGrabSound = loader.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_bananas.mp3')
self.penaltyGrabSound = loader.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.mp3')
self.countSound = loader.loadSfx('phase_3.5/audio/sfx/tick_counter.ogg')
self.treasureGrabSound = loader.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_bananas.ogg')
self.penaltyGrabSound = loader.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.ogg')
self.tireSounds = []
for tireIndex in xrange(4):
tireHit = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_1.mp3')
wallHit = loader.loadSfx('phase_4/audio/sfx/MG_maze_pickup.mp3')
obstacleHit = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_2.mp3')
tireHit = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_1.ogg')
wallHit = loader.loadSfx('phase_4/audio/sfx/MG_maze_pickup.ogg')
obstacleHit = loader.loadSfx('phase_4/audio/sfx/Golf_Hit_Barrier_2.ogg')
self.tireSounds.append({'tireHit': tireHit,
'wallHit': wallHit,
'obstacleHit': obstacleHit})
self.arrowRotateSound = loader.loadSfx('phase_4/audio/sfx/MG_sfx_ice_force_rotate.wav')
self.arrowUpSound = loader.loadSfx('phase_4/audio/sfx/MG_sfx_ice_force_increase_3sec.mp3')
self.arrowDownSound = loader.loadSfx('phase_4/audio/sfx/MG_sfx_ice_force_decrease_3sec.mp3')
self.scoreCircleSound = loader.loadSfx('phase_4/audio/sfx/MG_sfx_ice_scoring_1.mp3')
self.arrowUpSound = loader.loadSfx('phase_4/audio/sfx/MG_sfx_ice_force_increase_3sec.ogg')
self.arrowDownSound = loader.loadSfx('phase_4/audio/sfx/MG_sfx_ice_force_decrease_3sec.ogg')
self.scoreCircleSound = loader.loadSfx('phase_4/audio/sfx/MG_sfx_ice_scoring_1.ogg')
def unload(self):
self.notify.debug('unload')

View file

@ -579,12 +579,12 @@ class DistributedMazeGame(DistributedMinigame):
self.sndTable = {'hitBySuit': [None] * self.numPlayers,
'falling': [None] * self.numPlayers}
for i in xrange(self.numPlayers):
self.sndTable['hitBySuit'][i] = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.mp3')
self.sndTable['falling'][i] = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.mp3')
self.sndTable['hitBySuit'][i] = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.ogg')
self.sndTable['falling'][i] = base.loadSfx('phase_4/audio/sfx/MG_cannon_whizz.ogg')
self.grabSounds = []
for i in xrange(5):
self.grabSounds.append(base.loadSfx('phase_4/audio/sfx/MG_maze_pickup.mp3'))
self.grabSounds.append(base.loadSfx('phase_4/audio/sfx/MG_maze_pickup.ogg'))
self.grabSoundIndex = 0
for avId in self.avIdList:

View file

@ -117,16 +117,16 @@ class DistributedPairingGame(DistributedMinigame):
self.__textGen = TextNode('ringGame')
self.__textGen.setFont(ToontownGlobals.getSignFont())
self.__textGen.setAlign(TextNode.ACenter)
self.sndPerfect = base.loadSfx('phase_4/audio/sfx/MG_pairing_all_matched.mp3')
self.sndPerfect = base.loadSfx('phase_4/audio/sfx/MG_pairing_all_matched.ogg')
self.calcBonusTraversal()
self.music = base.loadMusic('phase_4/audio/bgm/MG_Pairing.ogg')
self.matchSfx = base.loadSfx('phase_4/audio/sfx/MG_pairing_match.mp3')
self.matchWithBonusSfx = base.loadSfx('phase_4/audio/sfx/MG_pairing_match_bonus_both.mp3')
self.matchSfx = base.loadSfx('phase_4/audio/sfx/MG_pairing_match.ogg')
self.matchWithBonusSfx = base.loadSfx('phase_4/audio/sfx/MG_pairing_match_bonus_both.ogg')
self.signalSfx = []
for i in range(4):
self.signalSfx.append(base.loadSfx('phase_4/audio/sfx/MG_pairing_jumping_signal.mp3'))
self.signalSfx.append(base.loadSfx('phase_4/audio/sfx/MG_pairing_jumping_signal.ogg'))
self.bonusMovesSfx = base.loadSfx('phase_4/audio/sfx/MG_pairing_bonus_moves.mp3')
self.bonusMovesSfx = base.loadSfx('phase_4/audio/sfx/MG_pairing_bonus_moves.ogg')
return
def unload(self):

View file

@ -19,10 +19,10 @@ from toontown.toonbase import TTLocalizer
class DistributedPatternGame(DistributedMinigame):
phase4snd = 'phase_4/audio/sfx/'
ButtonSoundNames = (phase4snd + 'm_match_trumpet.mp3',
phase4snd + 'm_match_guitar.mp3',
phase4snd + 'm_match_drums.mp3',
phase4snd + 'm_match_piano.mp3')
ButtonSoundNames = (phase4snd + 'm_match_trumpet.ogg',
phase4snd + 'm_match_guitar.ogg',
phase4snd + 'm_match_drums.ogg',
phase4snd + 'm_match_piano.ogg')
bgm = 'phase_4/audio/bgm/m_match_bg1.ogg'
strWatch = TTLocalizer.PatternGameWatch
strGo = TTLocalizer.PatternGameGo
@ -89,8 +89,8 @@ class DistributedPatternGame(DistributedMinigame):
self.correctSound = base.loadSfx('phase_4/audio/sfx/MG_pos_buzzer.wav')
self.incorrectSound = base.loadSfx('phase_4/audio/sfx/MG_neg_buzzer.wav')
self.perfectSound = base.loadSfx('phase_4/audio/sfx/MG_win.mp3')
self.fallSound = base.loadSfx('phase_4/audio/sfx/MG_Tag_A.mp3')
self.perfectSound = base.loadSfx('phase_4/audio/sfx/MG_win.ogg')
self.fallSound = base.loadSfx('phase_4/audio/sfx/MG_Tag_A.ogg')
self.music = base.loadMusic(self.bgm)
self.waitingText = DirectLabel(text=self.strPleaseWait, text_fg=(0.9, 0.9, 0.9, 1.0), frameColor=(1, 1, 1, 0), text_font=ToontownGlobals.getSignFont(), pos=(0, 0, -.78), scale=0.12)
self.roundText = DirectLabel(text=self.strRound % 1, text_fg=self.normalTextColor, frameColor=(1, 1, 1, 0), text_font=ToontownGlobals.getSignFont(), pos=(0.014, 0, -.84), scale=0.12)

View file

@ -133,10 +133,10 @@ class DistributedPhotoGame(DistributedMinigame, PhotoGameBase.PhotoGameBase):
self.filmPanel = DirectLabel(parent=hidden, relief=None, pos=(1.16, 0.0, 0.45), scale=0.65, text=str(self.filmCount), text_scale=0.2, text_fg=(0.95, 0.95, 0, 1), text_pos=(0.08, -0.15), text_font=ToontownGlobals.getSignFont(), image=self.filmImage, image_scale=Point3(1.0, 0.0, 0.85))
self.filmPanelTitle = DirectLabel(parent=self.filmPanel, relief=None, pos=(0.08, 0, 0.04), scale=0.08, text=TTLocalizer.PhotoGameFilm, text_fg=(0.95, 0.95, 0, 1), text_shadow=(0, 0, 0, 1))
self.music = base.loadMusic('phase_4/audio/bgm/MG_cannon_game.ogg')
self.sndPhotoMove = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.mp3')
self.sndPhotoFire = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.mp3')
self.sndWin = base.loadSfx('phase_4/audio/sfx/MG_win.mp3')
self.sndFilmTick = base.loadSfx('phase_4/audio/sfx/Photo_instamatic.mp3')
self.sndPhotoMove = base.loadSfx('phase_4/audio/sfx/MG_cannon_adjust.ogg')
self.sndPhotoFire = base.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.ogg')
self.sndWin = base.loadSfx('phase_4/audio/sfx/MG_win.ogg')
self.sndFilmTick = base.loadSfx('phase_4/audio/sfx/Photo_instamatic.ogg')
self.timer = ToontownTimer.ToontownTimer()
self.timer.posInTopRightCorner()
self.timer.hide()
@ -160,8 +160,8 @@ class DistributedPhotoGame(DistributedMinigame, PhotoGameBase.PhotoGameBase):
self.blackoutNode.setDepthTest(1)
self.blackoutNode.hide()
self.subjectToon = Toon.Toon()
self.addSound('zoom', 'Photo_zoom.mp3', 'phase_4/audio/sfx/')
self.addSound('snap', 'Photo_shutter.mp3', 'phase_4/audio/sfx/')
self.addSound('zoom', 'Photo_zoom.ogg', 'phase_4/audio/sfx/')
self.addSound('snap', 'Photo_shutter.ogg', 'phase_4/audio/sfx/')
return
def __setupCapture(self):

View file

@ -302,8 +302,8 @@ class DistributedRaceGame(DistributedMinigame):
self.music = base.loadMusic('phase_4/audio/bgm/minigame_race.ogg')
self.posBuzzer = base.loadSfx('phase_4/audio/sfx/MG_pos_buzzer.wav')
self.negBuzzer = base.loadSfx('phase_4/audio/sfx/MG_neg_buzzer.wav')
self.winSting = base.loadSfx('phase_4/audio/sfx/MG_win.mp3')
self.loseSting = base.loadSfx('phase_4/audio/sfx/MG_lose.mp3')
self.winSting = base.loadSfx('phase_4/audio/sfx/MG_win.ogg')
self.loseSting = base.loadSfx('phase_4/audio/sfx/MG_lose.ogg')
self.diceButtonList = []
for i in range(1, 5):
button = self.dice.find('**/dice_button' + str(i))
@ -322,7 +322,7 @@ class DistributedRaceGame(DistributedMinigame):
self.chanceCard = loader.loadModel('phase_4/models/minigames/chance_card')
self.chanceCardText = OnscreenText('', fg=(1.0, 0, 0, 1), scale=0.14, font=ToontownGlobals.getSignFont(), wordwrap=14, pos=(0.0, 0.2), mayChange=1)
self.chanceCardText.hide()
self.cardSound = base.loadSfx('phase_3.5/audio/sfx/GUI_stickerbook_turn.mp3')
self.cardSound = base.loadSfx('phase_3.5/audio/sfx/GUI_stickerbook_turn.ogg')
self.chanceMarkers = []
return

View file

@ -81,8 +81,8 @@ class DistributedRingGame(DistributedMinigame):
DistributedMinigame.load(self)
self.defineConstants()
self.music = base.loadMusic('phase_4/audio/bgm/MG_toontag.ogg')
self.sndAmbience = base.loadSfx('phase_4/audio/sfx/AV_ambient_water.mp3')
self.sndPerfect = base.loadSfx('phase_4/audio/sfx/ring_perfect.mp3')
self.sndAmbience = base.loadSfx('phase_4/audio/sfx/AV_ambient_water.ogg')
self.sndPerfect = base.loadSfx('phase_4/audio/sfx/ring_perfect.ogg')
loadBase = 'phase_4/models/minigames/'
self.environModel = loader.loadModel(loadBase + 'swimming_game.bam')
self.environModel.setPos(0, self.ENVIRON_LENGTH / 2.0, self.SEA_FLOOR_Z)
@ -166,8 +166,8 @@ class DistributedRingGame(DistributedMinigame):
self.sndTable = {'gotRing': [None] * self.numPlayers,
'missedRing': [None] * self.numPlayers}
for i in range(0, self.numPlayers):
self.sndTable['gotRing'][i] = base.loadSfx('phase_4/audio/sfx/ring_get.mp3')
self.sndTable['missedRing'][i] = base.loadSfx('phase_4/audio/sfx/ring_miss.mp3')
self.sndTable['gotRing'][i] = base.loadSfx('phase_4/audio/sfx/ring_get.ogg')
self.sndTable['missedRing'][i] = base.loadSfx('phase_4/audio/sfx/ring_miss.ogg')
self.__addToonDropShadow(self.getAvatar(self.localAvId))
self.__spawnUpdateEnvironTask()

View file

@ -51,7 +51,7 @@ class DistributedTagGame(DistributedMinigame):
self.sky = loader.loadModel('phase_3.5/models/props/TT_sky')
self.ground = loader.loadModel('phase_4/models/minigames/tag_arena')
self.music = base.loadMusic('phase_4/audio/bgm/MG_toontag.ogg')
self.tagSfx = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.mp3')
self.tagSfx = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.ogg')
self.itPointer = loader.loadModel('phase_4/models/minigames/bboard-pointer')
self.tracks = []
self.IT = None

View file

@ -5,7 +5,7 @@ class DistributedTagTreasure(DistributedTreasure.DistributedTreasure):
def __init__(self, cr):
DistributedTreasure.DistributedTreasure.__init__(self, cr)
self.modelPath = 'phase_4/models/props/icecream'
self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.mp3'
self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.ogg'
self.accept('minigameOffstage', self.handleMinigameOffstage)
def handleEnterSphere(self, collEntry):

View file

@ -360,20 +360,20 @@ class DistributedTargetGame(DistributedMinigame):
self.umbrella.instanceTo(hand)
self.remoteUmbrellas = {}
self.addSound('wind1', 'target_cloud.mp3', 'phase_4/audio/sfx/')
self.addSound('trampoline', 'target_trampoline_2.mp3', 'phase_4/audio/sfx/')
self.addSound('launch', 'target_launch.mp3', 'phase_4/audio/sfx/')
self.addSound('miss', 'target_Lose.mp3', 'phase_4/audio/sfx/')
self.addSound('score', 'target_happydance.mp3', 'phase_4/audio/sfx/')
self.addSound('impact', 'target_impact_grunt1.mp3', 'phase_4/audio/sfx/')
self.addSound('umbrella', 'target_chute.mp3', 'phase_4/audio/sfx/')
self.addSound('bounce', 'target_impact_only.mp3', 'phase_4/audio/sfx/')
self.addSound('wind1', 'target_cloud.ogg', 'phase_4/audio/sfx/')
self.addSound('trampoline', 'target_trampoline_2.ogg', 'phase_4/audio/sfx/')
self.addSound('launch', 'target_launch.ogg', 'phase_4/audio/sfx/')
self.addSound('miss', 'target_Lose.ogg', 'phase_4/audio/sfx/')
self.addSound('score', 'target_happydance.ogg', 'phase_4/audio/sfx/')
self.addSound('impact', 'target_impact_grunt1.ogg', 'phase_4/audio/sfx/')
self.addSound('umbrella', 'target_chute.ogg', 'phase_4/audio/sfx/')
self.addSound('bounce', 'target_impact_only.ogg', 'phase_4/audio/sfx/')
self.flySound = loader.loadSfx('phase_4/audio/sfx/target_wind_fly_loop.wav')
self.flySound.setVolume(0.0)
self.flySound.setPlayRate(1.0)
self.flySound.setLoop(True)
self.flySound.play()
self.rubberSound = loader.loadSfx('phase_4/audio/sfx/target_stretching_aim_loop.mp3')
self.rubberSound = loader.loadSfx('phase_4/audio/sfx/target_stretching_aim_loop.ogg')
self.rubberSound.setVolume(0.0)
self.rubberSound.setPlayRate(1.0)
self.rubberSound.setLoop(True)

View file

@ -109,12 +109,12 @@ class DistributedTravelGame(DistributedMinigame):
self.minigameLabels = []
self.minigameIcons = []
self.bonusLabels = []
self.trolleyAwaySfx = base.loadSfx('phase_4/audio/sfx/SZ_trolley_away.mp3')
self.trolleyBellSfx = base.loadSfx('phase_4/audio/sfx/SZ_trolley_bell.mp3')
self.turntableRotateSfx = base.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_turntble_rotate_2.mp3')
self.wonGameSfx = base.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_bonus.mp3')
self.lostGameSfx = base.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_no_bonus_2.mp3')
self.noWinnerSfx = base.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_no_bonus.mp3')
self.trolleyAwaySfx = base.loadSfx('phase_4/audio/sfx/SZ_trolley_away.ogg')
self.trolleyBellSfx = base.loadSfx('phase_4/audio/sfx/SZ_trolley_bell.ogg')
self.turntableRotateSfx = base.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_turntble_rotate_2.ogg')
self.wonGameSfx = base.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_bonus.ogg')
self.lostGameSfx = base.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_no_bonus_2.ogg')
self.noWinnerSfx = base.loadSfx('phase_4/audio/sfx/MG_sfx_travel_game_no_bonus.ogg')
self.boardIndex = 0
self.avNames = []
self.disconnectedAvIds = []

View file

@ -123,8 +123,8 @@ class DistributedTugOfWarGame(DistributedMinigame):
self.sky = loader.loadModel('phase_3.5/models/props/TT_sky')
self.dropShadow = loader.loadModel('phase_3/models/props/drop_shadow')
self.correctSound = base.loadSfx('phase_4/audio/sfx/MG_pos_buzzer.wav')
self.sndHitWater = base.loadSfx('phase_4/audio/sfx/MG_cannon_splash.mp3')
self.whistleSound = base.loadSfx('phase_4/audio/sfx/AA_sound_whistle.mp3')
self.sndHitWater = base.loadSfx('phase_4/audio/sfx/MG_cannon_splash.ogg')
self.whistleSound = base.loadSfx('phase_4/audio/sfx/AA_sound_whistle.ogg')
self.music = base.loadMusic(self.bgm)
self.roundText = DirectLabel(text=' ', text_fg=(0, 1, 0, 1), frameColor=(1, 1, 1, 0), text_font=ToontownGlobals.getSignFont(), pos=(0.014, 0, -.84), scale=0.2)
self.powerMeter = MinigamePowerMeter.MinigamePowerMeter(17)

View file

@ -107,14 +107,14 @@ class DistributedVineGame(DistributedMinigame):
self.gameBoard.hide(VineGameGlobals.RadarCameraBitmask)
self.treasureModel = self.gameAssets.find('**/bananas')
self.setupVineCourse()
self.grabSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_bananas.mp3')
self.jumpSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_jump.mp3')
self.catchSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_catch.mp3')
self.spiderHitSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_spider_hit.mp3')
self.batHitVineSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_bat_hit.mp3')
self.batHitMidairSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_bat_hit_midair.mp3')
self.winSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_finish.mp3')
self.fallSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_fall.mp3')
self.grabSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_bananas.ogg')
self.jumpSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_jump.ogg')
self.catchSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_catch.ogg')
self.spiderHitSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_spider_hit.ogg')
self.batHitVineSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_bat_hit.ogg')
self.batHitMidairSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_bat_hit_midair.ogg')
self.winSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_finish.ogg')
self.fallSound = base.loadSfx('phase_4/audio/sfx/MG_sfx_vine_game_fall.ogg')
self.loadBats()
self.createBatIvals()
bothPlatform = loader.loadModel('phase_4/models/minigames/vine_game_shelf')

View file

@ -85,7 +85,7 @@ class DivingFishSpawn(DirectObject):
fish.loop('anim')
fish.setScale(1.4)
cSphere = CollisionSphere(0, 0, 0, 1)
fishSoundName = 'Piano_Tuna.mp3'
fishSoundName = 'Piano_Tuna.ogg'
if self.direction is -1:
fish.setH(0)
else:

View file

@ -36,7 +36,7 @@ class IceTreasure(DirectObject):
sparks = BattleParticles.createParticleEffect(file='icetnt')
self.sparksEffect = sparks
sparks.start(self.tip)
self.penaltyGrabSound = loader.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.mp3')
self.penaltyGrabSound = loader.loadSfx('phase_4/audio/sfx/MG_cannon_fire_alt.ogg')
self.penaltyGrabSound.setVolume(0.75)
kaboomAttachPoint = self.nodePath.attachNewNode('kaboomAttach')
kaboomAttachPoint.setZ(3)

View file

@ -59,8 +59,8 @@ class PairingGameCard(PlayingCardNodePath):
self.setR(0)
self.setScale(2.5)
self.flipIval = None
self.turnUpSound = base.loadSfx('phase_4/audio/sfx/MG_pairing_card_flip_face_up.mp3')
self.turnDownSound = base.loadSfx('phase_4/audio/sfx/MG_pairing_card_flip_face_down.mp3')
self.turnUpSound = base.loadSfx('phase_4/audio/sfx/MG_pairing_card_flip_face_up.ogg')
self.turnDownSound = base.loadSfx('phase_4/audio/sfx/MG_pairing_card_flip_face_down.ogg')
return
def unload(self):

View file

@ -143,9 +143,9 @@ class Purchase(PurchaseBase):
self.convertingVotesToBeansLabel.hide()
self.rewardDoubledJellybeanLabel = DirectLabel(text=TTLocalizer.PartyRewardDoubledJellybean, text_fg=(1.0, 0.125, 0.125, 1.0), text_shadow=(0, 0, 0, 1), relief=None, pos=(0.0, 0, -0.67), scale=0.08)
self.rewardDoubledJellybeanLabel.hide()
self.countSound = base.loadSfx('phase_3.5/audio/sfx/tick_counter.mp3')
self.overMaxSound = base.loadSfx('phase_3.5/audio/sfx/AV_collision.mp3')
self.celebrateSound = base.loadSfx('phase_4/audio/sfx/MG_win.mp3')
self.countSound = base.loadSfx('phase_3.5/audio/sfx/tick_counter.ogg')
self.overMaxSound = base.loadSfx('phase_3.5/audio/sfx/AV_collision.ogg')
self.celebrateSound = base.loadSfx('phase_4/audio/sfx/MG_win.ogg')
return
def unload(self):

Some files were not shown because too many files have changed in this diff Show more