Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: ARSPR on April 04, 2006, 10:20:26 am

Title: Laser convergence?
Post by: ARSPR on April 04, 2006, 10:20:26 am
I think something about this has been posted before, but I haven't found anything (I was reading in page 16 of 72).

Could it be possible to implement laser convergence as in X-wing series? Maybe triggered by a flag in launcher because it can change game balance.

Some ships, (Thoth or Horus as examples), are really awfull to fly as you always see your shots going around enemies that stay laughing at you right in the middle of your HUD. So if it is possible and not too difficult, I think this could be a good new feature.

(The convergence point, (and then convergence angle), could be fixed in twice the distance Freespace2 is calculating to show the target aiming point in the HUD. It really doesn't need to be fully exact but it needs to be dynamically changed)

Thanks and sorry if this has been asked 3,000,000 times before.
Title: Re: Laser convergence?
Post by: karajorma on April 04, 2006, 10:28:59 am
You choose a really bad day to post this :D

http://www.hard-light.net/forums/index.php/topic,39190.0.html
Title: Re: Laser convergence?
Post by: Shade on April 04, 2006, 10:43:44 am
Actually the original X-wing as well as TIE fighter had it exactly the same way Freespace does now - Lasers fired in one direction only, period. They were set to converge at a certain distance yes, but that distance was fixed. Doing it that way would seem to have just been made possible (http://www.hard-light.net/forums/index.php/topic,39190.0.html), by the way, at least if I read that topic right :)

Auto-converging fire would probably be a bad idea though, even if making it a launcher flag would partially eliminate that - Much of the feel and, indeed, usefullness in specific situations of a ship comes from the way the firing points are arrayed. Also, there's a certain degree of consideration that goes into putting the right weapons in the right places to get the most out of them, and I'd hate to loose that.

And finally, it would make the player far more powerful due to being able to land up to 8 bolts at a time where previously a best case would perhaps be 4-5 on a smallish target, which would risk upsetting the balance for pretty much every mission currently out there. As you mentioned, you often see some bolts going past a target, but if they all hit then you'd effectively have dropped the difficulty level as you do far more damage than you're intended to be able to.

Title: Re: Laser convergence?
Post by: StratComm on April 05, 2006, 01:35:49 am
Yay Claymore! :p  It's long been known that certain laser combinations are bad and others are good, and shot spacing is one of the fundamental (and un-qualified) attributes of a fighter.  Much like capital ship turret coverage, it makes certain craft more effective for different roles than others, even if they are otherwise identical.

Were autoconvergence to ever be implimented, it should be done as a ships.tbl flag and not done globally.  That way you get your backwards-compatibility cake and eat it too; you can then use both in the same mission.
Title: Re: Laser convergence?
Post by: FireCrack on April 05, 2006, 01:51:16 am
There should also be an AI tag for gun convergence.
Title: Re: Laser convergence?
Post by: ARSPR on April 05, 2006, 02:20:12 am
First of all, sorry as I missed the WMCoolmon's thread.

Just to clarify. It seems the new feature is a fixed convergence. I'm asking for a dynamic convergence (the convergenece point/angle changes as function of target's speed, direction and distance and your own laser span). I'm nearly sure "X-Wing Alliance" has this kind of convergence, (they call it armonization), in all fighters but the worst one (Z-95) in which it is fixed. And I say all fighters, even enemy ones, have laser convergence.

Of course, it can change game balance and fighter built-in level so it must be an optional feature (because of that I am asking for a flag), and of course you can design fighters with a little laser spacing if you want them to be really accurate. If convergence is coded through tables, nooby users as myself won't be able to switch it on or off easily. I just think it could be a more realistic feature.

And I won't change anything more within AI. It would be just a option to make all lasers from all fighters have convergence. The rest of FS2 behaviour would be the same.

These are my thoughts and I really don't know anything about coding so I don't know its difficulty or if it is worth. And above all, SCP crew is doing a great FREE job for all of us so they can decide what they just like doing or not (and their decision will always be welcome).
Title: Re: Laser convergence?
Post by: Galemp on April 05, 2006, 02:35:12 pm
Well, of course in the movies, they required a lock-on for their lasers to converge. I recommmend this as a WEAPON flag rather than a ship flag; in short, it's another request for homing primaries.
Title: Re: Laser convergence?
Post by: Trivial Psychic on April 06, 2006, 12:22:17 am
I agree, but there should be a distinction between all-out homing primaries, and auto-convergence.  Auto-convergence ONLY adjusts the turret normals to match a vector somewhere within the target reticle.  There should also be figures to indicate at what range both close and far, the weapons will auto-congerge.  For homing primaries, the normals would adjust within a fof designated in the weapon data, and may auto-converge depending on how many firepoints are being used.  I agree that it needs to be a weapon-based change rather than a ship flag, since this would activate it for all banks, whether you want them all to behave this way or not.
Title: Re: Laser convergence?
Post by: Wanderer on April 06, 2006, 12:54:58 am
A bit OT but.. IMHO homing primaries would be best handled with 'slaving' some preset turrets targeting and firing into a primary weapon bank rather than figuring out something else..
Title: Re: Laser convergence?
Post by: Flaser on April 09, 2006, 03:44:31 am
I think there are actually to separate issues:

-What kind of tracking technology would make sense and still fun to play with?
-How should we manipulate the tracking data and user imput to achieve that?

Title: Re: Laser convergence?
Post by: Fat Zombie on April 09, 2006, 03:21:39 pm
Actually the original X-wing as well as TIE fighter had it exactly the same way Freespace does now - Lasers fired in one direction only, period. They were set to converge at a certain distance yes, but that distance was fixed. Doing it that way would seem to have just been made possible (http://www.hard-light.net/forums/index.php/topic,39190.0.html), by the way, at least if I read that topic right :)

Auto-converging fire would probably be a bad idea though, even if making it a launcher flag would partially eliminate that - Much of the feel and, indeed, usefullness in specific situations of a ship comes from the way the firing points are arrayed. Also, there's a certain degree of consideration that goes into putting the right weapons in the right places to get the most out of them, and I'd hate to loose that.

And finally, it would make the player far more powerful due to being able to land up to 8 bolts at a time where previously a best case would perhaps be 4-5 on a smallish target, which would risk upsetting the balance for pretty much every mission currently out there. As you mentioned, you often see some bolts going past a target, but if they all hit then you'd effectively have dropped the difficulty level as you do far more damage than you're intended to be able to.

You mean that the position of the lasers affects performance? I didn't know that. Huh.

Anyway, convergance should be put on ships. Old World War 2 aircraft had convergance on their machine-cannons; don't tell me the future peoples have forgotten this dark art?

The dynamic convergance technology sounds like a logical step from fixed convergance. Because since it's in space, shots will travel much further due to less atmospheric conditions and friction interfering with the ordnance. Your target could be anywhere from 10ft away to 10km, so convergance has to be modified to compensate.

Anyway. The lock-on primaries technology is a good idea. It would make more sense (see above), yet it would still provide a challenge, since waiting for a lock doesn't half get on my nerves. It could be another tactical consideration: do I wait for the dynamic convergance system (DCS) to lock on, wasting precious seconds but ensuring all shots could hit, or just fire like mad, with the chance that more could miss?

Good idea in my opinion.
Title: Re: Laser convergence?
Post by: Kazan on April 09, 2006, 04:23:31 pm
i just posted a copy of PCS 1.x that supports editing of gun normals
Title: Re: Laser convergence?
Post by: StratComm on April 09, 2006, 06:30:19 pm
Failing to consider gun clustering has been the bane of many ship designs over the years.  The Ursa's 3-gun bank is next to useless in a dogfight, because it almost always will miss a fighter to the right.  Aldo's claymore variants had their guns out at the wings, and as a consequence they were huge, power hungry beasts that had trouble engaging smaller, lower-profile ships.  Try landing four shots from a herc onto a pegasus from behind.  There are a bunch of examples where a lack of convergance is a very good and necessary thing for play balance, so just turning it on for everything would be a Bad Thing.
Title: Re: Laser convergence?
Post by: Gregster2k on April 14, 2006, 10:20:03 am
Well, of course in the movies, they required a lock-on for their lasers to converge. I recommmend this as a WEAPON flag rather than a ship flag; in short, it's another request for homing primaries.

Erm, yeah, to confirm what they were saying, not exactly homing.

Automatic Laser Convergence is a system that changes the angle at which the lasers are fired so that they will intersect one another at the exact point of the enemy's ship. (There's NO "Homing" about the laser shots, PERIOD.)

Using the existing missile aspect-lock missile setup but creating a second aspect diamond (colored a separate color or at a different size) would be ideal for this.

Blindfire as shown in Starlancer IS Auto-Laser Convergence but requires no aspect lock; it is always perfectly locked on.

Therefore, it should be offered for both weapon AND ship flags, but use the same or similar code; that way if you want a specific ship to have built in convergence like Starlancer, then it can be done, or if you want the blindfire convergence to be inherently designed into the weapon for whatever reason, it can come with the weapon when put on the ship. >_>

I want this feature though very badly :3

As for imbalance, well, in Starlancer, a single hit from a blindfire ship's weapons didn't do NEARLY as much damage as hits from weapons on ships without it; so generally, if you have this auto convergence on a weapon the weapon ought to not be the best in the universe unless the enemies are god.

(Starlancer's blindfire WOULD NOT FUNCTION if you had two weapons enabled at the same time that had different ranges/projectile speeds. You had to switch to using ONE weapon only in order for blindfire to be enabled. Again, another option that could be customized.)
Title: Re: Laser convergence?
Post by: WMCoolmon on April 15, 2006, 12:40:49 am
I strongly question the legitimacy of a lock-on system for automatic gun convergence...
Title: Re: Laser convergence?
Post by: Prophet on April 15, 2006, 08:21:41 am
I think it would be cool as hell! And it feels a lot "cleaner" than just blasting away guns pointing to god knows where. Just like I prefer short controlled bursts from a M16 to blasting the neighbourhood with a 50. cal machine gun. Either way the job gets done, but I like to hit the target with most of my shots. :D
Title: Re: Laser convergence?
Post by: Wanderer on April 15, 2006, 09:14:57 am
I would like to automatic gun convergence but i would hate to see some sort of lock-on included to it. If it is automatic then there is no need for new aspect thingyes to flood the screen. Quite like it works in for example X-Wing Alliance.. no lock-on.

Also i think the best 'tracking' guns i have seen were in I-War2, again no lock-on, just point and shoot and CPU takes care of the rest.
Title: Re: Laser convergence?
Post by: phreak on April 15, 2006, 10:32:13 am
Also i think the best 'tracking' guns i have seen were in I-War2, again no lock-on, just point and shoot and CPU takes care of the rest.

Then again, you couldn't hit anything using aim-assist disabled, unless you were really really close.
Title: Re: Laser convergence?
Post by: Wanderer on April 15, 2006, 10:43:59 am
Then again, you couldn't hit anything using aim-assist disabled, unless you were really really close.
True... but there was still balance in the game.. i also think that is the high manoeverability and speed of the ships are the costs that have to be paid for using 'tracking' primaries for the sake of keeping some balance in the game. Either that or high fof values.
Title: Re: Laser convergence?
Post by: aldo_14 on April 16, 2006, 05:26:25 pm
Failing to consider gun clustering has been the bane of many ship designs over the years.  The Ursa's 3-gun bank is next to useless in a dogfight, because it almost always will miss a fighter to the right.  Aldo's claymore variants had their guns out at the wings, and as a consequence they were huge, power hungry beasts that had trouble engaging smaller, lower-profile ships.  Try landing four shots from a herc onto a pegasus from behind.  There are a bunch of examples where a lack of convergance is a very good and necessary thing for play balance, so just turning it on for everything would be a Bad Thing.

To be fair, that's because I designed that Claymore without properly thinking that whole gun thing through :o

You'll note the new one has a pair of guns right on the nose.
Title: Re: Laser convergence?
Post by: StratComm on April 16, 2006, 07:51:10 pm
I know, but any campaigns that used them (intentionally or not) were balanced with the lack of convergance.  I'm not commenting on design as much as balance with existing ships (and the fact that, should one choose, ships could be balanced via this method).
Title: Re: Laser convergence?
Post by: aldo_14 on April 17, 2006, 03:23:40 am
Aye, but sometimes you can't hide from the things you've done.

(to be fair, a badly designed freespace fighter is somewhat lower on the scale than napalming a Vietnamese village.....)
Title: Re: Laser convergence?
Post by: jr2 on April 18, 2006, 11:23:36 am
Just a question:

Wouldn't auto-convergence only work accurately if the speed/range of the target stayed approximately the same between when the laser bolt was fired and when it hit?  i.e., if you had an enemy fighter ~800 units away, and he is selected as the current target (prerequisite for auto-convergence, I assume), and you fire a bolt at him, and he increases his speed, then the shots actually have an even lesser chance of hitting him than if auto-convergence were disabled, because they were all focused on where the target used to be, instead of (possibly intentionally, possibly by accident) spread out slightly in front of the lead indicator, which would have let him run into the shots that would have missed him if he stayed the same speed.

Given this example, I think you'd want an assignable button on the keyboard to be able to turn the feature on/off, as it would be useful in some situations, and not in others.  I imagine to preserve game balance, the AI would have to be able to figure out whether or not to turn this on as well.  (Maybe through some calculation involving the target's distance/speed, and the probability of a hit, as well as the manuverability of the intended target.)

Just a thought.
Title: Re: Laser convergence?
Post by: Prophet on April 18, 2006, 11:32:53 am
Well you can miss your target the same way in retail too. If you fire at the lead indicator there is a possibility to miss. As well as there is a possibility to miss if you fire somewhere elswhere, than the lead indicator. But yes, the feature should absolutley be tggleable.
Anyone remember in Starlancer when the enemy was hit by that emp missile thingy and started spinning? The stupid blindfire would automatically miss it :rolleyes:
Title: Re: Laser convergence?
Post by: jr2 on April 18, 2006, 01:44:16 pm
...toggleable
Yes.
Just to clarify, toggleable in-game, but more like a switch that you could flip in a real fighter to enable or disable a system in your craft.  Not just at the game launch.