Can someone give a basic rundown of starting a mod?

PheusPheus Join Date: 2003-01-30 Member: 12924Members
I've spent the last few hours trying various things to no avail. I can't figure out how to get a simple mod up and running, and I haven't been able to find any documentation or guides at all.

I would really appreciate it if someone could give me a basic rundown of how to start a mod - what to copy where etc, and then how to test it ingame. I mean super basic, i.e. making a mod that has half gravity, then testing it on a normal map.

Comments

  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    [list]
    [*]Create a MODNAME directory in your ns2 directory "C:\Program Files (x86)\Steam\steamapps\common\natural selection 2\MODNAME"
    [*]Create a shortcut to NS2.exe
    [*]Edit the properties of the shortcut, append '-game MODNAME' to the end of the target.
    [*]Create a lua directory in your MODNAME directory
    [*]Copy files from "...common\natural selection 2\ns2\lua" and modify
    [/list]

    When you launch the game via the shortcut you created, everything in your 'MODNAME' directory will be loaded instead of the default 'ns2' files.
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    edited February 2013
    I should also mention consistency checking. This can be really annoying even when developing locally. I turn it off completely.

    [list]
    [*]Navigate to: "%appdata%/natural selection 2/"
    [*]Edit ConsistencyConfig.json (any editor will do, notepad is fine)
    [*]Replace what's in the file with:
    { "check": [  ] }
    
    [/list]

    This tells your local server to not check any files for consistency.
  • RioRio Join Date: 2005-01-28 Member: 38716Members
    edited February 2013
    Huze wrote: »
    Edit the properties of the shortcut, append '-game MODNAME' to the end of the target.
    If you also add '-hotload' to your shortcut, your files get reloaded in game if you save them.
  • PheusPheus Join Date: 2003-01-30 Member: 12924Members
    Thanks guys! got it working
  • SquishpokePOOPFACESquishpokePOOPFACE -21,248 posts (ignore below) Join Date: 2012-10-31 Member: 165262Members, Reinforced - Shadow
    edited February 2013
    Huze wrote: »
    [list]
    [*]Edit the properties of the shortcut, append '-game MODNAME' to the end of the target.

    @Huze This doesn't work. Says "specified in target box invalid" :(


    edit: fixed... it's gotta have a space after the quote for some reason. Like "ns2.exe" -game MODNAME
Sign In or Register to comment.