I do see "some" mentions of hints in TrainingDM.uc on the following lines:
[Line 15]
Code: Select all
var string KeyAlias[255];
Code: Select all
function LoadKeyBindings(PlayerPawn P)
{
local int i;
local string k;
for (i=0; i<255; i++)
{
k = P.ConsoleCommand( "KEYNAME "$i );
KeyAlias[i] = P.ConsoleCommand( "KEYBINDING "$k );
}
}
Code: Select all
function DMTutEvent4()
{
local int i;
local string Message;
local string ForwardKey, BackKey, LeftStrafeKey, RightStrafeKey;
for (i=0; i<255; i++)
{
if (KeyAlias[i] ~= "MoveForward")
{
if (ForwardKey != "")
ForwardKey = ForwardKey$","@class'UMenuCustomizeClientWindow'.default.LocalizedKeyName[i];
else
ForwardKey = class'UMenuCustomizeClientWindow'.default.LocalizedKeyName[i];
}
if (KeyAlias[i] ~= "MoveBackward")
{
if (BackKey != "")
BackKey = BackKey$","@class'UMenuCustomizeClientWindow'.default.LocalizedKeyName[i];
else
BackKey = class'UMenuCustomizeClientWindow'.default.LocalizedKeyName[i];
}
if (KeyAlias[i] ~= "StrafeLeft")
{
if (LeftStrafeKey != "")
LeftStrafeKey = LeftStrafeKey$","@class'UMenuCustomizeClientWindow'.default.LocalizedKeyName[i];
else
LeftStrafeKey = class'UMenuCustomizeClientWindow'.default.LocalizedKeyName[i];
}
if (KeyAlias[i] ~= "StrafeRight")
{
if (RightStrafeKey != "")
RightStrafeKey = RightStrafeKey$","@class'UMenuCustomizeClientWindow'.default.LocalizedKeyName[i];
else
RightStrafeKey = class'UMenuCustomizeClientWindow'.default.LocalizedKeyName[i];
}
}
TutorialSound(DM[4]);
Message = TutMessage4Parts[0]@"["$ForwardKey$"]"@TutMessage4Parts[1]@"["$BackKey$"]"@TutMessage4Parts[2]@"["$LeftStrafeKey$"]"@TutMessage4Parts[3]@"["$RightStrafeKey$"]"$TutMessage4Parts[4];
TournamentConsole(Trainee.Player.Console).AddMessage(Message);
SoundIndex++;
}
I'm unsure of the exact way to do what I want.