Game Mission System


Hey, got my feet wet with some OOP lately and this is literally the like third day of my doing stuff with OOP and all say ive been struggling to wrap my head around a all round good mission system for my upcoming game and, I’ve just been doing slme testing and it’s going so well, I plan to open source it some time in the future, It doesnt use actual instances, it’s all neatly confined into a script!

I have different types of mission that function differently, currently I just have one and that’s a “kill” mission constructor, which takes in different info from other missions I’ll make etc.

I first alert my mission using this method I created!

M:AlertMission("The Deed.", "Story", "Kill all the bad dummies!", "Example", 0, 5)

For the “kill” mission type it takes in 6 different types of data.
Those are, the quest name, quest type, quest description, progression and the amount of things you need to kill!

Using the information I setup, I can track what stage the player is in the quest, and do so many different things with it.

Anyways here it is in action!

6 Likes

Looks cool! But i personally would make a gui for how many bad dummy’s that have been killed. But other than that, good work! :+1:

1 Like

Oh im not even done yet, also everything is done in scripts no actual objects like folders! I plan on open sourcing something like this because most people would love this for their game, I have yet to add more “types” of missions, thank you for the feedback!

2 Likes

honestly, this looks just awesome!! Plus you are making it open source which will honestly make a lot of developers really happy :smiley:

1 Like