JuanG
Posts: 906
Joined: 12/28/2008 Status: offline
|
The secondary device values provide alternative device stats for DP and AA devices in the anti-air and anti-surface roles. IIRC they are not used in the official scenarios, but Babes and many of the modded scenarios make use of them. For AA type devices (type #12), if the secondary values are set, and Sec_Attr is 1, they are used to set the weapons anti-surface performance. The primary attributes thus become the anti-air ones. For DP type devices (type #18), if the secondary values are set, and Sec_Attr is 2, they are used to set the weapons anti-air performance. The primary attributes thus become the anti-surface ones. Original thread where this was brought up; https://www.matrixgames.com/forums/tm.asp?m=2874609&mpage=1&key= EDIT: From the original readme when it was added to witploadae;
There are a couple of new fields for each device;
"Sec_Attr", "Sec_Eff", "Sec_Pen", "Sec_Acc"
Sec_Attr
This is a secondary attributes field. Its values are '1' and '2' of which only '2' has meaning to the game at the moment.
A value of 2, means that this device has a secondary function of Anti-Air, which implies that the primary function of the device is as an Anti-Surface type. eg DP gun
A value of 1, means that this device has a secondary function of Anti-Surface, which implies that the primary function of the device is as an Anti-Air type. eg Flak gun
Sec_Eff, Sec_Pen, Sec_Acc
These are the secondary values for effect, penetration and accuracy respectively as per the main values.
For the flak routines, if a device has a secondary function of Anti-Air, it will use the "Sec_" values rather than the normal main values in the calculations.
In the case of the DP for instance, you can set up devices to use different values in the AAA calcs than are used in the naval surface actions.
By default, if the secondary attribute is not on, then the normal values are used which would adjust the DP rating for AAA.
If you add a secondary attribute (1, or 2) and don’t put in any secondary data, you are screwed. The default is then ‘0’ and nothing will function.
Nothing here says what should go into the secondary data fields. They are there for your modding convenience and if you break it, please don’t complain on the tech thread. Only the Babes people support this stuff.
< Message edited by JuanG -- 11/26/2020 3:33:54 PM >
_____________________________
|