List of console commands

minibananaminibanana Join Date: 2009-09-03 Member: 68682Members
edited April 2010 in NS2 General Discussion
thirdperson
typing thirdperson again will get you out of it

if you guys know any please post em
«1

Comments

  • PowerMustachePowerMustache Join Date: 2010-03-07 Member: 70875Members
    is there a way to enable console?
  • minibananaminibanana Join Date: 2009-09-03 Member: 68682Members
    I don't see anything in the bind menu but by pressing "~" it opens it up for me
  • ZekZek Join Date: 2002-11-10 Member: 7962Members, NS1 Playtester, Constellation, Reinforced - Shadow
    Judging from the LUA, these are all of them:

    connect
    map
    exit
    quit
    thirdperson
  • MalivilMalivil Join Date: 2009-08-12 Member: 68439Members
    r_stats

    Shows stuff like FPS
  • puzlpuzl The Old Firm Join Date: 2003-02-26 Member: 14029Retired Developer, NS1 Playtester, Forum Moderators, Constellation
    r_shadows false|true
  • Col.NathanRJessupCol.NathanRJessup Join Date: 2010-04-10 Member: 71279Members
    anyone know how to reverse mouse? driving me nuts! arggh!
  • fsfodfsfod uk Join Date: 2004-04-09 Member: 27810Members, NS2 Developer, Constellation, NS2 Playtester, Squad Five Blue, Squad Five Silver, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts
    clear clears the console
    disconnect

    also "connect" has no retry delay when sending connection packets it will saturate you upload bandwidth if it gets no reply
  • sherpasherpa stopcommandermode Join Date: 2006-11-04 Member: 58338Members
    <!--quoteo(post=1765138:date=Apr 10 2010, 06:56 AM:name=Malivil)--><div class='quotetop'>QUOTE (Malivil @ Apr 10 2010, 06:56 AM) <a href="index.php?act=findpost&pid=1765138"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->r_stats

    Shows stuff like FPS<!--QuoteEnd--></div><!--QuoteEEnd-->

    Ouch, FPS dips into the low 20s quite often.

    Yet to be optimised etc but I'd struggle to beleive the min sys req of about a year ago still holds true.
  • w0dk4w0dk4 Join Date: 2008-04-22 Member: 64129Members, Constellation, Reinforced - Shadow
    Here are some more:

    dev
    cheats
    noclient
    profile
    which
    mod
    option
  • w0dk4w0dk4 Join Date: 2008-04-22 Member: 64129Members, Constellation, Reinforced - Shadow
    edited April 2010
    more (these ones I tried and are working):

    r_wireframe
    physics
    r_mode [lit|normals|albedo|specular|gloss|emissive|depth|none]
    <b>net_stats</b> <- good one
  • BJHBnade_spammerBJHBnade_spammer Join Date: 2005-02-25 Member: 42431Members
    is there one for spawning stuff?

    thread needs to be sticked commands are usefull stuff
  • asmodeeasmodee Join Date: 2007-06-20 Member: 61317Members, Constellation
    Are you guys just guessing at these commands?

    I'd like some finer control of graphics settings. Those system specs listed on the NS2 site are absolute bs. 1.2GHz cpu and 256MB of ram? Maybe for the video card specs. I have 2GB of ram, Q6600 (2.4GHz) and a 7600GT (256MB). I can get 70 - 95fps in TF2 pretty consistently, 200 - 300 fps in source mods, and 5-10 fps in NS2 engine test (somtimes I spike to 15, and once today I saw 17)...
  • Knights-Knights- Join Date: 2009-11-24 Member: 69507Members
    Thankyou, needed this thread..
  • SentrySteveSentrySteve .txt Join Date: 2002-03-09 Member: 290Members, Constellation
    <!--quoteo(post=1765180:date=Apr 10 2010, 05:49 AM:name=sherpa)--><div class='quotetop'>QUOTE (sherpa @ Apr 10 2010, 05:49 AM) <a href="index.php?act=findpost&pid=1765180"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Ouch, FPS dips into the low 20s quite often.

    Yet to be optimised etc but I'd struggle to beleive the min sys req of about a year ago still holds true.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I have a fairly beastly computer and I was even getting mid to high 20's for FPS in certain spots. I did have it on high but I've been able to run just about every modern game decently. Hopefully we'll see more optimization as time goes on.
  • PipiPipi Join Date: 2009-12-09 Member: 69550Members
    <!--quoteo(post=1765307:date=Apr 10 2010, 12:02 PM:name=SentrySteve)--><div class='quotetop'>QUOTE (SentrySteve @ Apr 10 2010, 12:02 PM) <a href="index.php?act=findpost&pid=1765307"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I have a fairly beastly computer and I was even getting mid to high 20's for FPS in certain spots. I did have it on high but I've been able to run just about every modern game decently. Hopefully we'll see more optimization as time goes on.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Same here, lowest was even 17 fps at one spot in the second map with the long always and everything while shooting a dummy. Highest point was about 50fps but end up moving around near 40.

    The engine is not optimized yet, so we should not be worried. Looking at a 20k Tris scene with 30 fps will prove that, compared to, for example, Crysis where you'll have a scene of a million Tris running at 40 fps with the same hardware.

    What they really do need is a LOD shadows, similar to the one in battlefield bad company 2 which is really good in my opinion.
  • NurEinMenschNurEinMensch Join Date: 2003-02-26 Member: 14056Members, Constellation
    Keep in mind the lack of pre-compiling comes at the price of somewhat lower fps.
  • ZekZek Join Date: 2002-11-10 Member: 7962Members, NS1 Playtester, Constellation, Reinforced - Shadow
    <!--quoteo(post=1765345:date=Apr 10 2010, 11:34 AM:name=NurEinMensch)--><div class='quotetop'>QUOTE (NurEinMensch @ Apr 10 2010, 11:34 AM) <a href="index.php?act=findpost&pid=1765345"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Keep in mind the lack of pre-compiling comes at the price of somewhat lower fps.<!--QuoteEnd--></div><!--QuoteEEnd-->
    They're not stupid, they wouldn't have done it if it was inevitably going to lead to FPS tanking to 10-20 during gameplay.
  • radforChristradforChrist USA Join Date: 2002-11-04 Member: 6871Members, Constellation, NS2 Playtester, Subnautica Playtester
    I just need to inverse the mouse.
  • RazorRazor Join Date: 2010-02-23 Member: 70695Members
    noclip and ghost don't work :(
    I need a command for flying through walls to test my map.
  • huhuhhuhuh Join Date: 2005-01-07 Member: 33190Members
    Anyone found in the files where the bind for opening console is ? I'm pretty sure it's not in the LUA, but I want to change it because it doesn't work on my (French) keyboard T_T
  • sloppy_joesloppy_joe Join Date: 2002-12-25 Member: 11527Members
    <!--quoteo(post=1765486:date=Apr 10 2010, 03:16 PM:name=huhuh)--><div class='quotetop'>QUOTE (huhuh @ Apr 10 2010, 03:16 PM) <a href="index.php?act=findpost&pid=1765486"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Anyone found in the files where the bind for opening console is ? I'm pretty sure it's not in the LUA, but I want to change it because it doesn't work on my (French) keyboard T_T<!--QuoteEnd--></div><!--QuoteEEnd-->
    I'm still downloading the test so I haven't verified this:
    Todd "Comprox" Calder, Employee, replied 16 hours ago
    If it is not working, go into your install folder/ns2 and open inputs.txt. Change it to something else like F5.
  • badbybirthbadbybirth Join Date: 2010-04-10 Member: 71312Members
    <!--quoteo(post=1765486:date=Apr 10 2010, 10:16 PM:name=huhuh)--><div class='quotetop'>QUOTE (huhuh @ Apr 10 2010, 10:16 PM) <a href="index.php?act=findpost&pid=1765486"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Anyone found in the files where the bind for opening console is ? I'm pretty sure it's not in the LUA, but I want to change it because it doesn't work on my (French) keyboard T_T<!--QuoteEnd--></div><!--QuoteEEnd-->

    U just need to press the top left key (which is "²" in my case) it should work...
  • GammaLeoGammaLeo Join Date: 2009-10-21 Member: 69108Members
    Console won't come up either for my Gaming rig PC. I'm using an old off the wall brand keyboard, PS2, that I love to play with. It still doesn't work when I hook up a USB keyboard though.

    I tried editing the options.xml to bind to "`" instead of "Grave", as is the default, but still no dice. Plus the Options.xml will reset itself when there are abnormal values present, like changing the console bind or odd resolutions, and you don't change it's properties to read only. I've changed the console command to other keys and still nada.
  • BAshhBAshh Join Date: 2003-08-26 Member: 20222Members, NS1 Playtester, Contributor
    I can't open console either, and I don't see an "inputs.txt"
  • PolykarbonPolykarbon Join Date: 2004-02-01 Member: 25879Members, Constellation
    <!--quoteo(post=1765483:date=Apr 10 2010, 04:12 PM:name=Razor)--><div class='quotetop'>QUOTE (Razor @ Apr 10 2010, 04:12 PM) <a href="index.php?act=findpost&pid=1765483"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->noclip and ghost don't work :(
    I need a command for flying through walls to test my map.<!--QuoteEnd--></div><!--QuoteEEnd-->

    .
  • KesterKester Join Date: 2004-02-21 Member: 26770Members, Constellation
    To get inverted mouse, find the player.lua file and find the following:

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->local angles = Angles(input.pitch, input.yaw, 0.0)<!--c2--></div><!--ec2-->

    Change it to:

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->local angles = Angles(-1 * input.pitch, input.yaw, 0.0)<!--c2--></div><!--ec2-->
  • meh`meh` Join Date: 2009-03-10 Member: 66691Members
    Anyone find a fix for the console not working? I really want to get in on the deathmatch action :(
  • puzlpuzl The Old Firm Join Date: 2003-02-26 Member: 14029Retired Developer, NS1 Playtester, Forum Moderators, Constellation
    The input.txt mechanism was from an earlier version of the engine test and doesn't work anymore.

    Instead go to

    %APPDATA%\Natural Selection 2\

    and edit the file options.xml

    You'll find a line
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    <ToggleConsole>Grave</ToggleConsole><!--c2--></div><!--ec2-->

    You can change this to something more useful, e.g.
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    <ToggleConsole>F12</ToggleConsole><!--c2--></div><!--ec2-->
  • steamxsteamx Join Date: 2011-04-18 Member: 94080Members
    edited April 2011
    Requires server/admin rights and GetCheatsEnabled() (no idea how to do this)

    From Beta 173 <b>NS2ConsoleCommands_Server.lua</b> (shortened)
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->// GC commands
    changegcsettingserver

    // NS2 game mode console commands
    jointeamone
    jointeamtwo
    readyroom
    spectate

    // Shortcuts because we type them so much
    j1
    j2
    rr

    endgame
    logout
    buy
    clearselect
    gotoidleworker
    gotoplayeralert
    selectallplayers

    // Cheats
    carbon
    plasma
    autobuild
    energy
    takedamage
    giveammo
    spawn

    ents

    switch
    highdamage
    give
    giveupgrade
    setsquad
    squadspawn
    flare
    tooltiponce
    setfov

    // For testing lifeforms
    skulk
    gorge
    lerk
    fade
    onos
    heavy
    infantryportal

    command
    catpack
    alltech
    flaredrifter
    location

    closemenu
    welddoors
    orderself

    create
    random_debug
    bacon
    givegameeffect
    setgameeffect<!--c2--></div><!--ec2-->
  • TigTig Join Date: 2010-05-08 Member: 71674Members, Reinforced - Shadow, WC 2013 - Silver
    <!--quoteo(post=1765483:date=Apr 10 2010, 03:12 PM:name=Razor)--><div class='quotetop'>QUOTE (Razor @ Apr 10 2010, 03:12 PM) <a href="index.php?act=findpost&pid=1765483"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->noclip and ghost don't work :(
    I need a command for flying through walls to test my map.<!--QuoteEnd--></div><!--QuoteEEnd-->

    join spectator?
Sign In or Register to comment.