Author Topic: BP Sounds Tutorial  (Read 1992 times)

Offline Kirk

  • Posts: 1438
  • Cookies: 139
    • My Released Mods
BP Sounds Tutorial
« on: June 23, 2008, 03:55:39 PM »
Is there a BP Sounds tutorial? I've downloaded a few bridges from BCF and their custom sounds aren't working properly and I would like them work.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: BP Sounds Tutorial
« Reply #1 on: June 23, 2008, 05:15:48 PM »
What exactly (or rather, on what bridges) do you want to know, it's not that hard, in fact, BPSounds is basicly the sound version of the texture features of BPCore.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Kirk

  • Posts: 1438
  • Cookies: 139
    • My Released Mods
Re: BP Sounds Tutorial
« Reply #2 on: June 23, 2008, 05:31:40 PM »
Well, here's one. It has it's pwn sounds included, they just don't work.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: BP Sounds Tutorial
« Reply #3 on: June 23, 2008, 05:41:14 PM »
No it doesn't use BPCore, let alone BPSounds:

Code: [Select]
Foundation.BridgeDef('Artemis', 'ArtemisBridge', dict = {
'modes': [ Foundation.MutatorDef.Stock ],
'locations': {
'AmbHelm': [ 'data/animations/Amb_stand_h_m.nif', 'Amb_stand_h_m' ],
'AmbTactical': [ 'data/animations/Amb_stand_t_l.nif', 'Amb_stand_t_l' ],
'AmbCommander': [ 'data/animations/Amb_stand_c_m.nif', 'Amb_stand_c_m' ],
'AmbScience': [ 'data/animations/Amb_stand_S_S.nif', 'Amb_stand_s_s' ],
'AmbEngineer': [ 'data/animations/Amb_stand_e_s.nif', 'Amb_stand_e_s' ],
'AmbGuest': [ 'data/animations/Amb_stand_X_m.nif', 'Amb_stand_X_m' ],
}
} )
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Kirk

  • Posts: 1438
  • Cookies: 139
    • My Released Mods
Re: BP Sounds Tutorial
« Reply #4 on: June 23, 2008, 05:54:05 PM »
That's what I'd like to do, enable the use of BP Sounds with this bridge.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: BP Sounds Tutorial
« Reply #5 on: June 23, 2008, 05:56:34 PM »
Ah, I got the impression you thought it already did this.



Well, I suggest you look at the other, existing, bridge plugins that use this, for example, "Galaxy Bridge Advanced.py" and "Sovereign Bridge Advanced.py" both are included (I believe) in the default BPCore package. And you will find them under scripts/Custom/Autoload/
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Kirk

  • Posts: 1438
  • Cookies: 139
    • My Released Mods
Re: BP Sounds Tutorial
« Reply #6 on: June 23, 2008, 06:09:31 PM »
Ah, now I see.
Code: [Select]
"bridgeSound": {
"LiftDoor": {"volume": 1.0,"file": "sfx/dbridge/dbdoor.wav", "group": "BridgeGeneric"},
"AmbBridge": {"volume": 0.3,"file": "sfx/dbridge/dbamb.wav", "group": "BridgeGeneric"},
"RedAlertSound": {"volume": 1.0,"file": "sfx/dbridge/dbklaxton.wav", "group": "BridgeGeneric"},
"GreenAlertSound": {"volume": 1.0,"file": "sfx/dbridge/dbgreen.wav", "group": "BridgeGeneric"},
"ViewOn": {"volume": 1.0,"file": "sfx/dbridge/dbviewscreenon.wav", "group": "BridgeGeneric"},
"ViewOff": {"volume": 1.0,"file": "sfx/dbridge/dbviewscreenoff.wav", "group": "BridgeGeneric"}
},
The first value (ex, "LiftDoor") is the one being changed to the file specified (ex, "sfx/dbridge/dbdoor.wav")

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: BP Sounds Tutorial
« Reply #7 on: June 24, 2008, 03:10:08 AM »
Yeah.

Before these are applied, the normal bridge sounds, that are applied to every bridge, are added, and then these are applied over those.


I must tell you that the volume and the group have default values of respectively 1.0 and "BridgeGeneric". ;)
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.