"divide" my game into chapters / missions

Hi all,

I created a new project and added my landscape, lighting, 10 skeletal meshes, and so forth.
Now i’d like to start programming my game.

My game will inculde 3 chapters including dozen missions.

How can i “divide” my game into different missions and chapters ? Also i’d like to add an interface which includes dynamic text and image whenever a mission is completed , for instance : “You have completed this mission, now the next mission is…” Also this interface should show life and armor data of the main character ( heroe). How to set up such interface please ?

Thanks

You could put a different chapter / mission in a new level.

Interface, there could be many ways, one I would say would be a widget, or you could use a 3D with and make it look like it is a monitor.

Thank

Well this would all depend on what type of game you are making…

Are your missions based in an open world? or are there levels?

If it is an open world, then you need to implement a way for your game to have a notion of what is currently happening - for example, what might change when on a mission, what the outcomes are, etc.

This could be done in C++ by creating a class that would represent a mission , and you could then have different mission types, objectives etc within that. Then if your in game state for being “on a mission” were true, you could have the game hold a reference to the current mission and kick off an even when completed.

Take GTA for example :

The game knows : When you are on a mission, what your objectives are, when you complete them (or die, get arrested, fail etc), when the mission is completed it would push the story into the next phase. all within one world.

However, if you have levels, then like said, just give each chapter or mission a new level.

Regarding the interface - it could be worth looking into a UMG based inventory as a base line for this.

Thanks for your repoly .

My game won’t be an open world, it will be structured in 3 chapters :

1/ outdoor scene with a landscape on a foreign planet
- mission 1: do this
- mission 2 : do that
- …
- mission 12: kill the alien wave

2/ The urban part
- mission 1: do this
- mission 2 : do that

3/ Don’t know what is it yet but i want 3 big chapters.

Ok i’ll add new level for every mission. I would have prefered sublevels for better structured stuff, but it’s not a big deal.