Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Unknown Target on January 02, 2005, 06:05:54 pm

Title: Feature request
Post by: Unknown Target on January 02, 2005, 06:05:54 pm
This is pretty small, but it would add so much to the game: could you guys add in a bit of code so that when a primary laser (such as a maxim) is fitted to a capital ship, they'll actually fire it in rapid fire (think AAA), rather than a 2 shot burst every 15 seconds?
Title: Feature request
Post by: aldo_14 on January 02, 2005, 06:37:54 pm
Think you can do that already by changing the AI settings for the turrets as well as the fire rate/delay.
Title: Feature request
Post by: Grimloq on January 02, 2005, 06:49:40 pm
dont they already do that?
Title: Feature request
Post by: Taristin on January 02, 2005, 07:02:47 pm
Would be nice to have a constant stream of Subachs from a turret to protect it from bombings.
Title: Feature request
Post by: Unknown Target on January 02, 2005, 07:39:15 pm
That's what I'm asking for :) Would really add to the epicness of attacking a capship, too, if instead of just flak, you multiple streams of criss-crossing laser fire to contend with.
Title: Feature request
Post by: Nuke on January 02, 2005, 07:42:50 pm
hell i want a turret with a turret :D
Title: Feature request
Post by: NGTM-1R on January 02, 2005, 11:37:07 pm
I have a modified Iceni with a few Maxim turrets on it; they barely fire at all. Be much nicer if they would fire like they're supposed to when only one primary bank is active...

And if this is already doable, as Aldo says, how?
Title: Feature request
Post by: Carl on January 02, 2005, 11:56:46 pm
*looks through tbl files*

turret vs. fighter primaries fire rate isn't specified in either the weapons or ship tbl files.
Title: Feature request
Post by: Nuke on January 02, 2005, 11:58:10 pm
you know you can cheat, copy the  weapon and decrease its fire wait to compensate for the slowdown.
Title: Feature request
Post by: Lynx on January 03, 2005, 06:02:37 am
Is there a way to make multibarrelled turrets to fire from all firing points at once instead of them cycling throug each point?
Title: Feature request
Post by: Black Wolf on January 03, 2005, 11:53:27 am
You need to up the "Accuracy" rating in the AI.tbl. I have a special setting that does this for certain Aesir ships - very impressive :)
Title: Feature request
Post by: Lynx on January 03, 2005, 12:45:57 pm
@Black Wolf, are you referring to my post?
Title: Feature request
Post by: Trivial Psychic on January 03, 2005, 07:57:49 pm
Quote
Originally posted by Lynx
Is there a way to make multibarrelled turrets to fire from all firing points at once instead of them cycling throug each point?

Case:  Turret has 4 barrels, but you want them to fire simultaneously.

Solution:  Create special weapon for turret type and include the following right after the "$homing" entry

$Swarm:           4
+SwarmWait:   0.0

That should so the trick.

Later!
Title: Feature request
Post by: Black Wolf on January 03, 2005, 08:19:12 pm
Quote
Originally posted by Lynx
@Black Wolf, are you referring to my post?


No - the ROF stuff. Sorry - should have quoted.
Title: Feature request
Post by: Lynx on January 04, 2005, 01:16:04 pm
Quote
Originally posted by Trivial Psychic

Case:  Turret has 4 barrels, but you want them to fire simultaneously.

Solution:  Create special weapon for turret type and include the following right after the "$homing" entry

$Swarm:           4
+SwarmWait:   0.0

That should so the trick.

Later!


I'll try it out, but AFAIK turrets fire is rather inaccurate with this and sometimes they fire in a totally random direction. Can anyone confirm/deny this?
Title: Feature request
Post by: vyper on January 04, 2005, 01:29:27 pm
For those more adventurous, make a custom weapon based off the maxim or whatever, set up it's fire rate and power usage appropriately.

Thus you can even get a tracer-fire feel to it:

(okay it's a poor shot but it's all I have left of my old campaign screenshots)
Title: Feature request
Post by: Taristin on January 04, 2005, 02:03:59 pm
Mmmmmm.... Anuket goodness.
Title: Feature request
Post by: NGTM-1R on January 04, 2005, 03:36:35 pm
...you know, that's probably it. The power usage, I mean. I'll have to check the tables, but I think that the problem may be the Terran Turret/Terran Huge Turret power usage (I remember very low figures for them) as opposed to that of the Maxim.

Edit: Just checked. All capital ship turrets have a power usage of .30. The Maxim has one of 1.0. Let's see what altering that does...