GithubHelp home page GithubHelp logo

citruscs / csgo-menu-maker Goto Github PK

View Code? Open in Web Editor NEW
130.0 11.0 11.0 145 KB

Interactive UIs in vanilla Counter-Strike: Global Offensive™.

License: MIT License

Python 100.00%
python python3 python37 csgo csgo-c

csgo-menu-maker's Introduction

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

csgo-menu-maker's People

Contributors

cclauss avatar citruscs avatar takeshixx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csgo-menu-maker's Issues

Cant combine the commands

So , I was trying to make a single yml file that will do all my tasks (hud,Crosshair etc) but after completing the yml file when i tried to push it through cmd i got the following errorhttps://imgur.com/7HKrIQg
I also tried using the template files thinking maybe i coded wrong but they show the same result.
Just want to figure out a way to see if it can be done.

How to add a new console command?

Suppose I want to add a new r_drawothermodels command that has two values ​​1 (r_drawothermodels 1) and 2 (r_drawothermodels 2) how do I do this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.