-
Notifications
You must be signed in to change notification settings - Fork 0
/
LucioRingRace.oww
1530 lines (1386 loc) · 52.4 KB
/
LucioRingRace.oww
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
999
1000
settings
{
main
{
Description: "v1.14: Lucio Ring Race! Speed through the rings to get the best time! - Initially created by waycoolway - Heavily updated by Giacomand - Additional maps by Fahzix - https://workshop.elohell.gg/uOi5fgHDI/"
}
lobby
{
Allow Players Who Are In Queue: Yes
Match Voice Chat: Enabled
Return To Lobby: Never
}
modes
{
disabled Deathmatch
{
Self Initiated Respawn: Off
}
disabled Hybrid
{
Capture Speed Modifier: 10%
Payload Speed Modifier: 10%
}
Skirmish
{
enabled maps
{
Eichenwalde
Hanamura
Havana
Hollywood
King's Row
Numbani
Temple of Anubis
}
}
General
{
Allow Hero Switching: Off
Game Mode Start: Manual
Hero Limit: Off
Respawn Time Scalar: 0%
}
}
heroes
{
General
{
Lúcio
{
Healing Received: 500%
Health: 500%
Primary Fire: Off
Soundwave: Off
Ultimate Ability Sound Barrier: Off
}
enabled heroes
{
Lúcio
}
}
}
}
variables
{
global:
2: StartingPosition
4: CheckpointList
6: CheckpointRadius
8: DebugEnabled
9: MapVoteTimeStart
10: MapVoteDuration
11: LoopIndex
13: MapEditorCheckpointList
15: BestRecordsNameList
19: TeleportEntranceList
20: TeleportExitList
21: VotingForNewMap
22: StartingPositionRadius
25: BestRecordsTimeList
player:
2: NewCheckpointLocation
5: CurrentCheckpointID
7: RaceTime
11: PlayerLoopIndex
12: LastCreatedSpeedometerID
17: RespawningSelf
18: Spawning
21: VotedForNewMap
23: InSavingMode
25: BestTime
}
subroutines
{
0: UpdateLeaderboard
}
disabled rule("DEBUG: Enable Debug? (Enable this rule to enable debug mode)")
{
event
{
Ongoing - Global;
}
actions
{
Global.DebugEnabled = True;
}
}
rule("DEBUG: Setup Global Debug")
{
event
{
Ongoing - Global;
}
conditions
{
Global.DebugEnabled == True;
}
actions
{
Create HUD Text(All Players(All Teams), String("{0}: {1}", Custom String("No. Checkpoints In Play"), Count Of(
Global.CheckpointList)), Null, Null, Right, 0, Color(White), Color(White), Color(White), Visible To and String,
Default Visibility);
Create HUD Text(All Players(All Teams), String("{0}: {1}", Custom String("No. Checkpoints In Planning Mode"), Count Of(
Global.MapEditorCheckpointList)), Null, Null, Right, 0, Color(White), Color(White), Color(White), Visible To and String,
Default Visibility);
Create HUD Text(All Players(All Teams), Null, Custom String(
"Primary Fire: Select new checkpoint location - Secondary Fire: Save selected checkpoint location"), Custom String(
"Interact: Undo last save - Ultimate: Put saved checkpoints into play - Ult Status: Toggle save mode"), Right, 0, Color(White),
Color(White), Color(White), Visible To and String, Default Visibility);
Set Match Time(3599);
}
}
rule("DEBUG: Label Rings")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Global.DebugEnabled == True;
}
actions
{
Create In-World Text(Event Player, String("#{0}", Event Player.CurrentCheckpointID + -2),
Global.CheckpointList[Event Player.CurrentCheckpointID + -3], 2, Clip Against Surfaces, Visible To Position and String, Color(
White), Default Visibility);
Create In-World Text(Event Player, String("#{0}", Event Player.CurrentCheckpointID + -1),
Global.CheckpointList[Event Player.CurrentCheckpointID + -2], 2, Clip Against Surfaces, Visible To Position and String, Color(
White), Default Visibility);
Create In-World Text(Event Player, String("#{0}", Event Player.CurrentCheckpointID + 0),
Global.CheckpointList[Event Player.CurrentCheckpointID + -1], 2, Clip Against Surfaces, Visible To Position and String, Color(
White), Default Visibility);
Create In-World Text(Event Player, String("#{0}", Event Player.CurrentCheckpointID + 1),
Global.CheckpointList[Event Player.CurrentCheckpointID + 0], 2, Clip Against Surfaces, Visible To Position and String, Color(
White), Default Visibility);
Create In-World Text(Event Player, String("#{0}", Event Player.CurrentCheckpointID + 2),
Global.CheckpointList[Event Player.CurrentCheckpointID + 1], 2, Clip Against Surfaces, Visible To Position and String, Color(
White), Default Visibility);
Create In-World Text(Event Player, String("#{0}", Event Player.CurrentCheckpointID + 3),
Global.CheckpointList[Event Player.CurrentCheckpointID + 2], 2, Clip Against Surfaces, Visible To Position and String, Color(
White), Default Visibility);
}
}
rule("DEBUG: Display Coordinates")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Global.DebugEnabled == True;
}
actions
{
Create HUD Text(All Players(All Teams), Null, Event Player, Event Player.NewCheckpointLocation, Left, 0, Color(White), Color(Blue),
Color(White), Visible To and String, Default Visibility);
If(Global.MapEditorCheckpointList == 0);
Global.MapEditorCheckpointList = Empty Array;
End;
Create HUD Text(Event Player, Null, Custom String("Saving Mode:"), Event Player.InSavingMode, Right, 10, Color(Red), Color(Red),
Color(White), Visible To and String, Default Visibility);
Event Player.InSavingMode = False;
Event Player.NewCheckpointLocation = Vector(0, 0, 0);
Event Player.D = Vector(0, 0, 0);
Event Player.E = Vector(0, 0, 0);
}
}
rule("DEBUG: Set Starting Position")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Communicating(Event Player, Hello) == True;
}
actions
{
Global.StartingPosition = Position Of(Event Player);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Green), Event Player, 75);
}
}
rule("DEBUG - CREATE MODE: Coordinate Finding (Primary Fire)")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Global.DebugEnabled == True;
Event Player.InSavingMode == False;
}
actions
{
Event Player.D = Ray Cast Hit Position(Eye Position(Event Player), Facing Direction Of(Event Player) * 1000 + Position Of(
Event Player), Empty Array, Event Player, True);
Event Player.D = Vector(Round To Integer(X Component Of(Event Player.D), To Nearest), Round To Integer(Y Component Of(
Event Player.D), To Nearest), Round To Integer(Z Component Of(Event Player.D), To Nearest));
Event Player.G = Ray Cast Hit Normal(Eye Position(Event Player), Facing Direction Of(Event Player) * 1000 + Position Of(
Event Player), Empty Array, Event Player, True);
Skip If(Event Player.D == Event Player.E, 3);
Event Player.NewCheckpointLocation = Event Player.D;
Event Player.E = Event Player.D;
Skip(1);
Event Player.NewCheckpointLocation += Event Player.G * 0.500;
Play Effect(All Players(All Teams), Good Explosion, Color(White), Event Player.NewCheckpointLocation, 0.200);
Event Player.G = Vector(Round To Integer(0, Up), 0, 0);
}
}
rule("DEBUG - CREATE MODE: Save Ring (Secondary Fire)")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Global.DebugEnabled == True;
Is Button Held(Event Player, Button(Secondary Fire)) == True;
Array Contains(Global.MapEditorCheckpointList, Event Player.NewCheckpointLocation) == False;
Event Player.InSavingMode == False;
}
actions
{
Modify Global Variable(MapEditorCheckpointList, Append To Array, Event Player.NewCheckpointLocation);
Play Effect(All Players(All Teams), Ring Explosion Sound, Color(Green), Event Player, 75);
Big Message(Event Player, String("Saved"));
Wait(0.250, Ignore Condition);
}
}
rule("DEBUG - CREATE MODE: Undo Ring (Interact)")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Global.DebugEnabled == True;
Is Button Held(Event Player, Button(Interact)) == True;
Event Player.InSavingMode == False;
}
actions
{
Modify Global Variable(MapEditorCheckpointList, Remove From Array By Index, Count Of(Global.MapEditorCheckpointList) - 1);
Play Effect(All Players(All Teams), Explosion Sound, Color(Green), Event Player, 75);
Wait(0.250, Ignore Condition);
Big Message(Event Player, String("Backward"));
}
}
rule("DEBUG - CREATE MODE: Play Rings (Ultimate)")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Global.DebugEnabled == True;
Is Button Held(Event Player, Button(Ultimate)) == True;
Event Player.InSavingMode == False;
}
actions
{
Play Effect(All Players(All Teams), Buff Explosion Sound, Color(Green), Event Player, 75);
Global.CheckpointList = Global.MapEditorCheckpointList;
Big Message(Event Player, String("Ready"));
}
}
rule("DEBUG: Toggle Save Mode - Teleport to the rings so you can save them in the editor easily")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Global.DebugEnabled == True;
Is Communicating(Event Player, Ultimate Status) == True;
}
actions
{
Event Player.InSavingMode = !Event Player.InSavingMode;
Event Player.Y = 0;
Event Player.CurrentCheckpointID = 0;
Skip If(Event Player.InSavingMode == False, 3);
Big Message(All Players(All Teams), String("{0} {1}", String("Save"), String("Status", Distance Between(Vector(0, 0, 0), Vector(0,
0, 0)))));
Start Camera(Event Player, Global.CheckpointList[Event Player.Y], Global.CheckpointList[Event Player.Y + 1], 0);
Skip(1);
Stop Camera(Event Player);
}
}
rule("DEBUG - SAVE MODE: Go to next ring")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Secondary Fire)) == True;
Global.DebugEnabled == True;
Event Player.InSavingMode == True;
(Event Player.Y < Count Of(Global.CheckpointList) - 1) == True;
}
actions
{
Event Player.Y += 1;
Big Message(All Players(All Teams), String("{0} {1}", String("Checkpoint"), Event Player.Y + 1));
Event Player.CurrentCheckpointID = Event Player.Y;
}
}
rule("DEBUG - SAVE MODE: Go to previous ring")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Primary Fire)) == True;
Global.DebugEnabled == True;
Event Player.InSavingMode == True;
(Event Player.Y > 0) == True;
}
actions
{
Event Player.Y -= 1;
Big Message(All Players(All Teams), String("{0} {1}", String("Checkpoint"), Event Player.Y + 1));
Event Player.CurrentCheckpointID = Event Player.Y;
}
}
rule("ON: Assembling Heroes")
{
event
{
Ongoing - Global;
}
conditions
{
Is Assembling Heroes == True;
}
actions
{
Set Match Time(0);
}
}
rule("ON: Setup")
{
event
{
Ongoing - Global;
}
conditions
{
Is In Setup == True;
}
actions
{
Set Match Time(0);
}
}
rule("MAP: Echeinwalde Rings by waycoolway")
{
event
{
Ongoing - Global;
}
conditions
{
disabled Distance Between(Nearest Walkable Position(Vector(0, 0, 0)), Vector(1.880, 0.350, -2.380)) < 0.010;
Current Map == Map(Eichenwalde);
}
actions
{
Global.StartingPosition = Vector(127.090, 15.939, -13.110);
Global.TeleportEntranceList = Empty Array;
Global.TeleportExitList = Empty Array;
Global.CheckpointList = Empty Array;
Modify Global Variable(CheckpointList, Append To Array, Vector(125, 18, -25));
Modify Global Variable(CheckpointList, Append To Array, Vector(125, 16, -40));
Modify Global Variable(CheckpointList, Append To Array, Vector(127, 12.500, -55));
Modify Global Variable(CheckpointList, Append To Array, Vector(115, 14, -60));
Modify Global Variable(CheckpointList, Append To Array, Vector(108, 16, -31));
Modify Global Variable(CheckpointList, Append To Array, Vector(90.500, 17.500, -19));
Modify Global Variable(CheckpointList, Append To Array, Vector(89.500, 18.500, -53));
Modify Global Variable(CheckpointList, Append To Array, Vector(89.390, 21, -63.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(92.500, 14.500, -79));
Modify Global Variable(CheckpointList, Append To Array, Vector(89.399, 10, -94));
Modify Global Variable(CheckpointList, Append To Array, Vector(96, 8, -84.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(83.500, 4.500, -86.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(67, 6, -83.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(59, 7.500, -79));
Modify Global Variable(CheckpointList, Append To Array, Vector(52, 7.500, -67));
Modify Global Variable(CheckpointList, Append To Array, Vector(46.500, 9.500, -56));
Modify Global Variable(CheckpointList, Append To Array, Vector(42.500, 11, -44));
Modify Global Variable(CheckpointList, Append To Array, Vector(46.399, 13, -38));
Modify Global Variable(CheckpointList, Append To Array, Vector(43, 15.500, -30));
Modify Global Variable(CheckpointList, Append To Array, Vector(26, 3, -6.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(18, 5, -9));
Modify Global Variable(CheckpointList, Append To Array, Vector(7, 9, -11));
Modify Global Variable(CheckpointList, Append To Array, Vector(-4, 9.500, -15));
Modify Global Variable(CheckpointList, Append To Array, Vector(-17, 10, -19));
Modify Global Variable(CheckpointList, Append To Array, Vector(-29.500, 14, -19));
Modify Global Variable(CheckpointList, Append To Array, Vector(-30, 15, -24));
Modify Global Variable(CheckpointList, Append To Array, Vector(-31, 19, -35.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(-13, 19, -35));
Modify Global Variable(CheckpointList, Append To Array, Vector(5.500, 16, -31.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(11.500, 14, -26));
Modify Global Variable(CheckpointList, Append To Array, Vector(32, 21, -35));
Modify Global Variable(CheckpointList, Append To Array, Vector(30, 23, -41));
Modify Global Variable(CheckpointList, Append To Array, Vector(33, 25, -56));
Modify Global Variable(CheckpointList, Append To Array, Vector(30, 26, -67));
Modify Global Variable(CheckpointList, Append To Array, Vector(30, 24, -82.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(42, 21.500, -103));
Modify Global Variable(CheckpointList, Append To Array, Vector(56, 24, -105.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(83, 20, -105));
Modify Global Variable(CheckpointList, Append To Array, Vector(94.500, 22, -90.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(97.500, 16, -77));
}
}
rule("MAP: Lijiang Tower Rings by Giacomand")
{
event
{
Ongoing - Global;
}
conditions
{
disabled Distance Between(Nearest Walkable Position(Vector(0, 0, 0)), Vector(5.880, 0, -10.130)) < 0.010;
Current Map == Map(Lijiang Tower);
}
actions
{
Global.StartingPosition = Vector(-65.501, 4.839, -32.011);
Global.StartingPosition = Vector(-55.359, 266.173, 326.081);
Global.StartingPosition = Vector(-64.012, 99.177, 162.586);
Global.TeleportEntranceList = Empty Array;
Global.TeleportExitList = Empty Array;
Modify Global Variable(TeleportEntranceList, Append To Array, Vector(53, 95, 149));
Modify Global Variable(TeleportExitList, Append To Array, Vector(-65.500, 5, -32));
Modify Global Variable(TeleportEntranceList, Append To Array, Vector(61, 21, -14));
Modify Global Variable(TeleportExitList, Append To Array, Vector(-54.338, 266.176, 325.986));
Global.CheckpointList = Empty Array;
Modify Global Variable(CheckpointList, Append To Array, Vector(-60, 100, 148));
Modify Global Variable(CheckpointList, Append To Array, Vector(-51, 102, 142));
Modify Global Variable(CheckpointList, Append To Array, Vector(-15, 97, 148));
Modify Global Variable(CheckpointList, Append To Array, Vector(-4, 99, 160));
Modify Global Variable(CheckpointList, Append To Array, Vector(15, 97, 147));
Modify Global Variable(CheckpointList, Append To Array, Vector(10, 97, 115));
Modify Global Variable(CheckpointList, Append To Array, Vector(-6, 97, 108));
Modify Global Variable(CheckpointList, Append To Array, Vector(-18, 96, 124));
Modify Global Variable(CheckpointList, Append To Array, Vector(-7, 99, 157));
Modify Global Variable(CheckpointList, Append To Array, Vector(-9, 104, 189));
Modify Global Variable(CheckpointList, Append To Array, Vector(-25, 98, 186));
Modify Global Variable(CheckpointList, Append To Array, Vector(-60, 99, 170));
Modify Global Variable(CheckpointList, Append To Array, Vector(-50, 102, 142));
Modify Global Variable(CheckpointList, Append To Array, Vector(-14, 99, 133));
Modify Global Variable(CheckpointList, Append To Array, Vector(15, 98, 134));
Modify Global Variable(CheckpointList, Append To Array, Vector(36, 97, 150));
Modify Global Variable(CheckpointList, Append To Array, Vector(49, 96, 149));
Skip If(True == False, 10000);
Modify Global Variable(CheckpointList, Append To Array, Vector(-53, 4, -34));
Modify Global Variable(CheckpointList, Append To Array, Vector(-39, 3, -42));
Modify Global Variable(CheckpointList, Append To Array, Vector(-12, 5, -54));
Modify Global Variable(CheckpointList, Append To Array, Vector(-8, 10, -70));
Modify Global Variable(CheckpointList, Append To Array, Vector(10, 10, -70));
Modify Global Variable(CheckpointList, Append To Array, Vector(13, 5, -44));
Modify Global Variable(CheckpointList, Append To Array, Vector(21, 9, -24));
Modify Global Variable(CheckpointList, Append To Array, Vector(15, 15, -10));
Modify Global Variable(CheckpointList, Append To Array, Vector(22, 19, -50));
Modify Global Variable(CheckpointList, Append To Array, Vector(34, 11, -68));
Modify Global Variable(CheckpointList, Append To Array, Vector(44, 10, -48));
Modify Global Variable(CheckpointList, Append To Array, Vector(46, 22, -15));
Skip If(True == False, 10000);
Modify Global Variable(CheckpointList, Append To Array, Vector(-33, 269, 311));
Modify Global Variable(CheckpointList, Append To Array, Vector(-8, 270, 277));
Modify Global Variable(CheckpointList, Append To Array, Vector(14, 277, 274));
Modify Global Variable(CheckpointList, Append To Array, Vector(0, 283, 294));
Modify Global Variable(CheckpointList, Append To Array, Vector(5, 275, 264));
Modify Global Variable(CheckpointList, Append To Array, Vector(26, 274, 278));
Modify Global Variable(CheckpointList, Append To Array, Vector(45, 271, 305));
Modify Global Variable(CheckpointList, Append To Array, Vector(35, 270, 338));
Modify Global Variable(CheckpointList, Append To Array, Vector(24, 272, 341));
Modify Global Variable(CheckpointList, Append To Array, Vector(9, 272, 319));
Modify Global Variable(CheckpointList, Append To Array, Vector(-5, 274, 293));
Modify Global Variable(CheckpointList, Append To Array, Vector(0, 274, 280));
Skip If(True == True, 10000);
Modify Global Variable(CheckpointList, Append To Array, Vector(0, 0, 0));
}
}
rule("MAP: Temple of Anubis Rings by Giacomand")
{
event
{
Ongoing - Global;
}
conditions
{
disabled Distance Between(Nearest Walkable Position(Vector(0, 0, 0)), Vector(1.880, -2.440, 2.130)) < 0.010;
Current Map == Map(Temple of Anubis);
}
actions
{
Global.StartingPosition = Vector(-0.123, 1.217, -20.343);
Global.TeleportEntranceList = Empty Array;
Global.TeleportExitList = Empty Array;
Global.CheckpointList = Empty Array;
Modify Global Variable(CheckpointList, Append To Array, Vector(-9, 1, -11));
Modify Global Variable(CheckpointList, Append To Array, Vector(-12, 2, 8));
Modify Global Variable(CheckpointList, Append To Array, Vector(-6.500, 2.500, 19));
Modify Global Variable(CheckpointList, Append To Array, Vector(5, 6, 39));
Modify Global Variable(CheckpointList, Append To Array, Vector(-7, 11, 35));
Modify Global Variable(CheckpointList, Append To Array, Vector(-20, 12, 32));
Modify Global Variable(CheckpointList, Append To Array, Vector(-22, 12.500, 42));
Modify Global Variable(CheckpointList, Append To Array, Vector(-12, 13, 48));
Modify Global Variable(CheckpointList, Append To Array, Vector(-6, 13, 38));
Modify Global Variable(CheckpointList, Append To Array, Vector(-21, 13, 21));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(-42, 12, 14));
Modify Global Variable(CheckpointList, Append To Array, Vector(-53, 13, 48));
Modify Global Variable(CheckpointList, Append To Array, Vector(-36, 13, 64));
Modify Global Variable(CheckpointList, Append To Array, Vector(-26, 14, 67));
Modify Global Variable(CheckpointList, Append To Array, Vector(-15, 15, 72));
Modify Global Variable(CheckpointList, Append To Array, Vector(-5, 12, 91));
Modify Global Variable(CheckpointList, Append To Array, Vector(-2, 11, 104));
Modify Global Variable(CheckpointList, Append To Array, Vector(4, 15, 116));
Modify Global Variable(CheckpointList, Append To Array, Vector(-8, 14, 114));
Modify Global Variable(CheckpointList, Append To Array, Vector(-24, 13, 120));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(-18, 8, 127));
Modify Global Variable(CheckpointList, Append To Array, Vector(-27, 7, 121));
Modify Global Variable(CheckpointList, Append To Array, Vector(-23, 8, 91));
Modify Global Variable(CheckpointList, Append To Array, Vector(-38, 7, 63));
Modify Global Variable(CheckpointList, Append To Array, Vector(-53, 3, 43));
Modify Global Variable(CheckpointList, Append To Array, Vector(-47, 11, 33));
Modify Global Variable(CheckpointList, Append To Array, Vector(-36, 11, 51));
Modify Global Variable(CheckpointList, Append To Array, Vector(-15, 14, 72));
Modify Global Variable(CheckpointList, Append To Array, Vector(3.050, 13, 78));
Modify Global Variable(CheckpointList, Append To Array, Vector(11, 16, 67));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(-4, 18, 62));
Modify Global Variable(CheckpointList, Append To Array, Vector(-32, 2.500, 74));
Modify Global Variable(CheckpointList, Append To Array, Vector(-42, 6, 70));
Modify Global Variable(CheckpointList, Append To Array, Vector(-38, 10, 70));
Modify Global Variable(CheckpointList, Append To Array, Vector(-39, 20.500, 75));
}
}
rule("MAP: Kings Row Rings by Giacomand")
{
event
{
Ongoing - Global;
}
conditions
{
disabled Distance Between(Nearest Walkable Position(Vector(0, 100, 0)), Vector(2.630, 6.300, 0.380)) < 0.010;
Current Map == Map(King's Row);
}
actions
{
Global.StartingPosition = Vector(16.858, 7.173, 16.918);
Global.TeleportEntranceList = Empty Array;
Global.TeleportExitList = Empty Array;
Global.CheckpointList = Empty Array;
Modify Global Variable(CheckpointList, Append To Array, Vector(8, 8, 14));
Modify Global Variable(CheckpointList, Append To Array, Vector(3, 7, 5));
Modify Global Variable(CheckpointList, Append To Array, Vector(-5, 2, -13));
Modify Global Variable(CheckpointList, Append To Array, Vector(-15, 2, -25));
Modify Global Variable(CheckpointList, Append To Array, Vector(-32, 2, -27));
Modify Global Variable(CheckpointList, Append To Array, Vector(-58, 1, -30));
Modify Global Variable(CheckpointList, Append To Array, Vector(-71, 2, -24));
Modify Global Variable(CheckpointList, Append To Array, Vector(-85, 2, -20));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(-94, 2, -16));
Modify Global Variable(CheckpointList, Append To Array, Vector(-116, 0, -1));
Modify Global Variable(CheckpointList, Append To Array, Vector(-127, 0, 14));
Modify Global Variable(CheckpointList, Append To Array, Vector(-139, -2, 31));
Modify Global Variable(CheckpointList, Append To Array, Vector(-149, 2, 42));
Modify Global Variable(CheckpointList, Append To Array, Vector(-158, 6, 40));
Modify Global Variable(CheckpointList, Append To Array, Vector(-147, 0, 34));
Modify Global Variable(CheckpointList, Append To Array, Vector(-138, 0, 29));
Modify Global Variable(CheckpointList, Append To Array, Vector(-127, 1, 14));
Modify Global Variable(CheckpointList, Append To Array, Vector(-115, 1, -1));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(-102, 2, -13));
Modify Global Variable(CheckpointList, Append To Array, Vector(-94, 3, -17));
Modify Global Variable(CheckpointList, Append To Array, Vector(-90, 3, -34));
Modify Global Variable(CheckpointList, Append To Array, Vector(-82, 2, -45));
Modify Global Variable(CheckpointList, Append To Array, Vector(-73, 4, -46));
Modify Global Variable(CheckpointList, Append To Array, Vector(-62, 2, -46));
Modify Global Variable(CheckpointList, Append To Array, Vector(-53, 2, -39));
Modify Global Variable(CheckpointList, Append To Array, Vector(-49, 1, -28));
Modify Global Variable(CheckpointList, Append To Array, Vector(-38, 2, -22));
Modify Global Variable(CheckpointList, Append To Array, Vector(-19, 2, -26));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(-6, 3, -25));
}
}
rule("MAP: Numbani Rings by Giacomand")
{
event
{
Ongoing - Global;
}
conditions
{
disabled Distance Between(Nearest Walkable Position(Vector(0, 0, 0)), Vector(-2.130, 0.350, 3.130)) < 0.010;
Current Map == Map(Numbani);
}
actions
{
Global.StartingPosition = Vector(6.079, 1.002, -0.311);
Global.TeleportEntranceList = Empty Array;
Global.TeleportExitList = Empty Array;
Global.CheckpointList = Empty Array;
Modify Global Variable(CheckpointList, Append To Array, Vector(19, 1.500, 12));
Modify Global Variable(CheckpointList, Append To Array, Vector(55.003, 3.500, 15.991));
Modify Global Variable(CheckpointList, Append To Array, Vector(70, 4, 4));
Modify Global Variable(CheckpointList, Append To Array, Vector(85.646, 6.001, -20.354));
Modify Global Variable(CheckpointList, Append To Array, Vector(97.832, 8, -32.471));
Modify Global Variable(CheckpointList, Append To Array, Vector(113.830, 9.010, -22.558));
Modify Global Variable(CheckpointList, Append To Array, Vector(128, 10, 1));
Modify Global Variable(CheckpointList, Append To Array, Vector(141.764, 11.047, 13.438));
Modify Global Variable(CheckpointList, Append To Array, Vector(143.500, 8.999, 30.981));
Modify Global Variable(CheckpointList, Append To Array, Vector(134.796, 10.016, 38.979));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(112.446, 11.171, 24.814));
Modify Global Variable(CheckpointList, Append To Array, Vector(89.354, 1, 24.646));
Modify Global Variable(CheckpointList, Append To Array, Vector(83.354, 10.008, 19.646));
Modify Global Variable(CheckpointList, Append To Array, Vector(80, 2, -7));
Modify Global Variable(CheckpointList, Append To Array, Vector(99, 1.500, -9));
Modify Global Variable(CheckpointList, Append To Array, Vector(117, -1.500, 2));
Modify Global Variable(CheckpointList, Append To Array, Vector(139, -2.500, 4));
Modify Global Variable(CheckpointList, Append To Array, Vector(178, 0.500, -4));
Modify Global Variable(CheckpointList, Append To Array, Vector(204, 2, 3));
Modify Global Variable(CheckpointList, Append To Array, Vector(191.999, 2.140, 28.520));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(177, 7, 16));
Modify Global Variable(CheckpointList, Append To Array, Vector(177, -1, 4.999));
Modify Global Variable(CheckpointList, Append To Array, Vector(161.876, 0, 6.516));
Modify Global Variable(CheckpointList, Append To Array, Vector(157.021, 2, 12.968));
Modify Global Variable(CheckpointList, Append To Array, Vector(150.221, 4.992, 24.373));
Modify Global Variable(CheckpointList, Append To Array, Vector(137.354, 9.007, 22.646));
Modify Global Variable(CheckpointList, Append To Array, Vector(143.242, 9.049, 13.435));
Modify Global Variable(CheckpointList, Append To Array, Vector(163, 6, -3));
Modify Global Variable(CheckpointList, Append To Array, Vector(178, 5.500, 13));
Modify Global Variable(CheckpointList, Append To Array, Vector(184, 1.500, 37));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(219, 1, 38));
Modify Global Variable(CheckpointList, Append To Array, Vector(219, 1, 8));
Modify Global Variable(CheckpointList, Append To Array, Vector(187.699, 2.022, 2.047));
Modify Global Variable(CheckpointList, Append To Array, Vector(142.072, 0, 11.495));
Modify Global Variable(CheckpointList, Append To Array, Vector(101, -0.500, 21));
Skip If(True == False, 0);
}
}
rule("MAP: Havana Rings by Giacomand")
{
event
{
Ongoing - Global;
}
conditions
{
disabled Distance Between(Nearest Walkable Position(Vector(0, 0, 0)), Vector(-10.130, 8.050, -30.130)) < 0.010;
Current Map == Map(Havana);
}
actions
{
Global.StartingPosition = Vector(-4.271, 7.174, -93.840);
Global.TeleportEntranceList = Empty Array;
Global.TeleportExitList = Empty Array;
Global.CheckpointList = Empty Array;
Modify Global Variable(CheckpointList, Append To Array, Vector(-7, 11, -73));
Modify Global Variable(CheckpointList, Append To Array, Vector(-20, 15, -65));
Modify Global Variable(CheckpointList, Append To Array, Vector(-42, 16, -55.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(-62, 14, -44));
Modify Global Variable(CheckpointList, Append To Array, Vector(-78.449, 10.627, -55.551));
Modify Global Variable(CheckpointList, Append To Array, Vector(-68, 14, -72.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(-64, 21, -57));
Modify Global Variable(CheckpointList, Append To Array, Vector(-44, 22, -55.500));
Modify Global Variable(CheckpointList, Append To Array, Vector(-29.981, 20, -47.195));
Modify Global Variable(CheckpointList, Append To Array, Vector(-34, 6.500, -27));
Skip If(False == True, 0);
Modify Global Variable(CheckpointList, Append To Array, Vector(-37, 14, -41));
Modify Global Variable(CheckpointList, Append To Array, Vector(-29.040, 14.999, -54.979));
Modify Global Variable(CheckpointList, Append To Array, Vector(-25, 7.500, -87));
Modify Global Variable(CheckpointList, Append To Array, Vector(-19.109, 8.200, -90.249));
Modify Global Variable(CheckpointList, Append To Array, Vector(-23.874, 15.505, -62));
Skip If(False == True, 0);
}
}
rule("MAP: Nepal Rings by Fahzix")
{
event
{
Ongoing - Global;
}
conditions
{
disabled Distance Between(Nearest Walkable Position(Vector(0, 0, 0)), Vector(-18.130, 13.300, -1.880)) < 0.010;
Current Map == Map(Nepal);
}
actions
{
Global.StartingPosition = Vector(-37.771, 15.973, -61.176);
Global.TeleportEntranceList = Empty Array;
Global.TeleportExitList = Empty Array;
Global.CheckpointList = Empty Array;
Modify Global Variable(TeleportEntranceList, Append To Array, Vector(-23, 17, -21));
Modify Global Variable(TeleportExitList, Append To Array, Vector(76, 130, -70));
Modify Global Variable(CheckpointList, Append To Array, Vector(-40, 16, -53));
Modify Global Variable(CheckpointList, Append To Array, Vector(-44, 14, -29));
Modify Global Variable(CheckpointList, Append To Array, Vector(-44, 16, -20));
Modify Global Variable(CheckpointList, Append To Array, Vector(-42, 18, 4));
Modify Global Variable(CheckpointList, Append To Array, Vector(-44, 17, 20));
Modify Global Variable(CheckpointList, Append To Array, Vector(-48, 21, 29));
Modify Global Variable(CheckpointList, Append To Array, Vector(-57, 25, 29));
Modify Global Variable(CheckpointList, Append To Array, Vector(-60, 29, 30));
Modify Global Variable(CheckpointList, Append To Array, Vector(-52, 30, 32));
Modify Global Variable(CheckpointList, Append To Array, Vector(-42, 32, 30));
Modify Global Variable(CheckpointList, Append To Array, Vector(-30, 28, 48));
Modify Global Variable(CheckpointList, Append To Array, Vector(-30, 28, 57));
Modify Global Variable(CheckpointList, Append To Array, Vector(-20, 30, 70));
Modify Global Variable(CheckpointList, Append To Array, Vector(-28, 31, 79));
Modify Global Variable(CheckpointList, Append To Array, Vector(-44, 30, 83));
Modify Global Variable(CheckpointList, Append To Array, Vector(-67, 2, 70));
Modify Global Variable(CheckpointList, Append To Array, Vector(-67, 8, 69));
Modify Global Variable(CheckpointList, Append To Array, Vector(-68, 13, 69));
Modify Global Variable(CheckpointList, Append To Array, Vector(-71, 17, 58));
Modify Global Variable(CheckpointList, Append To Array, Vector(-82, 22, 53));
Modify Global Variable(CheckpointList, Append To Array, Vector(-81, 15, 42));
Modify Global Variable(CheckpointList, Append To Array, Vector(-78, 4, 25));
Modify Global Variable(CheckpointList, Append To Array, Vector(-87, 5, 9));
Modify Global Variable(CheckpointList, Append To Array, Vector(-87, 6, -8));
Modify Global Variable(CheckpointList, Append To Array, Vector(-81, 11, -40));
Modify Global Variable(CheckpointList, Append To Array, Vector(-81, 17, -54));
Modify Global Variable(CheckpointList, Append To Array, Vector(-59, 16, -60));
Modify Global Variable(CheckpointList, Append To Array, Vector(-54, 21, -48));
Modify Global Variable(CheckpointList, Append To Array, Vector(-28, 22, -51));
Modify Global Variable(CheckpointList, Append To Array, Vector(-24, 22, -45));
Modify Global Variable(CheckpointList, Append To Array, Vector(-23, 16, -31));
Modify Global Variable(CheckpointList, Append To Array, Vector(74, 132, -64));
Modify Global Variable(CheckpointList, Append To Array, Vector(79, 132, -52));
Modify Global Variable(CheckpointList, Append To Array, Vector(84, 134, -30));
Modify Global Variable(CheckpointList, Append To Array, Vector(89, 135, -11));
Modify Global Variable(CheckpointList, Append To Array, Vector(88, 135, 12));
Modify Global Variable(CheckpointList, Append To Array, Vector(81, 137, 17));
Modify Global Variable(CheckpointList, Append To Array, Vector(69, 136, 7));
Modify Global Variable(CheckpointList, Append To Array, Vector(57, 133, -3));
Modify Global Variable(CheckpointList, Append To Array, Vector(59, 140, -28));
Modify Global Variable(CheckpointList, Append To Array, Vector(59, 148, -28));
Modify Global Variable(CheckpointList, Append To Array, Vector(59, 148, -18));
Modify Global Variable(CheckpointList, Append To Array, Vector(51, 151, -4));
Modify Global Variable(CheckpointList, Append To Array, Vector(47, 150, 0));
Modify Global Variable(CheckpointList, Append To Array, Vector(52, 150, 4));
Modify Global Variable(CheckpointList, Append To Array, Vector(58, 154, -18));
Modify Global Variable(CheckpointList, Append To Array, Vector(55, 155, -29));
Modify Global Variable(CheckpointList, Append To Array, Vector(-161, -97, -56));
Modify Global Variable(TeleportEntranceList, Append To Array, Vector(75, 147, -36));
Modify Global Variable(TeleportExitList, Append To Array, Vector(-170, -99, -68));
Modify Global Variable(CheckpointList, Append To Array, Vector(-165, -93, -41));
Modify Global Variable(CheckpointList, Append To Array, Vector(-184, -92, -26));
Modify Global Variable(CheckpointList, Append To Array, Vector(-204, -92, -12));
Modify Global Variable(CheckpointList, Append To Array, Vector(-210, -86, 10));
Modify Global Variable(CheckpointList, Append To Array, Vector(-209, -83, 23));
Modify Global Variable(CheckpointList, Append To Array, Vector(-197, -88, 33));
Modify Global Variable(CheckpointList, Append To Array, Vector(-185, -83, 41));
Modify Global Variable(CheckpointList, Append To Array, Vector(-175, -87, 55));
Modify Global Variable(CheckpointList, Append To Array, Vector(-168, -99, 68));
Skip If(False == True, 0);
}
}
rule("MAP: Hollywood Rings by Giacomand")
{
event
{
Ongoing - Global;
}
conditions
{
Current Map == Map(Hollywood);
}
actions
{
Global.StartingPosition = Vector(12.292, 7.179, 49.685);
Global.TeleportEntranceList = Empty Array;
Global.TeleportExitList = Empty Array;
Global.CheckpointList = Empty Array;
Modify Global Variable(CheckpointList, Append To Array, Vector(5.135, 10.807, 27.654));
Modify Global Variable(CheckpointList, Append To Array, Vector(-10.292, 13.958, 15.678));
Modify Global Variable(CheckpointList, Append To Array, Vector(-4.289, 13, -2.767));
Modify Global Variable(CheckpointList, Append To Array, Vector(2.620, 13.003, -17.451));
Modify Global Variable(CheckpointList, Append To Array, Vector(-5.227, 9.883, -48.082));
Modify Global Variable(CheckpointList, Append To Array, Vector(-12.080, 10, -61.560));
Modify Global Variable(CheckpointList, Append To Array, Vector(-15.550, 4, -83.384));
Modify Global Variable(CheckpointList, Append To Array, Vector(-30.036, 10.069, -97.255));
Modify Global Variable(CheckpointList, Append To Array, Vector(-35.031, 4, -119.246));
Modify Global Variable(CheckpointList, Append To Array, Vector(-27.905, 7.002, -131.574));
Modify Global Variable(CheckpointList, Append To Array, Vector(-18, 11, -103));
Modify Global Variable(CheckpointList, Append To Array, Vector(18, 3, -92));
Modify Global Variable(CheckpointList, Append To Array, Vector(39.039, 5, -77.724));
Modify Global Variable(CheckpointList, Append To Array, Vector(26.754, 9, -64.969));
Modify Global Variable(CheckpointList, Append To Array, Vector(-1, 8, -33));
Modify Global Variable(CheckpointList, Append To Array, Vector(-3.632, 12.698, -4.971));
Modify Global Variable(CheckpointList, Append To Array, Vector(-25, 3, 31));
}
}
rule("MAP: Hanamura Rings by Giacomand")
{
event
{
Ongoing - Global;
}
conditions
{
Current Map == Map(Hanamura);
}
actions
{
Global.TeleportEntranceList = Empty Array;
Global.TeleportExitList = Empty Array;
Global.CheckpointList = Empty Array;
disabled Global.StartingPosition = Vector(-14.711, 2.175, -103.115);
disabled Global.CheckpointList = Array(Vector(11, 5.500, -76), Vector(30.217, 12.053, -47.019), Vector(34.500, 11.009, -23), Vector(8.111,
9.015, -18.504), Vector(-27.042, 9, -17), Vector(-47.072, 1.330, -12.174));
Global.StartingPosition = Vector(-35.554, 1, -83.217);
disabled Global.MapEditorCheckpointList = Array(Vector(-23, 2.500, -83), Vector(-24.707, 3, -69.707), Vector(-13.499, 8.029, -20.036),
Vector(-4.010, 9.500, 11.035), Vector(14.896, 11.713, 15.684), Vector(29, 19, 0), Vector(4.994, 7.965, -12.500), Vector(
-27.031, 9, -17.500), Vector(-47.405, 2.796, -12.111));
Global.CheckpointList = Array(Vector(-23, 2.500, -83), Vector(-24.707, 3, -69.707), Vector(-13.499, 8.029, -20.036), Vector(-4.010,
9.500, 11.035), Vector(14.896, 11.713, 15.684), Vector(29, 19, 0), Vector(22.503, 20.055, -10.015), Vector(31.500, 12.006,
-54.990), Vector(46.707, 6.016, -75.293), Vector(60.854, 5, -77.032), Vector(71.567, 5, -59.558), Vector(42.083, 8.016,
-40.996), Vector(-11.993, 8.007, -29), Vector(-27.969, 9, -22.500), Vector(-46.608, 1.495, -12.260));
}
}
rule("SETUP: Global Vars")
{
event
{
Ongoing - Global;
}
actions
{
Global.A = False;
Global.B = 5;
Global.H = 0;
Global.Y = Empty Array;
Global.StartingPositionRadius = 4;
Create In-World Text(Filtered Array(All Players(All Teams), Current Array Element.RespawningSelf != True), String("{0}: {1}",
String("Try Again"), String("Crouching")), Direction Towards(Global.StartingPosition, Global.CheckpointList[0])
* Global.StartingPositionRadius + Global.StartingPosition, 2, Clip Against Surfaces, Visible To Position and String, Color(
White), Default Visibility);
Global.MapVoteTimeStart = 900;
Global.MapVoteDuration = 45;
Disable Built-In Game Mode Completion;
Set Objective Description(All Players(All Teams), Custom String("RACE"), Visible To and String);
Create HUD Text(All Players(All Teams), Null, Custom String("LUCIO RING RACE - CODE: PE3A4"), Null, Top, -1, Color(Green), Color(
Green), Color(Green), Visible To and String, Visible Always);
}
}
rule("SETUP: Player Vars")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{