Skip to content

Releases: youneuoy/M2TWEOP-library

M2TWEOP-2.1.36

21 Feb 18:06
Compare
Choose a tag to compare

EOP Logo

ko-fi
Discord Link
Build Status

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

Screenshot 2023-02-21 at 14 05 23

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 to luaPluginScript.lua with some valid options commented out and M2TWEOP.unlockConsoleCommands() enabled by default - Medik

Bugfixes

  • Fixed Battlemap highlight causing crashes. - Fynn
  • Fix for EOPDU units so they always get unique internal ID - Fynn

Links

Download

M2TWEOP-2.1.beta.35

22 Nov 15:07
Compare
Choose a tag to compare

EOP Logo

New beta version of M2TWEOP 2.1πŸ˜‹

ko-fi
Build Status
Build Status

Release Notes

Breaking Changes

Launcher

  • Settings menu now shows the EOP version in use - Medik

Library

  • Custom battles: now traits added to characters - youneuoy

Lua Plugin

Documentation

  • Restyled the LuaPlugin documentation to be easier to read and navigate - Medik

Bugfixes

  • M2TWEOP DU fix(if last version adding unit types eop removed vanilla unit types from the end of its list - youneuoy

Links

Download

M2TWEOP-2.1.beta.34

17 Oct 20:23
Compare
Choose a tag to compare

EOP Logo

New beta version of M2TWEOP 2.1πŸ˜‹

ko-fi
Build Status
Build Status

Release Notes

Breaking Changes

  • Renamed "getResourceCode" to "getResourceID" for uniformity :: WARNING: backwards incompatibility! - Callistonian

Launcher

  • Added M2TWEOP health checker (this will appear automatically if there are potential startup problems) - youneuoy
  • Removed M2TWEOPUI.cfg (this file is now obsolete, you may remove it) - Medik
  • Added new file eopData/uiCfg.json to configure the launcher - Medik
  • Added new config options to change the launcher window title, "Run mod" message and button colors - Medik
  • EOP is now enabled by default in the launcher config options - Medik
  • Added a new tutorial on configuring the launcher - Medik

Examples of the new launcher options



Library

  • Hotseat: select battle winner without casualties - youneuoy
  • DeveloperMode: activated by ctrl+2 - youneuoy
  • DeveloperMode: BattleMapOverrider, useful for custom maps testing. - youneuoy
  • backspace(stop movement button)now work at campaign map(but only if human players<2, i.e. not in multiplayer hotseats).

Lua Plugin

  • EduEntry table: new fields - youneuoy
  • M2TWEOPDU table: now setEntrySoldierModel works better - youneuoy
  • namedCharacter table: removed localizedSaveName, localizedSaveName2, localizedSaveNickName - youneuoy
  • namedCharacter table: added rest of the attribute members - Callistonian
  • Added event functions: onShortcutTriggered(), onCharacterMarriesPrincess(), onBecomesFactionLeader(), onBecomesFactionHeir() - Callistonian
  • Added structures: portStruct, watchtowerStruct, factionStratMap, buildingsQueue, buildingInQueue - Callistonian
  • Renamed "getResourceCode" to "getResourceID" for uniformity :: WARNING: backwards incompatibility! - Callistonian
  • Added trade resource getters for hasMine and image (icon) - Callistonian
  • campaign table: GetUnitSize function - youneuoy
  • new ugly console - youneuoy

Documentation

  • Updated Erken's ImGUI tutorial to V3 (Thanks again Erken!) - Medik
  • Lua documentation corrected and improved with many usage examples - Callistonian

Bugfixes

  • Fixes for launch process
  • Iterating through sub elements from 0 to (subElementsnum-1) now returns the correct results - Callistonian
  • Setting resource strat models no longer sets their cost and hasMine fields to 0 - Callistonian
  • soldierCountStratMapMax and soldierCountBattleMap return the correct values - Callistonian

Links

Download

M2TWEOP-2.1.beta.33

24 Jul 10:53
Compare
Choose a tag to compare

Tux, the Linux mascot

New beta version of M2TWEOP 2.1πŸ˜‹

Release Notes

Library

  • No

Lua Plugin

  • No

Documentation

  • Updated

Bugfixes

  • fix uiElementStruct fields
  • fix for increasing number of soldiers in unit(for example stack_unit.soldierCountStratMap = stack_unit.soldierCountStratMap + 12)

Links

M2TWEOP-2.1.beta.32

11 Jul 19:06
Compare
Choose a tag to compare

Tux, the Linux mascot

New beta version of M2TWEOP 2.1πŸ˜‹

Release Notes

Library

  • No

Lua Plugin

  • No

Documentation

  • Updated

Bugfixes

  • forts with units but without characters no longer disappear
  • unit IDs are used to transfer losses and generate battles
  • eop intro disabled again
  • fix crash on creating/loading custom battles
  • fix error with creation of unit with index 0 in EDU
  • onTransgression event fix
  • fix of eop loading

Links

M2TWEOP-2.1.beta.31

24 May 20:18
Compare
Choose a tag to compare

Tux, the Linux mascot

New beta version of M2TWEOP 2.1πŸ˜‹

Release Notes

Library

  • No

Lua Plugin

  • No

Documentation

  • Updated

Bugfixes

  • forts with units but without characters no longer disappear
  • unit IDs are used to transfer losses and generate battles
  • eop intro now can be skipped with Esc key
  • fix crash on creating/loading custom battles
  • fix error with creation of unit with index 0 in EDU

Links

M2TWEOP-2.1.beta.30

16 May 01:53
Compare
Choose a tag to compare

Tux, the Linux mascot

New beta version of M2TWEOP 2.1πŸ˜‹

Release Notes

Library

  • Now save files created automatically (quick saves and autosaves) will be written to multiple save slots (like: quickSave-1.sav, quickSave-2.sav, etc).

Lua Plugin

  • Unit table: added exp, armourLVL, weaponLVL fields
  • SettlementStruct: added changeOwner function

Documentation

  • Updated

Bugfixes

  • No

Links