Just a mirror of XLabs.dev source. https://xlabs.dev
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

568 lines
30 KiB

<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="keywords" content="iw4x, iw6x, x labs, game modifications, cod clients, opensource, open source, ghosts client, mw2 client, iw4, iw6, iw6x faq">
<meta property="og:title" content="X Labs" />
<meta property="og:description" content="Frequently asked questions related to console commands for the IW4x and IW6x clients." />
<meta property="og:image" content="https://xlabs.dev/img/xlabs_social.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="X Labs" />
<meta name="twitter:description" content="Frequently asked questions related to console commands for the IW4x and IW6x clients." />
<meta name="twitter:url" content="https://xlabs.dev/iw6x_faq.html" />
<meta name="twitter:image" content="https://xlabs.dev/img/xlabs_social.png" />
<title>Console Commands | X Labs</title>
<link rel="shortcut icon" type="image/ico" href="favicon.ico" />
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="stylesheet" href="css/nivo-lightbox.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/responsive.css">
<script src="https://kit.fontawesome.com/72366d0c6b.js" crossorigin="anonymous"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EJKDYYL6WF"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-EJKDYYL6WF');
</script>
</head>
<body>
<!-- Menu Section Start -->
<div class="fixed-top">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="navbar navbar-expand-md navbar-light">
<a class="navbar-brand" href="https://xlabs.dev/" target="_blank"><img src="img/xlabs.png" alt="X LABS"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto py-4 py-md-0">
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4 active">
<a class="nav-link" href="https://xlabs.dev/">Home</a>
</li>
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4">
<a class="nav-link dropdown-toggle iw4x-menu" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">IW4x Support</a>
<div class="dropdown-menu iw4x-menu">
<a class="dropdown-item" href="support_iw4x_client.html">IW4x Client Support</a>
<a class="dropdown-item" href="iw4x_repair.html">IW4x Repair Guide</a>
<a class="dropdown-item" href="iw4x_faq.html">IW4x FAQs</a>
<a class="dropdown-item" href="iw4x_controllers.html">IW4x Controller Guide</a>
<a class="dropdown-item" href="iw4x_privatematch.html">IW4x Private Match Guide</a>
<a class="dropdown-item" href="support_iw4x_server.html">IW4x Server Support</a>
<a class="dropdown-item" href="iw4x_errors.html">IW4x Errors</a>
</div>
</li>
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4">
<a class="nav-link dropdown-toggle iw6x-menu" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">IW6x Support</a>
<div class="dropdown-menu iw6x-menu">
<a class="dropdown-item" href="support_iw6x_client.html">IW6x Client Support</a>
<a class="dropdown-item" href="iw6x_repair.html">IW6x Repair Guide</a>
<a class="dropdown-item" href="iw6x_faq.html">IW6x FAQs</a>
<a class="dropdown-item" href="iw6x_controllers.html">IW6x Controller Guide</a>
<a class="dropdown-item" href="iw6x_privatematch.html">IW6x Private Match Guide</a>
<a class="dropdown-item" href="support_iw6x_server.html">IW6x Server Support</a>
<a class="dropdown-item" href="iw6x_errors.html">IW6x Errors</a>
<a class="dropdown-item" href="iw6x_scripting_documentation.html">IW6x Scripting Docs</a>
</div>
</li>
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4">
<a class="nav-link dropdown-toggle guides" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Misc Guides</a>
<div class="dropdown-menu guides">
<a class="dropdown-item" href="console_commands.html">Console Commands</a>
<a class="dropdown-item" href="mod_guide.html">Mod Guide</a>
</div>
</li>
<li class="nav-item pl-4 pl-md-0 ml-0 ml-md-4 active">
<a class="nav-link" href="https://discord.gg/sKeVmR3">Discord</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
</div>
</div>
<!-- Menu Section End -->
<!-- Header Section End -->
<!-- Client Support Section -->
<section id="blog" class="section">
<!-- Client Container Starts -->
<div class="container">
<div class="section-header">
<h2 class="section-title wow fadeIn" data-wow-duration="1000ms" data-wow-delay="0.3s">Console <span>Commands</span></h2>
<hr class="lines wow zoomIn" data-wow-delay="0.3s">
<p class="section-subtitle wow fadeInDown" data-wow-duration="1000ms" data-wow-delay="0.3s">Frequently asked questions related to console commands for our clients.</p>
</div>
<div class="row">
<!-- Support Item Starts -->
<div class="blog-item-wrapper wow fadeInUp" data-wow-delay="0.3s">
<div class="blog-item-text">
<table class="table table-hover table-dark table-striped table-fixed">
<thead>
<tr>
<th scope="col">Commands</th>
<th scope="col">Example</th>
<th scope="col">Cheat Protected</th>
<th scope="col">IW4x</th>
<th scope="col">IW6x</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">name</th>
<td>name John</td>
<td>X</td>
<td></td>
<td></td>
<td>Changes your name.</td>
</tr>
<tr>
<th scope="row">unlockstats</th>
<td>unlockstats</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Unlock everything (IW4x) and rank up.</td>
</tr>
<tr>
<th scope="row">unlockall</th>
<td>unlockall</td>
<td>X</td>
<td>X</td>
<td></td>
<td>Unlock everything (IW6x) and rank up.</td>
</tr>
<tr>
<th scope="row">cg_fov</th>
<td>cg_fov 90 (Changes FOV to 90)</td>
<td>X</td>
<td></td>
<td></td>
<td>Manually tweak your desired FOV value.</td>
</tr>
<tr>
<th scope="row">sensitivity</th>
<td>sensitivity 1.25</td>
<td>X</td>
<td></td>
<td></td>
<td>The command is useful for fine tuning of your desired sensitivity.</td>
</tr>
<tr>
<th scope="row">intro</th>
<td>intro 0</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Enables/Disables the IW4x intro.</td>
</tr>
<tr>
<th scope="row">cg_drawfps</th>
<td>cg_drawfps 1 (enables) cg_drawfps 0 (disables)</td>
<td>X</td>
<td></td>
<td></td>
<td>Displays a FPS counter on-screen.</td>
</tr>
<tr>
<th scope="row">cl_yawspeed</th>
<td>cl_yawspeed 800</td>
<td>X</td>
<td></td>
<td></td>
<td>Adjusts the yawspeed (Turn Right/Left) sensitivity.</td>
</tr>
<tr>
<th scope="row">customtitle</th>
<td>customtitle ^1Hello!</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Adjusts your title with whatever you want.</td>
</tr>
<tr>
<th scope="row">com_maxfps</th>
<td>com_maxfps "85"</td>
<td>X</td>
<td></td>
<td></td>
<td>Adjusts the FPS (this is only useful for doing a specific FPS)</td>
</tr>
<tr>
<th scope="row">r_fullbright</th>
<td>r_fullbright 1</td>
<td>X</td>
<td></td>
<td></td>
<td>Enable/Disable fullbright.</td>
</tr>
<tr>
<th scope="row">r_specularCustomMaps</th>
<td>r_specularCustomMaps 1</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Enable/Disable specular custom maps.</td>
</tr>
<tr>
<th scope="row">safeArea_horizontal</th>
<td>safeArea_horizontal .5</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Change the horizontal position of the safe area.</td>
</tr>
<tr>
<th scope="row">safeArea_vertical</th>
<td>safeArea_vertical .5</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Change the vertical position of the safe area.</td>
</tr>
<tr>
<th scope="row">g_playerCollision</th>
<td>g_playerCollision 1</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Flag whether player collision is on or or off.</td>
</tr>
<tr>
<th scope="row">g_playerEjection</th>
<td>g_playerCollision 1</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Flag whether player ejection is on or or off.</td>
</tr>
<tr>
<th scope="row">connect</th>
<td>connect 127.0.0.1:27017 (IP:Port)</td>
<td>X</td>
<td></td>
<td></td>
<td>Connect to specified IP and port.</td>
</tr>
<tr>
<th scope="row">map mp_mapname</th>
<td>map mp_afghan</td>
<td>X</td>
<td></td>
<td></td>
<td>Change the map.</td>
</tr>
<tr>
<th scope="row">fast_restart</th>
<td>fast_restart</td>
<td>X</td>
<td></td>
<td></td>
<td>Quickly restarts the match.</td>
</tr>
<tr>
<th scope="row">map_restart</th>
<td>map_restart</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Fully restart the map.</td>
</tr>
<tr>
<th scope="row">status</th>
<td>status</td>
<td>X</td>
<td></td>
<td></td>
<td>Display information about the current game and players.</td>
</tr>
<tr>
<th scope="row">clientkick</th>
<td>clientkick 1</td>
<td>X</td>
<td></td>
<td></td>
<td>Kicks the player by ID. Use the <code>status</code> command to obtain the client ID.</td>
</tr>
<tr>
<th scope="row">net_port</th>
<td>net_port 28965</td>
<td>X</td>
<td></td>
<td></td>
<td>Changes the port your server/game will run on.</td>
</tr>
<tr>
<th scope="row">camera_thirdPerson</th>
<td>camera_thirdPerson 0</td>
<td></td>
<td></td>
<td></td>
<td>Enables third person mode.</td>
</tr>
<tr>
<th scope="row">cg_chatHeight</th>
<td>cg_chatHeight 4</td>
<td>X</td>
<td></td>
<td></td>
<td>The size of the chat that can be shown.</td>
</tr>
<tr>
<th scope="row">cg_draw2D</th>
<td>cg_draw2D 0</td>
<td></td>
<td></td>
<td></td>
<td>Enables/disables the HUD.</td>
</tr>
<tr>
<th scope="row">ui_drawCrosshair</th>
<td>ui_drawCrosshair 0</td>
<td>X</td>
<td></td>
<td></td>
<td>Enables/disables the crosshair.</td>
</tr>
<tr>
<th scope="row">cg_drawGun</th>
<td>cg_drawGun 1</td>
<td></td>
<td></td>
<td></td>
<td>Enables/disables the showing of your gun.</td>
</tr>
<tr>
<th scope="row">cg_drawPing</th>
<td>cg_drawPing 1</td>
<td>X</td>
<td>X</td>
<td></td>
<td>Enables/Disables the ping counter.</td>
</tr>
<tr>
<th scope="row">drawLagometer</th>
<td>drawLagometer 0</td>
<td>X</td>
<td></td>
<td>X</td>
<td>Enables/Disables the lagometer.</td>
</tr>
<tr>
<th scope="row">cg_fovScale</th>
<td>cg_fovScale 1.2</td>
<td>X</td>
<td></td>
<td></td>
<td>Manually tweak your desired FOV value. (affects aim fov)</td>
</tr>
<tr>
<th scope="row">cg_gun_x</th>
<td>cg_gun_x</td>
<td>X</td>
<td></td>
<td></td>
<td>Tweak x value of your gun. (In IW6x the max value is 2)</td>
</tr>
<tr>
<th scope="row">devmap mp_mapname</th>
<td>devmap mp_rust</td>
<td>-</td>
<td></td>
<td>X</td>
<td>Change the map and enables cheats.</td>
</tr>
<tr>
<th scope="row">sv_cheats</th>
<td>sv_cheats 1(enables), sv_cheats 0 (disables)</td>
<td>-</td>
<td></td>
<td></td>
<td>Enable cheats.</td>
</tr>
<tr>
<th scope="row">developer</th>
<td>developer 1</td>
<td>X</td>
<td></td>
<td></td>
<td>Enables/Disables developer mode.</td>
</tr>
<tr>
<th scope="row">g_speed</th>
<td>g_speed 300</td>
<td></td>
<td></td>
<td></td>
<td>Change game speed (requires devmap or sv_cheats 1) [Default = 190]</td>
</tr>
<tr>
<th scope="row">g_gravity</th>
<td>g_gravity 300 (gravity is reduced by half)</td>
<td></td>
<td></td>
<td></td>
<td>Change game gravity (requires devmap or sv_cheats 1) [Default = 600]</td>
</tr>
<tr>
<th scope="row">bg_fallDamageMaxHeight / bg_fallDamageMinHeight</th>
<td>bg_fallDamageMaxHeight 300</td>
<td></td>
<td></td>
<td>X</td>
<td>Changes amount you need to fall to take damage.</td>
</tr>
<tr>
<th scope="row">noclip</th>
<td>noclip</td>
<td></td>
<td></td>
<td></td>
<td>Enables/Disables noclip mode.</td>
</tr>
<tr>
<th scope="row">ufo</th>
<td>ufo</td>
<td></td>
<td></td>
<td></td>
<td>Enables/Disables ufo mode.</td>
</tr>
<tr>
<th scope="row">god</th>
<td>god</td>
<td></td>
<td></td>
<td></td>
<td>Enables/Disables god.</td>
</tr>
<tr>
<th scope="row">jump_height</th>
<td>jump_height 1000</td>
<td></td>
<td></td>
<td>X</td>
<td>Sets the jump height.</td>
</tr>
<tr>
<th scope="row">timescale</th>
<td>timescale 2</td>
<td></td>
<td></td>
<td>X</td>
<td>Sets the scale of time.</td>
</tr>
<tr>
<th scope="row">r_znear</th>
<td>r_znear 0</td>
<td></td>
<td></td>
<td></td>
<td>See through stuff.</td>
</tr>
<tr>
<th scope="row">r_fog</th>
<td>r_fog 0</td>
<td></td>
<td></td>
<td></td>
<td>Enable/Disable fog.</td>
</tr>
<tr>
<th scope="row">sv_hostname</th>
<td>sv_hostname "^2Server ^5Name"</td>
<td>X</td>
<td></td>
<td></td>
<td>Change the hostname of your server/private match.</td>
</tr>
<tr>
<th scope="row">g_gametype</th>
<td>g_gametype gtnw</td>
<td>X</td>
<td></td>
<td></td>
<td>Change the gametype of your server/private match.</td>
</tr>
<tr>
<th scope="row">rcon</th>
<td>rcon g_speed 200</td>
<td>X</td>
<td></td>
<td></td>
<td>Used for managing your server in game.</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Support Item Wrapper Ends-->
</div>
</div>
</section>
<!-- blog Section End -->
<!-- Footer Section Start -->
<footer>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="social-icons wow fadeInDown" data-wow-duration="1000ms" data-wow-delay="0.3s">
<ul>
<li class="twitter"><a href="https://twitter.com/XLabsProject"><i class="fab fa-twitter"></i></a></li>
<li class="discord"><a href="https://discord.gg/sKeVmR3"><i class="fab fa-discord"></i></a></li>
<li class="github"><a href="https://github.com/XLabsProject"><i class="fab fa-github"></i></a></li>
</ul>
</div>
<div class="site-info wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="0.3s">
<p>All copyrights reserved &copy; 2021 - <a rel="nofollow" href="https://xlabs.dev">X Labs</a></p>
</div>
</div>
</div>
</div>
</footer>
<!-- Footer Section End -->
<!-- Go To Top Link -->
<a href="#" class="back-to-top">
<i class="fas fa-arrow-up"></i>
</a>
<!-- jQuery first, then Tether, then Bootstrap JS. -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r123/three.min.js" integrity="sha512-Q+IG0h7As6sfqE2t1Xf5IeamNyCXb4EXxGCA9Mlbpv7xtwurVHNdVDbyWeSQ3ulPf2FRlqeu77Ec3SJDdIR63w==" crossorigin="anonymous"></script>
<script src="js/classie.js"></script>
<script src="js/mixitup.min.js"></script>
<script src="js/nivo-lightbox.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.nav.js"></script>
<script src="js/wow.js"></script>
<script src="js/menu.js"></script>
<script src="js/jquery.vide.js"></script>
<script src="js/jquery.counterup.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>