Author Topic: Changing a ships warps sounds  (Read 5721 times)

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: Changing a ships warps sounds
« Reply #20 on: June 02, 2009, 03:41:43 PM »
what is the console report saying?

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Changing a ships warps sounds
« Reply #21 on: June 02, 2009, 03:48:09 PM »
You will have to post the console report.
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 baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #22 on: June 02, 2009, 03:52:56 PM »
Code: [Select]
Outdated Foundation, updating functions
Outdated Foundation, installing FolderManager
Foundation Tech loaded
Gravity FX has been loaded.
BridgeFX Enabled...
CameraFX Enabled...
ExplosionFX Enabled...
SpecialFX Enabled...
WarpFX Enabled...
DS9FX Initializing...
AttributeError: PreLoadAssets
Setting Stock System Planets Random Density.
Traceback (innermost last):
  File ".\Scripts\Custom\Autoload\000-Fixes20030305-FoundationTriggers.py", line 25, in __call__
    i(pObject, pEvent)
  File ".\Scripts\Custom\Autoload\LoadEngineeringExtension.py", line 240, in __call__
    LoadQBautostart.ImportQBautostart()
  File ".\Scripts\Custom\Autoload\LoadEngineeringExtension.py", line 163, in ImportQBautostart
    pModule = __import__(dotPrefix + fileName)
  File ".\Scripts\Custom\QBautostart\AIShuttleLaunching.py", line 3, in ?
    import ftb.ShipManager
  File ".\Scripts\ftb\ShipManager.py", line 96, in ?
    LoadExtraPlugins()
  File ".\Scripts\ftb\ShipManager.py", line 92, in LoadExtraPlugins
    pModule = __import__(dotPrefix + pluginFile)
  File ".\Scripts\Custom\Carriers\EnterpriseNCC1701.py", line 34, in ?
    ShipManager.RegisterShipClass( "jjenterprise", jjenterprise)
NameError: jjenterprise
Traceback (innermost last):
  File ".\Scripts\Custom\Autoload\LoadTech.py", line 20, in __call__
    techfunc.ImportTechs()
  File ".\Scripts\techfunc.py", line 26, in ImportTechs
    pModule.Setup()
  File ".\Scripts\Custom\Tech\ShipLaunch.py", line 13, in Setup
    ftb.LaunchShipHandlers.MissionStart()
  File ".\Scripts\ftb\LaunchShipHandlers.py", line 198, in MissionStart
    AddLaunchButtons(ftb.GUIUtils.GetScienceMenu())
  File ".\Scripts\ftb\LaunchShipHandlers.py", line 229, in AddLaunchButtons
    pCarrier = ftb.ShipManager.GetShip(pLaunchShip)
AttributeError: ShipManager
DS9FX: Kobayashi Maru is Installed. Deleting DS9FX Docking Function!
DS9FX: You're not currently running a QB Mission. DS9 Set cannot be reached by Warp!
GravityFX has been deactivated.
Whatever knocks us back, can only make us stronger.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Changing a ships warps sounds
« Reply #23 on: June 02, 2009, 04:00:42 PM »
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 baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #24 on: June 02, 2009, 04:27:55 PM »
I've check all in the first thread and cannot open the second and still not working.

I've just deleted all the old reports and restarted, I'm not even getting a report now?

Can someone try to create the baztmprace on their install so it works and post them here so I can edit them to work with my bcrfit?
Whatever knocks us back, can only make us stronger.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Changing a ships warps sounds
« Reply #25 on: June 02, 2009, 06:28:25 PM »
Please remove scripts/Custom/Carriers/EnterpriseNCC1701.py and it's pyc counterpart (and upload the py here), afterwards, you should be able to continue past this error.
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 baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #26 on: June 03, 2009, 04:32:15 AM »
Removed buy carrier files and reloaded my BCrefit files and still BSOD.

It is not getting far enough to generate a console report.

Again I remove BCrefit.py from custom/ships and the game works again
Whatever knocks us back, can only make us stronger.

Offline baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #27 on: June 03, 2009, 04:16:14 PM »
ok I've had the file tested by someone else and it BSOD on him too?

Any ideas?
Whatever knocks us back, can only make us stronger.

Offline Kirk

  • Posts: 1438
  • Cookies: 139
    • My Released Mods
Re: Changing a ships warps sounds
« Reply #28 on: June 03, 2009, 04:30:33 PM »
Without a console report (even a "clean" one) it will difficult, or even impossible, to tell.
Quote from: MLeo
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...

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Changing a ships warps sounds
« Reply #29 on: June 03, 2009, 04:32:22 PM »
Move the ConsoleLogger.py(c) files from scripts/Custom/Autoload to scripts/Custom/Ships, and add ___ infront of both.

Or delete the pyc from 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 baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #30 on: June 03, 2009, 04:38:59 PM »
ok did that and still no report. The cursor flashes up after about 2 seconds after excuting the game.
Whatever knocks us back, can only make us stronger.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Changing a ships warps sounds
« Reply #31 on: June 03, 2009, 04:51:24 PM »
The 2 seconds are the intro movies.


