Page 1 of 1

Question about SFX Types and Flags

PostPosted: Fri Jul 11, 2008 10:20 am
by Valdez
Ok people, Jamey and I now both have the same problem: our music doesn't work. I never had this problem before with this music in my age until I exported it with PyPRP v1.5.0. Did you guys change the Type names and Flag names? If so: please give me the full list of each for reference. Yes my sound is 16 bit (stereo) and it is loaded into Blender correctly, and YES the filename is correct and YES I have a .ogg file in the SFX folder of URU and YES it did play before when I exported it with v1.3 of the plugin (the 1.3 version right before 1.4 was realesed). So I think either you guys changed the flag and type names or you set it up a different way. Currently, Jamey and I have been using the type BackgroundMusic and backgroundmusic and neither are working. So please give me the FULL list of SFX flags and types.

By the way, here is my AlcScript for my soundemitter if you want to see it:

Code: Select all
Music_emit_Night:
   type: soundemit
   sound:
      flags: start | loop
      volume: 1.0
      file: Night
      type: BackgroundMusic


Thanks,
Valdez :geek:

Re: Question about SFX Types and Flags

PostPosted: Fri Jul 11, 2008 10:44 am
by boblishman
your indents are wrong ... there should be 4 spaces before "type" ...etc

recheck the wiki ... ;)

(I think 1.5.0. is a bit more "strict" than previous versions) ...

Re: Question about SFX Types and Flags

PostPosted: Fri Jul 11, 2008 12:22 pm
by Valdez
I changed all the spacing and re-exported it, but still it didn't work. I rechecked the Wiki and nothing looked different and nothing was there that could help me.

Re: Question about SFX Types and Flags

PostPosted: Fri Jul 11, 2008 12:23 pm
by andylegate
Your flags are wrong. Those flags have not been like that since before version 1.3.0

Your script should read like this:

Code: Select all
Music_emit_Night:
   type: soundemit
   sound:
      flags:
        - autostart
        - looping
      volume: 1.0
      file: Night
      type: BackgroundMusic


This is explained quite well in the Wiki, here is the link to it:

http://guildofwriters.com/wiki/Adding_Sounds_I

Re: Question about SFX Types and Flags

PostPosted: Fri Jul 11, 2008 2:45 pm
by boblishman
I did say ... check the wiki ... ;)
(sound flags changed quite a while ago)

Re: Question about SFX Types and Flags

PostPosted: Sun Jul 13, 2008 3:47 pm
by Valdez
That worked! Yay! Thanks Andy! This should also fix Jamey's problem (he had the same one I did) too. Thanks again! :D :D :D

Thanks,
Valdez :geek: