Releases: gurrenm3/BTD-Mod-Helper
Releases · gurrenm3/BTD-Mod-Helper
3.1.22
This update will require a manual download from GitHub here
-
Initial fixes for BTD6 v44
-
Removed the BypassSavingRestrictions settings as it's no longer needed (hurray!)
- Also removed the AutoHideModdedClientPopup setting as the new popup requests
-
Added a new String extension for GetBtd6Localization (thanks @DarkTerraYT !)
3.1.21
- Initial fixes for BTD6 v43.0
Notes for Modders
- For any place where you previously used
InGame.instance.UnityToSimulation
, just switch it now to eitherInGame.instance.bridge
orInGame.Bridge
orInGame.instance.GetUnityToSimulation()
3.1.20
- Fixed a bug preventing modded heroes from reaching level 20
3.1.19
- Fixed a patch for BTD6 v42.1
3.1.18
- Fixes for BTD6 v42.0
This Mod Helper update will not be able to be made via the in game Mod Browser.
Note for Modders
A large number of mods will need to be updated for this patch, as the namespace
for SpriteReference
, PrefabReference
, and AudioSourceReference
has been changed from Il2CppAssets.Scripts.Utils
to Il2CppNinjaKiwi.Common.ResourceUtils
.
3.1.17
- Fixes for BTD6 v41.0
- Updated VanillaSprites and UpgradeTypes for v41.0
- Fixed hints for custom round sets
- Fixed some more crashes for Linux / Wine / Proton users
3.1.16
- Preliminary fixes for v40.0 (thanks @KosmicShovel!)
- Updates for v40.0 UpgradeTypes, VanillaSprites, etc
- The
TopPathUpgrades
,MiddlePathUpgrades
andBottomPathUpgrades
properties no longer need to be manually specified forModTower
s, they will be inferred- Same goes for
MaxLevel
inModHero
- Same goes for
- Added a
Model.RemoveBehaviors()
extension (no type argument) that simply clears all behaviors - Fixed a possible visual error with ModSettingFile and ModSettingFolder
- Let a number of api methods use params arguments
- Added GetBloonDisplay method to ModDisplay.cs (thanks @DarkTerraYT!)
3.1.15
- Fixes for v39
- Due to the new Community Button, the Round Set Changer button now only appears while selecting the difficulty/mode for a map
- Fixed ModHero font name material reference
- Fixed JSON settings
- Added setting to toggle Mod Browser Populating on Startup
- From my personal testing, this leads to ~1s faster startup on average, in exchange for waiting 5s - 10s when you
first open the browser
- From my personal testing, this leads to ~1s faster startup on average, in exchange for waiting 5s - 10s when you
- Added
Instances
andLists
classes for modders that have getters for commonly used BTD6 singleton classes and game objects- eg
InGame.instance.coopGame.Cast<Btd6CoopGameNetworked>().Connection.Connection.NKGI
can instead beInstances.NKGI
- Also gets added as a component to a Game Object at the root of a global scene, so you can easily access fields from the default Unity Explorer window
- eg
3.1.14
- Added
AbilityHelper
class - Reverted a previous change that was leading to a selling / rebuying 5th tiers issue
3.1.13
- Now natively works on Epic Games version, and prompts user to download the compatability plugin to make other mods work if they don't have it
- Added ModHelperData
bool Plugin
field for mods that are MelonPlugins - Fixed SteamWebView usage on the Epic Games version
- Fixed a crash that could happen on Linux (thanks @GrahamKracker)
- Fixed more crashes from TowerInventory / subtower interactions (thanks @Onixiya)
- Added
AttackHelper
,WeaponHelper
andProjectileHelper
that can be used to less painfully create those models
from scratch- The classes will implicitly convert themselves to their respective models
- Make use of the object initialization syntax; don't need to specify every single field, will use sensible defaults