Mods Load Seqnence

QuandrastormQuandrastorm Join Date: 2013-01-02 Member: 177128Members, Reinforced - Diamond
how does the game handle server running multiple mods that try to alter the same part of lua?
for example alter a standerd NS2 function. i am quite sure there isnt a merge tool build in spark engine.
i gues it loads the latest mods on top of a earlier loaded mod?

Comments

  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts
    edited January 2014
    i gues it loads the latest mods on top of a earlier loaded mod?

    100 points for Quandrastorm.

    If two mods include a same named lua file spark will always use the last loaded one.
    That's one of the reasons most modder use hooking instead of just modifying the vanilla gamefiles.
Sign In or Register to comment.