basic question - lua mod tweaks
<div class="IPBDescription">but getting client server differ :(</div>I've done mini lua mod tweaks for fun before, but for one i just did, i'm getting client server differ when trying to run it.
i'm touching TechTree and TechData
What is the proper way to do a mod like this? I just want my version to override the std version. I'm doing the mod in place (which i've done in the past).
should i create a separate 'game' directory with just my modded files? Or do i need to make a copy of all of NS2 lua there? Or something else?
noob requires tips.
i'm touching TechTree and TechData
What is the proper way to do a mod like this? I just want my version to override the std version. I'm doing the mod in place (which i've done in the past).
should i create a separate 'game' directory with just my modded files? Or do i need to make a copy of all of NS2 lua there? Or something else?
noob requires tips.
Comments
If you amend the TechTree and TechData files, you cannot connect to a normal server, you have to run your own. Your game files are now different from the main game. You can only change _Client.lua files and still be able to connect to a vanilla server.
To borrow from my mod set-up examples, this is how you get it to work:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Move the folder pg into your "....\steam\steamapps\common\natural selection 2\" folder.
Right click on ns2.exe and click on send to desktop(create shortcut).
Right click the shortcut select properties.
Find the line called target and after the "....\Steam\steamapps\common\natural selection 2\NS2.exe" add: -game pg.
On my computer the target line reads - "F:\Games\Steam\steamapps\common\natural selection 2\NS2.exe" -game pg
Click the general tab of the properties window.
Change the name from shortcut to ns2 to something like pg or Proving Grounds.
Click OK
Double Click the newly named desktop icon to launch the mod.<!--QuoteEnd--></div><!--QuoteEEnd-->
Then you need to create a server and play the game. Note wherever I use pg, that is my mod folder, you should use the name of your mod folder instead.
In this folder are only the files you have modded, everything not in there will run from the default NS2 directory.
it is a local server situation, but i wasnt sure of the proper ways to do overrides. all good .