Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Warp Shadow on February 25, 2008, 05:41:43 pm

Title: Convergance
Post by: Warp Shadow on February 25, 2008, 05:41:43 pm
Quick question here. Does the -converge flag in the weapons.tbl make the guns automatically converge or does it make them follow the guns firing normal and the guns converge by default?
Title: Re: Convergance
Post by: Retsof on February 25, 2008, 05:52:52 pm
I didn't even know there was a converge flag.  :nervous:
Title: Re: Convergance
Post by: Talon 1024 on February 25, 2008, 07:13:24 pm
The convergence flag in the weapons.tbl makes the weapons converge to the point you specified in the POF file.
Title: Re: Convergance
Post by: Warp Shadow on February 25, 2008, 07:53:14 pm
So if you don't specify a point is there any difference?
Title: Re: Convergance
Post by: Talon 1024 on February 25, 2008, 09:42:19 pm
There is no difference if you don't specify a convergence point.  To do that, you go into PCS2 and do it from there with the convergence calc.
Title: Re: Convergance
Post by: blowfish on February 25, 2008, 09:49:14 pm
What happens if you have a convergence point but you don't set the flag?  Do the guns just fire forward (along the ship's z axis)?
Title: Re: Convergance
Post by: Wanderer on February 26, 2008, 01:47:27 am
By default guns fire at ships z axis. With the flag the game actually uses the firepoint normals for something (be it convergence, weapons firing behind you or what ever).
Title: Re: Convergance
Post by: chief1983 on February 26, 2008, 06:15:37 pm
Yeah, a normal should always be set for a firepoint I think.  Someone had written an auto-convergence script though.  It should be floating around somewhere.
Title: Re: Convergance
Post by: Retsof on February 26, 2008, 06:48:45 pm
Soooo, convergence does like the Death Star Superlaser, right?
Title: Re: Convergance
Post by: Titan on February 26, 2008, 07:16:59 pm
kinda, the point were your guns converge is were they're closest together, thus giving the best accuracy
Title: Re: Convergance
Post by: chief1983 on February 26, 2008, 08:05:48 pm
Yeah they don't stay converged past that point, each blast continues to go in a straight line, so they spread out from each other.  Kind of like WWII fighters or something.
Title: Re: Convergance
Post by: Galemp on February 26, 2008, 09:06:33 pm
Wait, is this a ships.tbl flag or a weapons.tbl flag?
Title: Re: Convergance
Post by: Talon 1024 on February 26, 2008, 09:10:54 pm
Wait, is this a ships.tbl flag or a weapons.tbl flag?

It's a ships.tbl flag. :)
Title: Re: Convergance
Post by: Warp Shadow on February 26, 2008, 09:18:28 pm
You can't set convergence points of a weapon.
 :doubt:
Title: Re: Convergance
Post by: chief1983 on February 26, 2008, 09:20:39 pm
No but it's not entirely implausible to think that you could set a weapon to follow any available convergence points.
Title: Re: Convergance
Post by: Warp Shadow on February 26, 2008, 09:44:16 pm
No but it's not entirely implausible to think that you could set a weapon to follow any available convergence points.

touches!

(spelling?)
Title: Re: Convergance
Post by: chief1983 on February 26, 2008, 10:23:31 pm
Pretty sure it's touché.
Title: Re: Convergance
Post by: Wanderer on February 27, 2008, 02:15:14 am
You can script automagic gun convergence if you like... Its actually rather simple thing to do.