Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Schmup.exe - possible standalone ?
Sha Offline
Junior Member

Posts: 16
Threads: 3
Joined: Mar 2009
Reputation: 0
#3
RE: Schmup.exe - possible standalone ?

(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 Wink

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
(This post was last modified: 03-27-2009, 07:11 PM by epicrelic.)
03-27-2009, 07:09 PM
Find


Messages In This Thread
Schmup.exe - possible standalone ? - by Sha - 03-27-2009, 05:20 PM



Users browsing this thread: 1 Guest(s)