Skip to content

Commit

Permalink
Bump version to 1.3.0 and update game to CS2; adjust radar configurat…
Browse files Browse the repository at this point in the history
…ions for de_mirage, de_train, and de_vertigo
  • Loading branch information
osztenkurden committed Feb 27, 2025
1 parent ae5f1e2 commit 360fe38
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obserview",
"version": "1.2.0",
"version": "1.3.0",
"homepage": "./",
"private": true,
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion public/hud.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name":"Obserview",
"version":"1.2.0",
"version":"1.3.0",
"author":"Lexogrine",
"legacy": false,
"game":"cs2",
"radar": true,
"killfeed": true,
"boltobserv":{
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class App extends React.Component<any, { match: Match | null, game: CSGO | null,
}

socket.on("readyToRegister", () => {
socket.emit("register", name, isDev, "csgo", isInWindow ? "IPC" : "DEFAULT");
socket.emit("register", name, isDev, "cs2", isInWindow ? "IPC" : "DEFAULT");
});
socket.on(`hud_config`, (data: any) => {
configs.save(data);
Expand Down
3 changes: 1 addition & 2 deletions src/HUD/Radar/LexoRadar/maps/de_mirage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ const config = {
"y": 340.2921393569175
},
"pxPerUX": 0.20118507589946494,
"pxPerUY": -0.20138282875746794,
"originHeight": -170,
"pxPerUY": -0.20138282875746794
},
"file": radar
}
Expand Down
8 changes: 4 additions & 4 deletions src/HUD/Radar/LexoRadar/maps/de_train/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import radar from './radar.png'
const config = {
"config": {
"origin": {
"x": 527.365542903922,
"y": 511.81469648562296
"x": 557.7279495268139,
"y": 507.83243734804853
},
"pxPerUX": 0.21532584158170223,
"pxPerUY": -0.21299254526091588
"pxPerUX": 0.22712933753943218,
"pxPerUY": -0.23013108811174968
},
"file":radar
}
Expand Down
Binary file modified src/HUD/Radar/LexoRadar/maps/de_train/radar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions src/HUD/Radar/LexoRadar/maps/de_vertigo/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Player } from 'csgogsi-socket';
import radar from './radar.png'

const high = {
Expand Down Expand Up @@ -32,21 +31,6 @@ const config = {
isVisible: (height: number) => height < 11700,
},
],
zooms: [{
threshold: (players: Player[]) => {
const alivePlayers = players.filter(player => player.state.health);
return alivePlayers.length > 0 && alivePlayers.every(player => player.position[2] < 11700)
},
origin: [472, 1130],
zoom: 2
}, {
threshold: (players: Player[]) => {
const alivePlayers = players.filter(player => player.state.health);
return alivePlayers.length > 0 && players.filter(player => player.state.health).every(player => player.position[2] >= 11700);
},
origin: [528, 15],
zoom: 1.75
}],
file: radar
}

Expand Down
Binary file modified src/HUD/Radar/LexoRadar/maps/de_vertigo/radar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 360fe38

Please # to comment.