Problem found, in BazTMPShipDef, there is a line that ends with BazTMPRace.BazTMPRace, which should be BazTMPRace.oBazTMPRace
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 baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #32 on: June 03, 2009, 04:59:26 PM »
The 2 seconds are the intro movies.

I don't even get the intro movie!

Problem found, in BazTMPShipDef, there is a line that ends with BazTMPRace.BazTMPRace, which should be BazTMPRace.oBazTMPRace

Still doing it and no report. Here is the last report I got 5 minutes before I retired with "o" added.

Code: [Select]
Outdated Foundation, updating functions
Outdated Foundation, installing FolderManager
Foundation Tech loaded
Gravity FX has been loaded.
BridgeFX Enabled...
CameraFX Enabled...
ExplosionFX Enabled...
SpecialFX Enabled...
WarpFX Enabled...
DS9FX Initializing...
AttributeError: PreLoadAssets
Trying to clean memory
Traceback (innermost last):
  File ".\Scripts\QuickBattle\QuickBattle.py", line 4922, in StartSimulationAction
    pModule = Foundation.FolderManager('ship', sShipType)
  File ".\Scripts\Custom\Autoload\000-Fixes20030402-FoundationRedirect.py", line 315, in __call__
    mod = __import__(i + key)
EOFError: EOF read where object expected

Just confirm that the files are all in the right place the ship plugin BCrefit is in custom/ships

BazTMPRace.py and BazTMPShipDef.py are also in custom/ships
Whatever knocks us back, can only make us stronger.

Offline baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #33 on: June 03, 2009, 05:04:17 PM »
should there be oBazTMP in this script somewhere to in BazTMPShipDef.py?

Code: [Select]
class BazTMPShipDef(Foundation.ShipDef):
    def __init__(self, abbrev, species, dict):
        dict['race'] = BazTMPRace.BazTMPRace
        Foundation.ShipDef.__init__(self, abbrev, species, dict)
Whatever knocks us back, can only make us stronger.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Changing a ships warps sounds
« Reply #34 on: June 03, 2009, 06:33:57 PM »
Code: [Select]
import Foundation
import BazTMPRace

class BazTMPShipDef(Foundation.ShipDef):
    def __init__(self, abbrev, species, dict):
        dict['race'] = BazTMPRace.oBazTMPRace
        Foundation.ShipDef.__init__(self, abbrev, species, dict)
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 baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #35 on: June 10, 2009, 05:40:59 PM »
Ok with a lot of help from Mleo I have my ship working under my "own" race.

I'm having trouble getting the Warp FX to work.

My race def is BazTMP and here is the soundpak I have created in Custom/autoload

Code: [Select]
#####  Created by:
#####  Bridge Commander Universal Tool


import App
import Foundation

Foundation.SoundDef("BazTMPexitwarp.wav", "BazTMPexitwarp", 1)
Foundation.SoundDef("BazTMPwarpflash.wav", "BazTMPwarpflash", 1)
Foundation.SoundDef("BazTMPwarpflash.wav", "BazTMPEnterWarp", 1)

Any pointers as to what I'm doing wrong?
Whatever knocks us back, can only make us stronger.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Changing a ships warps sounds
« Reply #36 on: June 10, 2009, 05:50:19 PM »
I haven't had the time yet to respond to your PM, but in this case I would say that each filename should start with "sfx/" Unless your wav files are in the same directory as stbc.exe
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 baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #37 on: June 10, 2009, 06:22:15 PM »
Ok I've added the sfx/ to the file names still no sound during warp other than the default band with the warp flash?

*edit I edited the soundpak to change from baztmpenterwarp.wav to the default enter warp.wav and it works?

I then renamed my enter warp wav to replace the default fx and tried the sov and my essect worked?

Whatever knocks us back, can only make us stronger.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Changing a ships warps sounds
« Reply #38 on: June 10, 2009, 07:17:21 PM »
What do you mean with "normal band"?

The Exit Warp won't work, since you have a lower case e for Exit (should be a capital E), then there is the warpflash, NanoFX has no support for a custom warpflash sound.

Another possibility is that the sound isn't encoded properly, please search the BC Modding for the right settings.
Another is that you have another soundpack/plugin where you define the same sounds, in that case, BC won't let you hear anything.
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 baz1701

  • Posts: 3392
  • Cookies: 1434
Re: Changing a ships warps sounds
« Reply #39 on: June 11, 2009, 09:16:34 AM »
Ok, Here is where I'm at.

I have a sound PY called BcTMP_soundpak.py in custom autoload. I do not have any other files calling the wav SFX's

Code: [Select]
#####  Created by:
#####  Bridge Commander Universal Tool


import App
import Foundation

Foundation.SoundDef("sfx/BazTMPExitwarp1.wav", "BazTMPExitwarp", 1)
Foundation.SoundDef("sfx/BazTMPEnterwarp1.wav", "BazTMPEnterwarp", 1)

The 2 file BazTMPExitwarp1.wav & BazTMPenterwarp1.wav are in the default SFX folder still no warp sound!

The "Normal band" should read normal Bang. You have the warp enter sfx followed by the flash in the distance that has a bang sounding SFX.

I sourced the TMP warp effect from BC files, may change them after I have them working.
Whatever knocks us back, can only make us stronger.