M2TWEOP-2.1.36
github-actions
released this
21 Feb 18:06
·
917 commits
to master
since this release
Release Notes
Launcher
- Added options in the launcher to enable/disable the following - youneuoy
M2TWEOP developer mode
(CTRL + 2)Tactical map viewer
Stratmap context menu
Library
- Added Rome: Total War like Tactical Map Viewer. Works for any tile type, not only settlements. To activate click 'Middle Mouse Button' on any tile. You can preview it here! - youneuoy
- New EOP buildings feature allowing making unique copies of buildings which you can change entirely. - Fynn
Lua Plugin
- Added new EOP buildings system. - Fynn
- Add and remove capabilities and recruitment pools from buildings, change their names, descriptions and pics. - Fynn
- Get EDB entry of a building by name. - Fynn
- Create and delete forts at will. - Fynn
- Added region struct, expanded a lot of other structs including mercenaries, buildings, stratmap. - Fynn
- Added culture ID and kings purse to faction struct. - Fynn
- Added ability to change faction name, settlement name, region name, region's rebel type name. - Fynn
- Expanded EOPDU with ability to change all primary stats, morale and upgrade models. - Fynn
- Added function to find edu entry by name or index. - Fynn
- Added removing and adding mercenaries to pools, and change the religion requirements. - Fynn
- Added function to get region so you can iterate over them. - Fynn
- Added function to merge 2 armies. - Fynn
ImGUI
- New event
onLoadingFonts
. Use it for loading fonts for useing in IMGUI - youneuoy
function onLoadingFonts()
myCustomFont = ImGui.GetIO().Fonts:AddFontFromFileTTF(M2TWEOP.getModPath().."/eopData/fonts/customFont.ttf", 55, nil, nil);
end
- Added
ImGui.GetStyle();
and style settings (undocumented for now!) - youneuoy - Added
ImGui.PushFont(font);
,ImGui.PopFont();
. Use it in your draw function to change fonts. - youneuoy
Documentation
- Added Fynn's documentation and examples. Now pretty much every single function is now documented! - Fynn and Medik
onPluginLoad
function is now included by default toluaPluginScript.lua
with some valid options commented out andM2TWEOP.unlockConsoleCommands()
enabled by default - Medik
Bugfixes
- Fixed Battlemap highlight causing crashes. - Fynn
- Fix for EOPDU units so they always get unique internal ID - Fynn