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
-
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?
-
Think you can do that already by changing the AI settings for the turrets as well as the fire rate/delay.
-
dont they already do that?
-
Would be nice to have a constant stream of Subachs from a turret to protect it from bombings.
-
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.
-
hell i want a turret with a turret :D
-
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?
-
*looks through tbl files*
turret vs. fighter primaries fire rate isn't specified in either the weapons or ship tbl files.
-
you know you can cheat, copy the weapon and decrease its fire wait to compensate for the slowdown.
-
Is there a way to make multibarrelled turrets to fire from all firing points at once instead of them cycling throug each point?
-
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 :)
-
@Black Wolf, are you referring to my post?
-
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!
-
Originally posted by Lynx
@Black Wolf, are you referring to my post?
No - the ROF stuff. Sorry - should have quoted.
-
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?
-
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)
-
Mmmmmm.... Anuket goodness.
-
...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...