Initially, I followed the instructions on the wiki to create an init_dev.lua file, made a shortcut to ForgedAlliance within the FAF folder using the /init flag, and then pointed the dev_path variable to where I cloned the fa repo. So far so good, everything loaded fine and I could start a game.
However, if I ever try to change dev_path to point to anything except the fa repo, I can't get a skirmish match to run. It hangs on connecting and in the log I get this output:
- Code: Select all
info: LOBBY: Game port 0[None] opened.
warning: Error running OnFrame script in CScriptObject at 101a1300: void CLobby.HostGame(self)
expected 1 args, but got 2
stack traceback:
[C]: in function `HostGame'
...ged alliance\gamedata\lua.scd\lua\ui\lobby\lobby.lua(341): in function `HostGame'
...rged alliance\gamedata\lua.scd\lua\ui\menus\main.lua(916): in function `StartLobby'
...rged alliance\gamedata\lua.scd\lua\ui\menus\main.lua(919): in function <...rged alliance\gamedata\lua.scd\lua\ui\menus\main.lua:911>
...rged alliance\gamedata\lua.scd\lua\ui\menus\main.lua(818): in function <...rged alliance\gamedata\lua.scd\lua\ui\menus\main.lua:810>
...rged alliance\gamedata\lua.scd\lua\ui\menus\main.lua(320): in function <...rged alliance\gamedata\lua.scd\lua\ui\menus\main.lua:305>
It seems to me that I'm missing some file or something somewhere in my mod, except I can't get it to work with any other mods, either. I've tried downloading the ModBootstrap mod and a couple of other small Hello World-esque mods, but I cannot get them to successfully load either.
Am I missing something in how I'm supposed to set this up? The wiki seemed to suggest that I point the init file to the individual mod, but now I'm wondering if it's supposed to be developed as a subfolder within the fa file structure or something.
Any help on how I'm supposed to organize my folders/init files would be greatly appreciated.