Create
Return to post

Comparing difference between and

View raw
  • settings
  • {
  • main
  • {
  • Description: "TryHard FFA by /u/Giacomand - https://workshop.codes/try-hard-ffa"
  • }
  • lobby
  • {
  • Allow Players Who Are In Queue: Yes
  • Match Voice Chat: Enabled
  • Max Spectators: 4
  • Return To Lobby: Never
  • }
  • modes
  • {
  • Deathmatch
  • {
  • Game Length In Minutes: 15
  • Score To Win: 50
  • enabled maps
  • {
  • Château Guillard
  • }
  • }
  • General
  • {
  • Game Mode Start: Immediately
  • Hero Limit: Off
  • Respawn Time Scalar: 66%
  • }
  • }
  • heroes
  • {
  • General
  • {
  • Baptiste
  • {
  • Immortality Field: Off
  • }
  • Bastion
  • {
  • Reconfigure: Off
  • }
  • Mei
  • {
  • Primary Fire: Off
  • }
  • Sombra
  • {
  • Hack: Off
  • }
  • Torbjörn
  • {
  • Deploy Turret: Off
  • }
  • disabled heroes
  • {
  • Brigitte
  • D.Va
  • Doomfist
  • Junkrat
  • Mercy
  • Moira
  • Orisa
  • Reaper
  • Reinhardt
  • Roadhog
  • Sigma
  • Symmetra
  • Winston
  • Wrecking Ball
  • Zarya
  • }
  • }
  • }
  • }
  • variables
  • {
  • player:
  • 0: HealEffectTimer
  • }
  • disabled rule("DEBUG: Test Killcam")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Wait(10, Ignore Condition);
  • Create Dummy Bot(Hero(Soldier: 76), All Teams, -1, Vector(206.224, 9.175, 63.290), Vector(0, 0, 0));
  • Start Holding Button(Last Created Entity, Primary Fire);
  • Wait(0.250, Ignore Condition);
  • Create Dummy Bot(Hero(Soldier: 76), All Teams, -1, Vector(192.711, 9.427, 101.932), Vector(0, 0, 0));
  • Start Holding Button(Last Created Entity, Primary Fire);
  • }
  • }
  • rule("Global Init")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Set Objective Description(All Players(All Teams), Custom String("TRY HARD FFA - CODE: RCF13"), Visible To and String);
  • disabled Set Objective Description(All Living Players(All Teams), Custom String("TRY HARD FFA - CODE: RCF13"), Visible To and String);
  • Create HUD Text(All Players(All Teams), Null, Custom String("TRY HARD FFA - CODE: RCF13"), Null, Top, -1, White, Red, White,
  • Visible To and String, Visible Never);
  • Visible To and String, Visible Always);
  • Create HUD Text(All Players(All Teams), Null, Null, String("{0}:{1}", Round To Integer(Match Time / 60, Down), Round To Integer(
  • Match Time % 60, Down) >= 10 ? Round To Integer(Match Time % 60, Down) : Custom String("0{0}", Round To Integer(
  • Match Time % 60, Down))), Top, -0.500, White, White, White, Visible To and String, Visible Never);
  • Create Effect(Entity Exists(Players In Slot(0, All Teams)) ? (Players In Slot(0, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(0, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(0, All Teams), Sine From Radians(Players In Slot(0, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(1, All Teams)) ? (Players In Slot(1, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(1, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(1, All Teams), Sine From Radians(Players In Slot(1, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(2, All Teams)) ? (Players In Slot(2, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(2, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(2, All Teams), Sine From Radians(Players In Slot(2, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(3, All Teams)) ? (Players In Slot(3, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(3, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(3, All Teams), Sine From Radians(Players In Slot(3, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(4, All Teams)) ? (Players In Slot(4, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(4, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(4, All Teams), Sine From Radians(Players In Slot(4, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(5, All Teams)) ? (Players In Slot(5, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(5, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(5, All Teams), Sine From Radians(Players In Slot(5, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(6, All Teams)) ? (Players In Slot(6, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(6, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(6, All Teams), Sine From Radians(Players In Slot(6, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(7, All Teams)) ? (Players In Slot(7, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(7, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(7, All Teams), Sine From Radians(Players In Slot(7, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(8, All Teams)) ? (Players In Slot(8, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(8, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(8, All Teams), Sine From Radians(Players In Slot(8, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(9, All Teams)) ? (Players In Slot(9, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(9, All Teams)) : Empty Array) : Empty Array, Sparkles, Yellow,
  • Players In Slot(9, All Teams), Sine From Radians(Players In Slot(9, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(10, All Teams)) ? (Players In Slot(10, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(10, All Teams)) : Empty Array) : Empty Array, Sparkles,
  • Yellow, Players In Slot(10, All Teams), Sine From Radians(Players In Slot(10, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • Create Effect(Entity Exists(Players In Slot(11, All Teams)) ? (Players In Slot(11, All Teams).HealEffectTimer > 0 ? Filtered Array(
  • All Players(All Teams), Current Array Element != Players In Slot(11, All Teams)) : Empty Array) : Empty Array, Sparkles,
  • Yellow, Players In Slot(11, All Teams), Sine From Radians(Players In Slot(11, All Teams).HealEffectTimer / 0.031),
  • Visible To Position and Radius);
  • }
  • }
  • rule("Player Init")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • actions
  • {
  • Disable Game Mode HUD(Event Player);
  • disabled Create HUD Text(Event Player, Event Player, Null, Null, Left, 0, White, White, White, Visible To and String, Default Visibility);
  • }
  • }
  • rule("Insta Start")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Game In Progress == False;
  • Is Assembling Heroes == True;
  • }
  • actions
  • {
  • Set Match Time(5);
  • }
  • }
  • rule("Set Match Timer To 60 minutes")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • Is Assembling Heroes == False;
  • }
  • actions
  • {
  • Set Match Time(3599);
  • }
  • }
  • rule("Heal on Kill")
  • {
  • event
  • {
  • Player Dealt Final Blow;
  • All;
  • All;
  • }
  • actions
  • {
  • Heal(Event Player, Null, Workshop Setting Integer(Custom String("Healing"), Custom String("Heal On Kill"), 200, 0, 1000));
  • If(Event Was Environment && !Workshop Setting Toggle(Custom String("Settings"), Custom String("Heal On Enviromental Kill"), True));
  • Abort;
  • End;
  • Start Heal Over Time(Event Player, Event Player, 0.100, Workshop Setting Integer(Custom String("Settings"), Custom String(
  • "Heal Amount On Kill"), 200, 0, 600) / 0.100);
  • Event Player.HealEffectTimer = 1;
  • Chase Player Variable At Rate(Event Player, HealEffectTimer, 0, 1, Destination and Rate);
  • }
  • }
  • rule("Disable Default Functions")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Disable Built-In Game Mode Completion;
  • Disable Built-In Game Mode Announcer;
  • Disable Built-In Game Mode Music;
  • }
  • }
  • rule("Match Timer Reaches 0")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Game In Progress == True;
  • Match Time <= 0;
  • }
  • actions
  • {
  • Declare Player Victory(Last Of(Sorted Array(All Players(All Teams), Score Of(Current Array Element))));
  • Wait(10, Ignore Condition);
  • Declare Match Draw;
  • }
  • }
Join the Workshop.codes Discord