Back to home

Dicewatch | Random Mirrored No Limits Comps

HGR2C
click to copy
This game is archived.
If you with to unarchive it, click the "restore" button in the options menu.

Category:
Custom game mode

Author:
Jokaes

Rating:
1

Version:
1.0.0

Posted:
4 months ago

Tags:
jokaes dicewatch random mirrored no limits comps dice control jokaes#2263

Share this workshop!

Options

Dicewatch | Random Mirrored No Limits Comps.

There are 3 dices for each role and 1 dice for you role. Both teams will play with the same random comp. CompAndDices

I can't never find enough players to enjoy the mode but I think that with a big number of even players this must be very very fun.

variables
{
	global:
		2: comp
		3: damageList
		11: heroesList
		18: supportList
		19: tanksList
}

rule("-------START-------")
{
	event
	{
		Ongoing - Global;
	}
}

rule("Heros Lists (Tank, Damage, Support)")
{
	event
	{
		Ongoing - Global;
	}

	actions
	{
		Set Global Variable(tanksList, All Tank Heroes);
		Set Global Variable(damageList, All Damage Heroes);
		Set Global Variable(supportList, All Support Heroes);
		Set Global Variable(heroesList, Array Slice(Randomized Array(Global Variable(tanksList)), 0, 6));
		Modify Global Variable(heroesList, Append To Array, Array Slice(Randomized Array(Global Variable(damageList)), 0, 6));
		Modify Global Variable(heroesList, Append To Array, Array Slice(Randomized Array(Global Variable(supportList)), 0, 6));
	}
}

rule("Comp")
{
	event
	{
		Ongoing - Global;
	}

	actions
	{
		Set Global Variable At Index(comp, 0, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 1, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 2, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 3, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 4, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 5, Random Value In Array(Global Variable(heroesList)));
	}
}

rule("-------BETWEEN ROUNDS-------")
{
	event
	{
		Ongoing - Global;
	}
}

rule("Heroes Lists (Tank, Damage, Support)")
{
	event
	{
		Ongoing - Global;
	}

	conditions
	{
		Is Between Rounds == True;
	}

	actions
	{
		Set Global Variable(tanksList, Hero(D.Va));
		Modify Global Variable(tanksList, Append To Array, Hero(Orisa));
		Modify Global Variable(tanksList, Append To Array, Hero(Reinhardt));
		Modify Global Variable(tanksList, Append To Array, Hero(Roadhog));
		Modify Global Variable(tanksList, Append To Array, Hero(Sigma));
		Modify Global Variable(tanksList, Append To Array, Hero(Winston));
		Modify Global Variable(tanksList, Append To Array, Hero(Wrecking Ball));
		Modify Global Variable(tanksList, Append To Array, Hero(Zarya));
		Set Global Variable(damageList, Hero(Ashe));
		Modify Global Variable(damageList, Append To Array, Hero(Bastion));
		Modify Global Variable(damageList, Append To Array, Hero(Doomfist));
		Modify Global Variable(damageList, Append To Array, Hero(Genji));
		Modify Global Variable(damageList, Append To Array, Hero(Hanzo));
		Modify Global Variable(damageList, Append To Array, Hero(Junkrat));
		Modify Global Variable(damageList, Append To Array, Hero(McCree));
		Modify Global Variable(damageList, Append To Array, Hero(Mei));
		Modify Global Variable(damageList, Append To Array, Hero(Pharah));
		Modify Global Variable(damageList, Append To Array, Hero(Reaper));
		Modify Global Variable(damageList, Append To Array, Hero(Soldier: 76));
		Modify Global Variable(damageList, Append To Array, Hero(Sombra));
		Modify Global Variable(damageList, Append To Array, Hero(Symmetra));
		Modify Global Variable(damageList, Append To Array, Hero(Torbjörn));
		Modify Global Variable(damageList, Append To Array, Hero(Tracer));
		Modify Global Variable(damageList, Append To Array, Hero(Widowmaker));
		Set Global Variable(supportList, Hero(Ana));
		Modify Global Variable(supportList, Append To Array, Hero(Baptiste));
		Modify Global Variable(supportList, Append To Array, Hero(Brigitte));
		Modify Global Variable(supportList, Append To Array, Hero(Lúcio));
		Modify Global Variable(supportList, Append To Array, Hero(Mercy));
		Modify Global Variable(supportList, Append To Array, Hero(Moira));
		Modify Global Variable(supportList, Append To Array, Hero(Zenyatta));
		Set Global Variable(heroesList, Array Slice(Randomized Array(Global Variable(tanksList)), 0, 6));
		Modify Global Variable(heroesList, Append To Array, Array Slice(Randomized Array(Global Variable(damageList)), 0, 6));
		Modify Global Variable(heroesList, Append To Array, Array Slice(Randomized Array(Global Variable(supportList)), 0, 6));
	}
}

