DISCLAIMER: I have read an uncountable amount of custom input forum post. I have tried everything I can think of to no avail. This is why I come to you, searching for help. This has also been posted on epic's forums with no reply thus far.
As if this hasn't been talked about enough, I'm here to discuss it some more.
Problem: I am trying to call a console event. So. When "toggleWorld" is typed in the console, then I stream in and out this level. But, instead of typing "ce toggleWorld". I want the user to press the "R" Key. So in kismet it will read.
Console Event "toggleWorld" >Output> Stream Level
It will recognize that "R" means "toggleWorld".
I have a compile error that seems to be common in other custom input threads that occupy the web.
Here is my code.
There are many things inbetween this code. But they aren't necessary to the issue.
CUSTOM PLAYER CONTROLLER
CUSTOM INPUT
CUSTOM GAME INFO
As if this hasn't been talked about enough, I'm here to discuss it some more.
Problem: I am trying to call a console event. So. When "toggleWorld" is typed in the console, then I stream in and out this level. But, instead of typing "ce toggleWorld". I want the user to press the "R" Key. So in kismet it will read.
Console Event "toggleWorld" >Output> Stream Level
It will recognize that "R" means "toggleWorld".
I have a compile error that seems to be common in other custom input threads that occupy the web.
Code:
Warning, Import failed for 'Bindings': property is config (Check to see if the property is listed in the DefaultProperties. It should only be listed in the specific .ini/.int file)
Here is my code.
There are many things inbetween this code. But they aren't necessary to the issue.
CUSTOM PLAYER CONTROLLER
Code:
class BWPlayerController extends UTPlayerController;
defaultproperties
{
InputClass=Class'BWPlayerInput'
}
CUSTOM INPUT
Code:
class BWPlayerInput extends UTPlayerInput within BWPlayerController;
defaultproperties
{
Bindings(59)=(Name="R",Command="toggleWorld")
}
CUSTOM GAME INFO
Code:
class BWGameInfo extends GameInfo;
DefaultProperties
{
PlayerControllerClass=class'BW.BWPlayerController'
}