Sounds...

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Re: Sounds...

Postby boblishman » Sun May 18, 2008 12:35 pm

Andy.... not sure if this makes a difference but my button are soundfx, not soundFX ...and mine work with the waveset plugin ...
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Sounds...

Postby andylegate » Sun May 18, 2008 12:46 pm

I can try that (and have on some of the ALCscript for Camp Bravo). But the Plugin doesn't care about the case, or rather it looks to see what was there. At least that's what they python file on sound classes looks to me.

In any case, I'll try changing SoundFX to soundfx, but I don't think it will mater.

I just did a complete reinstall of blender.......and no, still doesn't work.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Sounds...

Postby andylegate » Sun May 18, 2008 12:50 pm

Nope. No difference. I even changed the Music emitter to SoundFX and soundfx and it still works just fine.

Sorry. I have no idea why it won't work right on my machine. I'm going to look at the export log

Edit: and here it is, the export log.

I have no idea what it's saying, so I don't know if it's exporting correctly or not:

Code: Select all
Exporting C:\Program Files\Blender Foundation\Age2\Agetest.age ...
Args are e_age_final
['e', 'age', 'final']
Exporting age Agetest
[AlcScript Parser]
{'DayLength': 24.0, 'LingerTime': 180, 'MaxCapacity': 10, 'StartDateTime': 0, 'SequencePrefix': 6000}
{'AgeSDLHook': True}
[]
{'DayLength': 24.0, 'LingerTime': 180, 'MaxCapacity': 10, 'StartDateTime': 0, 'SequencePrefix': 6000}
#########################################
##
## => Exporting page Textures -1 <=
##
#########################################
#########################################
##
## => Exporting page BuiltIn -2 <=
##
#########################################
>>> Added AgeSDLHook scene object and python file mod
#########################################
##
## => Exporting page mainRoom 0 <=
##
#########################################
  [QuickScript - Simple Clickable]
Resulting Code for .logic.modifiers:
- tag: AutoClick
  cursor: poised
  flags:
    - localelement
  activators:
    - type: objectinvolume
      remote: clickreg2
      triggers:
        - any
  conditions:
    - type: activator
      activators:
        - type: picking
    - type: objectinbox
      satisfied: true
  actions:
    - type: responder
      ref: $SoundResp

Resulting Code for .logic.actions:
- type: responder
  tag: SoundResp
  responder:
    states:
      - cmds:
          - type: soundmsg
            params:
                receivers:
                  - 0011:clicksndemit
                cmds:
                  - play
                  - setvolume
                volume: 0.5
            waiton: -1
        nextstate: 0
        waittocmd: 0
    curstate: 0
    flags:
      - detecttrigger

Quickscripted clickquick
To: {'quickscript': {'simpleclick': {'soundemitter': 'clicksndemit', 'region': 'clickreg2'}}, 'logic': {'modifiers': [{'cursor': 'poised', 'tag': 'AutoClick', 'flags': ['localelement'], 'activators': [{'type': 'objectinvolume', 'remote': 'clickreg2', 'triggers': ['any']}], 'conditions': [{'activators': [{'type': 'picking'}], 'type': 'activator'}, {'type': 'objectinbox', 'satisfied': True}], 'actions': [{'type': 'responder', 'ref': '$SoundResp'}]}], 'actions': [{'tag': 'SoundResp', 'type': 'responder', 'responder': {'states': [{'waittocmd': 0, 'cmds': [{'type': 'soundmsg', 'waiton': -1, 'params': {'volume': 0.5, 'receivers': ['0011:clicksndemit'], 'cmds': ['play', 'setvolume']}}], 'nextstate': 0}], 'flags': ['detecttrigger'], 'curstate': 0}}]}, 'physical': {'pinned': True, 'physlogic': 'detect'}}


[Sound Emitter clicksndemit]
 [Coordinate Interface clicksndemit]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None

[Sound Emitter but1clicksnd]
 [Coordinate Interface but1clicksnd]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None

[Sound Emitter musicsnd]
 [Coordinate Interface musicsnd]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None

[SpawnPoint LinkInPointDefault]
 [Coordinate Interface LinkInPointDefault]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None

[Region Object clickreg2]
 Region type: unknown
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Physical]
  HullBounds export
   Exporting 8 (8) vertices
  Setting Region-Specific settings....
  Object is Dynamic
 [Coordinate Interface clickreg2]

[Visual Object clickquick]
 [LogicHelper]
   Exporting actions
   [ResponderModifier clickquick_SoundResp]
    appending message receiver: 0011:clicksndemit
    plSoundMsg: volume: 0.500000
    plSoundMsg: Set command: play
    plSoundMsg: Set command: setvolume
   Exporting modifiers
   Exporting modifiers
  [LogicModifier clickquick_AutoClick]
   Initial self.fFlags is: BitVector: []
   Got flag: localelement - 0
   self.fFlags is now: BitVector: [   1]
   Conditions:
    Found Condition clickquick_AutoClick of type: activator
    Found Activator clickquick_AutoClick of type: picking
    Found Condition clickquick_AutoClick of type: objectinbox
   Activators:
    Found Activator clickquick_AutoClick of type: objectinvolume
   Actions:
