Hallo fellas, i thought about one thing.Its possible to create 2 selectable campaigns in the main menu of the game?Lets suppose i created total 4 WWII levels, u play 2 levels as us soldier, 2 levels as soviet soldier.Now i wanna put them in 2 different selectable campaigns in the menu.
somethink like here in this video at the beginn
https://www.youtube.com/watch?v=fcGHjI51SiA
Added to the title.lua "new campaign" page
if g_sprCursorPtrClick == 1 then
if iHighlightButton==TITLE_NEW then
SwitchPage("newcampaign")
Now i have to create a newcampaign script, can u guys help me?i guess there should be two StartGame() funktions with 2 different images on the screen, a "soviet" and "USA" in my case.
osiem80
EDIT:Its even possbile or i just wasting my time?If yes tell me please..
What means
TITLE_NEW = 1
TITLE_LOADGAME = 2
TITLE_ABOUT = 3
TITLE_QUIT = 4
are theese constant funktions?not editible?And the numbers are just scrpit-shortkeys?
Generaly i wanted to create from the title_new and the start button another page with 2 campaign-start buttons within.But everytime i click start in the standalone the computer hangs.There is also "function title_free()
-- free resources" in title.lua, can i made my own page with this function?If yes, there could be a way to make a subpage within the title.lua?
The author of this post has marked a post as an answer.
Go to answer