1 (edited by kokakee 2021-03-01 03:58:35)

Topic: 2nd controller needed in Training mode

Hi.. Is there a way to bypass requiring a 2nd controller to select player 2 in training mode?

Share

Thumbs up Thumbs down

Re: 2nd controller needed in Training mode

Open file DefaultCharacterSelectionScreen.cs and at the end of the OnShow function (around line 485) add the following code:

if (UFE.gameMode == GameMode.TrainingRoom) UFE.SetPlayer2(UFE.config.characters[0]);

This will automatically force P2 to select the first character from your character list (under Global Editor) when on Training Room mode. Change the "0" to any other character in the list (from 0 to count - 1).
Selecting P1 will automatically move the screen to stage selection.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.