Battery Specific Data


The following files allow ballistic data which can be individually de fined for each battery within a VBS3 scenario. VBS3Fires is designed so that custom values can be easily used or where default values can be used instead.
When defining a VBS3FiresGunline object (a new battery in VBS3), there is a place to enter details for these three files.This allows a custom file name (which can be anything) to be entered for each gunline.

Note:
You do not have to define all three files here.You could define one, two, three or none.


∆ Image VBS3Fires_78: VBS3 Configuring the gunlines

∆ Image 18a: VBS3 Configuring the gunlines


If a value is entered in here, VBS3Fires will first look for that file in the mission directory when the VBS3 scenario starts. If it finds the file, it will use that.If not it will look for that named file in the myData directory. If it cannot find that, it will use the calibre of the battery to try and find a matching calibre entry.Again it will first try the mission directory and if not successful it will try the myData directory. 
When doing the above search it will look for a file with a filename in the format of:

    • chargeX.dat - where X is the calibre of the gun.For example charge155.dat. 

This would be for the charge table. 
For the other file types it will look for:

    • ballisticsX.dat and damageX.dat

If it is unable to find the relevant filename, it will then look for a file with the name chargeDefault.dat (or ballisticsDefault.dat or damageDefault.dat) in the myData directory. 
If it is still unable to find that file, it will use the system default for the selected calibre and if the calibre is not recognized as a standard calibre, then it will use the system general default data for the relevant category.
A list of the load sequence is shown below for the damage file of 155mm battery:

    1. Attempt to load specific battery specified file name from Mission directory
      %USERPROFILE%\Documents\VBS3\[Mission Directory]\<useDefinedFileNameInGunlineObject>
    2. Attempt to load specific battery specified file name from myData directory
      [InstallDir]\myData\<useDefinedFileNameInGunlineObject>
    3. Attempt to load calibre related file name from Mission directory
      %USERPROFILE%\Documents\VBS3\[Mission Directory]\damage155.dat
    4. Attempt to load calibre related file name from myData directory
      [InstallDir]\myData\ damage155.dat
    5. Attempt to load general file from myData directory
      [InstallDir]\myData\ damageDefault.dat
    6. Attempt to load calibre related data from system defaults
    7. Use general default data