@bf6mods/cli 1.3.0 → 1.5.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.
@@ -0,0 +1,199 @@
1
+ {
2
+ "Portal_Dynamic": [
3
+ {
4
+ "name": "TEAM_1_HQ",
5
+ "AltTeam": "TeamNeutral",
6
+ "ObjId": 1,
7
+ "InfantrySpawns": [
8
+ "TEAM_1_HQ/SpawnPoint_1_1",
9
+ "TEAM_1_HQ/SpawnPoint_1_2",
10
+ "TEAM_1_HQ/SpawnPoint_1_3",
11
+ "TEAM_1_HQ/SpawnPoint_1_4"
12
+ ],
13
+ "HQArea": "TEAM_1_HQ/HQ_Team1",
14
+ "type": "HQ_PlayerSpawner",
15
+ "right": { "x": 1, "y": 0, "z": 0 },
16
+ "up": { "x": 0, "y": 1, "z": 0 },
17
+ "front": { "x": 0, "y": 0, "z": 1 },
18
+ "position": { "x": -274.128, "y": 138.655, "z": 309.026 },
19
+ "id": "TEAM_1_HQ",
20
+ "linked": ["HQArea", "InfantrySpawns"]
21
+ },
22
+ {
23
+ "name": "HQ_Team1",
24
+ "type": "PolygonVolume",
25
+ "id": "TEAM_1_HQ/HQ_Team1",
26
+ "height": 0,
27
+ "points": [
28
+ { "x": -269.128, "y": 143.655, "z": 314.026 },
29
+ { "x": -269.128, "y": 143.655, "z": 304.026 },
30
+ { "x": -279.128, "y": 143.655, "z": 304.026 },
31
+ { "x": -279.128, "y": 143.655, "z": 314.026 }
32
+ ]
33
+ },
34
+ {
35
+ "name": "SpawnPoint_1_1",
36
+ "type": "SpawnPoint",
37
+ "right": { "x": 0.999884, "y": 0, "z": 0.0152535 },
38
+ "up": { "x": 0, "y": 1, "z": 0 },
39
+ "front": { "x": -0.0152535, "y": 0, "z": 0.999884 },
40
+ "position": { "x": -274.128, "y": 138.655, "z": 306.026 },
41
+ "id": "TEAM_1_HQ/SpawnPoint_1_1"
42
+ },
43
+ {
44
+ "name": "SpawnPoint_1_2",
45
+ "type": "SpawnPoint",
46
+ "right": { "x": -0.9995, "y": 0, "z": 0.0316198 },
47
+ "up": { "x": 0, "y": 1, "z": 0 },
48
+ "front": { "x": -0.0316198, "y": 0, "z": -0.9995 },
49
+ "position": { "x": -271.128, "y": 138.655, "z": 309.026 },
50
+ "id": "TEAM_1_HQ/SpawnPoint_1_2"
51
+ },
52
+ {
53
+ "name": "SpawnPoint_1_3",
54
+ "type": "SpawnPoint",
55
+ "right": { "x": -0.0428871, "y": 0, "z": -0.99908 },
56
+ "up": { "x": 0, "y": 1, "z": 0 },
57
+ "front": { "x": 0.99908, "y": 0, "z": -0.0428871 },
58
+ "position": { "x": -277.128, "y": 138.655, "z": 309.026 },
59
+ "id": "TEAM_1_HQ/SpawnPoint_1_3"
60
+ },
61
+ {
62
+ "name": "SpawnPoint_1_4",
63
+ "type": "SpawnPoint",
64
+ "right": { "x": 0.0841819, "y": 0, "z": 0.99645 },
65
+ "up": { "x": 0, "y": 1, "z": 0 },
66
+ "front": { "x": -0.99645, "y": 0, "z": 0.0841819 },
67
+ "position": { "x": -274.128, "y": 138.655, "z": 312.026 },
68
+ "id": "TEAM_1_HQ/SpawnPoint_1_4"
69
+ },
70
+ {
71
+ "name": "TEAM_2_HQ",
72
+ "Team": "Team2",
73
+ "AltTeam": "TeamNeutral",
74
+ "ObjId": 2,
75
+ "InfantrySpawns": [
76
+ "TEAM_2_HQ/SpawnPoint_2_1",
77
+ "TEAM_2_HQ/SpawnPoint_2_2",
78
+ "TEAM_2_HQ/SpawnPoint_2_3",
79
+ "TEAM_2_HQ/SpawnPoint_2_4"
80
+ ],
81
+ "HQArea": "TEAM_2_HQ/HQ_Team2",
82
+ "type": "HQ_PlayerSpawner",
83
+ "right": { "x": 1, "y": 0, "z": 0 },
84
+ "up": { "x": 0, "y": 1, "z": 0 },
85
+ "front": { "x": 0, "y": 0, "z": 1 },
86
+ "position": { "x": -224.378, "y": 138.671, "z": 239.955 },
87
+ "id": "TEAM_2_HQ",
88
+ "linked": ["HQArea", "InfantrySpawns"]
89
+ },
90
+ {
91
+ "name": "HQ_Team2",
92
+ "type": "PolygonVolume",
93
+ "id": "TEAM_2_HQ/HQ_Team2",
94
+ "height": 0,
95
+ "points": [
96
+ { "x": -219.378, "y": 143.671, "z": 244.955 },
97
+ { "x": -219.378, "y": 143.671, "z": 234.955 },
98
+ { "x": -229.378, "y": 143.671, "z": 234.955 },
99
+ { "x": -229.378, "y": 143.671, "z": 244.955 }
100
+ ]
101
+ },
102
+ {
103
+ "name": "SpawnPoint_2_1",
104
+ "type": "SpawnPoint",
105
+ "right": { "x": 0.87795, "y": 0, "z": 0.478754 },
106
+ "up": { "x": 0, "y": 1, "z": 0 },
107
+ "front": { "x": -0.478754, "y": 0, "z": 0.87795 },
108
+ "position": { "x": -224.378, "y": 138.671, "z": 236.955 },
109
+ "id": "TEAM_2_HQ/SpawnPoint_2_1"
110
+ },
111
+ {
112
+ "name": "SpawnPoint_2_2",
113
+ "type": "SpawnPoint",
114
+ "right": { "x": -0.997604, "y": 0, "z": -0.0691822 },
115
+ "up": { "x": 0, "y": 1, "z": 0 },
116
+ "front": { "x": 0.0691822, "y": 0, "z": -0.997604 },
117
+ "position": { "x": -221.378, "y": 138.671, "z": 239.955 },
118
+ "id": "TEAM_2_HQ/SpawnPoint_2_2"
119
+ },
120
+ {
121
+ "name": "SpawnPoint_2_3",
122
+ "type": "SpawnPoint",
123
+ "right": { "x": 0.162758, "y": 0, "z": -0.986666 },
124
+ "up": { "x": 0, "y": 1, "z": 0 },
125
+ "front": { "x": 0.986666, "y": 0, "z": 0.162758 },
126
+ "position": { "x": -227.378, "y": 138.671, "z": 239.955 },
127
+ "id": "TEAM_2_HQ/SpawnPoint_2_3"
128
+ },
129
+ {
130
+ "name": "SpawnPoint_2_4",
131
+ "type": "SpawnPoint",
132
+ "right": { "x": -0.165771, "y": 0, "z": 0.986164 },
133
+ "up": { "x": 0, "y": 1, "z": 0 },
134
+ "front": { "x": -0.986164, "y": 0, "z": -0.165771 },
135
+ "position": { "x": -224.378, "y": 138.671, "z": 242.955 },
136
+ "id": "TEAM_2_HQ/SpawnPoint_2_4"
137
+ },
138
+ {
139
+ "name": "CombatArea",
140
+ "CombatVolume": "CombatArea/CombatVolume",
141
+ "type": "CombatArea",
142
+ "right": { "x": 1, "y": 0, "z": 0 },
143
+ "up": { "x": 0, "y": 1, "z": 0 },
144
+ "front": { "x": 0, "y": 0, "z": 1 },
145
+ "position": { "x": -193.415, "y": 136.643, "z": 352.408 },
146
+ "id": "CombatArea",
147
+ "linked": ["CombatVolume"]
148
+ },
149
+ {
150
+ "name": "CombatVolume",
151
+ "type": "PolygonVolume",
152
+ "id": "CombatArea/CombatVolume",
153
+ "height": 100,
154
+ "points": [
155
+ { "x": -436.0711, "y": 271.024, "z": -102.4 },
156
+ { "x": -567.4751, "y": 271.024, "z": -14.073 },
157
+ { "x": -601.5491, "y": 271.024, "z": 225.66089 },
158
+ { "x": -566.2821, "y": 271.024, "z": 491.459 },
159
+ { "x": -398.3461, "y": 271.024, "z": 704.421 },
160
+ { "x": -102.634, "y": 271.024, "z": 766.484 },
161
+ { "x": 145.6179, "y": 271.024, "z": 652.093 },
162
+ { "x": 191.8619, "y": 271.024, "z": 330.825 },
163
+ { "x": 162.6789, "y": 271.024, "z": 129.5239 },
164
+ { "x": 56.8069, "y": 271.024, "z": -14.073 },
165
+ { "x": -25.9441, "y": 271.024, "z": -73.702 },
166
+ { "x": -277.8711, "y": 271.024, "z": -144.992 }
167
+ ]
168
+ },
169
+ {
170
+ "name": "DeployCam",
171
+ "type": "DeployCam",
172
+ "right": { "x": 1, "y": 0, "z": 0 },
173
+ "up": { "x": 0, "y": 0.101056, "z": -0.994881 },
174
+ "front": { "x": 0, "y": 0.994881, "z": 0.101056 },
175
+ "position": { "x": -218.643, "y": 501.636, "z": 311.623 },
176
+ "id": "Camera3D/DeployCam"
177
+ }
178
+ ],
179
+ "Static": [
180
+ {
181
+ "name": "MP_Granite_TechCampus_Portal_Terrain",
182
+ "type": "MP_Granite_TechCampus_Portal_Terrain",
183
+ "right": { "x": 1, "y": 0, "z": 0 },
184
+ "up": { "x": 0, "y": 1, "z": 0 },
185
+ "front": { "x": 0, "y": 0, "z": 1 },
186
+ "position": { "x": 0, "y": 0, "z": 0 },
187
+ "id": "Static/MP_Granite_TechCampus_Portal_Terrain"
188
+ },
189
+ {
190
+ "name": "MP_Granite_TechCampus_Portal_Assets",
191
+ "type": "MP_Granite_TechCampus_Portal_Assets",
192
+ "right": { "x": 1, "y": 0, "z": 0 },
193
+ "up": { "x": 0, "y": 1, "z": 0 },
194
+ "front": { "x": 0, "y": 0, "z": 1 },
195
+ "position": { "x": 0, "y": 0, "z": 0 },
196
+ "id": "Static/MP_Granite_TechCampus_Portal_Assets"
197
+ }
198
+ ]
199
+ }
@@ -0,0 +1,191 @@
1
+ {
2
+ "Portal_Dynamic": [
3
+ {
4
+ "name": "TEAM_1_HQ",
5
+ "AltTeam": "TeamNeutral",
6
+ "ObjId": 1,
7
+ "InfantrySpawns": [
8
+ "TEAM_1_HQ/SpawnPoint_1_1",
9
+ "TEAM_1_HQ/SpawnPoint_1_2",
10
+ "TEAM_1_HQ/SpawnPoint_1_3",
11
+ "TEAM_1_HQ/SpawnPoint_1_4"
12
+ ],
13
+ "HQArea": "TEAM_1_HQ/HQ_Team1",
14
+ "type": "HQ_PlayerSpawner",
15
+ "right": { "x": 1, "y": 0, "z": 0 },
16
+ "up": { "x": 0, "y": 1, "z": 0 },
17
+ "front": { "x": 0, "y": 0, "z": 1 },
18
+ "position": { "x": -30.0207, "y": 32.4003, "z": -0.012538 },
19
+ "id": "TEAM_1_HQ",
20
+ "linked": ["HQArea", "InfantrySpawns"]
21
+ },
22
+ {
23
+ "name": "HQ_Team1",
24
+ "type": "PolygonVolume",
25
+ "id": "TEAM_1_HQ/HQ_Team1",
26
+ "height": 0,
27
+ "points": [
28
+ { "x": -25.0207, "y": 37.4003, "z": 4.987462 },
29
+ { "x": -25.0207, "y": 37.4003, "z": -5.012538 },
30
+ { "x": -35.0207, "y": 37.4003, "z": -5.012538 },
31
+ { "x": -35.0207, "y": 37.4003, "z": 4.987462 }
32
+ ]
33
+ },
34
+ {
35
+ "name": "SpawnPoint_1_1",
36
+ "type": "SpawnPoint",
37
+ "right": { "x": 0.999884, "y": 0, "z": 0.0152535 },
38
+ "up": { "x": 0, "y": 1, "z": 0 },
39
+ "front": { "x": -0.0152535, "y": 0, "z": 0.999884 },
40
+ "position": { "x": -30.0207, "y": 32.4003, "z": -3.012538 },
41
+ "id": "TEAM_1_HQ/SpawnPoint_1_1"
42
+ },
43
+ {
44
+ "name": "SpawnPoint_1_2",
45
+ "type": "SpawnPoint",
46
+ "right": { "x": -0.9995, "y": 0, "z": 0.0316198 },
47
+ "up": { "x": 0, "y": 1, "z": 0 },
48
+ "front": { "x": -0.0316198, "y": 0, "z": -0.9995 },
49
+ "position": { "x": -27.0207, "y": 32.4003, "z": -0.012538 },
50
+ "id": "TEAM_1_HQ/SpawnPoint_1_2"
51
+ },
52
+ {
53
+ "name": "SpawnPoint_1_3",
54
+ "type": "SpawnPoint",
55
+ "right": { "x": -0.0428871, "y": 0, "z": -0.99908 },
56
+ "up": { "x": 0, "y": 1, "z": 0 },
57
+ "front": { "x": 0.99908, "y": 0, "z": -0.0428871 },
58
+ "position": { "x": -33.0207, "y": 32.4003, "z": -0.012538 },
59
+ "id": "TEAM_1_HQ/SpawnPoint_1_3"
60
+ },
61
+ {
62
+ "name": "SpawnPoint_1_4",
63
+ "type": "SpawnPoint",
64
+ "right": { "x": 0.0841819, "y": 0, "z": 0.99645 },
65
+ "up": { "x": 0, "y": 1, "z": 0 },
66
+ "front": { "x": -0.99645, "y": 0, "z": 0.0841819 },
67
+ "position": { "x": -30.0207, "y": 32.4003, "z": 2.987462 },
68
+ "id": "TEAM_1_HQ/SpawnPoint_1_4"
69
+ },
70
+ {
71
+ "name": "TEAM_2_HQ",
72
+ "Team": "Team2",
73
+ "AltTeam": "TeamNeutral",
74
+ "ObjId": 2,
75
+ "InfantrySpawns": [
76
+ "TEAM_2_HQ/SpawnPoint_2_1",
77
+ "TEAM_2_HQ/SpawnPoint_2_2",
78
+ "TEAM_2_HQ/SpawnPoint_2_3",
79
+ "TEAM_2_HQ/SpawnPoint_2_4"
80
+ ],
81
+ "HQArea": "TEAM_2_HQ/HQ_Team2",
82
+ "type": "HQ_PlayerSpawner",
83
+ "right": { "x": 1, "y": 0, "z": 0 },
84
+ "up": { "x": 0, "y": 1, "z": 0 },
85
+ "front": { "x": 0, "y": 0, "z": 1 },
86
+ "position": { "x": 30.194, "y": 32.9783, "z": -0.0373716 },
87
+ "id": "TEAM_2_HQ",
88
+ "linked": ["HQArea", "InfantrySpawns"]
89
+ },
90
+ {
91
+ "name": "HQ_Team2",
92
+ "type": "PolygonVolume",
93
+ "id": "TEAM_2_HQ/HQ_Team2",
94
+ "height": 0,
95
+ "points": [
96
+ { "x": 35.194, "y": 37.9783, "z": 4.9626284 },
97
+ { "x": 35.194, "y": 37.9783, "z": -5.0373716 },
98
+ { "x": 25.194, "y": 37.9783, "z": -5.0373716 },
99
+ { "x": 25.194, "y": 37.9783, "z": 4.9626284 }
100
+ ]
101
+ },
102
+ {
103
+ "name": "SpawnPoint_2_1",
104
+ "type": "SpawnPoint",
105
+ "right": { "x": 0.87795, "y": 0, "z": 0.478754 },
106
+ "up": { "x": 0, "y": 1, "z": 0 },
107
+ "front": { "x": -0.478754, "y": 0, "z": 0.87795 },
108
+ "position": { "x": 30.194, "y": 32.9783, "z": -3.0373716 },
109
+ "id": "TEAM_2_HQ/SpawnPoint_2_1"
110
+ },
111
+ {
112
+ "name": "SpawnPoint_2_2",
113
+ "type": "SpawnPoint",
114
+ "right": { "x": -0.997604, "y": 0, "z": -0.0691822 },
115
+ "up": { "x": 0, "y": 1, "z": 0 },
116
+ "front": { "x": 0.0691822, "y": 0, "z": -0.997604 },
117
+ "position": { "x": 33.194, "y": 32.9783, "z": -0.0373716 },
118
+ "id": "TEAM_2_HQ/SpawnPoint_2_2"
119
+ },
120
+ {
121
+ "name": "SpawnPoint_2_3",
122
+ "type": "SpawnPoint",
123
+ "right": { "x": 0.162758, "y": 0, "z": -0.986666 },
124
+ "up": { "x": 0, "y": 1, "z": 0 },
125
+ "front": { "x": 0.986666, "y": 0, "z": 0.162758 },
126
+ "position": { "x": 27.194, "y": 32.9783, "z": -0.0373716 },
127
+ "id": "TEAM_2_HQ/SpawnPoint_2_3"
128
+ },
129
+ {
130
+ "name": "SpawnPoint_2_4",
131
+ "type": "SpawnPoint",
132
+ "right": { "x": -0.165771, "y": 0, "z": 0.986164 },
133
+ "up": { "x": 0, "y": 1, "z": 0 },
134
+ "front": { "x": -0.986164, "y": 0, "z": -0.165771 },
135
+ "position": { "x": 30.194, "y": 32.9783, "z": 2.9626284 },
136
+ "id": "TEAM_2_HQ/SpawnPoint_2_4"
137
+ },
138
+ {
139
+ "name": "CombatArea",
140
+ "CombatVolume": "CombatArea/CombatVolume",
141
+ "type": "CombatArea",
142
+ "right": { "x": 1, "y": 0, "z": 0 },
143
+ "up": { "x": 0, "y": 1, "z": 0 },
144
+ "front": { "x": 0, "y": 0, "z": 1 },
145
+ "position": { "x": 0, "y": 0, "z": 0 },
146
+ "id": "CombatArea",
147
+ "linked": ["CombatVolume"]
148
+ },
149
+ {
150
+ "name": "CombatVolume",
151
+ "type": "PolygonVolume",
152
+ "id": "CombatArea/CombatVolume",
153
+ "height": 0,
154
+ "points": [
155
+ { "x": -450, "y": 43.0489, "z": -450 },
156
+ { "x": -450, "y": 43.0489, "z": 450 },
157
+ { "x": 450, "y": 43.0489, "z": 450 },
158
+ { "x": 450, "y": 43.0489, "z": -450 }
159
+ ]
160
+ },
161
+ {
162
+ "name": "DeployCam",
163
+ "type": "DeployCam",
164
+ "right": { "x": 1, "y": 0, "z": 0 },
165
+ "up": { "x": 0, "y": 0.101056, "z": -0.994881 },
166
+ "front": { "x": 0, "y": 0.994881, "z": 0.101056 },
167
+ "position": { "x": 0, "y": 383.15, "z": 0 },
168
+ "id": "Camera3D/DeployCam"
169
+ }
170
+ ],
171
+ "Static": [
172
+ {
173
+ "name": "MP_Portal_Sand_Terrain",
174
+ "type": "MP_Portal_Sand_Terrain",
175
+ "right": { "x": 1, "y": 0, "z": 0 },
176
+ "up": { "x": 0, "y": 1, "z": 0 },
177
+ "front": { "x": 0, "y": 0, "z": 1 },
178
+ "position": { "x": 0, "y": 0, "z": 0 },
179
+ "id": "Static/MP_Portal_Sand_Terrain"
180
+ },
181
+ {
182
+ "name": "MP_Portal_Sand_Assets",
183
+ "type": "MP_Portal_Sand_Assets",
184
+ "right": { "x": 1, "y": 0, "z": 0 },
185
+ "up": { "x": 0, "y": 1, "z": 0 },
186
+ "front": { "x": 0, "y": 0, "z": 1 },
187
+ "position": { "x": 0, "y": 0, "z": 0 },
188
+ "id": "Static/MP_Portal_Sand_Assets"
189
+ }
190
+ ]
191
+ }
@@ -1,15 +1,24 @@
1
1
  import type { ConfigType } from "@bf6mods/sdk";
