Thanx to both of you for suggestions, I was hoping that there would be an easier, more automatic way to do this:) The function-based approach will not be satisfactory since I need to really re-initiate the entire thing.

Click to reveal..

..but last night I had an idea that is based on TheLiam's Overlay Window project (http://www.opserver.de/ubb7/ubbthreads.php?ubb=showgallery&Number=374348#Post374348).

What I think will work is this: I create two applications, one is the game menu and the other is the game levels. When selecting a new game or selecting the specific level from game menu I don't use level_load but exec to start overlay window (which will be all black). Overlay window will initiate the exe file of the second game-part but, because the overlay window will cover the startup screen of GS, the entire process will look the same as if the level_load was used.

Unfortunately I can't figure out the command that will start the game automatically because the code is in xml:( This is the original (TheLiam's) line of code:

<startbutton name="start" style="button_click" text="Spiel starten" file="Game\main.exe" x="16" y="16" width="75" height="24" backcolor="WhiteSmoke" forecolor="Maroon"/>

I've tried things like:
<open file="Game\main.exe"/>
<start file="Game\main.exe"/>
<startup file="Game\main.exe"/>
<main file="Game\main.exe"/>
..and few others but nothing worked, I was still forced to manually click on the button to start the game:(

Maybe you have some ideas on what to use in order for this to work?


It seems that TheLiam's Overlay Window application doesn't have the feature I was going for. Nevertheless I still think this will workout:) All I need to do is to have a simple 'are you sure/ yes or no' appearing in the window when user click on new game or load game in the menu. Clicking on 'yes' button will start second part of the game and clicking on 'no' will terminate the overly window:)

Last edited by Pavle; 06/18/11 12:12.

>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<