Devlogs
MPak v7.1 Release
Posted December 25, 2023 by Master_64
#minor #update
Heyo, here's a general update for MPak that adds a lot of helpful features for programmers, and also adds in a few fixes and tweaks for mappers. The wiki has been updated to reflect these changes! Enjoy!
Changelogs
Additions:
- Added 2 new miscellaneous actors ("MPlayerStart", "MDriveThrough")
- Added 10 functions ("KillPawn()", "SetIKAction()", "GetIKAction()", "IsKeyInAction()", "GetDeltaTime()", "DrawShadowText()", "GuessReadDuration()", "IsStockMap()", "ClearInventory()", "FadeScreen()")
- Added a variable for GetStopwatch() to not show minutes
- PlayAMusic() can now takes a new keyword being " | " which is used for having an alternate music track, in the case the music track does not load
- Added a variable to toggle whether MBlobShadow is two-sided
- Added a bare-bones input tracker for MUtils functions
Changes:
- LoadAGame() now only loads a save if the save slot exists, and returns false if it does not exist
- Fixed a bug in SetHealth() if changing the health of a pawn killed it, it would incorrectly receive knockback
- Fixed a bug in SetHealth() where setting the health of any pawn would always flash the player's health bar, even if it did not affect the current player
- Fixed an accessed none error in GetCurrentMusic()
- PlayMovie()'s variable bLoopMovie is now optional
- Fixed the way GetStopwatch() creates a string so that it doesn't make ":." appear
- Removed the variable fFadeOutTime from PlayMusic() as it served no purpose