Bridge Commander Central

BC Forums => BC Scripting => Topic started by: Nexxus21 on May 30, 2008, 07:44:59 PM

Title: Borg Opening Statement
Post by: Nexxus21 on May 30, 2008, 07:44:59 PM
In Kobayashi Maru 1.0, I have been able to customize my borg sounds in the C:\Program Files\Activision\Bridge Commander\sfx\Custom\AssimilationBeam folder.

However, I have been unable to locate what activates these sounds when the Borg Cube/Sphere or Diamond enter the system.

I want to add this feature to other Borg Vessels ie: Borg Tactical Cube, Tetra, etc.

I checked the following folders to no avail:
Scripts\Custom\Autoload (borg..BPSounds)
Scripts\Custom\Ships
Scripts\Ships
Scripts\AI\Compound\BorgAttack

Normally I can locate the correct files and edit with no problem but I'm stumped on this one  :?  Any help would be appreciated :violin
Title: Re: Borg Opening Statement
Post by: MLeo on May 30, 2008, 07:47:34 PM
I believe it's actually a weapon that does this, but I'm unsure.

Which ship exactly does this (name as exact as possible please)?
Title: Re: Borg Opening Statement
Post by: USS Frontier on May 30, 2008, 07:50:39 PM
It's the "Custom\QBautostart\BorgGreet.py" script that does it.
Title: Re: Borg Opening Statement
Post by: Nexxus21 on May 30, 2008, 08:48:02 PM
I believe it's actually a weapon that does this, but I'm unsure.

Which ship exactly does this (name as exact as possible please)?

This is one:

http://bridgecommander.filefront.com/file/Borg_Tetrahedron;29664 (http://bridgecommander.filefront.com/file/Borg_Tetrahedron;29664)


It's the "Custom\QBautostart\BorgGreet.py" script that does it.

I'll see how this ties in...
Title: Re: Borg Opening Statement
Post by: Defiant on May 31, 2008, 04:20:50 AM
censored
Title: Re: Borg Opening Statement
Post by: Nexxus21 on May 31, 2008, 05:16:32 PM
USS Frontier is correct.
But don't edit this script unless you want to add new sounds.

If you want a ship to play this feature, the ship has to be registered as Borg.
To do so, locate the ship file in scripts/Custom/ships, open it.

At the top of the file add
Code: [Select]
import F_BorgAttackDef

Now locate the line that looks like this one:
Code: [Select]
Foundation.ShipDef.Bwing = Foundation.ShipDef(abbrev, species, { 'name': longName, 'iconName': iconName, 'shipFile': shipFile })
and change Foundation.ShipDef to F_BorgAttackDef.BorgAttackDef

That should do it.

Thanks that solved the issue.....  :D

I failed to notice the changes in the in Scripts/Custom/Ships for the Borg vessels in KM1.0 compared to some of my existing Borg ships. I also manged to jack up my AI/Compound /Borg Attack file which didn't help when I tried to test the changes. :lol: but console tracker helped identify that and I replaced the file with the one in KM1.0,,,,So we;re good here.

Thanks to everyone for your input and assistance....just imagine what damage I could have done digging through these scripts... :hide