rule("Comp")
{
	event
	{
		Ongoing - Global;
	}

	conditions
	{
		Is Between Rounds == True;
	}

	actions
	{
		Set Global Variable At Index(comp, 0, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 1, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 2, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 3, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 4, Random Value In Array(Global Variable(heroesList)));
		Set Global Variable At Index(comp, 5, Random Value In Array(Global Variable(heroesList)));
	}
}

rule("-------OTHER-------")
{
	event
	{
		Ongoing - Global;
	}
}

rule("Round 1 heroes")
{
	event
	{
		Ongoing - Each Player;
		All;
		All;
	}

	conditions
	{
		Match Round == 1;
	}

	actions
	{
		Set Player Allowed Heroes(Event Player, Value In Array(Global Variable(comp), Slot Of(Event Player)));
		Start Forcing Player To Be Hero(Event Player, Value In Array(Global Variable(comp), Slot Of(Event Player)));
	}
}

rule("Round 2 heroes")
{
	event
	{
		Ongoing - Each Player;
		All;
		All;
	}

	conditions
	{
		Match Round == 2;
	}

	actions
	{
		Set Player Allowed Heroes(Event Player, Value In Array(Global Variable(comp), Slot Of(Event Player)));
		Start Forcing Player To Be Hero(Event Player, Value In Array(Global Variable(comp), Slot Of(Event Player)));
	}
}

rule("Round 3 heroes")
{
	event
	{
		Ongoing - Each Player;
		All;
		All;
	}

	conditions
	{
		Match Round == 3;
	}

	actions
	{
		Set Player Allowed Heroes(Event Player, Value In Array(Global Variable(comp), Slot Of(Event Player)));
		Start Forcing Player To Be Hero(Event Player, Value In Array(Global Variable(comp), Slot Of(Event Player)));
	}
}

rule("Assembling time")
{
	event
	{
		Ongoing - Global;
	}

	conditions
	{
		Is Assembling Heroes == True;
	}

	actions
	{
		Set Match Time(10);
	}
}

rule("Setup time")
{
	event
	{
		Ongoing - Global;
	}

	conditions
	{
		Is In Setup == True;
	}

	actions
	{
		Set Match Time(10);
	}
}

