How to make game mechanics for team vs bot/ai game

I want to make a game where you fight guards as a team (all players in 1 team ) where if you eliminate 10 guards you win, you loose if you runout of respawns or timer ends

How do I make the game end mechanics for this

Pls help im a beginner i tried doing it myself but when run out of respawns and die the game still shows victory for some reason :joy:

A solution without verse would be nice as I dont know verse

But if it can only be done with verse then fine I will try that if someone provide me the instructions :slightly_smiling_face:

Hi EagleEye,

This is a good idea for a beginner system/mechanic.

So everything is working except the screen when the game ends for running out of respawns?

Does the “You lose” screen appear when the game is lost from the timer running out?

A quick idea: An ‘End Game Device’ with “Winning Team” set to Team Index 2 (I assume the bot team) - Then call that specific device when respawns run out.

No when the timer runs out it used to shows victory… and it would be great if u can give me the correct options for configuring island settings and end game device because I am starting from scratch as I tried messing around and broke it more​:slightly_smiling_face:

And btw I actually tried the end game device while I was messing around but it didn’t work (most probably because of some other conflicting issues i probably made while trying out different settings) that’s why I decided to start from scratch as I dont know all the options i changed :sweat_smile:

And I also found this from the documentation for end game device…as I have all players in team 1 and no players (only guards) in team 2 how can I set the game to give victory to team 2 and make team 1 loose?

And also what is this option in island settings, can I use it in any way to fix my issues(i felt this option might be related)

Good find - the “Requires team to have at least 1 player” is probably relevant. (Bots do not count as players)

First off - I needed to set ‘Game Winner Display Time’ in Island Settings to something other than 0 (default) to even see this screen…

As a simple test I have an End Game Device wired to a Timers Success(finished) event.

The ‘Team Index 2’ idea I posted above does not work - It shows Win screen when timer runs out… (Probably for the “requires at least 1 player on winning team” reason)

Changing teams to ‘cooperative’ does not change the win screen appearing. (Although you should probably use this setting for your island since you want all players to be on the same team)

Another problem: Setting ‘End Game Callout’ on the End Game Device to “Cooperative” or “Placement” still just displays the “Victory - You win” screen.

The best I could get with using "End Round’ instead of “End Game” in the device was a ‘Draw’ screen.

So, I don’t know if it’s possible to work around this “One player must be on other team” restriction…

I have a fresh idea/solution though - with a ‘Custom’ Post Game type in the End Game Device - you can customize the text/animations/color to let the players know they lost.

I tried this by settings victory text to you loose and another device with you win but what happened was when playing with other players (2 players) the game shows “you placed 1st” instead of “you won” ,the defeat text is fixed. if you want i can attach a screenshot of island settings and end game device

And btw the game is not set to cooperative i have set 2 teams in islan island settings and transfer players to team 1 by connecting a class selector device with the player spawners

Hm, in the context of playing with other players - this might be a bug that only manifests in a non-live island session. (Only visible in a private version)

The “You placed 1st” sounds like the End Game Devices ‘Game End Callout’ is set to “Placement” - If it is actually set to “You Win/Lose” then creating a bug report might be the path forward.

Something else to consider - this device might be extra-janky because it’s been around since Creative 1.0. (Some differences in Rounds/Games exist in UEFN maybe, so that’s why differences/bugs might be seen when an island is ‘packaged’ to a private version)

I did the playtest by uploading a private version and it is set to win/loose in end game device .

And also is there any other way to put all players to team 1 even when team index=2(number of teams) and team size = dynamic in island settings ? Because in this game i want all players to spawn into team 1