Awesome Open Source
Awesome Open Source

csgo-menu-maker

Coming here from somewhere that isn't GitHub? Check out the Quick-Start Guide!

About

The Source(TM) engine has a console command system that is extremely powerful when leveraged correctly. I used it to create a system of menus and widgets that allows users to customize their game configuration on-the-fly in terms of things like crosshairs, viewmodels, and HUD looks.

csgo-menu-maker uses a versatile configuration language (spoiler alert: it's yml) which lets users with very little to no coding experience create these menus.

Over the past month of writing this, I learned a lot about Python, source console scripting, and tracking down bugs that are older than I am. In the process of discovering my own and Valve's bugs, I may have left a few in this project, so don't be too hard on me.

Usage

Here's a glimpse into the language used to make these menus. For example, to create the demo menu above:

tree:
    Crosshairs:
        type: config.crosshairs
        presets:
            General:
                color: [0, 255, 255]
            Pistol Rounds:
                color: [0, 255, 0]
                t_shape: 1
                dot: 1
    Viewmodels:
        type: config.viewmodels
        presets:
            Regular:
                offset: [2.5, 0, -1.5]
                fov: 60
            Gangster:
                offset: [1.5, 2, 2]
                fov: 68
    HUDs:
        type: config.huds
        presets:
            Regular:
                scale: 0.9
            Navigator:
                radar_rotate: 0
                radar_icon_scale: 0.8
    Master Volume: sound.volume.master

For a better guide, check out the Tutorial.

Installing

See the Installation Guide for a visual and clear explanation. If you are more technically minded, here are some commands:

pip install pyyaml csgo-menu-maker
python -m csgomenumaker

Have fun!

-- Citrus


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (55,580
python3 (1,684
csgo (78
python37 (32