v2024.3.0.0 - Slight Rework (BB+ 0.5)
·
29 commits
to main
since this release
This is a quite rushed release, so don't expect documentation until the next release.
Additions:
- Now supports BB+ V0.5 and MTM101's BB+ Dev API v4.1.1.1.
- Added the fundamentals for poster pack support. Local file paths and .ZIP files are supported for this.
- Mods can add optional poster packs via the
CustomPostersPlugin.AddOptionalPackFromModandCustomPostersPlugin.AddOptionalPackFromDirectoryhelper methods.
- Mods can add optional poster packs via the
- Posters can now be tied to specific room categories, and be excluded from a level's global poster pool. Now you can spawn the posters you want in the Principal's Office and nowhere else!
- If any problems arise, you can toggle on
General.GlobalPostersOnlyin the config file to disable the generation of such posters.
- If any problems arise, you can toggle on
Changes:
- The
posterLengthattribute in poster properties is no longer required, and is instead automatically dictated by the image's aspect ratio. - Poster directories are now searched recursively. In other words, local subdirectory contents are now checked too to keep consistency with the new .ZIP format implementation.
- The helper method
CustomPostersPlugin.AddPostersFromDirectoryhas now been split toCustomPostersPlugin.AddBuiltInPackFromModandCustomPostersPlugin.AddBuiltInPackFromDirectory. - Capitalized the beginning letter of every config entry for naming consistency with BepInEx's configuration entry naming scheme.
- Removed all config entries related to increasing poster chances based on poster count.
- Logged posters now display their source pack.