IWar2 – Manual Contermeasure Mod not working

Home Forums Mods and POG Scripting IWar2 – Manual Contermeasure Mod not working

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18755
    Chico008
    Participant

    Hi

    I experience a difficult using the manual countermeasure mod for Iwar2
    i paste the zip mod in the mods folder
    i add in the config/default.ini and keayboard_only.ini a line like this :
    [ScriptKeys.PreviousPlayerShip]
    Keyboard, Insert

    but i still can’t launch counter measure manually.

    i tried using the Insert key to another function, it workd, so it’s not the Insert key that doesn’t work.

    Please help


    What the wookie said ?

    #18757
    IronDuke
    Participant

    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. 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.