@cs2dak/maps 0.2.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +33 -2
  3. package/callout-grid/de_ancient.json +1 -0
  4. package/callout-grid/de_anubis.json +1 -0
  5. package/callout-grid/de_dust2.json +1 -0
  6. package/callout-grid/de_inferno.json +1 -0
  7. package/callout-grid/de_mirage.json +1 -0
  8. package/callout-grid/de_nuke.json +1 -0
  9. package/callout-grid/de_overpass.json +1 -0
  10. package/map-nav/de_ancient.nav.json +1 -0
  11. package/map-nav/de_anubis.nav.json +1 -0
  12. package/map-nav/de_dust2.nav.json +1 -0
  13. package/map-nav/de_inferno.nav.json +1 -0
  14. package/map-nav/de_mirage.nav.json +1 -0
  15. package/map-nav/de_nuke.nav.json +1 -0
  16. package/map-nav/de_overpass.nav.json +1 -0
  17. package/map-routes/de_ancient.json +231 -0
  18. package/map-routes/de_anubis.json +204 -0
  19. package/map-routes/de_dust2.json +153 -0
  20. package/map-routes/de_inferno.json +207 -0
  21. package/map-routes/de_mirage.json +156 -0
  22. package/map-routes/de_nuke.json +63 -0
  23. package/map-routes/de_overpass.json +87 -0
  24. package/package.json +9 -3
  25. package/src/callout-grid-browser.test.ts +36 -0
  26. package/src/callout-grid-browser.ts +31 -0
  27. package/src/callout-grid-node.test.ts +27 -0
  28. package/src/callout-grid-node.ts +28 -0
  29. package/src/callout-grid.test.ts +73 -0
  30. package/src/callout-grid.ts +168 -0
  31. package/src/callout-names.ts +238 -0
  32. package/src/default-positions.test.ts +109 -0
  33. package/src/default-positions.ts +266 -0
  34. package/src/geometry-assets.test.ts +22 -0
  35. package/src/geometry-assets.ts +57 -0
  36. package/src/index.ts +41 -0
  37. package/src/lineups.test.ts +95 -0
  38. package/src/lineups.ts +336 -0
  39. package/src/nav.test.ts +68 -0
  40. package/src/nav.ts +228 -0
  41. package/src/position-candidates.test.ts +62 -0
  42. package/src/position-candidates.ts +183 -0
  43. package/src/radar-grid.ts +66 -0
  44. package/src/route-assets.test.ts +80 -0
  45. package/src/route-assets.ts +23 -0
  46. package/src/routes.test.ts +46 -0
  47. package/src/routes.ts +93 -0
  48. package/src/site-entry-chokes.ts +234 -0
  49. package/src/site-entry-lexicon.ts +131 -0
  50. package/src/tri-assets.ts +72 -0
  51. package/src/visibility.test.ts +36 -0
  52. package/src/visibility.ts +237 -0
  53. package/src/zone-assets.ts +23 -0
  54. package/src/zones.ts +7 -7