[{'type': 'responder', 'ref': '$SoundResp'}]
  Action is of type responder
Locating responder mod reference '$SoundResp'
  Appending Receiver: 00177021,0000,007C,clickquick_SoundResp
 [Draw Interface clickquick]
  [Material Material]
   [Layer Material-Tex]
    -> Using default first UV map
    [MipMap bluesky.png]
     MipMapInfo:
---------------
Imagename:bluesky.png
Resize Image: True
Make MipMaps: True
Calculate Alpha:False
MipMap Gauss:False
Mipmap AlphaMult:1.0
CompressionType: DXT
---------------

     Reading mipmap bluesky.png.tex from cache
  [DrawableSpans 00000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material
 [ShadowCaster]
 [Physical]
  HullBounds export
   Exporting 8 (8) vertices
  Mass 1.0
  No Friction, disabling frictive setting
  No Elasticity set
  Pinning object
  Camera blocking enabled
  Object is Dynamic
 [Coordinate Interface clickquick]

[Region Object doorclick]
 Region type: unknown
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Physical]
  HullBounds export
   Exporting 8 (8) vertices
  Setting Region-Specific settings....
  Object is Dynamic
 [Coordinate Interface doorclick]

[Visual Object testdoorbutton]
 [LogicHelper]
   Exporting actions
   [PythonFileMod testdoorbutton_DoorOpen]
    For python file mod testdoorbutton_DoorOpen, index 1 we're exporting value type 7, key string logicmod:$DoorOpen
    Key string boiled down to:  00177021,0000,002D,testdoorbutton_DoorOpen
   [ResponderModifier testdoorbutton_SoundResp]
    appending message receiver: 0011:but1clicksnd
    plSoundMsg: volume: 1.000000
    plSoundMsg: Set command: play
    plSoundMsg: Set command: setvolume
   Exporting modifiers
   Exporting modifiers
  [LogicModifier testdoorbutton_DoorOpen]
   Initial self.fFlags is: BitVector: []
   Got flag: localelement - 0
   self.fFlags is now: BitVector: [   1]
   Conditions:
    Found Condition testdoorbutton_DoorOpen of type: activator
    Found Activator testdoorbutton_DoorOpen of type: picking
    Found Condition testdoorbutton_DoorOpen of type: objectinbox
   Activators:
    Found Activator testdoorbutton_DoorOpen of type: objectinvolume
   Actions:
[{'type': 'responder', 'ref': '$SoundResp'}, {'type': 'pythonfile', 'ref': '$DoorOpen'}]
  Action is of type responder
Locating responder mod reference '$SoundResp'
  Appending Receiver: 00177021,0000,007C,testdoorbutton_SoundResp
  Action is of type pythonfile
Locating python file reference '$DoorOpen'
  Appending Receiver: 00177021,0000,00A2,testdoorbutton_DoorOpen
 [Draw Interface testdoorbutton]
  [Material Material.002]
   [Layer Material.002-Tex.002]
    -> Using default first UV map
    [MipMap BRASS2.jpg]
     MipMapInfo:
---------------
Imagename:BRASS2.jpg
Resize Image: True
Make MipMaps: True
Calculate Alpha:False
MipMap Gauss:False
Mipmap AlphaMult:1.0
CompressionType: DXT
---------------

     Reading mipmap BRASS2.jpg.tex from cache
  [DrawableSpans 00000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.002
 [Physical]
  HullBounds export
   Exporting 8 (8) vertices
  Mass 1.0
  No Friction, disabling frictive setting
  No Elasticity set
  Autotetecting object to logical receiver - setting settings accordingly
  Pinning object
  Camera blocking enabled
  Object is Dynamic
 [Coordinate Interface testdoorbutton]

[Visual Object Cube]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Cube]
  [Material Material.001]
   [Layer Material.001-Tex.001]
    -> Using default first UV map
    [MipMap gravelground2.png]
     MipMapInfo:
