(03-27-2009, 06:58 PM)Thomas Wrote: There is a varaible in the settings file for it...
But I cannot remember it right now, will see if my memory clears up
found in 18_terminal_gui.hps and 18_terminal_gui.gui
void ClickSchmupImage(string asName, string asMessage, int alVal)
{
SetWidgetBool("PasswordWindow","Visible",true);
SetWidgetBool("PasswordWindow","Enabled",true);
SetAttentionWidget("PasswordWindow");
SetWidgetString("PasswordText","Text","");
PlayGuiSound("gui_open_icon", 0.4f);
}
void PasswordWindowOKPressed(string asName, string asMessage, int alVal)
{
SetWidgetBool("PasswordWindow","Visible",false);
SetWidgetBool("PasswordWindow","Enabled",false);
SetAttentionWidget("");
if(StartSchmup(GetWidgetString("PasswordText","Text"))==false)
{
CreateGuiPopUp( "Error",
"Incorrect Password!",
"OK",
"",
"PressOK");
PlayGuiSound("gui_button_off", 1);
}
}
void PressOK(int xButton)
{
PlayGuiSound("gui_button_ok", 1);
}
void ClosePasswordWindow(string asName, string asMessage, int alVal)
{
SetWidgetBool("PasswordWindow","Visible",false);
SetWidgetBool("PasswordWindow","Enabled",false);
SetAttentionWidget("");
PlayGuiSound("gui_close_icon", 0.4f);
}
but i don't see what it start actually, i need to sneak a bit more, though, this part can be add to all other terminal_gui.hps/txt to get the game on every computer, not let see if i can change the menu screen "tutorial" by "play schmup"
Well, actually, I can create a new map, instead of playing the tutorial, it's send your character on a lil room with a computer, and on that computer, you can play schmup