Bridge Commander Central

BC Forums => BC Scripting => Topic started by: zgok on April 05, 2013, 03:27:47 PM

Title: Plasma Torpedo advice.
Post by: zgok on April 05, 2013, 03:27:47 PM
Hello again lads! I have a question, I am trying to create a plasma torpedo for a Romulan Bird of Prey that each time it fires, it uses a part of the Bird of Prey's power, just as in "The Balance of Terror" Also, how does one make the Torpedo lose constantly power over a distance?
Title: Re: Plasma Torpedo advice.
Post by: King Class Scout on April 05, 2013, 07:18:20 PM
I believe all torps are scripted to draw power...just like every thing else in the hardpoint.  But dropping damage?  I don't think that's possible with BC's scripts.  not YET, anyway
Title: Re: Plasma Torpedo advice.
Post by: zgok on April 06, 2013, 02:32:33 AM
Thank you so much for the reply. Ah yes, of course. How could I make a torpedo use sufficient enough power when fired that I would have to make power balances between power for my cloak and  weapons systems? I have set the Getpowercost line to 40 on the Plasma Torpedo's scripts, is that the right one to modify if I change is to say, 400? 
Title: Re: Plasma Torpedo advice.
Post by: KrrKs on April 06, 2013, 05:27:25 AM
The GetPowerCost should be the right one to modify, but I don't know if the functionality really was implemented. To try this you should set it to an absurdly high number ( or atleast way more than the warpcore- output).

Also; About those Plasma Torps, take a look at this:
http://bridgecommander.filefront.com/file/Starfleet_Museum_Romulan_Pack;36379 (http://bridgecommander.filefront.com/file/Starfleet_Museum_Romulan_Pack;36379)
Title: Re: Plasma Torpedo advice.
Post by: tiqhud on April 06, 2013, 09:58:40 AM
You'd probably need to switch from Green Alert to Red, and that can be [easy to miss].
And look at Projectial Script [PY] at the damage it does, that will give you , an idea of the getpower setting
Title: Re: Plasma Torpedo advice.
Post by: JimmyB76 on April 06, 2013, 03:29:13 PM
The GetPowerCost should be the right one to modify, but I don't know if the functionality really was implemented.
it never was...  it is kinda pointless in the torp script...
Title: Re: Plasma Torpedo advice.
Post by: ACES_HIGH on April 06, 2013, 05:00:57 PM
the equivalent line in the Torpedo tube on the hardpoint is probably what you're looking for.
Title: Re: Plasma Torpedo advice.
Post by: zgok on April 08, 2013, 02:33:47 PM
Thank you all for your replies. I will put it to test.
Title: Re: Plasma Torpedo advice.
Post by: tiqhud on April 08, 2013, 03:08:57 PM
LOOK for   [  SetNormalPowerPerSecond  ]
Title: Re: Plasma Torpedo advice.
Post by: zgok on April 12, 2013, 02:45:49 AM
Thank you, I will.
Title: Re: Plasma Torpedo advice.
Post by: Nighthawk on April 26, 2013, 04:46:19 PM
first: GetPowerCost doesn't work.
there is no SetPowerCost function from where to call GetPowerCost, so it's kinda useless.
the torpedoes won't drain any power from your battery except for the tube itself, which is powered by the torpedo system.

second: you are always draining power from your battery, and the warpcore is always making up for that drain and recharging the battery, as long as you drain less power than the warpcore can provide.
.... then you have the tractor system which drains power directly from the battery, but only when they're firing.
...and you have the cloaking system which drains auxiliary power directly, but only when it's active.
if you take a look at the warpcore outputs in MPE, you'll see that the battery conduit is always bigger than the warpcore conduit.
that's because the warpcore is added on top of the battery conduit.

so, the only way to make your torpedoes drain power in a way that it would present you with a management problem, would be to make your torpedo system drain enough power to exceed that of the warpcore and enter the drain margin of the main battery.

but, you would also need the advanced power mod to make those allocations specifically to the torpedoes, because if you cut power to weapons you would also be powering down beams and cannons proportionally to their total power drain.


....I've recently learned that trying to change just one thing in the game almost always ends up creating ten new problems to change :P

(you might be able to achieve what you want through FTech or NanoFX.... but anyways, you'll need to edit more than just the torpedo)
Title: Re: Plasma Torpedo advice.
Post by: zgok on April 29, 2013, 12:55:30 PM
Thank you Nighthawk, I will take that into consideration.