Advertisement
FocusedWolf

Launching A Mod

Sep 1st, 2011
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. Launching mods in NS2:
  2.  
  3. The -game option for launching mods is explained here: http://www.unknownworlds.com/ns2/wiki/index.php/Modding
  4.  
  5. A quick summary: Mods can be placed anywhere (doesn't have to be in the NS2 folder). If it is in the NS2 folder then you can do -game <mod's folder name>. If it's on your desktop then you do -game "<full path folder\mod's folder name>" and don't forget the " " around that path if there’s any spaces in there.
  6.  
  7. I think a lot of people like using steam and the "Set Launch Options..." button, but this is damn inconvenient when you start working on mods. The best way is to get a shortcut on your desktop, because [maybe you’re not familiar with this yet], you will be starting/closing/restarting NS2 a lot [running it at like 800x600 windowed so you can see your code editor] and in the grand scheme of things, a single click to an icon in your taskbar is going to save time. I’m also going to show you how to launch different mods (maybe you’ll create a test mod to test out smaller elements of your mod in isolation) from different shortcuts so this should be a good productivity tip.
  8.  
  9. Here's how I like to do this:
  10.  
  11. 1. We need a shortcut to NS2.exe somewhere convenient. I think you know how to do this.
  12.  
  13. 2. Right click that shortcut and click Properties (we're going to change the Target).
  14.  
  15. 3. You can use the -game option here like this:
  16.  
  17. (Assuming a mod called "testbed" exists in your "natural selection 2" folder)
  18.  
  19. "C:\Program Files (x86)\Steam\steamapps\common\natural selection 2\NS2.exe" -game testbed
  20.  
  21. (Assuming a mod called "testbed" exists on your desktop)
  22.  
  23. "C:\Program Files (x86)\Steam\steamapps\common\natural selection 2\NS2.exe" -game "C:\Users\Wolf\Desktop\testbed"
  24.  
  25. So much for using steam for starting NS2 right? :P
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement