Repository navigation
Conversation
Detour CPortalMPGameRules::GetActiveBranches (the hub script's GetHighestActiveBranch) to return at least min(sar_unlocked_chapters, 6). Completion data is left alone, so the hub awards no course achievements. Host side only; Windows signature only.
…t and challenge mode lists
…menu challenge mode list Linux inlines the MP.complete title data read into CLeaderboardMapItem::SetChapterAndMapInfo, so patch the point where its completion checks meet with a call to a stub that sets the result for maps of courses up to sar_unlocked_chapters.
…cked coop courses The hub's level select screens and arrows use the IsLevelComplete script function and coop_lobby_select_level, which both read the server's real completion data, so a course that was only unlocked opened on its first map with the arrows off. Treat the maps of unlocked courses as completed in that script function and add coop_lobby_select_level's force argument for them.
Member
Author
|
linux CI failed due to |
Member
|
lol why the fuck I would only ever want this for the cm list (like sp). if it's to lock courses i.e. for solocoop (which it's not), then will you increase the cvar as maps are completed? why separate the unlocked state from completion? as a verifier you should know what a nightmare this is. it also changes the default behavior for the majority of players who set the cvar to 999 in configs (to unlock the cm list, as intended) and never touch it again. |
Member
Author
|
whoops sorry bout that amj =), this is now the same as sp |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sar_unlocked_chaptersnow also unlocks coop courses up to its value: the hub doors, the hub level select screens and the challenge mode lists (main menu and in game). Saved progress isn't touched, so no achievements are awarded. Unlock only:0acts like-1. Hub changes apply to the host and take effect when the hub loads.Tested on Windows and Linux. Windows hasn't been tested in game for the hub level select part yet.