FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Engy mod-where is the script stored?

    Scheduled Pinned Locked Moved Modding & Tools
    5 Posts 4 Posters 554 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VanificaV
      Vanifica
      last edited by

      Does anyone know where the core lua scripts for Engymod are stored? I know it was integrated into FAF-I want to see how it works.

      Wars of Glory: FAF reimagined. Now casting (somewhat) regularly!

      Discord link in the Mod Vault description!

      1 Reply Last reply Reply Quote 0
      • RoweyR
        Rowey
        last edited by

        Probs best to jsut scroll back in the git hub repository to around 2013/2014 if it gose that far back.

        "The needs of the many outweigh the needs of the few" - Spock

        1 Reply Last reply Reply Quote 0
        • speed2S
          speed2
          last edited by

          The main part would be this https://github.com/FAForever/fa/blob/deploy/fafdevelop/lua/sim/Unit.lua#L361 but it's in other places as well

          1 Reply Last reply Reply Quote 0
          • VanificaV
            Vanifica
            last edited by

            Yes, I found that. Thank you!

            My other question is, how would you mod that?

            It doesn't look like the hook thing would be straitforward, since you have to convince the game engine to run your modified script alongside that one-but if you just copy the Units.lua script into hook/lua/sim and modify it there, it just messes things up since hook concatenates it onto the original.

            Wars of Glory: FAF reimagined. Now casting (somewhat) regularly!

            Discord link in the Mod Vault description!

            1 Reply Last reply Reply Quote 0
            • Dragun101D
              Dragun101
              last edited by

              You could do a destructive hook. Or you could your changes on a factional level. If you want to look, the SCTA, has its own version of Engi Mod.

              I’m a shitty 1k Global. Any balance or gameplay suggestions should be understood or taken as such.

              Project Head and current Owner/Manager of SCTA Project

              1 Reply Last reply Reply Quote 0
              • First post
                Last post