From 6f655e1b2923785f938b0872abbe4de8249c77ac Mon Sep 17 00:00:00 2001 From: Mazawrath Date: Wed, 26 Feb 2020 00:04:29 -0500 Subject: [PATCH 1/6] Fixed an issue with facing not working during final duel --- settings.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/settings.txt b/settings.txt index ed67d7e..0371e18 100644 --- a/settings.txt +++ b/settings.txt @@ -1238,10 +1238,11 @@ rule("Final duel") Big Message(All Players(All Teams), Custom String("Final Duel!", Null, Null, Null)); Teleport(Value In Array(All Living Players(All Teams), 0), Add(Global Variable(CircleCenter), Multiply(Vector(-1.000, 0, 0), Divide(Global Variable(SphereSize), 1.500)))); - Set Facing(Value In Array(All Living Players(All Teams), 0), Direction Towards(Value In Array(All Living Players(All Teams), 0), - Global Variable(CircleCenter)), To World); Teleport(Value In Array(All Living Players(All Teams), 1), Add(Global Variable(CircleCenter), Multiply(Vector(1, 0, 0), Divide( Global Variable(SphereSize), 1.500)))); + Wait(0.050, Ignore Condition); + Set Facing(Value In Array(All Living Players(All Teams), 0), Direction Towards(Value In Array(All Living Players(All Teams), 0), + Global Variable(CircleCenter)), To World); Set Facing(Value In Array(All Living Players(All Teams), 1), Direction Towards(Value In Array(All Living Players(All Teams), 1), Global Variable(CircleCenter)), To World); Set Move Speed(All Living Players(All Teams), 10); From 2e398dd3422ef67698ec3a84e51eca73abbc4cf0 Mon Sep 17 00:00:00 2001 From: Mazawrath Date: Wed, 26 Feb 2020 00:12:39 -0500 Subject: [PATCH 2/6] Fixed an issue with correctly getting the round winner --- settings.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/settings.txt b/settings.txt index 0371e18..8b65956 100644 --- a/settings.txt +++ b/settings.txt @@ -94,6 +94,7 @@ variables 28: BouncepadDashingEnabled 29: GameEndEnabled 30: CooldownDashingEnabled + 31: PlayerWon player: 0: hasMoved @@ -1269,11 +1270,13 @@ rule("Check for last player surviving") actions { + Set Global Variable(PlayerWon, First Of(Filtered Array(All Living Players(All Teams), Player Variable(Current Array Element, + hasMoved)))); Set Global Variable(IsInFinalDuel, False); - Modify Player Score(All Living Players(All Teams), 1); + Modify Player Score(Global Variable(PlayerWon), 1); Stop Chasing Player Variable(All Players(All Teams), BouncePadCooldown); Stop Chasing Global Variable(BallSpawnCountdown); - Big Message(All Players(All Teams), Custom String("{0} has won the round!", First Of(All Living Players(All Teams)), Null, Null)); + Big Message(All Players(All Teams), Custom String("{0} has won the round!", Global Variable(PlayerWon), Null, Null)); Wait(2, Ignore Condition); Resurrect(All Dead Players(All Teams)); Abort If(Not(Global Variable(IsEnoughPlayersToStart))); From ef1577659f8aad2f423bfb9743656d7233124b44 Mon Sep 17 00:00:00 2001 From: Mazawrath Date: Wed, 26 Feb 2020 00:42:02 -0500 Subject: [PATCH 3/6] Removed 15 minute match length --- settings.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/settings.txt b/settings.txt index 8b65956..79659f8 100644 --- a/settings.txt +++ b/settings.txt @@ -28,7 +28,6 @@ settings General { Allow Hero Switching: Off - Game Length In Minutes: 15 Game Mode Start: Immediately Hero Limit: Off Kill Cam: Off From 6e2872af2f182f2c878c39f5c6fd399c393f4118 Mon Sep 17 00:00:00 2001 From: Mazawrath Date: Wed, 26 Feb 2020 00:42:34 -0500 Subject: [PATCH 4/6] Added a ball speed increase speed This helps make bigger maps go faster as the ball speed will get faster, faster. --- settings.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/settings.txt b/settings.txt index 79659f8..77984ec 100644 --- a/settings.txt +++ b/settings.txt @@ -94,6 +94,7 @@ variables 29: GameEndEnabled 30: CooldownDashingEnabled 31: PlayerWon + 32: BallIncreaseSpeed player: 0: hasMoved @@ -205,6 +206,7 @@ rule("Set Blizard World center (fun fact: you can't use the name of the company { Set Global Variable(CircleCenter, Vector(2.554, -4.651, -71.211)); Set Global Variable(SphereSize, 20); + Set Global Variable(BallIncreaseSpeed, 1); } } @@ -224,6 +226,7 @@ rule("Set Oasis University Center") { Set Global Variable(CircleCenter, Vector(-192.609, 60.349, 2.252)); Set Global Variable(SphereSize, 20); + Set Global Variable(BallIncreaseSpeed, 1); } } @@ -243,6 +246,7 @@ rule("Set Workshop Island") { Set Global Variable(CircleCenter, Vector(0, 1.199, 0)); Set Global Variable(SphereSize, 20); + Set Global Variable(BallIncreaseSpeed, 1.500); } } @@ -262,6 +266,7 @@ rule("Set Workshop Chamber") { Set Global Variable(CircleCenter, Vector(0, 1.199, 0)); Set Global Variable(SphereSize, 29.700); + Set Global Variable(BallIncreaseSpeed, 1.500); } } @@ -281,6 +286,7 @@ rule("Set Kings Row center (NOTE: Lower the max players! This arena is smaller t { Set Global Variable(CircleCenter, Vector(-20.504, 40.538, -74.601)); Set Global Variable(SphereSize, 17); + Set Global Variable(BallIncreaseSpeed, 1); } } @@ -300,6 +306,7 @@ rule("Set Workshop Expanse (I don't suggest using this one)") { Set Global Variable(CircleCenter, Vector(0, 1.199, 0)); Set Global Variable(SphereSize, 20); + Set Global Variable(BallIncreaseSpeed, 1); } } @@ -1205,7 +1212,7 @@ rule("Ball reaches player") Slot Of(Current Array Element), !=, Global Variable(SlotOfPreviousTargetedPlayer))), Angle Between Vectors(Facing Direction Of( Players In Slot(Global Variable(SlotOfTargetedPlayer), All Teams)), Direction Towards(Players In Slot(Global Variable( SlotOfTargetedPlayer), All Teams), Position Of(Current Array Element))))))); - Set Global Variable(BallSpeed, Min(45, Add(Global Variable(BallSpeed), 1))); + Set Global Variable(BallSpeed, Min(45, Add(Global Variable(BallSpeed), Global Variable(BallIncreaseSpeed)))); Wait(0.001, Ignore Condition); Loop If Condition Is True; } From c4f67e7b1141b04cfb4da79d1ea95c03592ff173 Mon Sep 17 00:00:00 2001 From: Mazawrath Date: Wed, 26 Feb 2020 00:46:17 -0500 Subject: [PATCH 5/6] Attempting to fix map rotation with map repeats --- settings.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/settings.txt b/settings.txt index 77984ec..1993466 100644 --- a/settings.txt +++ b/settings.txt @@ -8,6 +8,7 @@ settings lobby { Allow Players Who Are In Queue: Yes + Map Rotation: After A Game Match Voice Chat: Enabled Return To Lobby: Never } From 121b32837a25ebefeb260765dd603ea97cada1ed Mon Sep 17 00:00:00 2001 From: Mazawrath Date: Wed, 26 Feb 2020 00:50:10 -0500 Subject: [PATCH 6/6] Fixed issue with King's Row bouncepads not showing --- settings.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.txt b/settings.txt index 1993466..29db260 100644 --- a/settings.txt +++ b/settings.txt @@ -285,7 +285,7 @@ rule("Set Kings Row center (NOTE: Lower the max players! This arena is smaller t actions { - Set Global Variable(CircleCenter, Vector(-20.504, 40.538, -74.601)); + Set Global Variable(CircleCenter, Vector(-20.504, 40, -74.601)); Set Global Variable(SphereSize, 17); Set Global Variable(BallIncreaseSpeed, 1); }