Is your feature request related to a problem? Please describe.
All SAMs currently calculate separately to intercept nukes. While they do do checks whether a missile is already being intercepted, there is no way to organize which SAM should target which. There is also a big performance cost to doing this for each SAM individually
Describe the solution you'd like
An orchestrating or coordinater class that takes the responsibility of all of this, it runs on each missile and calculates which SAM should intercept it, so individual SAMs never have to look.
This allows for smarter targeting. IE spreading the missiles between SAMs instead of first SAM runs out of ammo and gets blown up for nukes flying over it
This also has potentially big performance gains, SAM logic is a pretty intensive part of the tick calcs when everyone builds dozens and dozens, and hundreds of warheads fly about.
Describe alternatives you've considered
Perf buffing SAMs and nukes. We've implemented these, but it can still be better. Targeting can't really be improved without cross communicating in some shape and this is the cleanest method.
Assignment
Is your feature request related to a problem? Please describe.
All SAMs currently calculate separately to intercept nukes. While they do do checks whether a missile is already being intercepted, there is no way to organize which SAM should target which. There is also a big performance cost to doing this for each SAM individually
Describe the solution you'd like
An orchestrating or coordinater class that takes the responsibility of all of this, it runs on each missile and calculates which SAM should intercept it, so individual SAMs never have to look.
This allows for smarter targeting. IE spreading the missiles between SAMs instead of first SAM runs out of ammo and gets blown up for nukes flying over it
This also has potentially big performance gains, SAM logic is a pretty intensive part of the tick calcs when everyone builds dozens and dozens, and hundreds of warheads fly about.
Describe alternatives you've considered
Perf buffing SAMs and nukes. We've implemented these, but it can still be better. Targeting can't really be improved without cross communicating in some shape and this is the cleanest method.
Assignment