-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscar-api.chunk15.lua
999 lines (666 loc) · 13.1 KB
/
scar-api.chunk15.lua
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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
---@type userdata
GE_SpeechAction = {}
---@type userdata
GE_SquadBuildCommandIssued = {}
---@type userdata
GE_SquadCalledIn = {}
---@type userdata
GE_SquadCold = {}
---@type userdata
GE_SquadCommandIssued = {}
---@type userdata
GE_SquadElementMoveOrder = {}
---@type userdata
GE_SquadElementWaitOrder = {}
---@type userdata
GE_SquadFreezing = {}
---@type userdata
GE_SquadIdle = {}
---@type userdata
GE_SquadItemPickup = {}
---@type userdata
GE_SquadKilled = {}
---@type userdata
GE_SquadMerge = {}
---@type userdata
GE_SquadParadropComplete = {}
---@type userdata
GE_SquadPinned = {}
---@type userdata
GE_SquadProductionQueue = {}
---@type userdata
GE_SquadReplaced = {}
---@type userdata
GE_SquadRetreat = {}
---@type userdata
GE_SquadRetreatMsgReceived = {}
---@type userdata
GE_SquadSizeChanged = {}
---@type userdata
GE_SquadSplit = {}
---@type userdata
GE_SquadSuppressedStateChange = {}
---@type userdata
GE_SquadVeterancyRank = {}
---@type userdata
GE_StrategicPointChanged = {}
---@type userdata
GE_SuperAbility = {}
---@type userdata
GE_TerritoryEntered = {}
---@type userdata
GE_UpgradeCancelled = {}
---@type userdata
GE_UpgradeComplete = {}
---@type userdata
GE_UpgradeRemoved = {}
---@type userdata
GE_UpgradeStart = {}
---@type userdata
GE_WeaponFire = {}
---@type userdata
HPAT_Artillery = {}
---@type userdata
HPAT_Attack = {}
---@type userdata
HPAT_AttackLooping = {}
---@type userdata
HPAT_Bonus = {}
---@type userdata
HPAT_CoverGreen = {}
---@type userdata
HPAT_CoverRed = {}
---@type userdata
HPAT_CoverYellow = {}
---@type userdata
HPAT_Critical = {}
---@type userdata
HPAT_DeepSnow = {}
---@type userdata
HPAT_Detonation = {}
---@type userdata
HPAT_FormationSetup = {}
---@type userdata
HPAT_Hint = {}
---@type userdata
HPAT_Movement = {}
---@type userdata
HPAT_MovementLooping = {}
---@type userdata
HPAT_Objective = {}
---@type userdata
HPAT_RallyPoint = {}
---@type userdata
HPAT_Vaulting = {}
---@type userdata
HUDF_AbilityCard = {}
---@type userdata
HUDF_CommandCard = {}
---@type userdata
HUDF_MiniMap = {}
---@type userdata
HUDF_None = {}
---@type userdata
HUDF_Upgrades = {}
---@type userdata
ITEM_DEFAULT = {}
---@type userdata
ITEM_LOCKED = {}
---@type userdata
ITEM_REMOVED = {}
---@type userdata
ITEM_UNLOCKED = {}
---@type userdata
LAH_Center = {}
---@type userdata
LAH_Justify = {}
---@type userdata
LAH_Left = {}
---@type userdata
LAH_Right = {}
---@type userdata
LAV_Bottom = {}
---@type userdata
LAV_Center = {}
---@type userdata
LAV_None = {}
---@type userdata
LAV_Top = {}
---@type userdata
LOOP_NONE = {}
---@type userdata
LOOP_NORMAL = {}
---@type userdata
LOOP_TOGGLE_DIRECTION = {}
---@type userdata
MAP_Confirmed = {}
---@type userdata
MAP_Facing = {}
---@type userdata
MAP_Placing = {}
---@type userdata
MAT_Ability = {}
---@type userdata
MAT_Entity = {}
---@type userdata
MAT_EntityType = {}
---@type userdata
MAT_Player = {}
---@type userdata
MAT_Squad = {}
---@type userdata
MAT_SquadType = {}
---@type userdata
MAT_Upgrade = {}
---@type userdata
MAT_Weapon = {}
---@type userdata
MAT_WeaponType = {}
---@type userdata
MM_Auto = {}
---@type userdata
MM_ForceCalm = {}
---@type userdata
MM_ForceTense = {}
---@type userdata
MTARGET_Attack = {}
---@type userdata
MTARGET_Defend = {}
---@type userdata
MUT_Addition = {}
---@type userdata
MUT_Enable = {}
---@type userdata
MUT_Multiplication = {}
---@type userdata
MUT_MultiplicationAddition = {}
---@type userdata
MUT_MultiplyAdd = {}
---@type userdata
OS_Complete = {}
---@type userdata
OS_Failed = {}
---@type userdata
OS_Incomplete = {}
---@type userdata
OS_Off = {}
---@type userdata
OT_Ally = {}
---@type userdata
OT_Bonus = {}
---@type userdata
OT_Enemy = {}
---@type userdata
OT_Information = {}
---@type userdata
OT_Neutral = {}
---@type userdata
OT_Player = {}
---@type userdata
OT_Primary = {}
---@type userdata
OT_Secondary = {}
---@type userdata
PBG_Ability = {}
---@type userdata
PBG_CamouflageStance = {}
---@type userdata
PBG_Critical = {}
---@type userdata
PBG_EntityProperties = {}
---@type userdata
PBG_Formation = {}
---@type userdata
PBG_HitMaterial = {}
---@type userdata
PBG_Material = {}
---@type userdata
PBG_MoveType = {}
---@type userdata
PBG_PassType = {}
---@type userdata
PBG_Posture = {}
---@type userdata
PBG_Race = {}
---@type userdata
PBG_SlotItem = {}
---@type userdata
PBG_SquadFormation = {}
---@type userdata
PBG_SquadProperties = {}
---@type userdata
PBG_Tuning = {}
---@type userdata
PBG_TurnPlan = {}
---@type userdata
PBG_UISelection = {}
---@type userdata
PBG_UITacticalMap = {}
---@type userdata
PBG_UITerritory = {}
---@type userdata
PBG_Upgrade = {}
---@type userdata
PBG_Weapon = {}
---@type userdata
PCMD_Ability = {}
---@type userdata
PCMD_AIPlayer = {}
---@type userdata
PCMD_AIPlayer_ObjectiveNotification = {}
---@type userdata
PCMD_CancelProduction = {}
---@type userdata
PCMD_CheatBuildTime = {}
---@type userdata
PCMD_CheatKillSelf = {}
---@type userdata
PCMD_CheatResources = {}
---@type userdata
PCMD_CheatRevealAll = {}
---@type userdata
PCMD_ConstructFence = {}
---@type userdata
PCMD_ConstructField = {}
---@type userdata
PCMD_ConstructStructure = {}
---@type userdata
PCMD_CriticalHit = {}
---@type userdata
PCMD_DetonateCharges = {}
---@type userdata
PCMD_FuelDonation = {}
---@type userdata
PCMD_InstantUpgrade = {}
---@type userdata
PCMD_ManpowerDonation = {}
---@type userdata
PCMD_MunitionDonation = {}
---@type userdata
PCMD_SetCommander = {}
---@type userdata
PCMD_SlotItemRemove = {}
---@type userdata
PCMD_Surrender = {}
---@type userdata
PCMD_Upgrade = {}
---@type userdata
PCMD_UpgradeRemove = {}
---@type userdata
PITEM_Spawn = {}
---@type userdata
PITEM_SquadReinforce = {}
---@type userdata
PITEM_SquadUpgrade = {}
---@type userdata
PITEM_Upgrade = {}
---@type userdata
PT_Circle = {}
---@type userdata
PT_Rectangle = {}
---@type userdata
R_ALLY = {}
---@type userdata
R_ENEMY = {}
---@type userdata
R_NEUTRAL = {}
---@type userdata
R_UNDEFINED = {}
---@type userdata
RT_Action = {}
---@type userdata
RT_Command = {}
---@type userdata
RT_Fuel = {}
---@type userdata
RT_Manpower = {}
---@type userdata
RT_Munition = {}
---@type userdata
RT_Popcap = {}
---@type userdata
RT_SovietOrder227 = {}
---@type userdata
RT_SovietProgression = {}
---@type userdata
RUIITEM_Fuel = {}
---@type userdata
RUIITEM_Manpower = {}
---@type userdata
RUIITEM_Munitions = {}
---@type userdata
RUIITEM_Population = {}
---@type userdata
RUIITEM_ResourceBar = {}
---@type userdata
SCMD_AbandonTeamWeapon = {}
---@type userdata
SCMD_Ability = {}
---@type userdata
SCMD_Attack = {}
---@type userdata
SCMD_AttackMove = {}
---@type userdata
SCMD_BuildSquad = {}
---@type userdata
SCMD_BuildStructure = {}
---@type userdata
SCMD_CancelProduction = {}
---@type userdata
SCMD_Capture = {}
---@type userdata
SCMD_CaptureTeamWeapon = {}
---@type userdata
SCMD_DefaultAction = {}
---@type userdata
SCMD_DefuseCharge = {}
---@type userdata
SCMD_DefuseMine = {}
---@type userdata
SCMD_Destroy = {}
---@type userdata
SCMD_DoPlan = {}
---@type userdata
SCMD_Face = {}
---@type userdata
SCMD_InstantLoad = {}
---@type userdata
SCMD_InstantReinforceUnit = {}
---@type userdata
SCMD_InstantSetupTeamWeapon = {}
---@type userdata
SCMD_InstantUpgrade = {}
---@type userdata
SCMD_Load = {}
---@type userdata
SCMD_Merge = {}
---@type userdata
SCMD_Move = {}
---@type userdata
SCMD_Patrol = {}
---@type userdata
SCMD_PickUpSlotItem = {}
---@type userdata
SCMD_Pilfer = {}
---@type userdata
SCMD_PlaceCharge = {}
---@type userdata
SCMD_RallyPoint = {}
---@type userdata
SCMD_Recrew = {}
---@type userdata
SCMD_ReinforceUnit = {}
---@type userdata
SCMD_RescueCasualty = {}
---@type userdata
SCMD_Retreat = {}
---@type userdata
SCMD_RevertFieldSupport = {}
---@type userdata
SCMD_SetCamouflageStance = {}
---@type userdata
SCMD_SetMoveType = {}
---@type userdata
SCMD_SlotItemRemove = {}
---@type userdata
SCMD_StationaryAttack = {}
---@type userdata
SCMD_Stop = {}
---@type userdata
SCMD_Surprise = {}
---@type userdata
SCMD_Unload = {}
---@type userdata
SCMD_UnloadSquads = {}
---@type userdata
SCMD_Upgrade = {}
---@type userdata
SQUADSTATEID_Ability = {}
---@type userdata
SQUADSTATEID_AttackMove = {}
---@type userdata
SQUADSTATEID_Capture = {}
---@type userdata
SQUADSTATEID_CaptureTeamWeapon = {}
---@type userdata
SQUADSTATEID_Combat = {}
---@type userdata
SQUADSTATEID_CombatStance = {}
---@type userdata
SQUADSTATEID_Construction = {}
---@type userdata
SQUADSTATEID_Defuse = {}
---@type userdata
SQUADSTATEID_DefuseMine = {}
---@type userdata
SQUADSTATEID_HoldUnload = {}
---@type userdata
SQUADSTATEID_Idle = {}
---@type userdata
SQUADSTATEID_Load = {}
---@type userdata
SQUADSTATEID_Move = {}
---@type userdata
SQUADSTATEID_Patrol = {}
---@type userdata
SQUADSTATEID_PickUpSlotItem = {}
---@type userdata
SQUADSTATEID_PlaceCharges = {}
---@type userdata
SQUADSTATEID_Plan = {}
---@type userdata
SQUADSTATEID_Recrew = {}
---@type userdata
SQUADSTATEID_Retreat = {}
---@type userdata
SQUADSTATEID_RevertFieldSupport = {}
---@type userdata
SQUADSTATEID_Stop = {}
---@type userdata
SQUADSTATEID_Unload = {}
---@type userdata
SQUADSTATEID_WeaponTransition = {}
---@type userdata
ST_AIPLAYER = {}
---@type userdata
ST_AISQUAD = {}
---@type userdata
ST_BOOLEAN = {}
---@type userdata
ST_CONSTPLAYER = {}
---@type userdata
ST_EGROUP = {}
---@type userdata
ST_ENTITY = {}
---@type userdata
ST_FUNCTION = {}
---@type userdata
ST_MARKER = {}
---@type userdata
ST_NIL = {}
---@type userdata
ST_NUMBER = {}
---@type userdata
ST_PBG = {}
---@type userdata
ST_PLAYER = {}
---@type userdata
ST_SCARPOS = {}
---@type userdata
ST_SGROUP = {}
---@type userdata
ST_SQUAD = {}
---@type userdata
ST_STRING = {}
---@type userdata
ST_TABLE = {}
---@type userdata
ST_UNKNOWN = {}
---@type userdata
STATEID_Capture = {}
---@type userdata
STATEID_Dead = {}
---@type userdata
STATEID_DefuseMine = {}
---@type userdata
STATEID_Evacuate = {}
---@type userdata
STATEID_Idle = {}
---@type userdata
STATEID_Move = {}
---@type userdata
STATEID_RepairEngineer = {}
---@type userdata
STATEID_StructureBuilding = {}
---@type userdata
TACTIC_Ability = {}
---@type userdata
TACTIC_Avoid = {}
---@type userdata
TACTIC_CapturePoint = {}
---@type userdata
TACTIC_CaptureTeamWeapon = {}
---@type userdata
TACTIC_Cover = {}
---@type userdata
TACTIC_FinishHealing = {}
---@type userdata
TACTIC_ForceAttack = {}
---@type userdata
TACTIC_Hold = {}
---@type userdata
TACTIC_MinRange = {}
---@type userdata
TACTIC_Pickup = {}
---@type userdata
TACTIC_ProvideReinforcementPoint = {}
---@type userdata
TACTIC_Recrew = {}
---@type userdata
TACTIC_RushAtTarget = {}
---@type userdata
TACTIC_WarmUp = {}
---@type userdata
TACTIC_Vehicle = {}
---@type userdata
TACTIC_VehicleDecrew = {}
---@type userdata
TASK_Ability = {}
---@type userdata
TASK_Capture = {}
---@type userdata
TASK_Combat = {}
---@type userdata
TASK_Construction = {}
---@type userdata
TASK_ImmobileCombat = {}
---@type userdata
TASK_Leader = {}
---@type userdata
TASK_PlayerAbility = {}
---@type userdata
TASK_Production = {}
---@type userdata
TV_CameraMode = {}
---@type userdata
TV_ClipFar = {}
---@type userdata
TV_ClipNear = {}
---@type userdata
TV_DeclAbove = {}
---@type userdata
TV_DeclBelow = {}
---@type userdata
TV_DeclBelowClose = {}
---@type userdata
TV_DeclinationEnabled = {}
---@type userdata
TV_DeclRateMouse = {}
---@type userdata
TV_DefaultAngle = {}
---@type userdata
TV_DefaultDeclination = {}
---@type userdata
TV_DefaultHeight = {}
---@type userdata
TV_DistExp = {}
---@type userdata
TV_DistExpMouse = {}
---@type userdata
TV_DistExpWheel = {}
---@type userdata
TV_DistGroundMin = {}
---@type userdata
TV_DistGroundTargetHeight = {}
---@type userdata
TV_DistMax = {}
---@type userdata
TV_DistMaxDead = {}
---@type userdata
TV_DistMin = {}
---@type userdata
TV_DistMinDead = {}
---@type userdata
TV_DistMinGround = {}
---@type userdata
TV_DistRateMouse = {}
---@type userdata
TV_DistRateWheelZoomIn = {}
---@type userdata
TV_DistRateWheelZoomOut = {}
---@type userdata
TV_DistScale = {}
---@type userdata
TV_EntityMinViewAngle = {}
---@type userdata
TV_FieldOfView = {}
---@type userdata
TV_NearPlaneShifter = {}
---@type userdata
TV_NISletDeclAbove = {}
---@type userdata
TV_NISletDeclBelow = {}
---@type userdata
TV_NISletDistGroundMin = {}
---@type userdata
TV_NISletDistMax = {}
---@type userdata
TV_NISletDistMin = {}
---@type userdata
TV_NISletDistMinGround = {}
---@type userdata
TV_OrbitRateMouse = {}
---@type userdata
TV_PanAccelerate = {}
---@type userdata
TV_PanMaxSpeedScalar = {}
---@type userdata
TV_PanScaleKeyboardDefZ = {}
---@type userdata
TV_PanScaleKeyboardMinZ = {}
---@type userdata
TV_PanScaleMouseDefZ = {}
---@type userdata
TV_PanScaleMouseMinZ = {}
---@type userdata
TV_PanScaleScreenDefZ = {}
---@type userdata
TV_PanScaleScreenMinZ = {}
---@type userdata
TV_PanStartSpeedScalar = {}
---@type userdata
TV_RotationEnabled = {}
---@type userdata
TV_SlideDeclBase = {}
---@type userdata
TV_SlideDeclRate = {}
---@type userdata
TV_SlideDeclThreshold = {}
---@type userdata
TV_SlideDistBase = {}
---@type userdata
TV_SlideDistRate = {}
---@type userdata
TV_SlideDistThreshold = {}
---@type userdata
TV_SlideOrbitBase = {}