Create
Return to post

Comparing difference between and

View raw
  • settings
  • {
  • main
  • {
  • Description: "When Ana has to carry, she becomes Ana sumo."
  • }
  • lobby
  • {
  • Allow Players Who Are In Queue: Yes
  • Map Rotation: Paused
  • Match Voice Chat: Enabled
  • Max Spectators: 6
  • Return To Lobby: Never
  • Swap Teams After Match: No
  • }
  • modes
  • {
  • Deathmatch
  • {
  • Game Length In Minutes: 15
  • Score To Win: 50
  • Self Initiated Respawn: Off
  • enabled maps
  • {
  • King's Row
  • }
  • }
  • disabled Team Deathmatch
  • {
  • Score To Win: 3
  • Self Initiated Respawn: Off
  • }
  • General
  • {
  • Allow Hero Switching: Off
  • Enemy Health Bars: Off
  • Game Mode Start: Immediately
  • Hero Limit: Off
  • Respawn As Random Hero: On
  • Spawn Health Packs: Disabled
  • }
  • }
  • heroes
  • {
  • General
  • {
  • Health: 500%
  • Ana
  • {
  • Ammunition Clip Size Scalar: 75%
  • Biotic Grenade Cooldown Time: 25%
  • Damage Dealt: 52%
  • Damage Received: 49%
  • Health: 500%
  • Sleep Dart Cooldown Time: 24%
  • Ultimate Generation - Combat Nano Boost: 196%
  • Ultimate Generation - Passive Nano Boost: 500%
  • Ultimate Generation Nano Boost: 277%
  • }
  • D.Va
  • {
  • Damage Dealt: 17%
  • Health: 500%
  • Self Destruct Knockback Scalar: 200%
  • Spawn With Ultimate Ready: On
  • }
  • Doomfist
  • {
  • Damage Dealt: 54%
  • Damage Received: 82%
  • Health: 500%
  • Meteor Strike Knockback Scalar: 133%
  • No Ammunition Requirement: On
  • Rising Uppercut Cooldown Time: 89%
  • Rocket Punch Cooldown Time: 75%
  • Rocket Punch Knockback Scalar: 160%
  • Seismic Slam Cooldown Time: 75%
  • Spawn With Ultimate Ready: On
  • Ultimate Duration: 95%
  • Ultimate Generation - Combat Meteor Strike: 0%
  • Ultimate Generation - Passive Meteor Strike: 0%
  • Ultimate Generation Meteor Strike: 10%
  • }
  • Genji
  • {
  • Ammunition Clip Size Scalar: 50%
  • Damage Dealt: 61%
  • Deflect Cooldown Time: 50%
  • Health: 500%
  • Swift Strike Cooldown Time: 85%
  • Ultimate Generation - Combat Dragonblade: 69%
  • Ultimate Generation - Passive Dragonblade: 107%
  • Ultimate Generation Dragonblade: 110%
  • }
  • Mercy
  • {
  • Ammunition Clip Size Scalar: 25%
  • Damage Dealt: 10%
  • Damage Received: 10%
  • Health: 500%
  • Movement Gravity: 25%
  • Primary Fire: Off
  • Projectile Speed: 56%
  • Secondary Fire: Off
  • Spawn With Ultimate Ready: On
  • Ultimate Generation - Combat Valkyrie: 500%
  • Ultimate Generation - Passive Valkyrie: 500%
  • Ultimate Generation Valkyrie: 500%
  • Weapons Enabled: Caduceus Staff Only
  • }
  • Reinhardt
  • {
  • Damage Dealt: 60%
  • Jump Vertical Speed: 358%
  • Spawn With Ultimate Ready: On
  • }
  • Sigma
  • {
  • Accretion Cooldown Time: 0%
  • Damage Dealt: 500%
  • Damage Received: 54%
  • Health: 500%
  • Projectile Speed: 48%
  • Spawn With Ultimate Ready: On
  • }
  • Sombra
  • {
  • Damage Dealt: 10%
  • Stealth: Off
  • Translocator: Off
  • Ultimate Ability EMP: Off
  • }
  • Winston
  • {
  • Damage Dealt: 56%
  • Health: 500%
  • Infinite Ultimate Duration: On
  • Primal Rage Melee Knockback Scalar: 150%
  • Spawn With Ultimate Ready: On
  • Ultimate Duration: 500%
  • }
  • Zenyatta
  • {
  • Ammunition Clip Size Scalar: 75%
  • Damage Dealt: 37%
  • Health: 500%
  • Movement Speed: 120%
  • Orb of Discord: Off
  • Orb of Harmony: Off
  • Ultimate Generation - Combat Transcendence: 305%
  • Ultimate Generation - Passive Transcendence: 500%
  • Ultimate Generation Transcendence: 500%
  • }
  • enabled heroes
  • {
  • Ana
  • }
  • }
  • }
  • }
  • variables
  • {
  • global:
  • 0: STREAKS
  • 1: gameArrayOfRadii
  • 2: matchStatus
  • 3: nextMatchStatus
  • 4: initiatedStart
  • 5: oneVoneMode
  • 7: mode
  • 7: x
  • 8: dynamicTeams
  • 10: retryDynamic
  • 11: scoreType
  • 11: CROWD
  • 12: inMenuText
  • 13: sphereVisibleTo
  • 14: customTeamMode
  • 15: tempplayer
  • 16: customTeam
  • 17: iterator
  • 18: gameArrayVector
  • 19: menuArrayVector
  • 20: menuSize
  • 21: menuVisibility
  • 22: mapHeight
  • 23: circleSpawning
  • 24: cornerSpawning
  • 25: totalRounds
  • player:
  • 0: active
  • 1: kills
  • 2: deathEffect
  • 3: roundsWon
  • 4: roundsPlayed
  • 5: score
  • 5: GOLD
  • 6: killer
  • 7: teammate
  • 9: cornerSpawnRequest
  • 11: KILL
  • }
  • disabled rule("j")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • disabled rule("### IF YOU INTEND TO CHANGE SETTINGS OR CODE, PLEASE NOTE IN THE DESCRIPTION ###")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • disabled rule("### Variables declaration ###")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Global Variables; Vectors and Radii, Visibilities, mode, gameStatus, initiatedStart, menuSize, cornerSpawning")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Global.gameArrayVector = Empty Array;
  • Global.menuArrayVector = Empty Array;
  • Global.gameArrayOfRadii = Empty Array;
  • Global.sphereVisibleTo = Empty Array;
  • Global.menuVisibility = Empty Array;
  • Global.mode = 0;
  • Global.x = 0;
  • Global.cornerSpawning = False;
  • "Set current round to lobby"
  • Global.matchStatus = 0;
  • "Set next round to restart"
  • Global.nextMatchStatus = 2;
  • Global.initiatedStart = False;
  • Global.menuSize = 1;
  • Global.circleSpawning = False;
  • Global.totalRounds = 0;
  • }
  • }
  • rule("PlayerVariables; active, Kills, DeathEffect, RoundsWon, PlayedRounds, Score, Killer")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.mode == 0;
  • Global.x == 0;
  • }
  • actions
  • {
  • Event Player.active = False;
  • Event Player.kills = 0;
  • Event Player.deathEffect = Null;
  • Event Player.roundsWon = 0;
  • Event Player.roundsPlayed = 0;
  • Event Player.score = 0;
  • Event Player.GOLD = 0;
  • Event Player.killer = Null;
  • Event Player.cornerSpawnRequest = False;
  • }
  • }
  • rule("Values for Map King's Row")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • (Current Map == Map(King's Row) || Current Map == Map(King's Row Winter)) == True;
  • }
  • actions
  • {
  • "Platform Center"
  • Modify Global Variable(gameArrayVector, Append To Array, Vector(-20.749, 40.686, -74.843));
  • Modify Global Variable(gameArrayVector, Append To Array, Vector(-16.727, 32, -52.146));
  • "corner Spawn 1"
  • Modify Global Variable(gameArrayVector, Append To Array, Vector(-32.809, 40.690, -63.220));
  • "corner spawn 2"
  • Modify Global Variable(gameArrayVector, Append To Array, Vector(-11.422, 40.688, -83.778));
  • "Main Sphere Size"
  • Modify Global Variable(gameArrayOfRadii, Append To Array, 29);
  • "Tower Sphere Size"
  • Modify Global Variable(gameArrayOfRadii, Append To Array, 7);
  • "Menuitem Start Normal Game"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(-16.971, 40.688, -80.575));
  • "Menuitem Start Team Game"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(-24.481, 40.687, -79.985));
  • "Menuitem assign Teams"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(-27.050, 40.688, -76.896));
  • "Menuitem Score decrease"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(-19.441, 40.688, -70.184));
  • "Menuitem Score Increase"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(-16.938, 40.688, -73.203));
  • "Menuitem Score infinity"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(-23.352, 40.688, -71.190));
  • Global.mapHeight = 37.600;
  • }
  • }
  • rule("Values for Map Workshop Island")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Workshop Island);
  • }
  • actions
  • {
  • "Platform Center"
  • Modify Global Variable(gameArrayVector, Append To Array, Vector(0, 0, 0));
  • "Main Sphere Size"
  • Modify Global Variable(gameArrayOfRadii, Append To Array, 29);
  • "Menuitem Start Normal Game"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(4.907, 1.499, 7.646));
  • "Menuitem Start Team Game"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(0.246, 1.499, 7.646));
  • "Menuitem assign Teams"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(-6.718, 1.499, 4.365));
  • "Menuitem Score decrease"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(7.057, 1.499, -4.097));
  • "Menuitem Score Increase"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(4.385, 1.499, -8.197));
  • "Menuitem Score infinity"
  • Modify Global Variable(menuArrayVector, Append To Array, Vector(8.436, 1.498, -0.129));
  • Global.mapHeight = -0.500;
  • }
  • }
  • disabled rule("### Setup ###")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Disable Announcer, Music, Completion, Scoring, Match Time")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • disabled Disable Built-In Game Mode Announcer;
  • disabled Disable Built-In Game Mode Music;
  • Disable Built-In Game Mode Completion;
  • disabled Disable Built-In Game Mode Scoring;
  • Set Match Time(0);
  • }
  • }
  • rule("Reset Timer when under one minute")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • Match Time <= 60;
  • }
  • actions
  • {
  • Set Match Time(900);
  • }
  • }
  • disabled rule("### Visuals and VisualsCommands ###")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Sphere Visuals")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • disabled For Global Variable(iterator, 0, Count Of(Global.gameArrayVector), 1);
  • disabled Create Effect(Global.sphereVisibleTo, Sphere, Purple, Global.gameArrayVector[Global.iterator],
  • Global.gameArrayOfRadii[Global.iterator], Visible To Position and Radius);
  • disabled End;
  • disabled Create Effect(Global.sphereVisibleTo, Sphere, Sky Blue, Global.gameArrayVector[0], Global.gameArrayOfRadii[0],
  • Visible To Position and Radius);
  • disabled Create Effect(Global.sphereVisibleTo, Sphere, Sky Blue, Global.gameArrayVector[1], Global.gameArrayOfRadii[1],
  • Visible To Position and Radius);
  • Create Effect(Global.sphereVisibleTo, Sphere, White, Global.gameArrayVector[0], Global.gameArrayOfRadii[0],
  • Visible To Position and Radius);
  • Create Effect(Global.sphereVisibleTo, Sphere, White, Global.gameArrayVector[1], Global.gameArrayOfRadii[1],
  • Visible To Position and Radius);
  • }
  • }
  • rule("Add Player SphereVisibility (Jump + Interact)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Interact) == True;
  • Is Button Held(Event Player, Jump) == True;
  • Array Contains(Global.sphereVisibleTo, Event Player) == False;
  • }
  • actions
  • {
  • Wait(1, Abort When False);
  • Modify Global Variable(sphereVisibleTo, Append To Array, Event Player);
  • Small Message(Event Player, Custom String("Sphere visibility enabled!"));
  • }
  • }
  • rule("Remove Player Sphere Visility (Jump + Interact)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Interact) == True;
  • Is Button Held(Event Player, Jump) == True;
  • Array Contains(Global.sphereVisibleTo, Event Player) == True;
  • }
  • actions
  • {
  • Wait(1, Abort When False);
  • Modify Global Variable(sphereVisibleTo, Remove From Array By Value, Event Player);
  • Small Message(Event Player, Custom String("Sphere visibility disabled!"));
  • }
  • }
  • rule("### Lobby Things ###")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • disabled rule("Setup Menu Visuals")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • "Draw each ball"
  • disabled For Global Variable(iterator, 0, Count Of(Global.menuArrayVector), 1);
  • disabled Create Effect(Global.menuVisibility, Sphere, Green, Global.menuArrayVector[Global.iterator], Global.menuSize,
  • Visible To Position and Radius);
  • disabled End;
  • "manual balls"
  • Create Effect(Global.menuVisibility, Sphere, Lime Green, Global.menuArrayVector[0], Global.menuSize,
  • Visible To Position and Radius);
  • Create Effect(Global.menuVisibility, Sphere, Green, Global.menuArrayVector[1], Global.menuSize, Visible To Position and Radius);
  • Create Effect(Global.menuVisibility, Sphere, Green, Global.menuArrayVector[2], Global.menuSize, Visible To Position and Radius);
  • Create Effect(Global.menuVisibility, Sphere, Green, Global.menuArrayVector[3], Global.menuSize, Visible To Position and Radius);
  • Create Effect(Global.menuVisibility, Sphere, Green, Global.menuArrayVector[4], Global.menuSize, Visible To Position and Radius);
  • Create Effect(Global.menuVisibility, Sphere, Green, Global.menuArrayVector[5], Global.menuSize, Visible To Position and Radius);
  • "Texts"
  • Create In-World Text(Global.menuVisibility, Custom String("Start Normal Game"), Global.menuArrayVector[0], Global.menuSize,
  • Clip Against Surfaces, Visible To and String, Red, Default Visibility);
  • Create In-World Text(Global.menuVisibility, Custom String("Start Team Game"), Global.menuArrayVector[1], Global.menuSize,
  • Clip Against Surfaces, Visible To and String, Red, Default Visibility);
  • Create In-World Text(Global.menuVisibility, Custom String("Assign Teams"), Global.menuArrayVector[2], Global.menuSize,
  • Clip Against Surfaces, Visible To and String, Red, Default Visibility);
  • Create In-World Text(Global.menuVisibility, Custom String("-10 Score"), Global.menuArrayVector[3], Global.menuSize,
  • Clip Against Surfaces, Visible To and String, Red, Default Visibility);
  • Create In-World Text(Global.menuVisibility, Custom String("+10 Score"), Global.menuArrayVector[4], Global.menuSize,
  • Clip Against Surfaces, Visible To and String, Red, Default Visibility);
  • Create In-World Text(Global.menuVisibility, Custom String("Infinite Score"), Global.menuArrayVector[5], Global.menuSize,
  • Clip Against Surfaces, Visible To and String, Red, Default Visibility);
  • }
  • }
  • rule("Hostplayer summon Lobby (CTRL + F / Crouch + Interact)")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Button Held(Host Player, Crouch) == True;
  • Is Button Held(Host Player, Interact) == True;
  • Global.matchStatus != 0;
  • }
  • actions
  • {
  • Global.nextMatchStatus = 0;
  • Small Message(Host Player, Custom String("Back to Lobby after this Round"));
  • }
  • }
  • rule("Respawn when dead on Lobby")
  • {
  • event
  • {
  • Player Died;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.matchStatus == 0;
  • }
  • actions
  • {
  • Teleport(Event Player, Global.gameArrayVector[0]);
  • Resurrect(Event Player);
  • }
  • }
  • rule("Game Lobby all Players")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.matchStatus == 0;
  • }
  • actions
  • {
  • Wait(0.500, Ignore Condition);
  • Event Player.active = False;
  • Teleport(Event Player, Global.gameArrayVector[0]);
  • Resurrect(Event Player);
  • Event Player.kills = 0;
  • Event Player.roundsWon = 0;
  • Event Player.roundsPlayed = 0;
  • Event Player.score = 0;
  • Set Player Score(Event Player, Event Player.score);
  • Event Player.GOLD = 0;
  • Set Player Score(Event Player, Event Player.GOLD);
  • Modify Global Variable(menuVisibility, Append To Array, Event Player);
  • }
  • }
  • rule("Game Lobby Hostplayer phasing toggle")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Primary Fire) == True;
  • Is Button Held(Event Player, Interact) == True;
  • Host Player == Event Player;
  • Global.matchStatus == 0;
  • }
  • actions
  • {
  • If(Has Status(Event Player, Phased Out));
  • Clear Status(Event Player, Phased Out);
  • Small Message(Event Player, Custom String("Phased out disabled!"));
  • Else;
  • Set Status(Event Player, Null, Phased Out, 9999);
  • Small Message(Event Player, Custom String("Phased out enabled!"));
  • End;
  • }
  • }
  • rule("Disable Lobby visibility")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.matchStatus != 0;
  • Global.menuVisibility != Empty Array;
  • }
  • actions
  • {
  • Global.menuVisibility = Empty Array;
  • }
  • }
  • rule("Menuitem Start Normal Game")
  • disabled rule("Menuitem Start Normal Game")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Distance Between(Host Player, Global.menuArrayVector[0]) <= Global.menuSize + 2;
  • Is Button Held(Host Player, Interact) == True;
  • Global.matchStatus == 0;
  • }
  • actions
  • {
  • Global.mode = 0;
  • Global.x = 0;
  • Set Status(All Players(All Teams), Null, Rooted, 2);
  • Big Message(All Players(All Teams), Custom String("Normal Game Starting"));
  • Wait(2, Ignore Condition);
  • Global.nextMatchStatus = 2;
  • Global.matchStatus = Global.nextMatchStatus;
  • Clear Status(All Players(All Teams), Phased Out);
  • Clear Status(All Players(All Teams), Rooted);
  • Set Ability 1 Enabled(Host Player, True);
  • Set Secondary Fire Enabled(Host Player, True);
  • }
  • }
  • rule("Menuitem Start Team Game")
  • disabled rule("Menuitem Start Team Game")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Distance Between(Host Player, Global.menuArrayVector[1]) <= Global.menuSize + 2;
  • Is Button Held(Host Player, Interact) == True;
  • All Players(All Teams) != 2;
  • Global.matchStatus == 0;
  • }
  • actions
  • {
  • Global.mode = 1;
  • Global.x = 1;
  • Global.dynamicTeams = True;
  • Global.retryDynamic = True;
  • Set Status(All Players(All Teams), Null, Rooted, 2);
  • Big Message(All Players(All Teams), Custom String("Team Game Starting"));
  • Wait(2, Ignore Condition);
  • Global.nextMatchStatus = 2;
  • Global.matchStatus = Global.nextMatchStatus;
  • Clear Status(All Players(All Teams), Phased Out);
  • Clear Status(All Players(All Teams), Rooted);
  • Set Ability 1 Enabled(Host Player, True);
  • Set Secondary Fire Enabled(Host Player, True);
  • }
  • }
  • rule("Menuitem Assign Teams")
  • disabled rule("Menuitem Assign Teams")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Distance Between(Host Player, Global.menuArrayVector[2]) <= Global.menuSize + 2;
  • Is Button Held(Host Player, Interact) == True;
  • Global.matchStatus == 0;
  • }
  • actions
  • {
  • Global.mode = 1;
  • Global.x = 1;
  • Global.STREAKS = True;
  • Big Message(All Players(All Teams), Custom String("To form a Team, you have to punch each other! 10 seconds left!"));
  • Wait(5, Ignore Condition);
  • Big Message(All Players(All Teams), Custom String("5 seconds left!"));
  • Wait(5, Ignore Condition);
  • Big Message(All Players(All Teams), Custom String("Teams have been made"));
  • Global.STREAKS = False;
  • }
  • }
  • rule("Menuitem Score remove 10")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Distance Between(Host Player, Global.menuArrayVector[3]) <= Global.menuSize + 2;
  • Is Button Held(Host Player, Interact) == True;
  • Global.matchStatus == 0;
  • }
  • actions
  • {
  • Global.scoreType = Global.scoreType - 10;
  • Small Message(Host Player, String("{0}: {1}", Custom String("Success ScoreType"), Global.scoreType));
  • Global.CROWD = Global.CROWD - 10;
  • Small Message(Host Player, String("{0}: {1}", Custom String("Success ScoreType"), Global.CROWD));
  • }
  • }
  • rule("Menuitem Score add 10")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Distance Between(Host Player, Global.menuArrayVector[4]) <= Global.menuSize + 2;
  • Is Button Held(Host Player, Interact) == True;
  • Global.matchStatus == 0;
  • }
  • actions
  • {
  • Global.scoreType = Global.scoreType + 10;
  • Small Message(Host Player, String("{0}: {1}", Custom String("Success ScoreType"), Global.scoreType));
  • Global.CROWD = Global.CROWD + 10;
  • Small Message(Host Player, String("{0}: {1}", Custom String("Success ScoreType"), Global.CROWD));
  • }
  • }
  • rule("Menuitem Score Infinite")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Distance Between(Host Player, Global.menuArrayVector[5]) <= Global.menuSize + 2;
  • Is Button Held(Host Player, Interact) == True;
  • Global.matchStatus == 0;
  • }
  • actions
  • {
  • Global.scoreType = 0;
  • Small Message(Host Player, String("{0}: {1}", Custom String("Success ScoreType"), Global.scoreType));
  • Global.CROWD = 0;
  • Small Message(Host Player, String("{0}: {1}", Custom String("Success ScoreType"), Global.CROWD));
  • }
  • }
  • rule("Circle Spawning")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.circleSpawning == True;
  • }
  • actions
  • {
  • Teleport(Event Player, Vector(X Component Of(Global.gameArrayVector[0]) + 8 * Cosine From Degrees((Index Of Array Value(
  • All Players(All Teams), Event Player) + Global.totalRounds) * (360 / Number of Players(All Teams))), Y Component Of(
  • Global.gameArrayVector[0]), Z Component Of(Global.gameArrayVector[0]) + 8 * Sine From Degrees((Index Of Array Value(
  • All Players(All Teams), Event Player) + Global.totalRounds) * (360 / Number of Players(All Teams)))));
  • }
  • }
  • disabled rule("### Kill Players out of Range ###")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Kill Player out of Sphere 1 (All Maps)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • Ana;
  • }
  • conditions
  • {
  • Distance Between(Event Player, Global.gameArrayVector[0]) >= Global.gameArrayOfRadii[0];
  • Is Using Ultimate(Event Player) == False;
  • Global.cornerSpawning == False;
  • }
  • actions
  • {
  • Wait(0.100, Abort When False);
  • Kill(Event Player, Event Player.killer);
  • }
  • }
  • rule("Kill Player inside Sphere 2 (King's Row)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • Ana;
  • }
  • conditions
  • {
  • Distance Between(Event Player, Global.gameArrayVector[1]) <= Global.gameArrayOfRadii[1];
  • (Current Map == Map(King's Row) || Current Map == Map(King's Row Winter)) == True;
  • }
  • actions
  • {
  • Wait(0.100, Abort When False);
  • Kill(Event Player, Event Player.killer);
  • }
  • }
  • rule("Kill Player when on invi platform (King's Row)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Y Component Of(Position Of(Event Player)) <= 37.510;
  • Y Component Of(Position Of(Event Player)) >= 36.510;
  • Is Alive(Event Player) == True;
  • (Current Map == Map(King's Row) || Current Map == Map(King's Row Winter)) == True;
  • Global.cornerSpawning == False;
  • Is Using Ultimate(Event Player) == False;
  • }
  • actions
  • {
  • Wait(2, Abort When False);
  • Wait(1, Abort When False);
  • Big Message(Event Player, String("Not Today"));
  • Kill(Event Player, Event Player.killer);
  • }
  • }
  • rule("Kill Player when below map height for more than 5 seconds (All maps)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Y Component Of(Position Of(Event Player)) <= Global.mapHeight;
  • Is Alive(Event Player) == True;
  • Global.cornerSpawning == False;
  • Is Using Ultimate(Event Player) == False;
  • }
  • actions
  • {
  • disabled Wait(2, Abort When False);
  • Big Message(Event Player, Custom String("Get back to platform or die"));
  • Wait(2, Abort When False);
  • Kill(Event Player, Event Player.killer);
  • }
  • }
  • rule("Kill Player when not involved in Round")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • Ana;
  • }
  • conditions
  • {
  • Event Player.active == False;
  • Global.matchStatus == 1;
  • Is Alive(Event Player) == True;
  • }
  • actions
  • {
  • Wait(0.100, Abort When False);
  • Kill(Event Player, Null);
  • Disable Built-In Game Mode Respawning(Event Player);
  • Enable Death Spectate All Players(Event Player);
  • Enable Death Spectate Target HUD(Event Player);
  • }
  • }
  • rule("Events when player dies and active")
  • {
  • event
  • {
  • Player Died;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.active == True;
  • }
  • actions
  • {
  • Create Effect(All Players(All Teams), Bad Aura, Orange, Position Of(Event Player), 1, Visible To);
  • Event Player.deathEffect = Last Created Entity;
  • Event Player.active = False;
  • Wait(2, Ignore Condition);
  • Destroy Effect(Event Player.deathEffect);
  • Event Player.deathEffect = Null;
  • Disable Built-In Game Mode Respawning(Event Player);
  • Enable Death Spectate All Players(Event Player);
  • Enable Death Spectate Target HUD(Event Player);
  • }
  • }
  • rule("Kill Counter")
  • {
  • event
  • {
  • Player Earned Elimination;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.matchStatus == 1;
  • }
  • actions
  • {
  • Event Player.kills += 1;
  • }
  • }
  • disabled rule("### Scoring ###")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("When Score below 0 -> set 0")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.scoreType < 0;
  • Global.CROWD < 0;
  • }
  • actions
  • {
  • Global.scoreType = 0;
  • Global.CROWD = 0;
  • }
  • }
  • rule("After Round calculate Skill rating (Infinite Match)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.matchStatus == 2;
  • Global.scoreType == 0;
  • Global.CROWD == 0;
  • Global.initiatedStart == False;
  • }
  • actions
  • {
  • Event Player.score = Event Player.roundsWon / Event Player.roundsPlayed * 100;
  • Set Player Score(Event Player, Event Player.score);
  • Event Player.GOLD = Event Player.roundsWon / Event Player.roundsPlayed * 100;
  • Set Player Score(Event Player, Event Player.GOLD);
  • }
  • }
  • rule("After Round set Scoring (limited Points)")
  • disabled rule("After Round set Scoring (limited Points)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.matchStatus == 2;
  • Global.scoreType > 0;
  • Global.CROWD > 0;
  • Global.initiatedStart == False;
  • }
  • actions
  • {
  • Set Player Score(Event Player, Event Player.roundsWon);
  • }
  • }
  • rule("Declare win (limited Points)")
  • disabled rule("Declare win (limited Points)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.scoreType > 0;
  • Event Player.roundsWon >= Global.scoreType;
  • Global.CROWD > 0;
  • Event Player.roundsWon >= Global.CROWD;
  • }
  • actions
  • {
  • Declare Player Victory(Event Player);
  • }
  • }
  • disabled rule("### Doomfist Modifications ###")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • disabled rule("Seismic Slam: stun for 2 secs")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Using Ability 2(Attacker) == True;
  • Attacker.teammate != Victim;
  • }
  • actions
  • {
  • Set Status(Victim, Null, Stunned, 2);
  • }
  • }
  • disabled rule("Ultimate Ability: knockdown for 3 secs")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Using Ultimate(Attacker) == True;
  • Attacker.teammate != Victim;
  • }
  • actions
  • {
  • Set Status(Victim, Null, Knocked Down, 3);
  • }
  • }
  • rule("Register last PlayerDealtDamage as Killer")
  • {
  • event
  • {
  • Player Took Damage;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • }
  • actions
  • {
  • Event Player.killer = Null;
  • Wait(0.010, Ignore Condition);
  • Event Player.killer = Attacker;
  • }
  • }
  • rule("Decay Killer status after 5 secs")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.killer != Null;
  • Is Game In Progress == True;
  • Global.STREAKS == False;
  • }
  • actions
  • {
  • Wait(5, Abort When False);
  • Event Player.killer = Null;
  • }
  • }
  • disabled rule("### Custom Team Mode ###")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • disabled rule("Activate customTeamMode (Ability 1 + Interact)")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Button Held(Host Player, Ability 1) == True;
  • Is Button Held(Host Player, Interact) == True;
  • Global.mode == 1;
  • Global.x == 1;
  • Global.customTeamMode == False;
  • }
  • actions
  • {
  • Global.customTeamMode = True;
  • Small Message(Host Player, Custom String("Custom Team Mode active! Select first Player"));
  • Set Status(Host Player, Null, Phased Out, 9999);
  • Create In-World Text(All Players(All Teams), Custom String("IN MENU UNKILLABLE"), Host Player, 1, Clip Against Surfaces,
  • Visible To Position and String, Red, Default Visibility);
  • Global.inMenuText = Last Text ID;
  • }
  • }
  • disabled rule("Cycle Tempplayer forward (Mouse1)")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Button Held(Host Player, Primary Fire) == True;
  • Global.customTeamMode == True;
  • Index Of Array Value(All Players(All Teams), Global.tempplayer) < Count Of(All Players(All Teams)) - 1;
  • }
  • actions
  • {
  • Global.tempplayer = All Players(All Teams)[Index Of Array Value(All Players(All Teams), Global.tempplayer) + 1];
  • Small Message(Host Player, String("{0} {1}", Global.tempplayer, Custom String("selected")));
  • }
  • }
  • disabled rule("Cycle Tempplayer backward (Mouse2)")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Button Held(Host Player, Secondary Fire) == True;
  • Global.customTeamMode == True;
  • Index Of Array Value(All Players(All Teams), Global.tempplayer) > 0;
  • }
  • actions
  • {
  • Global.tempplayer = All Players(All Teams)[Index Of Array Value(All Players(All Teams), Global.tempplayer) - 1];
  • Small Message(Host Player, String("{0} {1}", Global.tempplayer, Custom String("selected")));
  • }
  • }
  • disabled rule("Confirm Player add to Team")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Button Held(Host Player, Ability 2) == True;
  • Is Button Held(Host Player, Interact) == True;
  • Global.customTeamMode == True;
  • Global.tempplayer != Null;
  • Count Of(Global.customTeam) < 2;
  • Array Contains(Global.customTeam, Global.tempplayer) == False;
  • }
  • actions
  • {
  • Modify Global Variable(customTeam, Append To Array, Global.tempplayer);
  • Small Message(Host Player, String("{0} {1}", Global.tempplayer, Custom String(" Added")));
  • Wait(0.016, Ignore Condition);
  • Global.tempplayer = Null;
  • }
  • }
  • disabled rule("Create Team when 2 Players confirmed")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.customTeamMode == True;
  • Count Of(Global.customTeam) == 2;
  • }
  • actions
  • {
  • Global.customTeam[0].teammate = Global.customTeam[1];
  • Global.customTeam[1].teammate = Global.customTeam[0];
  • Small Message(Host Player, String("{0} {1}", String("{0} and {1}", Global.customTeam[0], Global.customTeam[1]), Custom String(
  • " are in a Team")));
  • Wait(0.016, Ignore Condition);
  • Global.customTeamMode = False;
  • Global.customTeam = Empty Array;
  • Global.tempplayer = Null;
  • Clear Status(Host Player, Phased Out);
  • Destroy In-World Text(Global.inMenuText);
  • }
  • }
  • rule("Rule 82")
  • {
  • event
  • {
  • Player Received Healing;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Using Ability 2(Event Player) == True;
  • }
  • actions
  • {
  • Apply Impulse(Event Player, Event Direction, -15, To World, Cancel Contrary Motion);
  • }
  • }
  • rule("========================================= BOT CONTROLS =========================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Bots Move Toward Players")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Dummy Bot(Event Player) == True;
  • }
  • actions
  • {
  • Start Forcing Throttle(Event Player, 1, 1, 0, 1, 0, 1);
  • }
  • }
  • rule("Bots Attack if Near")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Players Within Radius(Event Player, 7, All Teams, Off) == True;
  • Is Dummy Bot(Event Player) == True;
  • }
  • actions
  • {
  • Wait(1.500, Ignore Condition);
  • Start Holding Button(Event Player, Primary Fire);
  • }
  • }
  • rule("Bots Face Nearest Player")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Dummy Bot(Event Player) == True;
  • }
  • actions
  • {
  • Start Facing(Event Player, Direction Towards(Event Player, Closest Player To(Event Player, All Teams)), 400, To World,
  • Direction and Turn Rate);
  • }
  • }
  • rule("BOTS USE ULT")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Dummy Bot(Event Player) == True;
  • Ultimate Charge Percent(Event Player) == True;
  • }
  • actions
  • {
  • Start Holding Button(Event Player, Ultimate);
  • }
  • }
  • rule("FILLER BOTS")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • }
  • actions
  • {
  • Create Dummy Bot(Hero(Ana), All Teams, 11, Vector(0, 0, 0), Vector(0, 0, 0));
  • Create Dummy Bot(Hero(Ashe), All Teams, 12, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Zenyatta), All Teams, -1, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ana), All Teams, 6, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ashe), All Teams, 7, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Zenyatta), All Teams, 8, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ana), All Teams, 9, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ashe), All Teams, 10, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Zenyatta), All Teams, 11, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ana), All Teams, 12, Vector(0, 0, 0), Vector(0, 0, 0));
  • }
  • }
  • disabled rule("BOT SLOW")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Dummy Bot(Event Player) == True;
  • }
  • actions
  • {
  • Set Projectile Speed(Event Player, 15);
  • Set Move Speed(Event Player, 70);
  • }
  • }
  • disabled rule("BOT ADD LEAVE 12")
  • {
  • event
  • {
  • Player Left Match;
  • All;
  • All;
  • }
  • conditions
  • {
  • Number of Players(All Teams) <= 11;
  • }
  • actions
  • {
  • Create Dummy Bot(Hero(Ashe), All Teams, 12, Vector(0, 0, 0), Vector(0, 0, 0));
  • }
  • }
  • disabled rule("BOT ADD LEAVE 11")
  • {
  • event
  • {
  • Player Left Match;
  • All;
  • All;
  • }
  • conditions
  • {
  • Number of Players(All Teams) <= 10;
  • }
  • actions
  • {
  • Create Dummy Bot(Hero(Ashe), All Teams, 11, Vector(0, 0, 0), Vector(0, 0, 0));
  • }
  • }
  • disabled rule("BOT ADD LEAVE 10")
  • {
  • event
  • {
  • Player Left Match;
  • All;
  • All;
  • }
  • conditions
  • {
  • Number of Players(All Teams) <= 9;
  • }
  • actions
  • {
  • Create Dummy Bot(Hero(Ashe), All Teams, 10, Vector(0, 0, 0), Vector(0, 0, 0));
  • }
  • }
  • rule("========================================== ROUND EVENTS ====================================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("STREAK MESSAGES")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS DOMINATING"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("CANT STOP WONT STOP"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS EZ CLAPPIN"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("KNOWS NO MERCY"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("THE DESTROYER OF NOOBS"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("SMASHED YOUR MOMS"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS LITERALLY A GOD"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS UNKILLABLE"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("SMASHED YOUR MOMS"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS GETTING THAT BREAD"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS PAPA JEFF"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS A SMURF"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("HAS NO CHILL"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("NEEDS A CHILL PILL"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS SATAN HIMSELF"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS DOMINATING"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS SMASHING NOOBS"));
  • }
  • }
  • rule("5 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 5;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("5K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("10 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 10;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("10K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("15 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 15;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("15K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("30 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 30;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("30K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("45 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 45;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("45K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("60 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 60;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("60K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("80 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 80;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("80K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("100 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 100;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("100K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("120 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 120;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("120K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("140 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 140;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("140K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("200 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 200;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("200K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • }
  • }
  • rule("STREAK MESSAGES")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS DOMINATING"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("CANT STOP WONT STOP"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS EZ CLAPPIN"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("KNOWS NO MERCY"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("THE DESTROYER OF NOOBS"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("SMASHED YOUR MOMS"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS LITERALLY A GOD"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS UNKILLABLE"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("SMASHED YOUR MOMS"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS GETTING THAT BREAD"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS PAPA JEFF"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS A SMURF"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("HAS NO CHILL"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("NEEDS A CHILL PILL"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS SATAN HIMSELF"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS DOMINATING"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS SMASHING NOOBS"));
  • }
  • }
  • rule("===============================================PENGUIN FLY EDIT=================================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("HUD")
  • rule("NORMAL HUD")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • }
  • actions
  • {
  • Destroy HUD Text(Last Text ID);
  • Create HUD Text(All Players(All Teams), Custom String("SAY \"HELLO\" WITH DOOM ULT = DVA BOMB"), Null, Null, Right, 1, Green,
  • Green, Green, Visible To and String, Default Visibility);
  • Create HUD Text(All Players(All Teams), Custom String("GUN & NADE DOES KNOCKBACK"), Null, Null, Right, 2, Sky Blue, Sky Blue,
  • Sky Blue, Visible To and String, Default Visibility);
  • Create HUD Text(All Players(All Teams), Custom String("MELEE = KNOCKBACK"), Null, Null, Right, 3, Sky Blue, Sky Blue, Sky Blue,
  • Create HUD Text(All Players(All Teams), Custom String("1ST ULT=ANA // 2ND ULT=GENJI // 3RD ULT=DOOM"), Null, Null, Top, 2,
  • Turquoise, Turquoise, Turquoise, Visible To and String, Default Visibility);
  • Create HUD Text(All Players(All Teams), Custom String("IF POWER=5000 EVERYONE BECOMES DOOM"), Null, Null, Right, -4, Red, Red, Red,
  • Visible To and String, Default Visibility);
  • Create HUD Text(All Players(All Teams), Custom String("1ST ULT=ANA // 2ND ULT=GENJI // 3RD ULT=DOOM"), Null, Null, Top, 2, Red,
  • Red, Red, Visible To and String, Default Visibility);
  • disabled Create HUD Text(All Players(All Teams), Custom String("SECOND ULT: BECOME DOOM "), Null, Null, Right, 1, Red, Red, Red,
  • disabled Create HUD Text(All Players(All Teams), Custom String("KILLING = SPEEDS UP GLOBAL POWER"), Null, Null, Right, 3, Purple, Purple,
  • Purple, Visible To and String, Default Visibility);
  • Create HUD Text(All Players(All Teams), Custom String("\"HELLO\" WITH DOOM ULT = DVA BOMB"), Null, Null, Right, -3, Purple, Purple,
  • Purple, Visible To and String, Default Visibility);
  • Create HUD Text(All Players(All Teams), Custom String("\"GROUP UP\"=BUY SIGMA ULT 1500G"), Null, Null, Right, -2, Purple, Purple,
  • Purple, Visible To and String, Default Visibility);
  • Create HUD Text(All Players(All Teams), Custom String("\"THANKS\" = BUY DOOM 1500G"), Null, Null, Right, -1, Purple, Purple,
  • Purple, Visible To and String, Default Visibility);
  • Create HUD Text(All Players(All Teams), Custom String("EVERYTHING = KNOCKBACK"), Null, Null, Right, 0, Purple, Purple, Purple,
  • Visible To and String, Default Visibility);
  • Create HUD Text(All Players(All Teams), Custom String("made by: penguinfly"), Null, Null, Right, 4, Red, Red, Red,
  • Create HUD Text(All Players(All Teams), Custom String("made by: penguinfly"), Null, Null, Right, 7, Red, Red, Red,
  • Visible To and String, Default Visibility);
  • disabled Create HUD Text(All Players(All Teams), Custom String("SECOND ULT: BECOME DOOM "), Null, Null, Right, 1, Red, Red, Red,
  • Visible To and String, Default Visibility);
  • disabled Create HUD Text(All Players(All Teams), Custom String("EMOTE FOR 5 SEC: FREE DVA BOMB"), Null, Null, Left, 0, Purple, Purple,
  • Purple, Visible To and String, Default Visibility);
  • }
  • }
  • rule("FFA")
  • {
  • event
  • {
  • Player Died;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • }
  • actions
  • {
  • Big Message(Event Player, Custom String("USE ULT TO EVOLVE!!"));
  • Big Message(Event Player, Custom String("ULT TO EVOLVE!!"));
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(Zenyatta));
  • Wait(1, Ignore Condition);
  • Resurrect(Event Player);
  • Teleport(Event Player, Vector(-21.063, 40.438, -72.686));
  • Wait(1, Ignore Condition);
  • Communicate(Event Player, Hello);
  • }
  • }
  • rule("GOODBYE voiceline")
  • {
  • event
  • {
  • Player Earned Elimination;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • }
  • actions
  • {
  • Communicate(Event Player, Goodbye);
  • }
  • }
  • disabled rule("Start Round and Ressurect")
  • rule("LOBBY FULL ALL DOOM")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.matchStatus == 2;
  • Global.initiatedStart == False;
  • Number of Players(All Teams) == 12;
  • }
  • actions
  • {
  • Global.initiatedStart = True;
  • All Players(All Teams).active = True;
  • Global.oneVoneMode = True;
  • All Players(All Teams).roundsPlayed += 1;
  • Global.totalRounds += 1;
  • Wait(0.010, Ignore Condition);
  • Global.oneVoneMode = False;
  • Global.circleSpawning = True;
  • Resurrect(All Players(All Teams));
  • Set Gravity(All Players(All Teams), 100);
  • Communicate(All Players(All Teams), Countdown);
  • Clear Status(All Players(All Teams), Phased Out);
  • Wait(0.250, Ignore Condition);
  • Big Message(All Players(All Teams), Custom String("READ YOUR ABILITIES, TOP RIGHT!!"));
  • Stop Holding Button(All Players(All Teams), Jump);
  • Stop Forcing Player To Be Hero(All Players(All Teams));
  • Start Forcing Player To Be Hero(All Players(All Teams), Hero(Zenyatta));
  • disabled Start Forcing Player To Be Hero(Players On Hero(Hero(Doomfist), All Teams), Hero(Doomfist));
  • Set Status(All Players(All Teams), Null, Rooted, 2.800);
  • Set Status(All Players(All Teams), Null, Frozen, 2.800);
  • Wait(1, Ignore Condition);
  • disabled Big Message(All Players(All Teams), Custom String("GO!!"));
  • Global.matchStatus = 1;
  • Global.initiatedStart = False;
  • Wait(3, Ignore Condition);
  • Global.circleSpawning = False;
  • Communicate(All Players(All Teams), Hello);
  • }
  • }
  • disabled rule("End Round Mode FINAL")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Number of Living Players(All Teams) <= 1;
  • Number of Dead Players(All Teams) >= 1;
  • Global.matchStatus == 1;
  • Global.initiatedStart == False;
  • Global.mode == 0;
  • }
  • actions
  • {
  • Wait(0.100, Abort When False);
  • All Living Players(All Teams).roundsWon += 1;
  • Big Message(All Players(All Teams), String("{0} {1}", All Living Players(All Teams), String("Wins")));
  • Set Ultimate Charge(All Players(All Teams), 0);
  • Wait(2.800, Ignore Condition);
  • Global.matchStatus = Global.nextMatchStatus;
  • Set Match Time(900);
  • Start Forcing Player To Be Hero(All Players(All Teams), Hero(Doomfist));
  • Big Message(All Players(All Teams), Custom String("FULL LOBBY!! ONE FREE DOOM!!"));
  • }
  • }
  • rule("=========================================== ANA ABILITIES ==================================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("ANA NADE")
  • {
  • event
  • {
  • Player Dealt Healing;
  • All;
  • Ana;
  • }
  • conditions
  • {
  • Healer == Healee;
  • Is Using Ability 2(Event Player) == True;
  • }
  • actions
  • {
  • Apply Impulse(Event Player, Up, 7, To World, Cancel Contrary Motion);
  • Wait(0.030, Ignore Condition);
  • Apply Impulse(Event Player, Facing Direction Of(Event Player), -15, To World, Incorporate Contrary Motion);
  • }
  • }
  • rule("ANA SELF DMG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • Ana;
  • }
  • conditions
  • {
  • Health(Players On Hero(Hero(Ana), All Teams)) == 1000;
  • }
  • actions
  • {
  • Set Player Health(Players On Hero(Hero(Ana), All Teams), 999);
  • }
  • }
  • rule("ANA PRIMARY KNOCKBACK")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • Ana;
  • }
  • conditions
  • {
  • Button(Primary Fire) == True;
  • }
  • actions
  • {
  • disabled Set Status(Victim, Null, Invincible, 0.250);
  • disabled Stop All Damage Over Time(Victim);
  • Set Gravity(Victim, 0);
  • Apply Impulse(Victim, Up, 4, To World, Cancel Contrary Motion);
  • Apply Impulse(Victim, Facing Direction Of(Event Player), 30, To World, Incorporate Contrary Motion);
  • Set Gravity(Victim, 30);
  • Wait(0.250, Ignore Condition);
  • Set Gravity(Victim, 100);
  • Wait(0.850, Ignore Condition);
  • disabled Disallow Button(Event Player, Ability 2);
  • disabled Allow Button(Event Player, Ability 2);
  • disabled Abort If Condition Is False;
  • }
  • }
  • rule("ANA NADE EFFECT ENEMY")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Using Ability 2(Event Player) == True;
  • }
  • actions
  • {
  • Apply Impulse(Victim, Up, 5.500, To World, Cancel Contrary Motion);
  • Apply Impulse(Victim, Facing Direction Of(Event Player), 8, To World, Incorporate Contrary Motion);
  • Apply Impulse(Victim, Facing Direction Of(Event Player), 10, To World, Incorporate Contrary Motion);
  • Wait(0.850, Ignore Condition);
  • }
  • }
  • rule("ANA SLEEP EFFECT & SHORTEN")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • Ana;
  • }
  • conditions
  • {
  • Is Using Ability 1(Event Player) == True;
  • }
  • actions
  • {
  • Play Effect(All Players(All Teams), Ring Explosion, Purple, Victim, 10);
  • Play Effect(All Players(All Teams), Good Explosion, Purple, Victim, 2);
  • Play Effect(All Players(All Teams), Buff Impact Sound, White, Victim, 150);
  • Wait(2.500, Ignore Condition);
  • Clear Status(Victim, Asleep);
  • }
  • }
  • rule("ANA MELEE STUNS")
  • rule("MELEE STUNS")
  • {
  • event
  • {
  • Player Dealt Knockback;
  • All;
  • Ana;
  • All;
  • }
  • conditions
  • {
  • Is Meleeing(Event Player) == True;
  • }
  • actions
  • {
  • Set Status(Victim, Null, Stunned, 0.750);
  • Set Status(Victim, Null, Stunned, 0.400);
  • }
  • }
  • rule("NADE = 999")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • Ana;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Ability 2) == True;
  • }
  • actions
  • {
  • Set Player Health(Event Player, 999);
  • }
  • }
  • rule("============================================== DOOM ABILTIES ===============================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("METEOR STUNS")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • Doomfist;
  • }
  • conditions
  • {
  • Is Using Ultimate(Event Player) == True;
  • }
  • actions
  • {
  • Set Status(Victim, Null, Knocked Down, 1.500);
  • Set Primary Fire Enabled(Event Player, True);
  • }
  • }
  • rule("MELEE BOOP DOOM")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • Doomfist;
  • }
  • conditions
  • {
  • Is Firing Primary(Event Player) == True;
  • }
  • actions
  • {
  • Set Gravity(Victim, 0);
  • Apply Impulse(Victim, Up, 5.500, To World, Incorporate Contrary Motion);
  • Apply Impulse(Victim, Facing Direction Of(Event Player), 25, To World, Incorporate Contrary Motion);
  • Wait(0.250, Ignore Condition);
  • Set Gravity(Victim, 100);
  • }
  • }
  • rule("SLAM STUNS")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • Doomfist;
  • }
  • conditions
  • {
  • Is Using Ability 2(Event Player) == True;
  • }
  • actions
  • {
  • Set Status(Victim, Null, Stunned, 2);
  • Play Effect(All Players(All Teams), Bad Explosion, Red, Victim, 2);
  • Play Effect(All Players(All Teams), Ring Explosion, Red, Victim, 7);
  • Play Effect(All Players(All Teams), Buff Impact Sound, White, Victim, 100);
  • }
  • }
  • rule("=============================================== ZEN ABILITIES ===============================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("ZEN SHOOTS")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • Zenyatta;
  • }
  • conditions
  • {
  • Button(Primary Fire) == True;
  • }
  • actions
  • {
  • disabled Set Status(Victim, Null, Invincible, 0.250);
  • disabled Stop All Damage Over Time(Victim);
  • disabled Set Gravity(Victim, 0);
  • Apply Impulse(Victim, Up, 3, To World, Cancel Contrary Motion);
  • Apply Impulse(Victim, Facing Direction Of(Event Player), 25, To World, Incorporate Contrary Motion);
  • disabled Set Gravity(Victim, 30);
  • Wait(0.200, Ignore Condition);
  • disabled Set Gravity(Victim, 100);
  • disabled Wait(0.850, Ignore Condition);
  • }
  • }
  • rule("=============================================== GENJI ABILITIES ===============================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("GENJI SHURIKEN")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • Genji;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • }
  • actions
  • {
  • disabled Set Status(Victim, Null, Invincible, 0.250);
  • disabled Stop All Damage Over Time(Victim);
  • disabled Set Gravity(Victim, 0);
  • Apply Impulse(Victim, Up, 4, To World, Cancel Contrary Motion);
  • Apply Impulse(Victim, Facing Direction Of(Event Player), 25, To World, Incorporate Contrary Motion);
  • disabled Set Gravity(Victim, 30);
  • disabled Wait(0.200, Ignore Condition);
  • disabled Set Gravity(Victim, 100);
  • disabled Wait(0.850, Ignore Condition);
  • }
  • }
  • rule("=============================================== ULT EVENTS ===============================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("\"EVOLUTION READY\"")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Ultimate Charge Percent(Event Player) == 100;
  • }
  • actions
  • {
  • Big Message(Event Player, Custom String("EVOLUTION READY"));
  • }
  • }
  • rule("FIRST ULT TURNS TO ANA")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • Zenyatta;
  • }
  • conditions
  • {
  • Is Using Ultimate(Event Player) == True;
  • }
  • actions
  • {
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(Ana));
  • Play Effect(All Players(All Teams), Ring Explosion, Red, Event Player, 15);
  • Play Effect(All Players(All Teams), Bad Explosion, White, Event Player, 200);
  • }
  • }
  • rule("SECOND ULT TURNS TO GENJI")
  • rule("SECOND ULT TURNS TO GENJI")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • Ana;
  • }
  • conditions
  • {
  • Is Using Ultimate(Event Player) == True;
  • }
  • actions
  • {
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(Genji));
  • Play Effect(All Players(All Teams), Ring Explosion, Red, Event Player, 15);
  • Play Effect(All Players(All Teams), Bad Explosion, White, Event Player, 200);
  • }
  • }
  • rule("THIR ULTIMATE TURNS TO DOOM")
  • rule("THIRD ULT TURNS TO DOOM")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • Genji;
  • }
  • conditions
  • {
  • Is Using Ultimate(Event Player) == True;
  • }
  • actions
  • {
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(Doomfist));
  • Play Effect(All Players(All Teams), Ring Explosion, Red, Event Player, 15);
  • Play Effect(All Players(All Teams), Bad Explosion, White, Event Player, 200);
  • }
  • }
  • rule("========================================= BOT CONTROLS =========================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Bots Move Toward Players")
  • rule("=============================================== COMMUNICATE ================================================")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • Doomfist;
  • }
  • conditions
  • {
  • Is Dummy Bot(Event Player) == True;
  • Is Communicating(Event Player, Hello) == True;
  • Ultimate Charge Percent(Event Player) == 100;
  • }
  • actions
  • {
  • Start Forcing Throttle(Event Player, 1, 1, 0, 1, 0, 1);
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(D.Va));
  • Wait(1.100, Ignore Condition);
  • Press Button(Event Player, Ultimate);
  • }
  • }
  • rule("Bots Attack if Near")
  • rule("THANKS")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Players Within Radius(Event Player, 7, All Teams, Off) == True;
  • Is Dummy Bot(Event Player) == True;
  • Is Communicating(Event Player, Thanks) == True;
  • Event Player.GOLD >= 1500;
  • }
  • actions
  • {
  • Wait(1.500, Ignore Condition);
  • Start Holding Button(Event Player, Primary Fire);
  • Stop Forcing Player To Be Hero(All Players(All Teams));
  • Start Forcing Player To Be Hero(All Players(All Teams), Hero(Doomfist));
  • Event Player.GOLD -= 1500;
  • }
  • }
  • rule("Bots Face Nearest Player")
  • rule("EMOTE")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Dummy Bot(Event Player) == True;
  • Is Communicating Any Emote(Event Player) == True;
  • }
  • actions
  • {
  • Start Facing(Event Player, Direction Towards(Event Player, Closest Player To(Event Player, All Teams)), 400, To World,
  • Direction and Turn Rate);
  • Wait(5, Ignore Condition);
  • Abort If Condition Is False;
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(D.Va));
  • }
  • }
  • rule("BOTS USE ULT")
  • rule("HELLO ULT DOING")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • D.Va;
  • }
  • conditions
  • {
  • Is Dummy Bot(Event Player) == True;
  • Ultimate Charge Percent(Event Player) == True;
  • Is Hero Being Played(Hero(D.Va), All Teams) == True;
  • }
  • actions
  • {
  • Wait(5.600, Ignore Condition);
  • Press Button(Event Player, Ultimate);
  • Start Holding Button(Event Player, Ultimate);
  • Wait(3.200, Ignore Condition);
  • Set Slow Motion(30);
  • Wait(0.800, Ignore Condition);
  • Set Slow Motion(100);
  • Stop Holding Button(Event Player, Ultimate);
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(Ana));
  • }
  • }
  • rule("FILLER BOTS")
  • rule("HELLO DVA ULT KNOCKDOWN")
  • {
  • event
  • {
  • Ongoing - Global;
  • Player Dealt Damage;
  • All;
  • D.Va;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • Is Using Ultimate(Event Player) == True;
  • }
  • actions
  • {
  • Create Dummy Bot(Hero(Ana), All Teams, -1, Vector(0, 0, 0), Vector(0, 0, 0));
  • Create Dummy Bot(Hero(Ashe), All Teams, -1, Vector(0, 0, 0), Vector(0, 0, 0));
  • Create Dummy Bot(Hero(Zenyatta), All Teams, -1, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ana), All Teams, 6, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ashe), All Teams, 7, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Zenyatta), All Teams, 8, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ana), All Teams, 9, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ashe), All Teams, 10, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Zenyatta), All Teams, 11, Vector(0, 0, 0), Vector(0, 0, 0));
  • disabled Create Dummy Bot(Hero(Ana), All Teams, 12, Vector(0, 0, 0), Vector(0, 0, 0));
  • Set Status(Victim, Null, Knocked Down, 1.500);
  • }
  • }
  • rule("BOT SLOW")
  • rule("HELLO ULT")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • Doomfist;
  • }
  • conditions
  • {
  • Is Dummy Bot(Event Player) == True;
  • Ultimate Charge Percent(Event Player) == 100;
  • Is Communicating(Event Player, Hello) == True;
  • }
  • actions
  • {
  • Set Projectile Speed(Event Player, 15);
  • Set Move Speed(Event Player, 70);
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(D.Va));
  • }
  • }
  • rule("BOT ADD LEAVE")
  • rule("GROUP UP")
  • {
  • event
  • {
  • Player Left Match;
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Players In Slot(-1, All Teams) == False;
  • Is Communicating(Event Player, Group Up) == True;
  • Event Player.GOLD >= 1500;
  • }
  • actions
  • {
  • Create Dummy Bot(Hero(Ana), All Teams, -1, Vector(0, 0, 0), Vector(0, 0, 0));
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(Sigma));
  • Event Player.GOLD -= 1500;
  • }
  • }
  • rule("========================================== ROUND EVENTS ====================================================")
  • rule("=============================================== GOLD MECHANICS ================================================")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("STREAK MESSAGES")
  • rule("GOLD = 0")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS DOMINATING"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("CANT STOP WONT STOP"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS EZ CLAPPIN"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("KNOWS NO MERCY"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("THE DESTROYER OF NOOBS"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("SMASHED YOUR MOMS"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS LITERALLY A GOD"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS UNKILLABLE"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("SMASHED YOUR MOMS"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS GETTING THAT BREAD"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS PAPA JEFF"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS A SMURF"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("HAS NO CHILL"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("NEEDS A CHILL PILL"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS SATAN HIMSELF"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS DOMINATING"));
  • Modify Global Variable(STREAKS, Append To Array, Custom String("IS SMASHING NOOBS"));
  • }
  • }
  • rule("15 kill MSG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 15;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("15K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • All Players(All Teams).GOLD = 0;
  • }
  • }
  • rule("30 kill MSG")
  • rule("GOLD HUD")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 30;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("30K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • Create HUD Text(Event Player, Custom String("POWER: {0} ", Global.CROWD), Null, Null, Right, 8, Red, Red, Red,
  • Visible To and String, Default Visibility);
  • Create HUD Text(Event Player, Custom String("GOLD: {0}", Event Player.GOLD), Null, Null, Right, 9, Yellow, Yellow, Yellow,
  • Visible To and String, Default Visibility);
  • }
  • }
  • rule("45 kill MSG")
  • rule("KILL MONEY")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Player Dealt Final Blow;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 45;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("45K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • Small Message(Event Player, Custom String("KILLED {0} + 150G", Victim));
  • Event Player.GOLD += 150;
  • }
  • }
  • rule("60 kill MSG")
  • disabled rule("CROWD FUND FILLING")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 60;
  • Is Communicating(Event Player, Group Up) == True;
  • Event Player.GOLD >= 200;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("60K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • Global.CROWD += 200;
  • Event Player.GOLD -= 200;
  • Small Message(All Players(All Teams), Custom String("{0} Donated 200G to crowd fund", Event Player));
  • }
  • }
  • rule("80 kill MSG")
  • rule("CROWD FUND COMPLETED")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Event Player.KILL == 80;
  • Global.CROWD >= 5000;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("80K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • Global.CROWD = 0;
  • Stop Forcing Player To Be Hero(All Players(All Teams));
  • Start Forcing Player To Be Hero(All Players(All Teams), Hero(Doomfist));
  • Big Message(All Players(All Teams), Custom String("GLOBAL POWER FILLED!!"));
  • Big Message(All Players(All Teams), Custom String("EVERYONE IS DOOM!!"));
  • }
  • }
  • rule("100 kill MSG")
  • rule("CROWD FUND RANDOM FILL")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Event Player.KILL == 100;
  • Global.CROWD == 0;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("100K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • Chase Global Variable Over Time(CROWD, 5000, 260, Destination and Duration);
  • }
  • }
  • rule("120 kill MSG")
  • rule("SIGMA ULT TRANSFORMATION")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • Zenyatta;
  • }
  • conditions
  • {
  • Event Player.KILL == 120;
  • Is Button Held(Event Player, Interact) == True;
  • Ultimate Charge Percent(Event Player) == 100;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("120K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(Sigma));
  • }
  • }
  • rule("140 kill MSG")
  • rule("SIGMA ULT PRESS")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • Sigma;
  • }
  • conditions
  • {
  • Event Player.KILL == 140;
  • Is Hero Being Played(Hero(Sigma), All Teams) == True;
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("140K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • Wait(1, Ignore Condition);
  • Start Holding Button(Event Player, Ultimate);
  • Wait(1, Ignore Condition);
  • Stop Holding Button(Event Player, Ultimate);
  • }
  • }
  • rule("200 kill MSG")
  • disabled rule("SIGMA ULT ATTACH")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Player Took Damage;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.KILL == 200;
  • Attacker == Hero(Sigma);
  • }
  • actions
  • {
  • Big Message(All Players(All Teams), Custom String("200K {0} {1}", Event Player, Randomized Array(Global.STREAKS)));
  • disabled Set Status(Event Player, Null, Phased Out, 7);
  • Attach Players(Event Player, Attacker, Vector(0, 0, 8));
  • disabled Set Damage Dealt(Event Player, 0);
  • Wait(1.600, Ignore Condition);
  • Detach Players(Event Player);
  • disabled Apply Impulse(Victim, Down, 50, To World, Cancel Contrary Motion);
  • Wait(2.500, Ignore Condition);
  • Set Damage Dealt(Attacker, 100);
  • If(Y Component Of(Event Player) <= Global.mapHeight);
  • Kill(Event Player, Attacker);
  • disabled Clear Status(Event Player, Phased Out);
  • disabled Stop Forcing Player To Be Hero(Event Player);
  • disabled Start Forcing Player To Be Hero(Event Player, Hero(Ana));
  • }
  • }
  • rule("=============================================== HELLO ================================================")
  • rule("PLAN B SIG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Player Dealt Damage;
  • All;
  • Doomfist;
  • Sigma;
  • }
  • conditions
  • {
  • Is Communicating(Event Player, Hello) == True;
  • Ultimate Charge Percent(Event Player) == 100;
  • Is Using Ultimate(Event Player) == True;
  • }
  • actions
  • {
  • Wait(2, Ignore Condition);
  • Wait(2.100, Ignore Condition);
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(D.Va));
  • Wait(1.100, Ignore Condition);
  • Press Button(Event Player, Ultimate);
  • Start Forcing Player To Be Hero(Event Player, Hero(Ana));
  • }
  • }
  • rule("HELLO ULT")
  • rule("SIGMA MISSES ULT")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • Doomfist;
  • Sigma;
  • }
  • conditions
  • {
  • Ultimate Charge Percent(Event Player) == 100;
  • Is Communicating(Event Player, Hello) == True;
  • Is Button Held(Event Player, Primary Fire) == True;
  • }
  • actions
  • {
  • Wait(4, Ignore Condition);
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(D.Va));
  • Start Forcing Player To Be Hero(Event Player, Hero(Ana));
  • }
  • }
  • rule("ULT DOING")
  • disabled rule("SIG DMG BOOST")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • D.Va;
  • }
  • conditions
  • {
  • Is Hero Being Played(Hero(D.Va), All Teams) == True;
  • }
  • actions
  • {
  • Start Holding Button(Event Player, Ultimate);
  • Wait(4.100, Ignore Condition);
  • Stop Holding Button(Event Player, Ultimate);
  • Stop Forcing Player To Be Hero(Event Player);
  • Start Forcing Player To Be Hero(Event Player, Hero(Zenyatta));
  • }
  • }
  • rule("Rule 102")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • D.Va;
  • }
  • conditions
  • {
  • Is Using Ultimate(Event Player) == True;
  • Is Game In Progress == True;
  • }
  • actions
  • {
  • Set Status(Victim, Null, Knocked Down, 1.500);
  • Set Damage Dealt(Players On Hero(Hero(Sigma), All Teams), 500);
  • }
  • }
Join the Workshop.codes Discord