0 of 0

File information

Last updated

Original upload

Created by

Adam

Uploaded by

AdamMil01

Virus scan

Safe to use

223 comments

  1. AdamMil01
    AdamMil01
    • premium
    • 55 kudos
    Locked
    Sticky
    To mod authors using mod_hooks: Please use the ::mods_queue feature (new as of mod_hooks version 15) in future versions of your mods. This lets mods declare dependencies and incompatibilities with other mods so that mod_hooks can dynamically reorder the mods to satisfy their dependencies, and I hope it will become standard. Even if you don't have any relationships to declare, using ::mods_queue ensures that your mod can participate in the dynamic ordering. See the description tab for more details. Also, this feature is new, so please let me know if you run into any problems. Converting a mod is simple. If your mod normally does:

    ::mods_registerMod("foo", 1);
    ... your hooks here ...

    Change it to:

    ::mods_registerMod("foo", 1);
    ::mods_queue(null, null, function()
    {
    ... your hooks here ...
    });

    Also, since version 16, the restrictions on mod names and versions are enforced. See the documentation for ::mods_registerMod for details.

    As of version 19, mod authors must exercise special care if they compile their own .cnut files (which is usually not necessary). See the documentation for ::mods_hookClass for details.

    As of version 20, it is now possible (usually) to hook exact classes rather than hooking a base class and trying to find a particular child. See ::mods_hookExactClass for details.

    As of version 21, 'new' hooks work more reliably (i.e. in more situations), but class-based hooks are still better if applicable.
  2. soulveska
    soulveska
    • member
    • 0 kudos
    yeah theres something wrong with ur mod, it doesn't work with an updated mod, maybe legends? idk but it just doesn't work. The error is 

    Mod mod_hooks (modding script hooks) version 21.1 had an error (the index 'getLootForTile' does not exist) during its hook on bb class scripts/entity/tactical/enemies/spider
    1. Ertzler
      Ertzler
      • member
      • 0 kudos
      same here

      Edit: okay after reading that Legends doesent requires modding script hooks anymore, i removed it and it worked (had to remove favoured_enemy_refund mod for legends aswell)

      seems like i can now play on newest version with my 26 other mods
    2. AdamMil01
      AdamMil01
      • premium
      • 55 kudos
      Yeah, Legends had its own, internal version of mod_hooks that might conflict with this one. I think they have a whitelist of allowed mods in the Legends documentation...
  3. sorsis
    sorsis
    • member
    • 0 kudos
    I'm having problems running some mods on my laptop. I deleted all mods except for mod hooks and MSU. I keep getting an error with mod hooks and my game ends up shutting down. https://pastebin.com/BJ0YwW19.

    Thanks for taking a look. Appreciate it.
    1. adryanmonk91
      adryanmonk91
      • member
      • 0 kudos
      Same here!
  4. nomad4193
    nomad4193
    • member
    • 0 kudos
    .
  5. sunbro1991
    sunbro1991
    • member
    • 0 kudos
    im getting a stupid error that says "mod mod_hooks (modding script hooks) version 21.1 had an error (the index 'getTooltip' does not exist) during its hook on bb class scripts/skills/actives/ghoul_claws."

    i literally havnt done anything, i just booted the game up and it gave me this message and have no idea how to fix it? any ideas anyone?
    1. Jameskoach
      Jameskoach
      • member
      • 0 kudos
      The game updated and most mods don't work anymore.

      We're all waiting on updates lol
    2. AdamMil01
      AdamMil01
      • premium
      • 55 kudos
      Hi guys. I just updated the game and gave it a try. I have all 22 of my mods installed (plus one third-party mod) and didn't notice any obvious problems. I didn't test every mod, but the ones I did test worked and I didn't notice any errors in my log file, either. Could you give more details about the error and a list of mods you have installed?
    3. Vitimko
      Vitimko
      • member
      • 0 kudos
      @AdamMil01
      same. its prob because of Legends:
      https://ibb.co/d4bNTDrw
      https://ibb.co/gbcK98Cj
      ---
      sorry, couldn't figure out how to insert the pictures. these are the pictures, I swear -_-
  6. FromOmskWithLove
    FromOmskWithLove
    • member
    • 0 kudos
    Thank you very much for the work done!
  7. khazc
    khazc
    • supporter
    • 0 kudos
    Hey guys i'm not good at coding so can anyone help
    Just updated my mods and every time i open the game this keeps popping up
    how to fix
    https://postimg.cc/Hj54PJR7
  8. HoppyG
    HoppyG
    • member
    • 0 kudos
    After updating Modern Hooks, and Modding Script Hooks, all the other mods I have installed that rely on them stopped working. Do I need to wait for updates for those mods too, and then reinstall them?
    1. HoppyG
      HoppyG
      • member
      • 0 kudos
      Resolved
  9. kudorgyozo
    kudorgyozo
    • member
    • 0 kudos
    Is there a version for base game only without any dlcs?
    1. AdamMil01
      AdamMil01
      • premium
      • 55 kudos
      I think it works for all game versions?
  10. Rajulio
    Rajulio
    • member
    • 0 kudos
    Does anyone know of any good youtube tutorials for using this? I'm not at all experienced in programming and looking at this makes a physical woosh sound because it just goes over my head. 
  11. koreec49
    koreec49
    • member
    • 3 kudos
    ::mods_addField("skills/skill", "skill", "CanTargetAlly", false);
    how to do it properly?