The ship category is read in the exe.Bman wrote: 1) Is the ship category check based on the data within the .exe, or is it read directly from the shiplist.txt file ?
The mesh type and WP have no incidence on the decharge rate.Bman wrote: 2) Does the mesh type and WP (laser hardpoint) type have any bearing on this ?
The weapon sequence is set by the exe.Bman wrote: 3) Can weapon sequence be changed to a number greater than 4 ?
I can create a hook to set the decharge rate based on the model index. The decharge rate would be read from a txt file created next to the opt file. If needed, the recharge rate could also be based on the weapon type. If a such file is not present, default values would be used.Bman wrote: 4) Finally, is it possible if could you implement the above unlimited ammo offset through an optional .cfg .lst, or .txt file like xwa_hook_main.cfg that is processed at runtime where for example... Offset 90A5c = 1 means unlimited, else = 0 means default status ?
The recharge rate could be set the same manner.
By default, the recharge rate is controlled as this:
Code: Select all
if the craft is TieFighter or TieBomber, the recharge rate is 3 * PresetLaser, else the recharge rate is 2 * PresetLaser.