Create
Return to post

Comparing difference between and

View raw
  • settings
  • {
  • main
  • {
  • Description: "[V1.0.0] LE CAFÉ DE PARIS by Ƒlushed#2330. (Not Discord tag) Crouch + Interact = Static stage cam. Crouch + Reload = Change hero. Jump + Interact = Change view. Crouch + Fire = Add player as performer. Damage is on in bar, get ready for a bar fight."
  • }
  • lobby
  • {
  • Match Voice Chat: Enabled
  • }
  • modes
  • {
  • Deathmatch
  • {
  • Game Length In Minutes: 5
  • Score To Win: 1
  • enabled maps
  • {
  • Paris
  • }
  • }
  • General
  • {
  • Allow Hero Switching: Off
  • Game Mode Start: Manual
  • Hero Limit: Off
  • Kill Cam: Off
  • Kill Feed: Off
  • Respawn Time Scalar: 0%
  • }
  • }
  • heroes
  • {
  • General
  • {
  • D.Va
  • {
  • Spawn Without Mech: On
  • }
  • disabled heroes
  • {
  • Echo
  • }
  • }
  • }
  • }
  • rule("Spawn")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Has Spawned(Event Player) == True;
  • Is In Spawn Room(Event Player) == False;
  • Distance Between(Position Of(Event Player), Event Player.D) >= 80;
  • }
  • actions
  • {
  • Teleport(Event Player, Vector(14.005, 11.176, -55.794));
  • Set Move Speed(Event Player, 100);
  • Disable Hero HUD(Event Player);
  • Disable Game Mode HUD(Event Player);
  • Set Status(Event Player, Null, Phased Out, 9999);
  • Set Status(Event Player, Null, Unkillable, 9999);
  • Stop Camera(Event Player);
  • }
  • }
  • rule("Variables")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • actions
  • {
  • Event Player.A = Vector(20.251, 15.424, -67.555);
  • Event Player.B = 0;
  • Event Player.C = Vector(17.419, 12.424, -75.527);
  • Event Player.D = Vector(10.577, 12.424, -79.251);
  • Event Player.E = Vector(30.780, 13.250, -87.057);
  • Event Player.F = Vector(23.083, 12.427, -72.926);
  • Event Player.G = Vector(5.006, 12.424, -82.430);
  • Event Player.H = Vector(33.007, 13.002, -71.713);
  • Event Player.I = Vector(31.127, 13.002, -68.180);
  • Event Player.J = Vector(29.197, 13.002, -64.642);
  • Event Player.L = Vector(17.957, 11.459, -63.396);
  • Event Player.M = Vector(15.144, 11.222, -58.202);
  • Event Player.S = Vector(10.596, 12.250, -83.093);
  • Event Player.O = False;
  • Event Player.Q = False;
  • Event Player.U = False;
  • Global.X = False;
  • Event Player.Z = False;
  • Event Player.P = Vector(14.601, 12.250, -77.266);
  • }
  • }
  • rule("StartCamera(Default)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.C) <= 5;
  • Event Player.Q == False;
  • }
  • actions
  • {
  • Event Player.A = Vector(20.251, 15.424, -67.555);
  • Set Move Speed(Event Player, 100);
  • Destroy Effect(Last Created Entity);
  • }
  • }
  • rule("StartCamera(Bar)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.D) <= 5;
  • Event Player.Q == False;
  • }
  • actions
  • {
  • Start Camera(Event Player, Event Player.A, Event Player, 50);
  • Event Player.A = Vector(10.889, 14.424, -75.497);
  • Set Move Speed(Event Player, 100);
  • }
  • }
  • rule("STAGECONFIG")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.E) <= 10;
  • }
  • actions
  • {
  • If(Event Player.Z == True);
  • Set Move Speed(Event Player, 100);
  • Event Player.U = True;
  • Else;
  • Destroy Effect(Last Created Entity);
  • Teleport(Event Player, Vector(21.328, 12.250, -69.426));
  • Create Effect(Event Player, Sparkles, Color(Red), Event Player.E, 10, Visible To Position and Radius);
  • Wait(1, Ignore Condition);
  • Destroy Effect(Last Created Entity);
  • Wait(0.100, Ignore Condition);
  • Loop If Condition Is True;
  • Start Camera(Event Player, Vector(24.379, 15.250, -75.150), Vector(26.841, 13.500, -79.600), 0);
  • }
  • }
  • rule("StartCamera(Stage)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.E) <= 10;
  • Event Player.Q == False;
  • }
  • actions
  • {
  • Start Camera(Event Player, Vector(24.379, 15.250, -75.150), Vector(26.841, 13.500, -79.600), 0);
  • Start Camera(Event Player, Vector(29.804, 15.250, -85.398), Vector(23.937, 12.425, -74.435), 0);
  • }
  • }
  • rule("StartCamera(Default2)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.F) <= 7;
  • Event Player.Q == False;
  • }
  • actions
  • {
  • Start Camera(Event Player, Event Player.A, Event Player, 50);
  • Event Player.A = Vector(20.251, 15.424, -67.555);
  • Set Move Speed(Event Player, 100);
  • Destroy Effect(Last Created Entity);
  • }
  • }
  • rule("StartCamera(Middle)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.P) <= 3;
  • Event Player.Q == False;
  • }
  • actions
  • {
  • Start Camera(Event Player, Vector(13.610, 15.887, -75.440), Event Player, 50);
  • Set Move Speed(Event Player, 100);
  • }
  • }
  • rule("StopCamera(Bar)")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.G) <= 2;
  • }
  • actions
  • {
  • Stop Camera(Event Player);
  • }
  • }
  • rule("TableStartCamera1")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.H) <= 2.600;
  • Event Player.Q == False;
  • }
  • actions
  • {
  • Stop Camera(Event Player);
  • }
  • }
  • rule("TableStartCamera2")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.I) <= 2.600;
  • Event Player.Q == False;
  • }
  • actions
  • {
  • Stop Camera(Event Player);
  • }
  • }
  • rule("TableStartCamera3")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.J) <= 2.600;
  • Event Player.Q == False;
  • }
  • actions
  • {
  • Start Camera(Event Player, Vector(28.903, 12, -64.899), Vector(29.195, 13.079, -64.699), 0);
  • Set Move Speed(Event Player, 5);
  • Big Message(All Players(All Teams), Custom String("Jump + Interact to exit, have fun ;)"));
  • }
  • }
  • rule("TeleportOutside")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.L) <= 4;
  • }
  • actions
  • {
  • Teleport(Event Player, Vector(14.005, 11.174, -55.794));
  • Stop Camera(Event Player);
  • }
  • }
  • rule("StopCameraWhenInteract")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Interact)) == True;
  • Is Button Held(Event Player, Button(Crouch)) == False;
  • Is Button Held(Event Player, Button(Jump)) == True;
  • }
  • actions
  • {
  • If(Event Player.Q == False);
  • Stop Camera(Event Player);
  • Event Player.Q = True;
  • Set Move Speed(Event Player, 100);
  • Big Message(Event Player, Custom String("First person mode"));
  • Else If(Event Player.Q == True);
  • Event Player.Q = False;
  • Big Message(Event Player, Custom String("Custom cam mode"));
  • }
  • }
  • rule("StartStaticCam")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Interact)) == True;
  • Is Button Held(Event Player, Button(Crouch)) == True;
  • Is Button Held(Event Player, Button(Jump)) == False;
  • }
  • actions
  • {
  • If(Event Player.U == False);
  • Event Player.U = True;
  • Start Camera(Event Player, Vector(24.379, 15.250, -75.150), Vector(26.841, 13.500, -79.600), 0);
  • Else If(Event Player.U == True);
  • Event Player.U = False;
  • Stop Camera(Event Player);
  • }
  • }
  • rule("PrivateRoom")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.S) <= 1;
  • Event Player.Z == True;
  • }
  • actions
  • {
  • Stop Camera(Event Player);
  • Teleport(Event Player, Vector(14.419, 14.250, -89.607));
  • Event Player.O = True;
  • }
  • }
  • rule("PrivateRoom")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player.O == True;
  • Distance Between(Position Of(Event Player), Event Player.S) <= 6;
  • }
  • actions
  • {
  • Event Player.O = False;
  • Teleport(Event Player, Vector(9.513, 12.250, -78.951));
  • }
  • }
  • rule("AddPerformer")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Crouch)) == True;
  • Is Button Held(Event Player, Button(Primary Fire)) == True;
  • Event Player == Host Player;
  • }
  • actions
  • {
  • If(Player Closest To Reticle(Event Player, All Teams).Z == False);
  • Player Closest To Reticle(Event Player, All Teams).Z = True;
  • Big Message(Event Player, String("{0} {1} {2}", Custom String("Added"), Player Closest To Reticle(Event Player, All Teams),
  • Custom String("as a performer!")));
  • Big Message(Player Closest To Reticle(Event Player, All Teams), Custom String("You have been added as a performer!"));
  • Create Effect(All Players(All Teams), Sparkles, Color(Violet), Player Closest To Reticle(Event Player, All Teams), 0.250,
  • Visible To Position and Radius);
  • Else;
  • Destroy Effect(Last Created Entity);
  • Player Closest To Reticle(Event Player, All Teams).Z = False;
  • Big Message(Event Player, String("{0} {1} {2}", Custom String("Removed"), Player Closest To Reticle(Event Player, All Teams),
  • Custom String("as a performer!")));
  • Big Message(Player Closest To Reticle(Event Player, All Teams), Custom String("You have been removed as a performer!"));
  • }
  • }
  • rule("Host")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Player == Host Player;
  • }
  • actions
  • {
  • Event Player.Z = True;
  • }
  • }
  • rule("TeleportInside")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Vector(15.807, 11.176, -59.369)) <= 3;
  • }
  • actions
  • {
  • Teleport(Event Player, Vector(21.328, 12.250, -69.426));
  • }
  • }
  • rule("TeleportCircle")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Create Beam Effect(All Players(All Teams), Good Beam, Vector(18.119, 5.275, -58.925), Vector(18.119, 15.275, -58.925), Color(
  • White), Visible To Position and Radius);
  • Create Beam Effect(All Players(All Teams), Good Beam, Vector(14.176, 5.274, -61.028), Vector(14.176, 15.274, -61.028), Color(
  • White), Visible To Position and Radius);
  • Create Beam Effect(All Players(All Teams), Good Beam, Vector(14.176, 15.274, -61.028), Vector(18.119, 15.274, -58.925), Color(
  • White), Visible To Position and Radius);
  • Create Effect(All Players(All Teams), Sphere, Color(White), Vector(-67.314, 13.240, 12.221), 60, Visible To Position and Radius);
  • }
  • }
  • rule("OutsideBlock")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Vector(-67.314, 13.240, 12.221)) <= 60;
  • }
  • actions
  • {
  • Big Message(Event Player, Custom String("Come back!"));
  • Wait(10, Abort When False);
  • Teleport(Event Player, Vector(14.005, 11.174, -55.794));
  • }
  • }
  • rule("IN-GAME-HUD")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • actions
  • {
  • Create In-World Text(All Players(All Teams), Custom String("LE CAFÉ DE PARIS"), Vector(14.373, 15.476, -56.449), 3,
  • Clip Against Surfaces, Visible To and Color, Color(Yellow), Default Visibility);
  • }
  • }
  • rule("BarDamage")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.D) <= 5;
  • }
  • actions
  • {
  • Clear Status(Event Player, Phased Out);
  • Clear Status(Event Player, Unkillable);
  • }
  • }
  • rule("UnkillableMiddle")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Distance Between(Position Of(Event Player), Event Player.P) <= 4;
  • }
  • actions
  • {
  • Set Status(Event Player, Null, Phased Out, 9999);
  • Set Status(Event Player, Null, Unkillable, 9999);
  • }
  • }
  • rule("ChangeHero")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Crouch)) == True;
  • Is Button Held(Event Player, Button(Reload)) == True;
  • }
  • actions
  • {
  • Reset Player Hero Availability(Event Player);
  • Wait(0.250, Ignore Condition);
  • Set Player Allowed Heroes(Event Player, Remove From Array(All Heroes, Hero Of(Event Player)));
  • Set Status(Event Player, Null, Phased Out, 9999);
  • Set Status(Event Player, Null, Unkillable, 9999);
  • }
  • }
Join the Workshop.codes Discord