Basic Autoexec
McGlaspie
www.team156.com Join Date: 2010-07-26 Member: 73044Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Squad Five Gold, Reinforced - Onos, WC 2013 - Gold, Subnautica Playtester
<div class="IPBDescription">Simple "config" mod</div>So I was asked by a few clan-mates how to set a few console commands so they always run when client does (such as: r_shadows 0, etc.). This is a simple mod, just extract the contents of the zip to your Natural Selection 2 folder and run:
...\Natural Selection 2\ns2.exe -game basic_exec
You can edit the Client.lua file in the basic_exec\lua directory to run any console commands you need every time NS2 starts. This could also easily be added into other mods.
...\Natural Selection 2\ns2.exe -game basic_exec
You can edit the Client.lua file in the basic_exec\lua directory to run any console commands you need every time NS2 starts. This could also easily be added into other mods.
Comments
He provides a very clear how to in his .zip. It's not complicated. Install it to your steamapps/common/natural selection 2/ folder. Then add the -game basic_autoexec or whatever to your launch options in Steam for Natural Selection 2.
i extract in common /natural selection 2 folder and than i see the basic_exec folder
i go to launch options and and set -game basic_autoexec
i go in game but dont see r_stats?
i extract in common /natural selection 2 folder and than i see the basic_exec folder
i go to launch options and and set -game basic_autoexec
i go in game but dont see r_stats?<!--QuoteEnd--></div><!--QuoteEEnd-->
Thats because its -game basic_exec
not "-game basic_autoexec"
The point of this script was to eliminate the need for people to have to type things like "r_bloom 0" in console every time they run the game to get decent fps.