Open FJonske opened 6 months ago
I know this is old, but @FJonske could you clarify what you mean by this behaviour? Is it that they're firing from beyond maximum range and hitting or that they're firing weapons before they're in maximum range?
If it's the second one this might be by design as there are pilots_population.ini
values that govern this and usually NPCs use the average range of all their guns to calculate when to start firing so if there's a mix of things assigned to the two weapons groups we have set up, this may be expected.
I don't know if this is still a thing, but I don't mean the range at which they open, but rather that they will be able to hit you with a 700m range gun, at 950m range. I would chalk this up to lag, most likely. Haven't really seen it since a while back, though. I'll make a 0 speed NPC for testing at some point and see if I can isolate this.
My guess here is that ship velocity is being added (expected behaviour) when the velocity given for guns doesn't take that into account. If you get them hitting with 0 speed, let me know but I suspect this is kind of expected behaviour because of velocity and how we do gun range calculations on the infocard.
Or, that is what it looks like. I will investigate to make 100% sure this is what happens, and then try to find out why.