Skip to content

Commit fe31b42

Browse files
committed
added double layer on vertigo
1 parent 05557b9 commit fe31b42

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

src/HUD/Radar/LexoRadar/LexoRadarContainer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class App extends React.Component<IProps> {
152152
if ("config" in map) {
153153
return ({
154154
position: this.parsePosition(extGrenade.flames[id].split(", ").map(pos => Number(pos)), 12, map.config),
155-
id,
155+
id: `${id}_${extGrenade.id}`,
156156
visible: true
157157
});
158158
}

src/HUD/Radar/LexoRadar/maps/de_vertigo/index.ts

+37-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
import radar from './radar.png'
22

3+
const high = {
4+
"origin": {
5+
"x": 784.4793452283254,
6+
"y": 255.42597837029027
7+
},
8+
"pxPerUX": 0.19856123172015677,
9+
"pxPerUY": -0.19820052722907044
10+
};
11+
12+
const low = {
13+
"origin": {
14+
"x": 780.5145858437052,
15+
"y": 695.4259783702903
16+
},
17+
"pxPerUX": 0.1989615567841087,
18+
"pxPerUY": -0.19820052722907044
19+
};
20+
21+
export default {
22+
configs: [
23+
{
24+
id: 'high',
25+
config: high,
26+
isVisible: (height: number) => height >= 11700,
27+
},
28+
{
29+
id: 'low',
30+
config: low,
31+
isVisible: (height: number) => height < 11700,
32+
},
33+
],
34+
file: radar
35+
}
36+
/*
37+
import radar from './radar.png'
38+
339
export default {
440
"config": {
541
"origin": {
@@ -10,4 +46,4 @@ export default {
1046
"pxPerUY": -0.3450882697407333
1147
},
1248
"file":radar
13-
}
49+
}*/
Loading

0 commit comments

Comments
 (0)