Well, to be quite honest, the mod itself is not going to function as intended. It simply creates a countermeasure in space next to the player, which will not attract missiles. I went through the code once and heavily tested it out, and just went through the code again to refresh my memory. I believe a countermeasure launch needs to be done by the game’s own code, not by merely creating an inert flare, and I don’t think it’s actually possible to code a manual countermeasure launcher without also writing code that manually forces the missiles to target the flare.
As for your issue with the keybinds, [ScriptKeys.PreviousPlayerShip] is already in the config file by default, so adding it again may be causing conflict which confuses the game.
–IronDuke
I-War 2 Discord: https://discord.gg/RWaabWB
Very little about the game is not known to me. Any questions you got, throw them at me. 🙂