How does the Balance.lua work?

despairdespair Join Date: 2012-11-01 Member: 165746Members
edited March 2013 in NS2 General Discussion
if i edit my server's balance.lua file and change stuff around, will the new changes be saved and work in the server?

Comments

  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    Yes, but you'll have to exclude balance.lua from the consistency checking so clients can join. However, its best to publish all the changes to a Steam Workshop mod that you run on the server so your changes don't get overwritten when a new build comes out.
  • -WildCat--WildCat- Cape Town, South Africa Join Date: 2008-07-19 Member: 64664Members, Reinforced - Shadow
    ScardyBob wrote: »
    Yes, but you'll have to exclude balance.lua from the consistency checking so clients can join.

    I'm just guessing here but won't clients encounter prediction problems if their balance.lua differs from that of the server's?

    Indeed, publishing to the Steam Workshop seems like the "correct" way to do it.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    -WildCat- wrote: »
    I'm just guessing here but won't clients encounter prediction problems if their balance.lua differs from that of the server's?

    Indeed, publishing to the Steam Workshop seems like the "correct" way to do it.
    Possibly, depending on what you change. Steam Workshop is always the better alternative because it gets around this problem, but if you willing to accept some level of client prediction funkiness, you can do it this way.
Sign In or Register to comment.