Simple Mod Framework (lua)

2»

Comments

  • driestdriest Germany Join Date: 2013-02-21 Member: 183251Members, NS2 Playtester, Reinforced - Shadow, WC 2013 - Supporter
    @Sewlek, the file you linked is no longer available. Can you re-up it somewhere or is it hosted somewhere else?
  • SewlekSewlek The programmer previously known as Schimmel Join Date: 2003-05-13 Member: 16247Members, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Developer
    its included in ns2 now
  • driestdriest Germany Join Date: 2013-02-21 Member: 183251Members, NS2 Playtester, Reinforced - Shadow, WC 2013 - Supporter
    Cool, which files exactly should i look at? Couldn't find anything in the huge pile of ns2 lua files ;)
  • IronsoulIronsoul Join Date: 2011-03-12 Member: 86048Members
  • ceribikceribik Join Date: 2009-11-24 Member: 69492Members, Reinforced - Supporter, Reinforced - Silver
    edited September 2014
    Sewlek wrote: »
    its included in ns2 now
    Ironsoul wrote: »
    No idea.
    driest wrote: »
    Cool, which files exactly should i look at? Couldn't find anything in the huge pile of ns2 lua files ;)

    As far as I can tell, the actual "plug and play" example is not included. However, I found the relevant mod loader files, and the tutorial mod uses this "entry" system so that might help in the mean time:

    ./core/lua/ModLoader.lua
    ./core/lua/PreLoadMod.lua
    ./core/lua/PostLoadMod.lua

    ./tutorial/lua/entry/tutorial.entry

    I did find this wiki page though, which may be helpful:
    http://wiki.unknownworlds.com/ns2/Modding_Framework
Sign In or Register to comment.