-
Notifications
You must be signed in to change notification settings - Fork 0
/
LucioRolloutTrainer.oww
241 lines (209 loc) · 3.99 KB
/
LucioRolloutTrainer.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
settings
{
main
{
Description: "Lucio Spawn Rollout Trainer - Instructions: Use Interact (F) to progress the objective to get the next spawn, use Interact (F) again to stop the bot from capturing the point. You can press Crouch to respawn yourself."
}
lobby
{
Max Team 1 Players: 1
Max Team 2 Players: 1
}
modes
{
Assault
{
Capture Speed Modifier: 500%
enabled maps
{
Temple of Anubis
}
}
Control
{
Capture Speed Modifier: 500%
Scoring Speed Modifier: 500%
enabled maps
{
}
}
Escort
{
Payload Speed Modifier: 500%
enabled maps
{
}
}
Hybrid
{
Capture Speed Modifier: 500%
Payload Speed Modifier: 500%
enabled maps
{
}
}
General
{
Game Mode Start: Immediately
Hero Limit: Off
Respawn Time Scalar: 0%
}
}
heroes
{
General
{
enabled heroes
{
Lúcio
}
}
}
}
variables
{
player:
0: LastCreatedSpeedometerID
1: Timer
}
rule("Crouch = Reset")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Crouch) == True;
}
actions
{
Respawn(Event Player);
Event Player.Timer = 0;
Chase Player Variable At Rate(Event Player, Timer, 9999, 1, None);
}
}
rule("Player Init")
{
event
{
Ongoing - Each Player;
All;
All;
}
actions
{
Create HUD Text(Event Player, Null, Null, String("{0} m/s", Horizontal Speed Of(Event Player)), Left, -101, White, White, Green,
Visible To and String, Default Visibility);
Event Player.LastCreatedSpeedometerID = Last Text ID;
Create HUD Text(Event Player, Null, Null, String("{0} sec", Event Player.Timer), Left, -100, White, White, White,
Visible To and String, Default Visibility);
}
}
rule("Init")
{
event
{
Ongoing - Global;
}
conditions
{
Is Assembling Heroes == True;
}
actions
{
Set Match Time(1);
Wait(5, Ignore Condition);
Set Match Time(1);
Wait(5, Ignore Condition);
Set Match Time(3599);
Wait(1, Ignore Condition);
Create Dummy Bot(Hero(Lúcio), Opposite Team Of(Team Of(Host Player)), -1, Vector(0, 0, 0), Vector(0, 0, 0));
Pause Match Time;
Set Objective Description(All Players(All Teams), Custom String(""), Visible To and String);
}
}
rule("F = Next Point")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Interact) == True;
}
actions
{
Global.P = Payload Position;
Skip If(Is On Objective(Players In Slot(0, Opposite Team Of(Team Of(Host Player)))), 5);
Skip If(Payload Position == Null, 2);
Teleport(All Living Players(Opposite Team Of(Team Of(Event Player))), Payload Position + Vector(0, 1.500, 0));
Skip(1);
Teleport(All Living Players(Opposite Team Of(Team Of(Event Player))), Objective Position(Objective Index));
Skip(1);
Kill(Players In Slot(0, Opposite Team Of(Team Of(Host Player))), Null);
}
}
rule("ON: Speedometer (Slow)")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Horizontal Speed Of(Event Player) <= 12;
}
actions
{
Destroy HUD Text(Event Player.LastCreatedSpeedometerID);
Create HUD Text(Event Player, Null, Null, String("{0} m/s", Horizontal Speed Of(Event Player)), Left, -101, White, White, Yellow,
Visible To and String, Default Visibility);
Event Player.LastCreatedSpeedometerID = Last Text ID;
}
}
rule("ON: Speedometer (Fast)")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Horizontal Speed Of(Event Player) > 12;
}
actions
{
Destroy HUD Text(Event Player.LastCreatedSpeedometerID);
Create HUD Text(Event Player, Null, Null, String("{0} m/s", Horizontal Speed Of(Event Player)), Left, -101, White, White, Green,
Visible To and String, Default Visibility);
Event Player.LastCreatedSpeedometerID = Last Text ID;
}
}
rule("ON: Touching point")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is On Objective(Event Player) == True;
}
actions
{
Stop Chasing Player Variable(Event Player, Timer);
disabled Big Message(Event Player, String("{0} sec", Event Player.Timer));
}
}