mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 03:35:12 -06:00
Added exclaim noises to cogs
This commit is contained in:
parent
6e354b5fc3
commit
db14609bb6
4 changed files with 5 additions and 10 deletions
|
@ -1125,9 +1125,6 @@ class LocalAvatar(DistributedAvatar.DistributedAvatar, DistributedSmoothNode.Dis
|
|||
def d_setParent(self, parentToken):
|
||||
DistributedSmoothNode.DistributedSmoothNode.d_setParent(self, parentToken)
|
||||
|
||||
def canChat(self):
|
||||
return 0
|
||||
|
||||
|
||||
@magicWord(category=CATEGORY_COMMUNITY_MANAGER)
|
||||
def run():
|
||||
|
|
|
@ -123,7 +123,7 @@ class ChatManager(DirectObject.DirectObject):
|
|||
|
||||
def enterMainMenu(self):
|
||||
self.checkObscurred()
|
||||
if self.localAvatar.canChat():
|
||||
if base.cr.wantTypedChat():
|
||||
if self.wantBackgroundFocus:
|
||||
self.chatInputNormal.chatEntry['backgroundFocus'] = 1
|
||||
self.acceptOnce('enterNormalChat', self.fsm.request, ['normalChat'])
|
||||
|
|
|
@ -235,12 +235,12 @@ def loadDialog(level):
|
|||
SuitDialogFiles = ['COG_VO_grunt',
|
||||
'COG_VO_murmur',
|
||||
'COG_VO_statement',
|
||||
'COG_VO_question']
|
||||
'COG_VO_question',
|
||||
'COG_VO_exclaim']
|
||||
for file in SuitDialogFiles:
|
||||
SuitDialogArray.append(base.loadSfx(loadPath + file + '.ogg'))
|
||||
|
||||
SuitDialogArray.append(SuitDialogArray[2])
|
||||
SuitDialogArray.append(SuitDialogArray[2])
|
||||
|
||||
|
||||
def loadSkelDialog():
|
||||
|
@ -252,11 +252,12 @@ def loadSkelDialog():
|
|||
murmur = loader.loadSfx('phase_5/audio/sfx/Skel_COG_VO_murmur.ogg')
|
||||
statement = loader.loadSfx('phase_5/audio/sfx/Skel_COG_VO_statement.ogg')
|
||||
question = loader.loadSfx('phase_5/audio/sfx/Skel_COG_VO_question.ogg')
|
||||
exclaim = loader.loadSfx('phase_5/audio/sfx/Skel_COG_VO_exclaim.ogg')
|
||||
SkelSuitDialogArray = [grunt,
|
||||
murmur,
|
||||
statement,
|
||||
question,
|
||||
statement,
|
||||
exclaim,
|
||||
statement]
|
||||
|
||||
|
||||
|
|
|
@ -428,9 +428,6 @@ class LocalToon(DistributedToon.DistributedToon, LocalAvatar.LocalAvatar):
|
|||
def isLocal(self):
|
||||
return 1
|
||||
|
||||
def canChat(self):
|
||||
return 1
|
||||
|
||||
def startChat(self):
|
||||
if self.tutorialAck:
|
||||
self.notify.info('calling LocalAvatar.startchat')
|
||||
|
|
Loading…
Reference in a new issue