File information
Last updated
Original upload
Created by
Enduriel and MSU TeamUploaded by
Endur1elVirus scan
Tags for this mod
About this mod
A modern re-imagining of modding script hooks. Easily modify functionality without overwriting files.
THIS MOD DOES NOT ENTIRELY REPLACE MODDING SCRIPT HOOKS. YOU CAN AND MIGHT NEED TO USE BOTH AT THE SAME TIME.
- Requirements
-
This mod does not have any known dependencies other than the base game.
Mods requiring this file
- Permissions and credits
-
Credits and distribution permission
- Other user's assets All the assets in this file belong to the author, or are from free-to-use modder's resources
- Upload permission You are not allowed to upload this file to other sites under any circumstances
- Modification permission You must get permission from me before you are allowed to modify my files to improve it
- Conversion permission You are not allowed to convert this file to work on other games under any circumstances
- Asset use permission You must get permission from me before you are allowed to use any of the assets in this file
- Asset use permission in mods/files that are being sold You are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
- Asset use permission in mods/files that earn donation points You are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Adam Milazzo for opening up Battle Brothers modding in the way that he did. Without him almost none of this would be possible.
I've also included some of his code verbatim to patch some mod_hooks functions, with his permission.
LordMidas for arguing stuff with me and his work on making the advanced queuing work.
HackFlow for his amazing PR which made me rewrite basically the entire API, and of course countless arguments on discord.
Darxo, TaroEld, Necro and the other members of the BB Modding Discord for their help, suggestions, and general mental support for when code got weird.Donation Points system
Please log in to find out whether this mod is receiving Donation Points
- Changelogs
-
-
Version 0.5.2
- fix bad handling for null and ref type defparams in certain hooks
-
Version 0.5.1
- fix debug information sometimes not being shown when a mod errors
-
Version 0.5.0
- log the mods attempting to hook a file that doesn't exist
- fix nexti iteration for q.m and q in a normal hook
- fix conflictWith not handling and logging conflicts correctly
-
Version 0.4.10
- fix hookTree sometimes not running after hook
-
Version 0.4.9
- fix native hooks not working
-
Version 0.4.8
- fix not queuing mods after their requirements defined by old hooks
-
Version 0.4.7
- fix more issues with supporting mod_hooks queuing, should be all this time
-
Version 0.4.6
- fix critical issue with not respecting mod_hooks queuing
-
Version 0.4.5
- fix incompatibility with mods using hookNewObject on states (some older mods)
-
Version 0.4.4
- fix flakiness when parsing some mod queue information
-
Version 0.4.3
- fix incompatibility with certain mods using certain queuing formats
-
Version 0.4.2
- fix infinite update notifications
-
Version 0.4.1
- fix incompatiblity with MSU versions < 1.3.0 prelease candidates
-
Version 0.4.0
- Initial Beta release
-
- Donations
-
Straight donations accepted
This description is targeted at modders, if you are a mod user, download this if a mod asks you to, but do not delete modding script hooks if that is listed as a requirement in any of your mods. This is a replacement for modders, not for mod users.
Documentation
Ask me and others for help on the BB Modding Discord
If you've already used modding script hooks, see this for why you should swap.
If you're new to modding, I'd recommend starting here and looking for help on the modding discord. If you are modding, you should be using Modern Hooks.
If you're worried about compatibility with modding script hooks, don't be. I've designed mod hooks to not interfere with existing hooks and I consider breaking mods that work without modern hooks in the mod list to be a bug. Feel free to reach out to me on here or on the discord if you believe you've found such an incompatibility.
To those who have waited, sorry for taking so long.