Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: StargateSpankyHam on April 05, 2011, 08:22:16 pm
-
How does one go about making the omnidirectional torpedo battery, like the ones used on the UEF frigates and destroyers, from War in Heaven? I really like the idea of full omnidirectional coverage from torpedo weaponry, and this is something I would like to implement in my mod/campaign.
How does the game engine tell whether or not a turret has a clear shot to an enemy ship? Did the BP team use a cool workaround to make their turrets 'face' all directions at once? How did they get the turrets to launch the missiles from a specific direction?
Obviously, they used the 360-degree homing cone for the missiles themselves, but aside from that, I don't see anything in particular in either the ship or weapon tables that specifies them as omnidirectional torpedo batteries.
-
Giving the missiles some free-flight time plus slow turning is almost certain. Allowing the turret to track through the ship too (not sure on the flags), then only firing down the turret normals is probably the other part.
-
Turrets have an FOV of 270 iirc. This is to help prevent issues with some batteries hitting the launch ship at certain angles.
-
Obviously, they used the 360-degree homing cone for the missiles themselves, but aside from that, I don't see anything in particular in either the ship or weapon tables that specifies them as omnidirectional torpedo batteries.
That data is in the POF. (The omnidirectional part.)