Skip to main content

Make cool-looking menus in CSGO consoles

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csgo-menu-maker-0.2.4.tar.gz (45.7 kB view details)

Uploaded Source

File details

Details for the file csgo-menu-maker-0.2.4.tar.gz.

File metadata

  • Download URL: csgo-menu-maker-0.2.4.tar.gz
  • Upload date:
  • Size: 45.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for csgo-menu-maker-0.2.4.tar.gz
Algorithm Hash digest
SHA256 ab7ff2e3ab7b8f1b1d38a25f55d4f5ce39ff512c9f89e009c29abba77ad41db8
MD5 5874889de1adaa96ce05ca52baa554c1
BLAKE2b-256 71db814f472063f4314aaa240f694ce5c0ede9180479aa91e50041811dc1084f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page