I’ve been working on a mod which, among other things, is meant to simulate proper ballistics for most weapons. I need this because a crucial part of my mod involves things like anti-missile defense.
Before, the only real way to simulate ballistics was to make all bullets actually mini missiles with no maneuvering ability. This was a painful way of doing it and never worked very well for me.
I’m exploring this new system but I’m still having a slight amount of difficulty getting it to work as well as I would like. The reason for this being that the new system doesn’t seem to actually be based purely on ballistics. Even when ballistic mode is enabled, bullets which are “aimed” guide themselves onto target like missiles. I tried to compensate for this by reducing accuracy for a hull defense gun to 0.001 (meaning very, very few bullets will be “aimed”) and reduced the noise added to the miss cone to 0.001. This approximation of ballistics is good- it hits stationary targets nearly 100% of the time at close range and fast moving targets give it more trouble. Almost none of the bullets guide themselves onto target anymore.
Unfortunately those pesky AA gunners on the Vaygr carrier I’m using to test this seem to be absolutely terrible at leading a target- they have no problem hitting stationary things but the instant something begins to move, the gunners put on stormtrooper helmets and start to lead by about 10 meters too much or too little, thus missing fighters which are just flying in a straight line.
The hull defense guns should be able to hit something with a constant velocity but it seems they can’t line up the shots so they are in the right place at the right time.
Am I missing something, or is this just the way the ballistics system currently works?
For reference, here are the relevant parts of the file:
setMissProperties(NewWeaponType, 0.001, 0.001, 1, 1, 1, 1);
setSpeedvsAccuracyAgainst(NewWeaponType, 1, 50.0, 1.85, 100, 1.0, 200.0, 1.0, 300, 1.1, 500, 1.5);