-
Notifications
You must be signed in to change notification settings - Fork 0
/
TryHardFFA.oww
208 lines (181 loc) · 2.81 KB
/
TryHardFFA.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
settings
{
main
{
Description: "TryHard FFA by /u/Giacomand - https://workshop.codes/try-hard-ffa"
}
lobby
{
Allow Players Who Are In Queue: Yes
Match Voice Chat: Enabled
Max Spectators: 4
Return To Lobby: Never
}
modes
{
Deathmatch
{
Game Length In Minutes: 15
Score To Win: 50
enabled maps
{
Château Guillard
}
}
General
{
Game Mode Start: Immediately
Hero Limit: Off
Respawn Time Scalar: 66%
}
}
heroes
{
General
{
Baptiste
{
Immortality Field: Off
}
Bastion
{
Reconfigure: Off
}
Mei
{
Primary Fire: Off
}
Sombra
{
Hack: Off
}
Torbjörn
{
Deploy Turret: Off
}
disabled heroes
{
Brigitte
D.Va
Doomfist
Junkrat
Mercy
Moira
Orisa
Reaper
Reinhardt
Roadhog
Sigma
Symmetra
Winston
Wrecking Ball
Zarya
}
}
}
}
rule("Global Init")
{
event
{
Ongoing - Global;
}
actions
{
Set Objective Description(All Players(All Teams), Custom String("TRY HARD FFA - CODE: RCF13"), Visible To and String);
Create HUD Text(All Players(All Teams), Null, Custom String("TRY HARD FFA - CODE: RCF13"), Null, Top, -1, White, Red, White,
Visible To and String, Visible Never);
Create HUD Text(All Players(All Teams), Null, Null, String("{0}:{1}", Round To Integer(Match Time / 60, Down), Round To Integer(
Match Time % 60, Down) >= 10 ? Round To Integer(Match Time % 60, Down) : Custom String("0{0}", Round To Integer(
Match Time % 60, Down))), Top, -0.500, White, White, White, Visible To and String, Visible Never);
}
}
rule("Player Init")
{
event
{
Ongoing - Each Player;
All;
All;
}
actions
{
Disable Game Mode HUD(Event Player);
}
}
rule("Insta Start")
{
event
{
Ongoing - Global;
}
conditions
{
Is Game In Progress == False;
Is Assembling Heroes == True;
}
actions
{
Set Match Time(5);
}
}
rule("Set Match Timer To 60 minutes")
{
event
{
Ongoing - Global;
}
conditions
{
Is Game In Progress == True;
Is Assembling Heroes == False;
}
actions
{
Set Match Time(3599);
}
}
rule("Heal on Kill")
{
event
{
Player Dealt Final Blow;
All;
All;
}
actions
{
Heal(Event Player, Null, Workshop Setting Integer(Custom String("Healing"), Custom String("Heal On Kill"), 200, 0, 1000));
}
}
rule("Disable Default Functions")
{
event
{
Ongoing - Global;
}
actions
{
Disable Built-In Game Mode Completion;
Disable Built-In Game Mode Announcer;
Disable Built-In Game Mode Music;
}
}
rule("Match Timer Reaches 0")
{
event
{
Ongoing - Global;
}
conditions
{
Is Game In Progress == True;
Match Time <= 0;
}
actions
{
Declare Player Victory(Last Of(Sorted Array(All Players(All Teams), Score Of(Current Array Element))));
Wait(10, Ignore Condition);
Declare Match Draw;
}
}