BombShatter Practice

RR9SF

Being a Reinhardt in the current meta is tough. You have Meis freezing and walling you off, Dvas trying to murder you with their ults, and even other Reinhardts shattering you. Well I can't help you with the first one but I can help you with the other two. Introducing BombShatter Practice, a new mode where a Reinhardt can try his best to block a Rein shatter and Dva bomb simoustanly. Whether you are an aspiring pro player or even casual this will help practice your reflexes, and warmup for the days grueling games.

[https://www.youtube.com/watch?v=lU0ZoNkBzY8&feature=youtu.be]

Code Snippet

settings { modes { Skirmish { enabled maps { Workshop Island } } General { Hero Limit: Off Respawn Time Scalar: 0% } } heroes { Team 1 { Reinhardt { Barrier Field Cooldown Time: 0% Barrier Field Recharge Rate: 500% } } Team 2 { Reinhardt { Barrier Field Recharge Rate: 500% } } } } variables { global: 0: DebugLooking 2: BotStartStop player: 0: DebugEyeposition 1: MaxHealth 2: HealOnOff } disabled rule("Debug") { event { Ongoing - Each Player; Team 1; Slot 0; } conditions { Is Game In Progress == True; } actions { disabled Create HUD Text(Event Player, Ray Cast Hit Normal(Nearest Walkable Position(Event Player), Vector(0, 0, 0), All Players(All Teams), Event Player, True), Null, Null, Left, 0, White, White, White, Visible To and String, Default Visibility); disabled Create HUD Text(Event Player, Eye Position(Event Player), Null, Null, Left, 1000, White, White, White, Visible To and String, Default Visibility); Set Global Variable(DebugLooking, Ray Cast Hit Position(Eye Position(Event Player), Add(Eye Position(Event Player), Multiply( Facing Direction Of(Event Player), 10)), All Players(All Teams), Event Player, True)); Set Player Variable(Event Player, DebugEyeposition, Facing Direction Of(Event Player)); disabled Create HUD Text(All Players(All Teams), Global Variable(DebugLooking), Null, Null, Left, 0, White, White, White, Visible To and String, Default Visibility); Wait(0.200, Ignore Condition); Loop; } } disabled rule("Make Cord Text(Debug)") { event { Ongoing - Each Player; All; All; } actions { Create HUD Text(Event Player, Custom String("{0},{1},{2}", X Component Of(Global Variable(DebugLooking)), Y Component Of( Global Variable(DebugLooking)), Z Component Of(Global Variable(DebugLooking))), Null, Null, Left, 0, Blue, White, White, Visible To and String, Default Visibility); Create HUD Text(Event Player, Player Variable(Event Player, DebugEyeposition), Null, Null, Left, 0, Red, White, White, Visible To and String, Default Visibility); Create HUD Text(Event Player, Position Of(Event Player), Null, Null, Left, 0, Green, White, White, Visible To and String, Default Visibility); } } rule("Player Vars") { event { Player Joined Match; Team 1; All; } actions { Set Player Variable(Event Player, MaxHealth, False); Set Player Variable(Event Player, HealOnOff, False); } } rule("First Stuff") { event { Ongoing - Global; } actions { Create Dummy Bot(Hero(Reinhardt), Team 2, -1.000, Vector(-7.507, 1.799, -2.093), Vector(0, 0, 0)); Create Dummy Bot(Hero(D.Va), Team 2, -1.000, Vector(8.787, 1.799, -2.082), Vector(0, 0, 0)); Set Global Variable(BotStartStop, False); Teleport(All Living Players(Team 1), Vector(2.128, 1.799, -2.227)); } } rule("TP Dva") { event { Player Died; Team 2; D.Va; } actions { Wait(2, Ignore Condition); Teleport(Event Player, Vector(8.787, 1.799, -2.082)); } } rule("TP Rein") { event { Player Died; Team 2; Reinhardt; } actions { Wait(2, Ignore Condition); Teleport(Event Player, Vector(-7.507, 1.799, -2.093)); } } rule("DvaBombShatter") { event { Ongoing - Global; } conditions { Global Variable(BotStartStop) == True; } actions { While(Compare(Global Variable(BotStartStop), ==, True)); Set Ultimate Charge(All Players(Team 2), 100); Wait(1, Ignore Condition); Press Button(Players On Hero(Hero(D.Va), Team 2), Ultimate); Set Ultimate Charge(All Players(Team 2), 100); Wait(1, Ignore Condition); Press Button(Players On Hero(Hero(D.Va), Team 2), Ultimate); Teleport(Players On Hero(Hero(D.Va), Team 2), Vector(8.787, 1.799, -2.082)); Wait(Random Real(0.800, 1.600), Ignore Condition); Press Button(Players On Hero(Hero(Reinhardt), Team 2), Ultimate); Wait(2, Ignore Condition); Loop If(Compare(Global Variable(BotStartStop), ==, True)); End; } } rule("Press F to StopStart") { event { Ongoing - Each Player; Team 1; All; } conditions { Is Button Held(Event Player, Interact) == True; Is Button Held(Event Player, Crouch) == True; } actions { Skip If(Compare(Global Variable(BotStartStop), ==, True), 1); Skip If(Compare(Global Variable(BotStartStop), ==, False), 4); Set Global Variable(BotStartStop, False); Small Message(All Players(All Teams), Custom String("Bots Off", Null, Null, Null)); Wait(1, Ignore Condition); Skip(3); Set Global Variable(BotStartStop, True); Small Message(All Players(All Teams), Custom String("Bots On", Null, Null, Null)); Wait(1, Ignore Condition); } } rule("TP player") { event { Player Died; Team 1; All; } actions { Wait(1, Ignore Condition); Teleport(Event Player, Vector(2.128, 1.799, -2.227)); } } rule("Top Right Instructions") { event { Ongoing - Global; } actions { Create HUD Text(All Players(All Teams), Null, Null, Custom String("Welcome to DvaBombShatter Practice!", Null, Null, Null), Right, 0, White, White, Green, Visible To and String, Default Visibility); Create HUD Text(All Players(All Teams), Null, Null, Custom String( "Press your interact key(F) + Crouch to start and stop the mode.", Null, Null, Null), Right, 1, Blue, White, Green, Visible To and String, Default Visibility); } } rule("Make Circles") { event { Ongoing - Global; } actions { Create Effect(All Players(All Teams), Ring, Green, Vector(-12.004, 0, 8.071), 1, Visible To Position and Radius); Create In-World Text(All Players(All Teams), Custom String("Toggle Max Health", Null, Null, Null), Vector(-12.004, 1, 8.071), 1, Clip Against Surfaces, Visible To Position and String, White, Default Visibility); Create Effect(All Players(All Teams), Ring, Green, Vector(-16.024, 1, 8.035), 1, Visible To Position and Radius); Create In-World Text(All Players(All Teams), Custom String("Toggle Heals", Null, Null, Null), Vector(-16.024, 1, 8.035), 1, Clip Against Surfaces, Visible To Position and String, White, Default Visibility); } } rule("Set Max Health Toggle") { event { Ongoing - Each Player; Team 1; All; } conditions { Distance Between(Event Player, Vector(-12.004, 1.799, 8.071)) <= 2; Is Button Held(Event Player, Interact) == True; } actions { Skip If(Compare(Player Variable(Event Player, MaxHealth), ==, False), 1); Skip If(Compare(Player Variable(Event Player, MaxHealth), ==, True), 5); Set Max Health(Event Player, 500); Small Message(Event Player, Custom String("Max Health", Null, Null, Null)); Set Player Variable(Event Player, MaxHealth, True); Heal(Event Player, Null, 3000); Skip(4); Set Max Health(Event Player, 100); Small Message(Event Player, Custom String("Normal Health", Null, Null, Null)); Heal(Event Player, Null, 3000); Set Player Variable(Event Player, MaxHealth, False); } } rule("Start Stop Healing") { event { Ongoing - Each Player; Team 1; All; } conditions { Distance Between(Event Player, Vector(-16.024, 1.443, 8.035)) <= 2; Is Button Held(Event Player, Interact) == True; } actions { Skip If(Compare(Player Variable(Event Player, HealOnOff), ==, False), 1); Skip If(Compare(Player Variable(Event Player, HealOnOff), ==, True), 4); Start Heal Over Time(Event Player, Event Player, 9999, 200); Small Message(Event Player, Custom String("Healing On", Null, Null, Null)); Set Player Variable(Event Player, HealOnOff, True); Skip(3); Stop Heal Over Time(Player Variable(Event Player, HealOnOff)); Small Message(Event Player, Custom String("Healing Off", Null, Null, Null)); Set Player Variable(Event Player, HealOnOff, False); } }
View Fullscreen
Copy to clipboard
Categories | Solo
Heroes | Reinhardt
Created at |
Last updated |
Current version | 1.0

0 Comments

Log in or Sign up to place a comment.
Websites are expensive, support Workshop.codes
Workshop.codes - Background image