rule("Info and HUD of Heroes")
{
	event
	{
		Ongoing - Global;
	}

	actions
	{
		Create HUD Text(All Players(All Teams), Null, Null, Custom String("Dicewatch v1.0.0 | Random Mirrored No Limits Comps.", Null,
			Null, Null), Left, -3.000, White, White, White, Visible To and String, Default Visibility);
		Create HUD Text(All Players(All Teams), Null, Null, Custom String(
			"There are 3 dices for each role and 1 dice for you role.
Both teams will play with the same random comp. ", Null, Null, Null),
			Left, -2.000, White, White, White, Visible To and String, Default Visibility);
		Create HUD Text(All Players(All Teams), Null, Null, Custom String("Created by Jokaes#2263", Null, Null, Null), Left, -1.000, White,
			White, White, Visible To and String, Default Visibility);
		Create HUD Text(All Players(All Teams), Null, Null, String("{0} {1}", String("Round", Null, Null, Null), String("Heroes", Null,
			Null, Null), Null), Left, 0, White, White, White, Visible To and String, Default Visibility);
		Create HUD Text(All Players(All Teams), String("{0} {1} {2}", Hero Icon String(Value In Array(Global Variable(comp), 0)),
			Hero Icon String(Value In Array(Global Variable(comp), 1)), Hero Icon String(Value In Array(Global Variable(comp), 2))), Null,
			Null, Left, 1, White, White, White, Visible To and String, Default Visibility);
		Create HUD Text(All Players(All Teams), String("{0} {1} {2}", Hero Icon String(Value In Array(Global Variable(comp), 3)),
			Hero Icon String(Value In Array(Global Variable(comp), 4)), Hero Icon String(Value In Array(Global Variable(comp), 5))), Null,
			Null, Left, 2, White, White, White, Visible To and String, Default Visibility);
		Create HUD Text(All Players(All Teams), Null, Custom String("Tanks dice:", Null, Null, Null), Custom String("{0}", String(
			"{0} {1} {2}", Hero Icon String(Value In Array(Global Variable(tanksList), 0)), Hero Icon String(Value In Array(
			Global Variable(tanksList), 1)), Hero Icon String(Value In Array(Global Variable(tanksList), 2))), Null, Null), Left, 3, White,
			White, White, Visible To and String, Visible Always);
		Create HUD Text(All Players(All Teams), Null, Null, Custom String("{0}", String("{0} {1} {2}", Hero Icon String(Value In Array(
			Global Variable(tanksList), 3)), Hero Icon String(Value In Array(Global Variable(tanksList), 4)), Hero Icon String(
			Value In Array(Global Variable(tanksList), 5))), Null, Null), Left, 4, White, White, White, Visible To and String,
			Visible Always);
		Create HUD Text(All Players(All Teams), Null, Custom String("Damage dice:", Null, Null, Null), Custom String("{0}", String(
			"{0} {1} {2}", Hero Icon String(Value In Array(Global Variable(damageList), 0)), Hero Icon String(Value In Array(
			Global Variable(damageList), 1)), Hero Icon String(Value In Array(Global Variable(damageList), 2))), Null, Null), Left, 5,
			White, White, White, Visible To and String, Visible Always);
		Create HUD Text(All Players(All Teams), Null, Null, Custom String("{0}", String("{0} {1} {2}", Hero Icon String(Value In Array(
			Global Variable(damageList), 3)), Hero Icon String(Value In Array(Global Variable(damageList), 4)), Hero Icon String(
			Value In Array(Global Variable(damageList), 5))), Null, Null), Left, 6, White, White, White, Visible To and String,
			Visible Always);
		Create HUD Text(All Players(All Teams), Null, Custom String("Support dice:", Null, Null, Null), Custom String("{0}", String(
			"{0} {1} {2}", Hero Icon String(Value In Array(Global Variable(supportList), 0)), Hero Icon String(Value In Array(
			Global Variable(supportList), 1)), Hero Icon String(Value In Array(Global Variable(supportList), 2))), Null, Null), Left, 7,
			White, White, White, Visible To and String, Visible Always);
		Create HUD Text(All Players(All Teams), Null, Null, Custom String("{0}", String("{0} {1} {2}", Hero Icon String(Value In Array(
			Global Variable(supportList), 3)), Hero Icon String(Value In Array(Global Variable(supportList), 4)), Hero Icon String(
			Value In Array(Global Variable(supportList), 5))), Null, Null), Left, 8, White, White, White, Visible To and String,
			Visible Always);
	}
}

disabled rule("Created by Jokaes#2263")
{
	event
	{
		Ongoing - Global;
	}
}