Skip to content

Mini Tutorial

citrusCS edited this page Mar 11, 2019 · 6 revisions

1. Intro

So, you've just installed csgo-menu-maker. If you haven't, no problem! Follow these steps. I can wait here, it's fine.

You probably came to this page because you aren't completely familiar with the commands needed to run csgo-menu-maker. If not, head to the Tutorial

2. Starting up

Create a workspace for yourself. It doesn't have to be anything special. I use an empty folder for most of mine.

Create a new file where your configuration will be stored. You can call it anything you'd like. If you want, you may change the extension to .yml, but it does not exactly matter for this. For the purposes of this tutorial, I will call it test.txt.

3. Writing the File

Open up test.txt (or whatever you called it) in your editor of choice. I use Notepad++ for most of my editing. Right now, though, I will use regular Notepad.

For now, just type in this text. We will learn about what it does later.

    Net Graph: debug.netgraph

REMEMBER to not use the Tab key when typing the indentation in that snippet. Use four spaces instead.

4. Setting up the Command Prompt

In order to use the commands that pertain to csgo-menu-maker, you will have to use a command prompt window. Here is how you open it.

Recall from the installation guide that to open the command prompt, use the keyboard combination Win + R, and type cmd in the resulting dialog.

A window looking like this should open:

Here is the tricky part. You will need to change directories into your workspace directory. In order to do this, type cd (with a space after cd) into the command prompt. Then, drag and drop your workspace folder to the window.

Now, your window should look like this:

Press Enter to run the command.

The window should look like this:

5. Generating the .cfg files

At the command prompt, type this command:

python -m csgomenumaker <name of file>

where <name of file> is the name of the file you created a few steps ago. So in my case, the command is

python -m csgomenumaker test.txt

Therefore, your window should look like this:

Press Enter to run the command you just typed in.

If you set up the file correctly, you should see this:

This means that your .cfg files have been generated correctly. If you see any kind of error, ensure that you set up the test.txt file correctly.

6. Installing the config

Now it's time to install and run the config in your csgo installation.

Take the newly generated menumaker folder and drag it to your csgo cfg directory.

The cfg directory is usually located at C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg.

Then, open the CSGO console (~ by default) and type this command:

exec menumaker/main.cfg

You should see a menu like this pop up in the console.

If that shows up, you've done everything correctly. Press and hold Alt and use Left and Right to toggle the setting.

7. Using the menu

To enable the menu keys, press ALT. The menu may not show up when you press alt, but it is still there. Use the arrow keys to navigate.

8. More config

So, you're able to toggle the net_graph setting. That's sort of cool, I guess. But you probably came here because you wanted to know how to switch crosshairs, huds, and viewmodels. Let's do that.

Let's go back to step 3 for a moment and edit that test.txt file (or whatever you called it). Replace its contents with this:

        type: config.crosshairs
                drawoutline: 0
                size: 5
                style: 2
                thickness: 1
                fixedgap: -3
                    - 0
                    - 255
                    - 0
                inherit: Default
                    - 255
                    - 0
                    - 255

Don't get too overwhelmed. This is a crosshair preset chooser. It defines two crosshairs, Default and Alternate.

The Default crosshair has no outline, a size of 5, is a static style, has a thickness of 1, and a gap of three.

The Alternate crosshair has all of these settings (which it gets from Default, as evidenced by the inherit line), but its color is different: pink instead of cyan.

Try going through steps 5 and 6 again and seeing what happens. You should now be able to switch between these two crosshairs.

Then try modifying the settings like drawoutline or size. In this way, you can change the look of your crosshair. For more in-depth examples, take a look here.

Evidently, this is a very powerful and concise language for manking menus.

9. Next Steps

As you may know, csgo-menu-maker also allows customization of things like HUDs, viewmodels, and autobuys. For examples of these, take a look at the templates folder in the example repository.