Creating a single player campaign with Spring
Posted: 14 Oct 2015, 19:53
Hi all,
this is my first post on this forum, so in case this this appears in the wrong spot, I apologize.
I spent quite some time browsing this forum, the wiki and the Internet but I'm stuck currently..
As mentioned in the subject, I'd like to make a single player campaign in the style of that old BattleTech 2: The Crescent Hawks' Revenge.
This question is about overall gameflow:
The game is built around missions, narrative and management parts.
In between missions there is narrative text, some pics, background music.
You also can do squad management things like repair stuff, assign pilots to mechs or chose your next mission.
I already know that I need to load what I call "background maps" when in-between missions (simple maps that load fast and act just as background while really having the magic happen in Chili UI). The same is true for generating a main menu, which should have the following options:
a) Start new game
b) Load previous game
c) Quit
Starting a new game triggers the first narrative (the Intro), allows for squad management and then loads the first mission.
When the mission is done, I load the background map, display the narrative part, allow for squad management and then load the next mission (maybe based on which decision you make).
Here are my questions:
* Can I start the game's binary so that a game is loaded immediately, without the Select Game, Select Mission, Select Script options?
* Is there some game-config where I can define which map to load first? (that would be the startmenu map)
* How can I trigger loading another map? I need to do this at the end of a mission (load the background map) and after all the narrative/management stuff
I'm pretty sure that all these narrative and management things are doable with LUA. (I'll ask later if I get stuck again there)
I was able to find parts of what I'm looking for, however there are so many different sources of information, it easily gets too much for a greenhorn.
Thanks guys for creating that engine, I really appreciate the amount of time all of you have put into this.
If I get this working, I'd be glad to contribute to the Wiki with some kind of documentation and give back to the project that way.
// delMar
this is my first post on this forum, so in case this this appears in the wrong spot, I apologize.
I spent quite some time browsing this forum, the wiki and the Internet but I'm stuck currently..
As mentioned in the subject, I'd like to make a single player campaign in the style of that old BattleTech 2: The Crescent Hawks' Revenge.
This question is about overall gameflow:
The game is built around missions, narrative and management parts.
In between missions there is narrative text, some pics, background music.
You also can do squad management things like repair stuff, assign pilots to mechs or chose your next mission.
I already know that I need to load what I call "background maps" when in-between missions (simple maps that load fast and act just as background while really having the magic happen in Chili UI). The same is true for generating a main menu, which should have the following options:
a) Start new game
b) Load previous game
c) Quit
Starting a new game triggers the first narrative (the Intro), allows for squad management and then loads the first mission.
When the mission is done, I load the background map, display the narrative part, allow for squad management and then load the next mission (maybe based on which decision you make).
Here are my questions:
* Can I start the game's binary so that a game is loaded immediately, without the Select Game, Select Mission, Select Script options?
* Is there some game-config where I can define which map to load first? (that would be the startmenu map)
* How can I trigger loading another map? I need to do this at the end of a mission (load the background map) and after all the narrative/management stuff
I'm pretty sure that all these narrative and management things are doable with LUA. (I'll ask later if I get stuck again there)
I was able to find parts of what I'm looking for, however there are so many different sources of information, it easily gets too much for a greenhorn.
Thanks guys for creating that engine, I really appreciate the amount of time all of you have put into this.
If I get this working, I'd be glad to contribute to the Wiki with some kind of documentation and give back to the project that way.
// delMar