FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    Where are lua files are located?

    Scheduled Pinned Locked Moved Mapping
    4 Posts 3 Posters 337 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.
    • K Offline
      Katuli
      last edited by Katuli

      For example

      local Objectives = import('/lua/ScenarioFramework.lua').Objectives
      local ScenarioFramework = import('/lua/ScenarioFramework.lua')
      local ScenarioPlatoonAI = import('/lua/ScenarioPlatoonAI.lua')
      local ScenarioUtils = import('/lua/sim/ScenarioUtilities.lua')
      local Utilities = import('/lua/utilities.lua')

      where from these ScenarioFramework.lua, ScenarioUtilities.lua etc?
      Or atleast where is nice documentation that explains what any function does and which functions do even exist?

      I am just new to scripting so I don't know much.

      Edit: I found where are these lua files, they are in 'pathToGame/gamedata/lua.scd and you have to open lua.scd via winRAR or smth else

      K 1 Reply Last reply Reply Quote 0
      • Ctrl-KC Offline
        Ctrl-K
        last edited by

        I'd suggest going to official discord and take roles Mapper and Modder in #role-selection:
        983fdbfa-3a4b-4f10-9a95-86871c579108-image.png

        After that you'll be given with access to these channels:
        0702708e-da1b-42e0-96b5-852a19129008-image.png
        Where you can ask questions 🙂

        “Be a yardstick of quality. Some people aren’t used to an environment where excellence is expected.”
        — Steve Jobs.
        My UI Mods
        Support me

        1 Reply Last reply Reply Quote 1
        • K Offline
          Katuli @Katuli
          last edited by

          I found where are these lua files, they are in 'pathToGame/gamedata/lua.scd and you have to open lua.scd via winRAR or smth else

          1 Reply Last reply Reply Quote 0
          • UvesoU Offline
            Uveso
            last edited by

            If you need the code from the FAF version, then you should look here:

            C:\ProgramData\FAForever\gamedata\lua.nx2 (also a .zip archive like the .scd files)

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