---------------
Imagename:gravelground2.png
Resize Image: True
Make MipMaps: True
Calculate Alpha:False
MipMap Gauss:False
Mipmap AlphaMult:1.0
CompressionType: DXT
---------------

     Reading mipmap gravelground2.png.tex from cache
  [DrawableSpans 00000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.001
 [Physical]
  ProxyBounds export
   Exporting 8 (8) vertices
   Exporting 6 (6) faces
  No Mass
  No Friction, disabling frictive setting
  No Elasticity set
  Camera blocking enabled
  Object is Static

[Camera Camera]
 [Coordinate Interface Camera]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
Exporting Camera Modifier Object
Calculating FOV for lens is 35 mm
 Camera Brain: fixed
Exporting CameraBrain1
Exporting CameraBrain1_Fixed

@ Saving page Textures -1
@ Saving page BuiltIn -2
@ Saving page mainRoom 0
Writing Agetest.fni
Computing Checksums...
Writing Agetest.sum
done in 0.23 seconds
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Sounds...

Postby boblishman » Sun May 18, 2008 12:55 pm

shadbuf ? ... is it off on EVERYTHING ... I mean ALL the objects?
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Sounds...

Postby boblishman » Sun May 18, 2008 1:00 pm

ok...you have a different plugin to me ... mine does NOT say that stuff about computing checksums at the end of the export ... (my nightly is dated 17-05-08) ...do you want a copy of mine ... and try that?
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Sounds...

Postby andylegate » Sun May 18, 2008 1:17 pm

Lay it on me. I've nothing to loose at this point.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Sounds...

Postby boblishman » Sun May 18, 2008 1:21 pm

pyprp_17_5_08.zip
(210.77 KiB) Downloaded 309 times


there you go ... good luck!!

(this one requires the shadbuf buttons to be OFF on all objects -or you'll come to a grinding halt) ... wavesets are working ... ;)
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Sounds...

Postby andylegate » Sun May 18, 2008 1:31 pm

Nope. No joy at all. I even transfered the Age files over to my wife's computer and used her Uru install, no joy.

Your Age, etc, they all work just fine.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Sounds...

Postby andylegate » Mon May 19, 2008 5:32 am

Just in case anyone is interested, I got this fixed.

Unfortunately it involved first completely reinstalling Uru:CC.

It also involves completely trashing Camp Bravo Night Time and all the work I spent the last two weeks doing on it. :cry:

Word of warning to ANYONE who decides to try and convert any Age with the Wizards, if that Age was build with plugin 1.0.0 or later: DO NOT DO IT!

You'll need to manually go in and change everything, with the exception of using the script for adding a new book.

Here is what happened:

The original Camp Bravo Night Time that was (yes, was) on the ULM for down load was exported using plugin somewhere between 1.0.0 and 1.2.1.
Wanting to make the place look better and use new features that are available now, I loaded it up in Blender, and ignorantly used the Wizards to convert the Age.

First symptoms of problems that I noted was that suddenly I would experience random CTD's whenever I would try and load the Age. Sometimes deleting the sav file would work, or using the ULM to move it from one book slot to another would cure this. Sometimes not.
I put up with this for the last two weeks (and was annoying as hell let me tell you, make a small change and can't link into your Age to see it), but did not notice any other problems until I got to my keypad puzzle.

The puzzle is a keypad of D'ni numbers that you have to press to gain access to the neat little office I had built. I spent several days trying to get a first person camera region to work, but failed, and decided to move on to the buttons themselves for now.
I successfully got my buttons to move back and forth while clicking on them, but noted there was no sound with them. I went over everything with a fine tooth comb and could not find a reason for this.

Later, I decided to reexport Zephyr Cove to see if it was something to do with the Nightly Build Plugin. That is when I noticed that Zephyr's clickable sounds no longer worked, nor my background music.

I then turned around and made a little test Age, nothing more than a platform and two cubes to click on: one using quickscripts and one using the long way with a python file so it would move.
Both were clickable, and the one button did move, but still no sound with them.

Tearing my hair apart, I sent my files to Boblishman, who reported that the clickable sounds worked just fine for him, meaning I was not doing anything wrong, nor was it the plugin at fault.

This morning I did a complete reinstall of Uru:CC. I put in my test Age, and suddenly my clicking sounds were working just fine in it.
I then moved over Camp Bravo Night Time, and everything went haywire! I got the CTD when trying to link into the Camp, the test Age kept getting deleted from the ULM ini file, so that you'd see the book, but pulling it out would lock up the game. And then when I did get linked into my test Age, the click sounds stopped working. :shock:

I turned around and removed Camp Bravo Night Time completely from the new Uru install. And everything went back to working normally, including my clickable sounds.

The only things that I have done with Camp Bravo Night Time over the last 2 weeks were:

Converted it with the wizards (big mistake)
Made light maps and added them as textures.
Built the secret office.
Put in the Keypad that Boblishman made for me (good one too, quite Myst looking!)
Added the ALCscript for making the buttons clickable
Wrote the python files to make the buttons move.

The only thing that I did, that I don't normally do to any of my Ages, is used the Wizards to convert the Age.

Sadly, I have to trash this new and improved Camp Bravo. I unfortunately over wrote the original Blend file. I suppose I could import the original Age files and redo everything, but frankly this has left a very bad taste in my mouth, so I'm leaving it alone, other than reposting the original files on the ULM. I'll just caulk this up as "Lessons Learned" and move back to Zephyr Cove and finish it up, then on to new Age ideas.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Sounds...

Postby Robert The Rebuilder » Mon May 19, 2008 10:35 am

Sorry to hear about losing all that work, Andy. :cry:

I've added another warning on the conversion wizards Wiki page that makes it explicit that the wizard is only for v0.5 ages. Hopefully, this will prevent anyone else from going through the same experience that you had.
Can we rebuild it? Yes, we can - here's how.

MOULagain KI# 1299

Myst Movie coming soon - spread the word!
User avatar
Robert The Rebuilder
 
Posts: 1383
Joined: Sat Sep 29, 2007 7:24 am
Location: Virginia, US

Previous

Return to Building

Who is online

Users browsing this forum: No registered users and 1 guest