1
0
mirror of https://github.com/lexogrine/cs2-react-hud.git synced 2026-05-03 12:03:10 +02:00

initial commit

This commit is contained in:
Hubert Walczak
2023-09-11 12:37:32 +02:00
commit 989ede8638
247 changed files with 7656 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"name":"Lexogrine CS2 HUD",
"version":"1.0.0",
"author":"Lexogrine",
"legacy": false,
"radar": true,
"killfeed": false,
"game":"cs2",
"boltobserv":{
"css":true,
"maps":true
}
}
+23
View File
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
+6
View File
@@ -0,0 +1,6 @@
[
{
"bind":"Alt+C",
"action":"toggleCams"
}
]
+148
View File
@@ -0,0 +1,148 @@
[
{
"label": "Trivia",
"name":"trivia",
"inputs": [
{
"type": "text",
"name": "title",
"label": "Trivia title"
},
{
"type": "text",
"name": "content",
"label": "Trivia content"
},
{
"type": "action",
"name": "triviaState",
"values": [
{
"name": "show",
"label": "Show trivia"
},
{
"name": "hide",
"label": "Hide trivia"
}
]
}
]
},
{
"label": "Display settings",
"name":"display_settings",
"inputs": [
{
"type": "text",
"name": "left_title",
"label": "Left box's title"
},
{
"type": "text",
"name": "right_title",
"label": "Right box's title"
},
{
"type": "text",
"name": "left_subtitle",
"label": "Left box's subtitle"
},
{
"type": "text",
"name": "right_subtitle",
"label": "Right box's subtitle"
},
{
"type":"image",
"name":"left_image",
"label":"Left box's image logo"
},
{
"type":"image",
"name":"right_image",
"label":"Right box's image logo"
},
{
"type": "action",
"name": "boxesState",
"values": [
{
"name": "show",
"label": "Show boxes"
},
{
"name": "hide",
"label": "Hide boxes"
}
]
},
{
"type": "action",
"name": "toggleRadarView",
"values": [
{
"name": "toggler",
"label": "Toggle radar view"
}
]
}
]
},
{
"label": "Player & Match overview",
"name":"preview_settings",
"inputs": [
{
"type": "match",
"name": "match_preview",
"label": "Pick an upcoming match"
},
{
"type": "select",
"name": "select_preview",
"label": "Mood indicator",
"values": [
{
"name": "show",
"label": ":)"
},
{
"name": "hide",
"label": ":("
}
]
},
{
"type": "player",
"name": "player_preview",
"label": "Pick a player to preview"
},
{
"type": "checkbox",
"name": "player_preview_toggle",
"label": "Show player preview"
},
{
"type": "checkbox",
"name": "match_preview_toggle",
"label": "Show upcoming match"
},
{
"type": "action",
"name": "showTournament",
"values": [
{
"name": "show",
"label": "Show tournament"
},
{
"name": "hide",
"label": "Hide tournament"
}
]
}
]
}
]
+48
View File
@@ -0,0 +1,48 @@
/*
* Use this file to apply custom styles to the radar image
*/
/* Any player dot */
div.dot {}
/* Players that are CT or T */
div.dot.CT {}
div.dot.T {}
/* The player with the bomb */
div.dot.bomb{}
/* The player currently being observed */
div.dot.active {}
/* A dead player */
div.dot.dead {}
/* The number on a player dot */
div.label {}
/* The number on the dot being spectated */
div.label.active {}
/* The dropped or planted bomb on the map */
#bomb {
height: 4vmin;
width: 4vmin;
background-repeat:no-repeat;
}
/* Smoke circles on the map */
#smokes {
display: none;
}
#smokes > div {
display: none;
}
/* Inferno circles on the map */
.inferno > div {}
/* The advisory on screen */
#advisory {
display: none !important;
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB