Giter Site home page Giter Site logo

csgo-custom-hud's Introduction

csgo-custom-hud

react based cs:go custom hud.

How to use

before running app.

  • gameConfig/gamestate_integration_observerspectator.cfg needs to be placed in cfg folder in CS:GO location
  • gameConfig/observer.cfg needs to be placed in cfg folder in CS:GO location.

run app

npm i
npm run build
npm start

configuration

hud settings

you may edit /src/config/hudSettings.ts.
For example,

export const hudSettings: HudSettings = {
    showTeamMoney: true, // show team money when round is freeze time.
};

team config

you may edit /src/config/teamInfo.ts. For example,

export const team1: TeamInfo = {
    name: "NiP",
    logo: "nip.png", // You need to place the file in `/src/resources/teams`
};

export const team2: TeamInfo = {
    name: "fnatic",
    logo: "fnatic.png", // You need to place the file in `/src/resources/teams`
};

player config

you may edit /src/config/playerInfo. For example,

export const playerInfoList: PlayerInfoList = {
    // `76561198005627722` is Steam ID.
    "76561198005627722": {
        twitterId: "@thiry_sk",
        image: "shroud.jpg",
    },
};

shortcuts

  • Alt+Left => swap team information.
  • Alt+Up => Toggle show/hide HUD.

For developer

how to enable Chrome dev tools

npm run install:sdk
npm run build
npm start

Now you may press F12, then you can use Chrome dev tools.

how to start storybook

npm i
npm run start:storybook

access http://localhost:3000/.
Story subjects are currently written in Japanese.
I will change to English whenever I feel like.

csgo-custom-hud's People

Contributors

thiry1 avatar execut1ve avatar bergmannf avatar

Watchers

James Cloos avatar

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.