Edit: Found solution, in DefaultGame.ini
Thanks for providing this! It's helping a lot. I'm new to UnrealScript, and I'm trying to learn about UDK's Mobile Input system. I understand most of it, but I'm confused about one aspect - how do you define zones? In MobilePC.SetupZones, the necessary zones seem to be already in the MobileplayerInput's array.
Code:
function SetupZones()
{
// Cache the MPI
MPI = MobilePlayerInput(PlayerInput);
StickMoveZone = MPI.FindZone("UberStickMoveZone");
StickLookZone = MPI.FindZone("UberStickLookZone");
FreeLookZone = MPI.FindZone("UberLookZone");
}
Also in your source code:
Code:
function SetupZones()
{
local Vector2D ViewportSize;
myInput = MobilePlayerInput(PlayerInput);
GameplayZone = myInput.FindZone("MainView");
...}
After searching through the source files, I cannot find a "MainView" file or otherwise see where you initialized it and included it in the MPI array. (Same with the default source code above)
Can you help me out here?
Where do I look to find these zone definitions, how are they put into the MPI array, and where would I make my own?
Thanks in advance!
Bookmarks