v2.5.0
Game version: 1.2.20
Thanks to Matthew Davis from Subset Games, who went out of his way to make sure the mod loader doesn't break with the new version of the game!
BEFORE UPDATING
- Run
uninstall.bat
to remove the mod loader -
Non-steam: update the game (or reinstall)
Steam: runVerify integrity of game cache
(google it if you don't know how)
Optionally try running the game, to make sure it works - Install the new verison of the mod loader
- Go to ITB's save / profile directory, find
settings.lua
file, open it and change:
["force_opengl_1"] = 0
to["force_opengl_1"] = 1
and
["language"] = 0
to["language"] = 1
General
- Added marker file to
/mods
directory so that it'll get unpacked properly. - Reworked handling of text and text replacements in an attempt to better support the new way the game handles text
- Tweaked squad selection and pilot UIs
- Added default and randomize buttons to squad selection and pilot UIs (thanks KnightMiner and tosx)
- Fix statistics screen crashing the game (thanks Lemonymous)
API
modApi:conditionalHook
- third parameter is now afunction
instead of aboolean
. When this function returnstrue
, the conditional hook is removed.- Added
modApi:getGameVersion
, which returns the game version: either1.2.20
,1.1.22
, or1.0.22
. - Added language-related functions:
modApi:getLanguageIndex()
- returns id of the currently selected languagemodApi:getLanguageId()
- returrns a string identifier of the currently selected language. Can pass language index as argument to get the result for other languages.modApi:getLanguageDisplayName()
- returns the display name of the specified language (name of the language as displayed by the game). Can pass language index as argument to get the result for other languages.
- Fix
sdlext.isShiftToggled
/sdlext.isAltToggled
/sdlext.isCtrlToggled
hooks not working - Fix
SpaceDamage.IsMetadata
crashing (thanks Lemonymous) - Change
list_indexof()
to return-1
instead ofnil
(thanks KnightMiner) - Added
FinalEnemyList
global table, that can be used to modify the list of enemies that will spawn during the final mission (thanks Lemonymous) - Added
EnemyLists.Bots
global table, that can be used to modify the list of bot enemies that will spawn in bot missions (thanks Lemonymous) - Removed accidental modApiExt dependency in mod loader code (thanks Lemonymous)
UI
- Added
Ui:swapSibling()
,Ui:bringUp()
,Ui:bringDown()