This topic is meant to track breaking changes between API versions. (Note that this is a work-in-progress)
API 54 - 2.0 Alpha 1
UNID not found error:
A number of UNIDs were moved to a compatibility library. They were deprecated or had typos in them. You have two options to fix this:
- you can update the UNIDs using find & replace tools to use the corrected UNIDs (you can find the mapping in this file: https://github.com/kronosaur/Transcende ... ibrary.xml (Note, prior to Alpha2, rsMolotokHD is mapped to rsMolotokHD when it should be mapped to rsMolotokB). The <!-- Commented --> unid is the one that you want to use instead of the unid name on that line. This fix also works in legacy mods, if you want to maintain a compatible codebase.
- you can add the following compatibility library as a requirement in your mod (only works in API54+)
Code: Select all
<!ENTITY CMPT_unidAPI54CompatUNIDLibrary "0x00710000"> ... <CoreLibrary filename="CMPT_API54CompatUNIDsLibrary.xml"/>
Calling (objDestroy blah) was deprecated, as it was causing confusion with (objDestroy blah Nil). Use (objRemove blah) instead.
(older API versions to be added later)
API ## (template)