A Hat in Time

A Hat in Time

341 ratings
[FIX] Fixed Mod Act Select Menu
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
455.959 KB
8 Nov, 2018 @ 8:58pm
15 Jul, 2020 @ 9:48am
6 Change Notes ( view )

Subscribe to download
[FIX] Fixed Mod Act Select Menu

Description
NOTE: This mod doesn't contain any playable content on its own! It allows other mod authors to utilise certain chapter features that don't function correctly in the base game.


Alternative download[drive.google.com] for GoG users.

HOW TO USE

PLAYERS
    Just subscribe and play any chapter mod that has this mod marked as a 'Required Item'.

MODDERS
    Simply use any feature that this mod supports, then add it as a 'Required Item' on your mod's Workshop page so players are prompted to download it when subscribing to your mod.
    When testing your chapter mod, you'll need to launch the game normally, instead of via 'Test Mod', or else this mod won't load in.
    If you want to prevent this mod from overriding your mod's act select menu (e.g. you have your own custom act select screen), simply create a GameMod subclass for your mod, create a config var named 'configDisableFixedActSelectMenu', and have it force set to a value of 1 using SaveConfigValue() or SaveConfig() in OnModLoaded().

Will override Hat_HUDMenuActSelect when selecting chapter mods. All other act select menu functionality should be unaffected.

Most likely fully incompatible with any other mod that attempts to override the mod act select menu.

Changelist:
  • Finale acts now show up and fill correctly for mod chapters
  • ChapterInfo 'Has Free Roam' now actually does something
    • Uses act 99's Pon cost as a completed acts threshold (Unlocks when player completes that many non-timerift acts in your mod). Also uses act 99's map (uses act 1 if none provided).
  • Standoff chapters will fetch the correct act highscores, and selecting a mod standoff winner functions correctly.
    • NOTE: Actually setting the highscores of each act still requires additional custom classes/functions. (Included in my Multi-Chapter Mod Resource Pack). Note that Uncanny finales may not work correctly when using GhostParty features.
  • When checking for unlocked Purple Rifts, mod Time Piece identifiers will be checked before raw ones.
    • Basically you can use a custom function that unlocks Purple Rifts by their modID now instead of their raw one, to avoid conflicts with other mods that have the same TP identifiers.
    • If you've already implemented a function that unlocks them by their rawID, don't worry, it'll still work fine.
      You can no longer use raw TPIDs to unlock Purple Rifts!! There was an update to the game some time ago that changed the act select menu. You now must use the corrected TPID!!
  • Fixes Purple Rift reminder act not showing for mod chapters when you've completed every other non-Purple Rift act.

Credits
Argle Bargle - For their Chase Badge mod. Specifically, how it overrides act select menus, which I adapted for this mod originally. No longer uses this method.
Popular Discussions View All (1)
0
8 Nov, 2018 @ 9:58pm
PINNED: BUGS
Starblaster64
4 Comments
Hi-Vis 14 Oct, 2019 @ 6:13am 
I asking, bcuz some players may ignore the required item, that need to be downloaded
Starblaster64  [author] 14 Oct, 2019 @ 5:20am 
You could *technically* integrate it into your own mod, and follow the steps I've outlined in the description to prevent this mod from overriding it if present. You'd need to make sure it would only override your mod's act select menu though, otherwise it'd override other mods' menus too.

Why do you ask anyway, is it because there's currently no real way to ensure players actually download required items?
Hi-Vis 14 Oct, 2019 @ 12:05am 
Can this fix be integrated into the mod i doing?
Or it MUST stay as required item?
✯ Rimi 25 May, 2019 @ 8:31am 
ITS ACTUALLY THE BEST MOD EVER