Results 1 to 2 of 2

Thread: Lua scripts from other mods. How to get them working?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    gdwitt's Avatar Semisalis
    Join Date
    Feb 2014
    Location
    Michigan
    Posts
    412

    Default Lua scripts from other mods. How to get them working?

    I have some favorite Attila mods with lua files in the scripts section.
    They don't seem to work with this mod.
    Is there a workaround for this?
    Can the game load luas from multiple mods?
    If not, can I just create my own gigantic script and import it?

  2. #2

    Default Re: Lua scripts from other mods. How to get them working?

    Quote Originally Posted by gdwitt View Post
    I have some favorite Attila mods with lua files in the scripts section.
    They don't seem to work with this mod.
    Is there a workaround for this?
    Can the game load luas from multiple mods?
    If not, can I just create my own gigantic script and import it?
    Generally lua script mods almost never work together. Warhammer scripters (given that there are a lot more of them) have created a system to ensure cross-compatibility for scripts, but nobody in Attila does this which pretty much makes cross-compatibility impossible unless one mod script takes every other modding script into account.

    Furthermore, this is even more difficult when a total overhaul such as AE has certain mechanics added/removed or changed in such vital ways that may impact the function of other scripts.

    Your best bet is to took at the scripting lua and see if you can combine all of the changes, as most scripts are loaded from the scripting.lua file (in campaigns/main_attila/scripting.lua) at their root.
    modificateurs sans frontières

    Developer for Ancient Empires
    (scripter, developed tools for music modding, tools to import custom battle maps into campaign)

    Lead developer of Attila Citizenship Population Mod
    (joint 1st place for Gameplay Mods in 2016 Modding Awards)

    Assisted with RMV2 Converter
    (2nd place for Warscape Engine Resources in 2016 Modding Awards)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •