Results 1 to 4 of 4

Thread: How to mod .lua file

  1. #1

    Default How to mod .lua file

    I located what I want to mod in the data.pack file with PFM. I extracted the "export_ancillaries.lua" portion to my folder, but I do not know how to mod this file, and how to implement it into the game without problems.
    Riddle me this, riddle me that:
    Who was my first commander?
    How many of me are active right now?
    And who drank a Delacourt '27 when received the commandership of me?

  2. #2

    Default Re: How to mod .lua file

    You can use Notepad++.

    I recommend reading this tutorial to start learning Lua

    http://www.lua.org/pil/contents.html

  3. #3

    Default Re: How to mod .lua file

    Thanks for the response. After I use the Notepad to do the changes, do I have to do anything else to the file to implement it into the game without problem? Like renaming the file. And also, do I just put the file in my data folder, or do I have to put it some where else? Since I only Extracted the file with PMF from, I think the data.pack file.
    Riddle me this, riddle me that:
    Who was my first commander?
    How many of me are active right now?
    And who drank a Delacourt '27 when received the commandership of me?

  4. #4

    Default Re: How to mod .lua file

    Renaming the .lua file may crash the game.
    Once you've edited the file, you should create a new mod pack using the Pack File Manager then add it to your new mod pack.

Posting Permissions

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