Create an empty scenario

Please post here for questions and discussion about scenario design, art and sound modding and the game editor for WITP Admiral's Edition.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

User avatar
Kull
Posts: 2744
Joined: Tue Jul 03, 2007 3:43 am
Location: El Paso, TX

RE: Create an empty scenario

Post by Kull »

The first post in my earlier linked thread is for WitPloadAE v8.5, and although that has been surpassed by v9.0, it contains a file from JWE giving the specifics on how to properly implement the four new "Secondary" fields. I haven't seen this anywhere else and it is not part of the other updated WitPloadAE downloads, so for the record, here's the text:
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, it is your nickel.
Post Reply

Return to “Scenario Design and Modding”