@@ -0,0 +1,231 @@
1
+ {
2
+ "mapName": "de_ancient",
3
+ "version": "de_ancient-routes-0.4",
4
+ "routes": [
5
+ {
6
+ "id": "a_main",
7
+ "name": "A厅进攻",
8
+ "type": "primary_entry",
9
+ "bombsite": "a",
10
+ "confidence": "high",
11
+ "zones": [
12
+ {
13
+ "id": "TSpawn"
14
+ },
15
+ {
16
+ "id": "Outside"
17
+ },
18
+ {
19
+ "id": "MainHall"
20
+ },
21
+ {
22
+ "id": "BombsiteA"
23
+ }
24
+ ]
25
+ },
26
+ {
27
+ "id": "a_donut",
28
+ "name": "中路甜甜圈夹A",
29
+ "type": "mid_connector",
30
+ "bombsite": "a",
31
+ "confidence": "high",
32
+ "zones": [
33
+ {
34
+ "id": "TSpawn"
35
+ },
36
+ {
37
+ "id": "Outside"
38
+ },
39
+ {
40
+ "id": "Middle"
41
+ },
42
+ {
43
+ "id": "SideHall"
44
+ },
45
+ {
46
+ "id": "BombsiteA"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "id": "a_rotate_b_to_a",
52
+ "name": "B区跳台转A",
53
+ "type": "lurk_lane",
54
+ "bombsite": "a",
55
+ "confidence": "high",
56
+ "zones": [
57
+ {
58
+ "id": "TSpawn"
59
+ },
60
+ {
61
+ "id": "Tunnel"
62
+ },
63
+ {
64
+ "id": "Water"
65
+ },
66
+ {
67
+ "id": "Ruins"
68
+ },
69
+ {
70
+ "id": "TSideLower"
71
+ },
72
+ {
73
+ "id": "TSideUpper"
74
+ },
75
+ {
76
+ "id": "Middle"
77
+ },
78
+ {
79
+ "id": "SideHall"
80
+ },
81
+ {
82
+ "id": "BombsiteA"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "id": "a_ct_invade",
88
+ "name": "入侵警家",
89
+ "type": "rotation_cut",
90
+ "bombsite": "a",
91
+ "confidence": "high",
92
+ "zones": [
93
+ {
94
+ "id": "TSpawn"
95
+ },
96
+ {
97
+ "id": "Outside"
98
+ },
99
+ {
100
+ "id": "Middle"
101
+ },
102
+ {
103
+ "id": "TopofMid"
104
+ },
105
+ {
106
+ "id": "House"
107
+ },
108
+ {
109
+ "id": "CTSpawn"
110
+ },
111
+ {
112
+ "id": "BombsiteA"
113
+ }
114
+ ]
115
+ },
116
+ {
117
+ "id": "b_ramp",
118
+ "name": "B坡进攻",
119
+ "type": "primary_entry",
120
+ "bombsite": "b",
121
+ "confidence": "high",
122
+ "zones": [
123
+ {
124
+ "id": "TSpawn"
125
+ },
126
+ {
127
+ "id": "Tunnel"
128
+ },
129
+ {
130
+ "id": "Water"
131
+ },
132
+ {
133
+ "id": "Ruins"
134
+ },
135
+ {
136
+ "id": "Ramp"
137
+ },
138
+ {
139
+ "id": "BombsiteB"
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "id": "b_jump_side",
145
+ "name": "跳台控黑屋",
146
+ "type": "mid_connector",
147
+ "bombsite": "b",
148
+ "confidence": "high",
149
+ "zones": [
150
+ {
151
+ "id": "TSpawn"
152
+ },
153
+ {
154
+ "id": "Outside"
155
+ },
156
+ {
157
+ "id": "Middle"
158
+ },
159
+ {
160
+ "id": "TSideUpper"
161
+ },
162
+ {
163
+ "id": "SideEntrance"
164
+ },
165
+ {
166
+ "id": "BombsiteB"
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "id": "b_vip_lurk",
172
+ "name": "VIP入侵B",
173
+ "type": "rotation_cut",
174
+ "bombsite": "b",
175
+ "confidence": "high",
176
+ "zones": [
177
+ {
178
+ "id": "TSpawn"
179
+ },
180
+ {
181
+ "id": "Outside"
182
+ },
183
+ {
184
+ "id": "Middle"
185
+ },
186
+ {
187
+ "id": "TopofMid"
188
+ },
189
+ {
190
+ "id": "House"
191
+ },
192
+ {
193
+ "id": "Alley"
194
+ },
195
+ {
196
+ "id": "BombsiteB"
197
+ }
198
+ ]
199
+ },
200
+ {
201
+ "id": "b_jump_to_ramp",
202
+ "name": "黑屋夹B",
203
+ "type": "secondary_entry",
204
+ "bombsite": "b",
205
+ "confidence": "high",
206
+ "zones": [
207
+ {
208
+ "id": "TSpawn"
209
+ },
210
+ {
211
+ "id": "Tunnel"
212
+ },
213
+ {
214
+ "id": "Water"
215
+ },
216
+ {
217
+ "id": "Ruins"
218
+ },
219
+ {
220
+ "id": "TSideLower"
221
+ },
222
+ {
223
+ "id": "SideEntrance"
224
+ },
225
+ {
226
+ "id": "BombsiteB"
227
+ }
228
+ ]
229
+ }
230
+ ]
231
+ }
@@ -0,0 +1,204 @@
1
+ {
2
+ "mapName": "de_anubis",
3
+ "version": "de_anubis-routes-0.4",
4
+ "routes": [
5
+ {
6
+ "id": "a_main",
7
+ "name": "水下A厅",
8
+ "type": "primary_entry",
9
+ "bombsite": "a",
10
+ "confidence": "high",
11
+ "zones": [
12
+ {
13
+ "id": "TSpawn"
14
+ },
15
+ {
16
+ "id": "Street"
17
+ },
18
+ {
19
+ "id": "TStairs"
20
+ },
21
+ {
22
+ "id": "Canal"
23
+ },
24
+ {
25
+ "id": "Main"
26
+ },
27
+ {
28
+ "id": "BombsiteA"
29
+ }
30
+ ]
31
+ },
32
+ {
33
+ "id": "a_mid_walkway",
34
+ "name": "中路A连",
35
+ "type": "mid_connector",
36
+ "bombsite": "a",
37
+ "confidence": "high",
38
+ "zones": [
39
+ {
40
+ "id": "TSpawn"
41
+ },
42
+ {
43
+ "id": "Ruins"
44
+ },
45
+ {
46
+ "id": "Bridge"
47
+ },
48
+ {
49
+ "id": "MidDoors"
50
+ },
51
+ {
52
+ "id": "Middle"
53
+ },
54
+ {
55
+ "id": "Walkway"
56
+ },
57
+ {
58
+ "id": "BombsiteA"
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "id": "b_outside",
64
+ "name": "B外进攻",
65
+ "type": "primary_entry",
66
+ "bombsite": "b",
67
+ "confidence": "high",
68
+ "zones": [
69
+ {
70
+ "id": "TSpawn"
71
+ },
72
+ {
73
+ "id": "Ruins"
74
+ },
75
+ {
76
+ "id": "OutsideLong"
77
+ },
78
+ {
79
+ "id": "BombsiteB"
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "id": "b_connector",
85
+ "name": "水下黑屋夹B",
86
+ "type": "secondary_entry",
87
+ "bombsite": "b",
88
+ "confidence": "high",
89
+ "zones": [
90
+ {
91
+ "id": "TSpawn"
92
+ },
93
+ {
94
+ "id": "Street"
95
+ },
96
+ {
97
+ "id": "TStairs"
98
+ },
99
+ {
100
+ "id": "Canal"
101
+ },
102
+ {
103
+ "id": "Connector"
104
+ },
105
+ {
106
+ "id": "BombsiteB"
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "id": "route_1780686289028",
112
+ "name": "匪跳控 A",
113
+ "type": "lurk_lane",
114
+ "bombsite": "a",
115
+ "confidence": "high",
116
+ "zones": [
117
+ {
118
+ "id": "TSpawn"
119
+ },
120
+ {
121
+ "id": "Street"
122
+ },
123
+ {
124
+ "id": "TSideUpper"
125
+ },
126
+ {
127
+ "id": "Canal"
128
+ },
129
+ {
130
+ "id": "Main"
131
+ },
132
+ {
133
+ "id": "BombsiteA"
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "id": "route_1780686325710",
139
+ "name": "B 连夹 B",
140
+ "type": "mid_connector",
141
+ "bombsite": "b",
142
+ "confidence": "high",
143
+ "zones": [
144
+ {
145
+ "id": "TSpawn"
146
+ },
147
+ {
148
+ "id": "Bridge"
149
+ },
150
+ {
151
+ "id": "MidDoors"
152
+ },
153
+ {
154
+ "id": "Middle"
155
+ },
156
+ {
157
+ "id": "PalaceInterior"
158
+ },
159
+ {
160
+ "id": "Bricks"
161
+ },
162
+ {
163
+ "id": "BombsiteB"
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "id": "route_1780686369208",
169
+ "name": "警家夹 B",
170
+ "type": "mid_connector",
171
+ "bombsite": "b",
172
+ "confidence": "high",
173
+ "zones": [
174
+ {
175
+ "id": "TSpawn"
176
+ },
177
+ {
178
+ "id": "Bridge"
179
+ },
180
+ {
181
+ "id": "MidDoors"
182
+ },
183
+ {
184
+ "id": "Middle"
185
+ },
186
+ {
187
+ "id": "PalaceInterior"
188
+ },
189
+ {
190
+ "id": "CTSideUpper"
191
+ },
192
+ {
193
+ "id": "SnipersNest"
194
+ },
195
+ {
196
+ "id": "Alley"
197
+ },
198
+ {
199
+ "id": "BombsiteB"
200
+ }
201
+ ]
202
+ }
203
+ ]
204
+ }
@@ -0,0 +1,153 @@
1
+ {
2
+ "mapName": "de_dust2",
3
+ "version": "de_dust2-routes-0.4",
4
+ "routes": [
5
+ {
6
+ "id": "a_long",
7
+ "name": "A大",
8
+ "type": "primary_entry",
9
+ "bombsite": "a",
10
+ "confidence": "high",
11
+ "zones": [
12
+ {
13
+ "id": "TSpawn"
14
+ },
15
+ {
16
+ "id": "OutsideLong"
17
+ },
18
+ {
19
+ "id": "LongDoors"
20
+ },
21
+ {
22
+ "id": "LongA"
23
+ },
24
+ {
25
+ "id": "ARamp"
26
+ },
27
+ {
28
+ "id": "BombsiteA"
29
+ }
30
+ ]
31
+ },
32
+ {
33
+ "id": "a_short",
34
+ "name": "A小",
35
+ "type": "mid_connector",
36
+ "bombsite": "a",
37
+ "confidence": "high",
38
+ "zones": [
39
+ {
40
+ "id": "TSpawn"
41
+ },
42
+ {
43
+ "id": "TopofMid"
44
+ },
45
+ {
46
+ "id": "Middle"
47
+ },
48
+ {
49
+ "id": "Catwalk"
50
+ },
51
+ {
52
+ "id": "ShortStairs"
53
+ },
54
+ {
55
+ "id": "ExtendedA"
56
+ },
57
+ {
58
+ "id": "BombsiteA"
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "id": "b_tunnels",
64
+ "name": "B洞",
65
+ "type": "primary_entry",
66
+ "bombsite": "b",
67
+ "confidence": "high",
68
+ "zones": [
69
+ {
70
+ "id": "TSpawn"
71
+ },
72
+ {
73
+ "id": "TRamp"
74
+ },
75
+ {
76
+ "id": "OutsideTunnel"
77
+ },
78
+ {
79
+ "id": "UpperTunnel"
80
+ },
81
+ {
82
+ "id": "BombsiteB"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "id": "b_mid_lower",
88
+ "name": "中路夹B",
89
+ "type": "mid_connector",
90
+ "bombsite": "b",
91
+ "confidence": "high",
92
+ "zones": [
93
+ {
94
+ "id": "TSpawn"
95
+ },
96
+ {
97
+ "id": "TopofMid"
98
+ },
99
+ {
100
+ "id": "Middle"
101
+ },
102
+ {
103
+ "id": "MidDoors"
104
+ },
105
+ {
106
+ "id": "BDoors"
107
+ },
108
+ {
109
+ "id": "BombsiteB"
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ "id": "route_1780679582506",
115
+ "name": "B1夹B",
116
+ "type": "mid_connector",
117
+ "bombsite": "b",
118
+ "confidence": "high",
119
+ "zones": [
120
+ {
121
+ "id": "TSpawn"
122
+ },
123
+ {
124
+ "id": "TRamp"
125
+ },
126
+ {
127
+ "id": "OutsideTunnel"
128
+ },
129
+ {
130
+ "id": "UpperTunnel"
131
+ },
132
+ {
133
+ "id": "TunnelStairs"
134
+ },
135
+ {
136
+ "id": "LowerTunnel"
137
+ },
138
+ {
139
+ "id": "Middle"
140
+ },
141
+ {
142
+ "id": "MidDoors"
143
+ },
144
+ {
145
+ "id": "BDoors"
146
+ },
147
+ {
148
+ "id": "BombsiteB"
149
+ }
150
+ ]
151
+ }
152
+ ]
153
+ }