-
Notifications
You must be signed in to change notification settings - Fork 14
/
biglobby_tweak.xml
349 lines (300 loc) · 18 KB
/
biglobby_tweak.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<?xml version="1.0"?>
<tweak name="settings/network" extension="network_settings">
<search>
<network/>
</search>
<target>
<!-- BIGLOBBY RECIEVERS -->
<!-- Connection -->
<rpc>
<message name="biglobby__kick_peer" delivery="ordered" receiver="biglobby__connection" check="server_to_client">
<param type="int" min="1" max="128" /> <!-- Peer id -->
<param type="int" min="0" max="15" /> <!-- Message id -->
</message>
<message name="biglobby__remove_peer_confirmation" delivery="ordered" receiver="biglobby__connection" check="client_to_server">
<param type="int" min="1" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__join_request_reply" delivery="ordered" receiver="biglobby__connection">
<param type="int" min="0" max="15" />
<param type="int" min="0" max="128" /> <!-- Peer id ~=0 when accepted -->
<param type="string" /> <!-- My character -->
<param type="int" min="1" max="255" /> <!-- level index -->
<param type="int" min="1" max="8" /> <!-- difficulty index -->
<param type="bool" /> <!-- one down modifier -->
<param type="int" min="0" max="4" /> <!-- Game State ~=0 when accepted, lobby, in game etc -->
<param type="string" /> <!-- Server character (it was Mask set) -->
<param type="string" /> <!-- Steam User ID (used for pc only) -->
<param type="string" /> <!-- Mission -->
<param type="int" min="0" max="255" /> <!-- Job id index -->
<param type="int" min="0" max="12" /> <!-- Job stage -->
<param type="int" min="0" max="4" /> <!-- alternative stage -->
<param type="int" min="0" max="255" /> <!-- interupt stage level index -->
<param type="xuid" />
<param type="longstring" /> <!-- Authentic Steam Ticket ID -->
<param type="int" min="4" max="128" /> <!-- BigLobby host `num_players` setting -->
</message>
<message name="biglobby__peer_handshake" delivery="ordered" receiver="biglobby__connection" check="server_to_client">
<param type="string" /> <!-- Peer Name -->
<param type="int" min="1" max="128" /> <!-- Peer id -->
<param type="string" /> <!-- Peer User_ID -->
<param type="string" /> <!-- Peer Account type -->
<param type="string" /> <!-- Peer Account Id -->
<param type="bool" /> <!-- In lobby -->
<param type="bool" /> <!-- Loading -->
<param type="bool" /> <!-- Synched -->
<param type="string" /> <!-- Character -->
<param type="string" /> <!-- Mask set -->
<param type="xuid" />
<param type="xnaddr" />
</message>
<message name="biglobby__peer_exchange_info" delivery="ordered" receiver="biglobby__connection">
<param type="int" min="1" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__connection_established" delivery="ordered" receiver="biglobby__connection">
<param type="int" min="1" max="128" /> <!-- id of the peer that was introduced to us -->
</message>
<message name="biglobby__mutual_connection" delivery="ordered" receiver="biglobby__connection" check="server_to_client">
<param type="int" min="1" max="128" /> <!-- id of the other peer -->
</message>
<message name="biglobby__set_member_ready" delivery="ordered" receiver="biglobby__connection">
<param type="int" min="1" max="128" /> <!-- Peer ID -->
<param type="int" min="0" max="100" /> <!-- state. 0 = false -->
<param type="int" min="1" max="4" /> <!-- 1=ready button_state, 2=streaming state, 3=outfits_loaded, 4=server asks if outfits_loaded-->
<param type="string" /> <!-- outfit_versions -->
</message>
<message name="biglobby__request_drop_in_pause" delivery="ordered" receiver="biglobby__connection" check="server_to_client">
<param type="int" min="1" max="128" /> <!-- Peer id -->
<param type="string" /> <!-- nickname -->
<param type="bool" /> <!-- pause_state -->
</message>
<message name="biglobby__drop_in_pause_confirmation" delivery="ordered" receiver="biglobby__connection" check="client_to_server">
<param type="int" min="1" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__set_peer_synched" delivery="ordered" receiver="biglobby__connection">
<param type="int" min="1" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__dropin_progress" delivery="unreliable" receiver="biglobby__connection" check="server_to_client">
<param type="int" min="1" max="128" /> <!-- Peer id -->
<param type="int" min="0" max="100" /> <!-- progress percentage -->
</message>
<message name="biglobby__report_dead_connection" delivery="ordered" receiver="biglobby__connection" check="client_to_server">
<param type="int" min="1" max="128" /> <!-- ID of the peer that we have failed to connect to -->
</message>
<!-- PRE-PLANNING -->
<message name="biglobby__preplanning_reserved" delivery="ordered" receiver="biglobby__connection" check="server_to_client">
<param type="string" /> <!-- type / plan -->
<param type="int" min="0" /> <!-- Mission element id -->
<param type="int" min="1" max="128" /> <!-- peer_id -->
<param type="int" min="0" max="2" /> <!-- 0=reserve, 1=unreserve, 2=vote -->
</message>
<message name="biglobby__draw_preplanning_event" delivery="ordered" receiver="biglobby__connection">
<param type="int" min="1" max="5" /> <!-- Event: start, stop, undo, erase, erase_all -->
<param type="int" min="1" max="4" /> <!-- Event num 2: for 'start': line width -->
<param type="int" min="1" max="128" /> <!-- Event num 3: for 'start': line color index -->
</message>
<!-- InstantExplosiveBulletBase -->
<message name="biglobby__sync_explode_bullet" delivery="ordered" receiver="biglobby__connection">
<param type="vector3" /> <!-- Position -->
<param type="vector3" /> <!-- Normal -->
<param type="int" min="0" max="16384" /> <!-- Damage -->
<param type="int" min="1" max="128" /> <!-- server_to_client: Peer ID | client_to_server: Player weapon selection index -->
</message>
<!-- FlameBulletBase -->
<message name="biglobby__sync_flame_bullet" delivery="ordered" receiver="biglobby__connection">
<param type="vector3" /> <!-- Position -->
<param type="vector3" /> <!-- Normal -->
<param type="int" min="0" max="16384" /> <!-- Damage -->
<param type="int" min="1" max="128" /> <!-- server_to_client: Peer ID | client_to_server: Player weapon selection index -->
</message>
<message name="biglobby__sync_player_installed_mod" delivery="reliable" receiver="biglobby__connection">
<param type="int" min="0" max="128" /> <!-- Player -->
<param type="string" step="0.01" /> <!-- Mod id -->
<param type="longstring" step="0.01" /> <!-- Mod friendly name -->
</message>
</rpc>
<!-- END OF NETWORK BASE --> <!-- END OF NETWORK BASE --> <!-- END OF NETWORK BASE -->
<!-- Unit -->
<rpc>
<message name="biglobby__set_unit" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="unit" />
<param type="string" /> <!-- character name -->
<param type="longstring" /> <!-- outfit_string -->
<param type="int" min="0" max="100" /> <!-- outfit_version -->
<param type="int" min="0" max="128" /> <!-- Peer id. 0 means its an AI -->
<param type="string" /> <!-- team_id string -->
<param type="int" min="0" max="32767" /> <!-- random seed -->
</message>
<message name="biglobby__remove_corpse_by_id" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="int" min="0" max="4094" /> <!-- in engine: MAX_UNIT_ID = 4094 -->
<param type="bool" /> <!-- create body bag -->
<param type="int" min="1" max="128" /> <!-- peer_id -->
</message>
<message name="biglobby__mission_ended" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="bool" /> <!-- win -->
<param type="int" min="0" max="128" /> <!-- num_is_inside -->
</message>
<message name="biglobby__sync_trip_mine_setup" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="unit" />
<param type="bool" />
<param type="int" min="0" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__from_server_sentry_gun_place_result" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="int" min="1" max="128" /> <!-- owner peer_id -->
<param type="int" min="0" max="32" /> <!-- equipment selection index. zero means fail -->
<param type="unit" /> <!-- sentry gun -->
<param type="int" min="1" max="2" /> <!-- rotation speed upgrade level -->
<param type="int" min="1" max="2" /> <!-- spread upgrade level -->
<param type="bool" /> <!-- shield -->
<param type="int" min="1" max="2" /> <!-- ammo upgrade level -->
<param type="int" min="1" max="2" /> <!-- fire mode index -->
</message>
<message name="biglobby__place_sentry_gun" delivery="ordered" receiver="biglobby__unit" check="client_to_server">
<param type="vector3" />
<param type="rotation" />
<param type="int" min="0" max="32"/> <!-- equipment selection index -->
<param type="unit" /> <!-- user_unit -->
<param type="int" min="1" max="2" /> <!-- idstring index for sentry type to spawn -->
<param type="int" min="1" max="2" /> <!-- ammo upgrade level -->
<param type="int" min="1" max="2" /> <!-- fire mode index -->
</message>
<message name="biglobby__picked_up_sentry_gun" delivery="ordered" receiver="biglobby__unit" check="client_to_server">
<param type="unit" /> <!-- user_unit -->
</message>
<message name="biglobby__sync_equipment_setup" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="unit" />
<param type="float" min="0" max="255" />
<param type="int" min="0" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__sync_ammo_bag_setup" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="unit" />
<param type="int" min="0" max="255" /> <!-- uint8 -->
<param type="int" min="0" max="128" /> <!-- Peer id -->
<param type="int" min="0" max="2" /> <!-- Bullet storm level -->
</message>
<message name="biglobby__on_sole_criminal_respawned" delivery="ordered" receiver="unit">
<param type="int" min="0" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__sync_grenades" delivery="ordered" receiver="biglobby__unit">
<param type="string" /> <!-- Grenade id -->
<param type="int" min="0" max="63" /> <!-- Amount of grenades -->
<param type="int" min="0" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__sync_carry_data" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="unit" />
<param type="string" /> <!-- Carry id -->
<param type="int" min="0" max="2" /> <!-- multiplier upgrade level for small loot -->
<param type="bool" /> <!-- dye_initiated -->
<param type="bool" /> <!-- has_dye_pack -->
<param type="int" min="0" max="100" /> <!-- dye_value_multiplier -->
<param type="vector3" /> <!-- position -->
<param type="vector3" /> <!-- direction -->
<param type="int" min="0" max="1" /> <!-- Upgrade level of throw distance multiplier -->
<param type="unit" /> <!-- If attach to zipline -->
<param type="int" min="0" max="128" /> <!-- peer_id -->
</message>
<message name="biglobby__sync_throw_projectile" delivery="ordered" receiver="biglobby__unit">
<param type="unit" />
<param type="vector3" /> <!-- position -->
<param type="vector3" exact="true" /> <!-- direction -->
<param type="int" min="1" max="128"/> <!-- Projectile type index -->
<param type="int" min="0" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__sync_attach_projectile" delivery="ordered" receiver="biglobby__unit">
<param type="unit" /> <!-- projectile unit -->
<param type="bool" /> <!-- Instant dynamic pickup -->
<param type="unit" /> <!-- attach to unit -->
<param type="body" /> <!-- attach to body -->
<param type="object3d" /> <!-- attach object -->
<param type="vector3" /> <!-- local position -->
<param type="vector3" /> <!-- direction -->
<param type="int" min="1" max="128"/> <!-- Projectile type index -->
<param type="int" min="0" max="128" /> <!-- Peer id -->
</message>
<message name="biglobby__sync_unlock_asset" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="string" /> <!-- Asset id -->
<param type="bool"/> <!-- show chat notification -->
<param type="int" min="0" max="128" /> <!-- Peer ID -->
</message>
<message name="biglobby__sync_equipment_possession" delivery="ordered" receiver="biglobby__unit">
<param type="int" min="1" max="128" />
<!--<param type="unit" />-->
<param type="string" />
<param type="int" min="0" max="10" />
</message>
<message name="biglobby__sync_remove_equipment_possession" delivery="ordered" receiver="biglobby__unit">
<param type="int" min="1" max="128" />
<!--<param type="unit" />-->
<param type="string" />
</message>
<message name="biglobby__mark_minion" delivery="reliable" receiver="biglobby__unit" check="server_to_client">
<param type="unit" /> <!-- converted minion -->
<param type="int" min="1" max="128" /> <!-- minion_owner_peer_id -->
<param type="int" min="0" max="3" /> <!-- convert_enemies_health_multiplier -->
<param type="int" min="0" max="3" /> <!-- passive_convert_enemies_health_multiplier -->
</message>
<message name="biglobby__sync_statistics_result" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="int" min="1" max="128" /> <!-- best killer -->
<param type="int" min="0" max="10000" /> <!-- best killer score -->
<param type="int" min="1" max="128" /> <!-- best special killer -->
<param type="int" min="0" max="10000" /> <!-- best special killer score -->
<param type="int" min="1" max="128" /> <!-- best accuracy -->
<param type="int" min="0" max="1000" /> <!-- best accuracy score -->
<param type="int" min="1" max="128" /> <!-- most downs -->
<param type="int" min="0" max="1000" /> <!-- most downs score -->
<param type="int" min="0" max="10000" /> <!-- total kills -->
<param type="int" min="0" max="10000" /> <!-- total specials kills -->
<param type="int" min="0" max="10000" /> <!-- total head shots kills -->
<param type="int" min="0" max="1000" /> <!-- group accuracy -->
<param type="int" min="0" max="2000" /> <!-- group downs -->
</message>
<message name="biglobby__suspicion" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="int" min="1" max="128" /> <!-- peer ID of the player under suspicion -->
<param type="int" min="0" max="255" /> <!-- suspicion ratio. 0 means no suspicion, 255 means uncovered. values in between mean suspicion in progress -->
</message>
<message name="biglobby__sync_enter_vehicle_host" delivery="ordered" receiver="biglobby__unit" check="client_to_server">
<param type="unit" /> <!-- the vehicle -->
<param type="string" /> <!-- seat -->
</message>
<message name="biglobby__sync_vehicle_player" delivery="ordered" receiver="biglobby__unit">
<param type="string" /> <!-- action (enter/exit) -->
<param type="unit" /> <!-- the vehicle -->
<param type="int" min="0" max="128" /> <!-- Peer id ~=0 when accepted -->
<param type="unit" /> <!-- player -->
<param type="string" /> <!-- seat name -->
</message>
<message name="biglobby__sync_exit_vehicle" delivery="ordered" receiver="biglobby__unit">
<param type="int" min="0" max="128" /> <!-- Peer id ~=0 when accepted -->
<param type="unit" /> <!-- the player -->
</message>
<message name="biglobby__server_give_vehicle_loot_to_player" delivery="ordered" receiver="biglobby__unit" check="client_to_server">
<param type="unit" /> <!-- vehicle -->
<param type="int" min="1" max="128" /> <!-- peer_id -->
</message>
<message name="biglobby__sync_give_vehicle_loot_to_player" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="unit" /> <!-- vehicle -->
<param type="string" /> <!-- Carry id -->
<param type="int" min="0" max="2" /> <!-- multiplier upgrade level for small loot -->
<param type="int" min="1" max="128" /> <!-- peer_id -->
</message>
<message name="biglobby__sync_vehicle_interact_trunk" delivery="ordered" receiver="biglobby__unit">
<param type="unit"/> <!-- vehicle -->
</message>
<message name="biglobby__sync_crime_spree_level" receiver="biglobby__connection" delivery="ordered">
<param type="int" min="0" max="128" /> <!-- Peer ID -->
<param type="int" /> <!-- Crime Spree Level -->
<param type="bool" /> <!-- Has failed, host only -->
</message>
<message name="biglobby__server_secure_loot" delivery="ordered" receiver="biglobby__unit" check="client_to_server">
<param type="string" /> <!-- Carry id -->
<param type="int" min="0" max="2" /> <!-- multiplier upgrade level for small loot -->
<param type="int" min="0" max="128"/> <!-- peer_id -->
</message>
<message name="biglobby__sync_secure_loot" delivery="ordered" receiver="biglobby__unit" check="server_to_client">
<param type="string" /> <!-- Carry id -->
<param type="int" min="0" max="2" /> <!-- multiplier upgrade level for small loot -->
<param type="bool" /> <!-- silent, no presetation message -->
<param type="int" min="0" max="128"/> <!-- peer_id -->
</message>
</rpc>
</target>
</tweak>