Author Topic: Capship Beam Cannons: do they use energy?  (Read 1921 times)

0 Members and 1 Guest are viewing this topic.

Offline Zarax

  • 210
Capship Beam Cannons: do they use energy?
Hello,

I've been running an experiment using a slightly modded Orion giving it Sgreen on their triple barrel turrets.
Trouble is that they never seem to fire at the rate I expected but rather like if it was one gun, just from one random barrel at the time, like if the ship had to recharge its energy reserves before firing again.

Is there a setting that should be changed somewhere?

Thanks for any feedback!
The Best is Yet to Come

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Capship Beam Cannons: do they use energy?
It sounds like you want to enable salvo mode on the turret.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline Zarax

  • 210
Re: Capship Beam Cannons: do they use energy?
Thank you, this looks like it should solve the trick!
The Best is Yet to Come

 

Offline Zarax

  • 210
Re: Capship Beam Cannons: do they use energy?
Salvo mode works, however there's something weird: turrets seems to be firing at a much shorter range than expected.
What could be causing the issue?
The Best is Yet to Come

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Capship Beam Cannons: do they use energy?
Salvo mode works, however there's something weird: turrets seems to be firing at a much shorter range than expected.
What could be causing the issue?
The AI will use the shorter value of the weapon's range (if specified at all; since it's only used by the AI, most weapons don't), or its lifetime multiplied by its velocity.

Yes, even for beams.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline Zarax

  • 210
Re: Capship Beam Cannons: do they use energy?
No, what I mean is that I tested the same weapon (Bgreen) on turret VS side and it seems to be firing at least 1K shorter than the normal range.
The Best is Yet to Come

 
Re: Capship Beam Cannons: do they use energy?
turret VS side

Meaning on the triple-gun turret vs. a side-mounted turret? This is going to sound dumb, but how far apart are the turrets?

 

Offline Zarax

  • 210
Re: Capship Beam Cannons: do they use energy?
It's the standard Orion model, so it's certainly a lot less than the difference (approx 2K)
The Best is Yet to Come