Console Commands

AdvPredatorAdvPredator Join Date: 2004-03-04 Member: 27137Members
Is there a manual where i can find all commands for NS?

Like change someone of team, restart round, ...

Thx

Comments

  • Thats_EnoughThats_Enough USA Join Date: 2004-03-04 Member: 27141Members, Constellation, Reinforced - Shadow
    Unfortunately, I don't know any other commands than the ones that I put on my server was plugins (like amx_alien, amx_marine, etc). But what commands are you tlaking about? Like if you just started a listen servero n your PC? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->
  • TastyTasty Join Date: 2003-08-05 Member: 18988Members, Constellation
    I have been wondering, what are all the cheat commands like give_weapon lerk_spike.

    The ones where you first type in cheats = 1 and then you can do all of the give weapon commands.

    I have been wanting to try them out on a game started on my pc to see what they would all do.
  • Invader_ScootInvader_Scoot Join Date: 2003-10-13 Member: 21669Members, Constellation, Reinforced - Shadow
    edited October 2004
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Secure mode does not seem to be available.
    Due to a last minute glitch with VAC, secure mode was disabled until a patch can be made for it.

    //--------------------------------------------------------------------------------

    This is the official home for NS server variables. This is also included in ded-vars.txt in your NS folder.

    Good variables to use:
    ----------------------
    mp_timelimit - Number of minutes to play on each map. After this expires, the map will change to the next level in mapcycle.txt. IMPORTANT: the map will never switch in the middle of the game, it will always allow you to finish your current game first. Default is 60 minutes (2-3 games).

    mp_uplink - Set to 0 or 1. When set to 1 (default), then Constellation icons, Dev icons, and other scoreboard icons are displayed next to players' names on the scoreboard.

    mp_tournamentmode - Set this to 1 for a tournament mode. Tournament mode doesn't allow late-joining, doesn't allow commander ejecting, enables friendly-fire, and more. Use this for organized matches only. Set to 0 for public servers and your average LAN game.

    mp_serverops - This is a semi-colon delimited string of the WON ids for players that run the server. Example: if there are two server ops on your server, with WON ids "123" and "789", then you would set mp_serverops to "123;789". This displays a special server op icon next to these players names when they play on this server. This display is toggled on and off by typing "auth" at the console.

    mp_countdowntime - Number of minutes that the countdown to game start will last (indicated by the beeping once players are on both teams). The default is .05, which is 3 seconds.

    mp_latejointime - The number of minutes after the game has started that players are allowed to join the team without waiting to respawn. If a player joins a team after this time, they must wait in line to spawn. Default is 1 (60 seconds).

    mp_votecasttime - When the first vote to eject a commander is cast, this is the amount of minutes that the other teammates have to vote. If mp_votepercentneeded votes aren't received by this time, the vote fails.

    mp_votedowntime - This is the number of minutes that an ejected commander is banned from the command station on this server. This is persistent across new levels and games. For example, if set to 180, then an ejected commander couldn't play commander on this server for 3 hours. If the server crashes or is restarted, all commander bans are lost.

    mp_minvotesneeded - This is the minimum number of votes needed to eject the commander. This can be tweaked to prevent abuse by a roving group of llamas.

    mp_votepercentneeded - This is the percentage of the team (0-1) that must vote to eject a commander for it to succeed. Additionally, mp_minvotesneeded must be met. For example, if this is set to .5, then half the marine team must vote against the commander within

    mp_votecasttime for the commander to be ejected.

    ns_eastereggchance - Set this value to x, where 1 in x+1 games will play humorous audio easter eggs in certain situations. Setting to 0 will enable them for all games. Currently this only affects alien audio easter eggs.

    mp_limitteams - This is the maximum difference in team sizes that the server allows. It can't be set to a value less then 1. For instance, if it's set to 2 (the default), then players can join a team as long as it wouldn't make that team more then 2 players larger then the other team.

    mp_autoconcede - When one team has this many players or more then the other, they automatically win. This is used to prevent team-stacking and painful end-games. It is only active in casual (non-tournament) mode.

    mp_team1handicap and mp_team2handicap - When in tournament mode only, reduces the damage done by players on this team. For instance, if team1handicap is set to .8, then team 1 (marines) will only do 80% damage with weapons, turrets, etc. This feature is here so players can play fun organized games even when one side is way better then the other. It is not used in casual play.

    Good variables for debugging
    ----------------------------
    mp_networkdebug - Set this to 1 to see every message NS sends. Logging must be enabled. Use this to track overflows or performance. Default is 0.

    mp_drawdamage - Set to 1 to see a rising number whenever any player or structure takes damage. Useful for clan practice or reproducing bugs.

    mp_drawinvisibleentities - Entities are drawn for commander even when not visible by a team member

    mp_assert - Setting to 1 will cause server to halt when an ASSERT is hit instead of bypassing them

    mp_networkmeterrate - This can be adjusted (at your own risk) to only send x amount of bytes to each player per second. Could be useful for fixing overflows, but could have dangerous performance ramifications


    =================

    List of commands for hlds.

    <a href='http://half-life.gamehelp.com/console/server.html' target='_blank'>http://half-life.gamehelp.com/console/server.html</a>

    //--------------------------------------------------------------------------------

    Most servers won't need these, but if you are making a demo movie or need to test something, who knows, these could be useful.

    Notes:
    - sv_cheats must be 1
    - If cheats aren't 1, it will say "unrecognized command", even though it IS a recognized command
    - When cheats are enabled, the game will start when there's a player on at least one team. The game will never end.

    spawnhive - As an alien, creates a random new hive for your team
    killhive - As an alien, destroys a random hive
    addcat x - X where is 1-4. Adds a random upgrade category, just like you had built an upgrade chamber (1 is defense, 2 used to be offense, 3 is movement, 4 is sensory)
    removecat x - Take a guess.
    givepoints (bound to F11 by default) - Gives you some points
    killall - Kills all players in the game with your current weapon (won't kill teammates unless FF is on via tournament mode)
    invul - Toggles invulnerability for yourself.
    startgame - Starts game immediately (untested for awhile)
    endgame - Ends the current game (as a victory for team one). You can also type "endgame 1" for the same effect. If you type "endgame 2", it will be a victory for team 2.
    tooltip lala - Adds a tooltip named "lala". It will translate this tooltip if found in titles.txt, if possible.
    testevent - Plays a "you just got points for killing the enemy event", for testing where the commander can see events (he can't sometimes, when hovering over the void, or inside geometry)
    getnumplayers - Reports the current number of human players
    startcommandermode - Teleports you near the first command station it finds and starts commander mode. This will sometimes teleport you inside geometry.
    stopcommandermode - Drops you out of command mode, useful when your mouse or the logout button stops working
    web - Gives you the effects of having just touched one web. Use multiple times to simulate touching multiple webs.
    setculldistance x - Used by mappers to find the minimum culling distance needed for commander mode on their maps.
    setgamma x - Sets the current env_gamma level, where x is a number from 1.0 to 2.0. This affects all players.
    bigdig - All buildings are built instantly, doesn't require manual building
    hightech - All research happens nearly instantly
    orderself - When commanding and giving orders, this will give the orders to yourself, so you can logout and see how they look on the HUD. There's no way to stop doing this after you've used this cheat.
    editps <name> - Used to edit a particle system
    listps - Lists all particle systems in NS and in the map
    buildminimap - Generates a new minimap. Very CPU intensive. Saved in the ns/sprites/minimaps directory.
    crash - Causes NS to crash.
    assert - Causes NS to assert
    run <name> - Runs a server-side script. Ignore this until scripting is more in place.
    clientrun <name> - Runs a client-side script. Ignore this until scripting is more in place.
    giveupgrade x - Gives an upgrade. 20-22 are the marine armor upgrades, 23-25 are the marine damage upgrades, 28 is jetpacks, 29 is power armor, 31 is faster reinforcements, 33 is motion-tracking, 26 is siege, 27 is stimpack, 30 is distress beacon
    removeupgrade x - Like giveupgrade but removes one.
    killcs - Kills all command stations.
    attackcs - Does a little damage to one command station
    alert - Generates a random alert.
    parasite - Parasites self (no damage)
    paralyze - Paralyzes self (like level 5 ability)
    boxes - Draws boxes around all buildables (not sure if this still works). Effect goes away after a short time.
    overflow - Tries to overflow player.
    deathmessage <weaponname> - Sends test death message to all. Example: "deathmessage machinegun", "deathmessage bitegun"
    setskin x - Sets the players skin (0 for white marine, 1 for black marine)
    redeem - Makes it easier to test redemption<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
  • ModChaosControlModChaosControl HiveMind NS bot creator Join Date: 2004-03-31 Member: 27613Members
    Impulses-

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    //======== (C) Copyright 2001 Charles G. Cleveland All rights reserved. =========
    //
    // The copyright to the contents herein is the property of Charles G. Cleveland.
    // The contents may be used and/or copied only with the written permission of
    // Charles G. Cleveland, or in accordance with the terms and conditions stipulated in
    // the agreement/contract under which the contents have been supplied.
    //
    // Purpose: Messages/actions (impulses) from players
    //
    // $Workfile: AvHMessage.h $
    // $Date: 2002/09/25 20:48:56 $
    //
    //-------------------------------------------------------------------------------
    // $Log: AvHMessage.h,v $
    // Revision 1.30  2002/09/25 20:48:56  Flayra
    // - Added 3 more sayings
    //
    // Revision 1.29  2002/09/23 22:23:14  Flayra
    // - Added heavy armor and jetpacks
    // - Removed power armor
    // - Added siege upgrade
    //
    // Revision 1.28  2002/07/23 17:14:26  Flayra
    // - Removed unused constants, new upgrades
    //
    // Revision 1.27  2002/07/08 17:11:42  Flayra
    // - Added admin commands, explicity defined HL impulses, removed offensive upgrades
    //
    // Revision 1.26  2002/06/25 18:07:59  Flayra
    // - Building rename, blinking change
    //
    // Revision 1.25  2002/06/10 19:59:25  Flayra
    // - Update for new commander UI
    //
    // Revision 1.24  2002/06/03 16:52:18  Flayra
    // - Renamed weapons factory and armory
    //
    // Revision 1.23  2002/05/28 17:54:19  Flayra
    // - Added support for recycling
    //
    // Revision 1.22  2002/05/23 02:33:42  Flayra
    // - Post-crash checkin.  Restored @Backup from around 4/16.  Contains changes for last four weeks of development.
    //
    //===============================================================================
    #ifndef AVHMESSAGE_H
    #define AVHMESSAGE_H

    typedef enum
    {
       // Special or misc. actions
       MESSAGE_NULL = 0,

       // Use an item or ability (these are currently forced to be less than 10 because it's
       // used as an index into some weapons/equipment array <sigh>)
       WEAPON_NEXT = 1,
       WEAPON_RELOAD = 2,
       WEAPON_DROP = 3,

    // Admin commands
    ADMIN_READYROOM = 5,
    ADMIN_VOTEDOWNCOMMANDER = 6,

       // Talk to your teammates
       SAYING_1 = 7,
       SAYING_2 = 8,
       SAYING_3 = 9,
       SAYING_4 = 10,
       SAYING_5 = 11,
       SAYING_6 = 12,
       SAYING_7 = 13,
       SAYING_8 = 14,
       SAYING_9 = 15,

    // Chat
    COMM_CHAT_PUBLIC = 16,
    COMM_CHAT_TEAM = 17,
    COMM_CHAT_NEARBY = 18,

    // Research
    RESEARCH_ARMOR_ONE = 20,
    RESEARCH_ARMOR_TWO = 21,
    RESEARCH_ARMOR_THREE = 22,
    RESEARCH_WEAPONS_ONE = 23,
    RESEARCH_WEAPONS_TWO = 24,
    RESEARCH_WEAPONS_THREE = 25,
    TURRET_FACTORY_UPGRADE = 26,
    // = 27,
    RESEARCH_JETPACKS = 28,
    RESEARCH_HEAVYARMOR = 29,
    RESEARCH_DISTRESSBEACON = 30,
    // = 31,
    MESSAGE_CANCEL = 32,
    RESEARCH_MOTIONTRACK = 33,
    RESEARCH_PHASETECH = 34,
    RESOURCE_UPGRADE = 35,
    RESEARCH_ELECTRICAL = 36,

    // Buildings
    BUILD_HEAVY = 38,
    BUILD_JETPACK = 39,
    BUILD_INFANTRYPORTAL = 40,
    BUILD_RESOURCES = 41,
    BUILD_TURRET_FACTORY = 43,
    BUILD_ARMSLAB = 45,
    BUILD_PROTOTYPE_LAB = 46,
    // = 47,
    BUILD_ARMORY = 48,
    ARMORY_UPGRADE = 49,
    BUILD_NUKE_PLANT = 50,
    BUILD_OBSERVATORY = 51,
    RESEARCH_HEALTH = 52,

    BUILD_SCAN = 53,
    // = 54
    BUILD_PHASEGATE = 55,
    BUILD_TURRET = 56,
    BUILD_SIEGE = 57,
    BUILD_COMMANDSTATION = 58,

    // Weapons and items
    BUILD_HEALTH = 59,
    BUILD_AMMO = 60,
    BUILD_MINES = 61,
    BUILD_WELDER = 62,
    BUILD_MEDKIT = 63,
    BUILD_SHOTGUN = 64,
    BUILD_HMG = 65,
    BUILD_GRENADE_GUN = 66,
    BUILD_NUKE = 67,

    // Misc
    BUILD_RECYCLE = 69,

    GROUP_CREATE_1 = 70,
    GROUP_CREATE_2 = 71,
    GROUP_CREATE_3 = 72,
    GROUP_CREATE_4 = 73,
    GROUP_CREATE_5 = 74,

    GROUP_SELECT_1 = 75,
    GROUP_SELECT_2 = 76,
    GROUP_SELECT_3 = 77,
    GROUP_SELECT_4 = 78,
    GROUP_SELECT_5 = 79,

    // Orders
    ORDER_REQUEST = 80,
    ORDER_ACK = 81,

    // Commander mode
    COMMANDER_MOUSECOORD = 82,
    COMMANDER_MOVETO = 83,
    COMMANDER_SCROLL = 84,
    COMMANDER_DEFAULTORDER = 104,
    COMMANDER_SELECTALL = 105,
    COMMANDER_REMOVESELECTION = 96,

    // Sub-menus
    MENU_BUILD = 85,
    MENU_BUILD_ADVANCED = 86,
    MENU_ASSIST = 87,
    MENU_EQUIP = 88,
    MENU_SOLDIER_FACE = 89,

    // These messages aren't sent as impulses, but are used internally in the shared code.  They can be removed if necessary with some work.
    ALIEN_BUILD_RESOURCES = 90,
    ALIEN_BUILD_OFFENSE_CHAMBER = 91,
    ALIEN_BUILD_DEFENSE_CHAMBER = 92,
    ALIEN_BUILD_SENSORY_CHAMBER = 93,
    ALIEN_BUILD_MOVEMENT_CHAMBER = 94,
    ALIEN_BUILD_HIVE = 95,

    IMPULSE_LOGO = 99,
    IMPULSE_FLASHLIGHT = 100,
    IMPULSE_SPRAYPAINT = 201,
    IMPULSE_DEMORECORD = 204,

    // Alien menu items (there are assumptions that these are contiguous)
    ALIEN_EVOLUTION_ONE = 101,
    ALIEN_EVOLUTION_TWO = 102,
    ALIEN_EVOLUTION_THREE = 103,

    ALIEN_EVOLUTION_SEVEN = 107,
    ALIEN_EVOLUTION_EIGHT = 108,
    ALIEN_EVOLUTION_NINE = 109,
    ALIEN_EVOLUTION_TEN = 110,
    ALIEN_EVOLUTION_ELEVEN = 111,
    ALIEN_EVOLUTION_TWELVE = 112,

    // Alien lifeforms
    ALIEN_LIFEFORM_ONE = 113,
    ALIEN_LIFEFORM_TWO = 114,
    ALIEN_LIFEFORM_THREE = 115,
    ALIEN_LIFEFORM_FOUR = 116,
    ALIEN_LIFEFORM_FIVE = 117,
    //ALIEN_LIFEFORM_RANDOM = 118,

    // Alien abilities
    ALIEN_ABILITY_LEAP = 119,
    ALIEN_ABILITY_BLINK = 120,
    ALIEN_ABILITY_CHARGE = 122,

    COMMANDER_NEXTIDLE = 123,
    COMMANDER_NEXTAMMO = 124,
    COMMANDER_NEXTHEALTH = 125,

    MESSAGE_LAST = 126

    // NOTE: If this gets larger then a byte, AvHTechNode will have to change it's networking, possibly other code too
    // NOTE: When changing any of these values, make sure to update titles.txt, skill.cfg and dlls\game.cpp, and tech*s.spr

    } AvHMessageID;

    #endif
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
  • PetcoPetco Join Date: 2003-07-27 Member: 18478Members, Constellation
    Haven't played ns in a long time but if you want bind F9 "Impulse 9" F-10 "Impulse 10" and so on till 12. It's old 1.0x alien sounds (On alien side only) that today are no longer used.
  • Nukem3000Nukem3000 Join Date: 2004-08-03 Member: 30335Members
    That's just way too many comands for somone to handle.
Sign In or Register to comment.