2
2
 
3
3
  export enum MapId {
4
- FireStorm = "MP_FireStorm-ModBuilderCustom0",
5
4
  SiegeOfCairo = "MP_Abbasid-ModBuilderCustom0",
6
5
  EmpireState = "MP_Aftermath-ModBuilderCustom0",
6
+ BlackwellFields = "MP_Badlands-ModBuilderCustom0",
7
7
  IberianOffensive = "MP_Battery-ModBuilderCustom0",
8
8
  LiberationPeak = "MP_Capstone-ModBuilderCustom0",
9
9
  ManhattanBridge = "MP_Dumbo-ModBuilderCustom0",
10
+ Eastwoord = "MP_Eastwood-ModBuilderCustom0",
11
+ FireStorm = "MP_FireStorm-ModBuilderCustom0",
10
12
  SaintsQuarter = "MP_Limestone-ModBuilderCustom0",
11
13
  NewSobekCity = "MP_Outskirts-ModBuilderCustom0",
12
14
  MirakValley = "MP_Tungsten-ModBuilderCustom0",
15
+ GolfCourse = "MP_Granite_ClubHouse_Portal-ModBuilderCustom0",
16
+ DefenseNexus = "MP_Granite_TechCampus_Portal-ModBuilderCustom0",
17
+ PortalSandbox = "MP_Portal_Sand-ModBuilderCustom0",
18
+ Marina = "MP_Granite_Marina_Portal-ModBuilderCustom0",
19
+ Downtown = "MP_Granite_MainStreet_Portal-ModBuilderCustom0",
20
+ Area22B = "MP_Granite_MilitaryRnD_Portal-ModBuilderCustom0",
21
+ RedlineStorage = "MP_Granite_MilitaryStorage_Portal-ModBuilderCustom0",
13
22
  }
14
23
 
15
24
  /**
@@ -23,6 +32,17 @@ export enum MapId {
23
32
  * in your `bf6.config.ts` file.
24
33
  */
25
34
  export type Bf6Config = {
35
+ /**
36
+ * The unique identifier of your mod experience.
37
+ *
38
+ * You can find this ID in the URL when editing your experience:
39
+ * [https://portal.battlefield.com/bf6/experience/settings/mode?id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx](https://portal.battlefield.com/bf6/experience/settings/mode?id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
40
+ *
41
+ * This ID is referenced when deploying your mod using:
42
+ * npx \@bf6mods/cli deploy
43
+ */
44
+ id?: string;
45
+
26
46
  /**
27
47
  * The human-readable name of the mod.
28
48
  *
@@ -0,0 +1,3 @@
1
+ node_modules/
2
+ dist
3
+ .bf6