-
Notifications
You must be signed in to change notification settings - Fork 6
Make seeding main #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
Breaks down HandleMission into separate scripts - Start of the modular system -Also changed regex to fix some issues
Updated to redirect to the new mission scripts.
Noticed I was dumb and missed bonus missions and races
The start of the modular system. Only for Level files at the moment.
• Added Sunday Drives to modular system • Improved existing modular system file structure
All MFK-related randomisation is now modular. TODO: • Improve efficiency now that the load and init files are processed in the same code (see lines 79 and 80 in RandomItems.lua) • Handle multiple instances of the same object now that we handle both in the same code (IE 10 bonestorm drops, 4 cellout cars)
• Updated GlobalArrays to have less global tables in there - moved to relevant modular file. • Added 2 new global functions. One to count KV tables, the other to clone KV tables. • Updated RandomMissionItems to randomise multiple instances of the same drop. Probably not the final version, but a good proof of concept. • Fixed a bug with RandomMissionCharacters - Type of "RandomMissionsCharacters" made it stop working
• Changed Random Mission Vehicles to be based on the Init file - Improves randomisation, as well as randomising races • Fixed a bug that arose with Random Player Vehicles because of this • Fixed a bug that arose in HandleCar because of this • Fixed a bug in HandleMissionLoad that didn't assign the mission variable if it was a race • Added a new setting to remove the forced car limits • Edited CustomText to use the new settings table - and to add the new setting • Removed old (and now unneeded) method of random cellouts • Removed old setting for random cellouts
- Updated RandomItems to randomise more things - Updated RandomItems and added setting to include characters in random item pool - Fixed bug in logging files to console
I'm dumb
- Fixed a bug when saving randomised mission cars - Added a handler in case of failure on random mission cars so it defaults to original instead of crashing - Fixed a bug on a print trying to concatenate a boolean - Added module sorting, to make sure modules load in required order - Added the ability to include cars in random items
- Fixed a debug testing line - Added traffic cars
- Increase sound limits - could fix random crash with car sounds - Migrated all Settings checks from old static values to Settings table - Added the start of Random Static Cars - Ability to randomise phone booths and bonus cars - Fixed gags in interiors - Doesn't fix interior doorbells - Fixed a bug with finish_line and race objectives
Fixed CustomFiles to use new Settings
- Added Verbose Debug - logs _all_ changed files to console using base64 - used for specific debugging - Doubled Sound limits again because I got the crash again - Completed Random Static Cars feature
- Changed Debug Settings to use a setting to enable/disable - Added ability to execute code in CustomFiles.lua with Debug Settings - Improved ReplaceCar function - Thanks Appel - Moved base64 to GlobalFunctions
- Massively increased sound clip limits due to continued crashing - Set the mod to SupportsInternaional=0 because different languages currently break it - Set CustomCars to default to 0 because errors if the external framework is not configured - Added option to randomise bonus missions - Added warning to Random Bonus Missions stating that users may need to restart the bonus mission to load the level - Commented Random Car Sounds warning - Removed old comment for Random Chase Amount warning - Fixed a bug with Random Static Cars and Custom Cars - Removed old comments from Random Missions
- Added RandomLevelMissions - CURRENTLY BROKEN - Fixed AI tire grip - Fixed Mission Modules to use local tables
Fixed :D
- Fixed an issue where restarting the mission would swap back to the original level.
- Potentially fix an issue with Custom Characters
Bad merging led to duplicated SpeedrunMode
Owner
Author
|
@Hampo any blocks on making this v3 and stable? |
Collaborator
|
I think just this needs doing to fix a custom cars issue, but good besides that https://discord.com/channels/465892220617359360/465907802607714334/1425851644364456049 |
e7f46ef to
92cf7d5
Compare
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.
Summary of changes
Description of changes
Main (was master) is horribly out of date, the suggested version to use is the seeding branch. Just merge it
Any additional information
I changed the latest release, seeding should be packaged as v3 and done properly
v4 can then be 'dev'