PDA

View Full Version : Coding Problem or Info needed


barnEbiss
24th Oct 2001, 09:30 PM
MY coder is right now trying to come up with a mouse pointer for my mod and is right now not having any luck


this is his Original post

As you know, if you press 'v' you get a menu with orders e.t.c.
This also lets you use the mousepointer ingame, without opening menus or so.
I've tried to duplicate what's happening when you press v, but to no avail.
Have anyone got a sample of code that manages to free the mousepointer?

Raeled
25th Oct 2001, 11:03 AM
hi

acctually the UWindow (that what manages the menu stuff) is started if you press 'v'.

as you told you already tried to cut/past and edited some code, so you probably seen this already:

snip from UTConsolŽ
if( Key==SpeechKey )
{
if ( !bShowSpeech && !bTyping )
{
ShowSpeech();
bQuickKeyEnable = True;
LaunchUWindow();
}
return true;
}

first off the showspeech() prepares the window to be viewed

then bQuickKeyEnable is set to true (and this is where it happends) to make the rest of the menu (menubar, ...) not to show up.

the speechwindow does show up, becous it got bLeaveOnscreen set on True.

after that the UWindow is being started up, and becous bQuickKeyEnable is set to True the windows that don't have the bLeaveOnscreen set to true will be ignored (no render, no input, ...)

I hope this helped a bit.

barnEbiss
25th Oct 2001, 07:02 PM
Thanks I will send this to my coder and see if it can help Him :)