Bridge Commander Central

BC Forums => BC Scripting => Topic started by: Anew9 on June 20, 2013, 01:47:22 PM

Title: Torpedo Spread Script Explaination..?
Post by: Anew9 on June 20, 2013, 01:47:22 PM
Can someone explain how we can manipulate the spread of torpedoes in BC? I've been searching the forums and looking at the MPE tutorial but I am not quite sure how it works.

For example: kFiringChainString.SetString("0;Single;123;Dual;53;Quad")

What do each of the numbers mean? How can I get my ships to fire 2, 3,4,5 or 10 torpedoes in one spread?
Title: Re: Torpedo Spread Script Explaination..?
Post by: KrrKs on June 21, 2013, 06:41:28 AM
From the MPE tutorial:

Quote
Firing chain string: used to implement torpedo spread modes. It's a semicolon-delimited string, with weapon group numbers followed by a string used to display the name of the spread. (Zero is used for the group of all weapons, single-firing.)

The "123;Dual" in your example means that launcher groups 1, 2, and 3 always try to fire simultaneously (the 3rd most likely facing backwards)

I'm not sure but it is possibly that "5" is the max. number of weapon Groups and/or means that all tubes should fire at the same time.
Title: Re: Torpedo Spread Script Explaination..?
Post by: tiqhud on June 21, 2013, 08:36:49 AM
5 is YES, remember there are, Only 5 spots
Title: Re: Torpedo Spread Script Explaination..?
Post by: King Class Scout on June 21, 2013, 09:32:40 AM
there's also a run on this in the tutorial section.  I'd asked the question earlier
Title: Re: Torpedo Spread Script Explaination..?
Post by: tiqhud on June 21, 2013, 09:48:02 AM
I also found out some time back, with fast finger on trigger, you get better accuracy using Single Spreading , but that is me.
Title: Re: Torpedo Spread Script Explaination..?
Post by: JimmyB76 on June 21, 2013, 12:03:03 PM
http://bc-central.net/forums/index.php/topic,7886.0.html
Title: Re: Torpedo Spread Script Explaination..?
Post by: Anew9 on June 21, 2013, 01:00:20 PM
http://bc-central.net/forums/index.php/topic,7886.0.html

Perfect, thanks!