I never intend to make one post a month, it just happens that way. Approximately once a month, a decent development is made. Every time I end on an optimistic note, saying that I hope I can get to writing about actual gameplay soon. I suppose last time I did the settings, this time the other major hurdle has been cleared.
I'm talking about multiplayer.
Although all of the functionality isn't there and the whole thing has yet to be tested thoroughly, I can proudly say that I seem to be able to host an online game, get a list of online games (through a 'join game' menu) and then join that game.
If you've been keeping up with us for the entire time, you'll know this is a huge accomplishment for us. We poked around with the Unreal's limited Blueprint multiplayer support during the prototype, but after a couple of infuriating weeks, we gave up on that aspect with the conclusion that the available Blueprint stuff simply wasn't able to give us what we wanted.
AND NOW IT WE HAVE WHAT WE WANTED. I really do hope that everything is working as well as it seems. I also really need to thank roomon1 on the Unreal AnswerHub for being awesomesauce and basically making this happen. Here's the question-thread that led to this post.
So now that that tremendous headache's out of the way, we can jump right into the fun stuff! JK, I still have some holes to patch up in the MP system and I have to glue everything I've currently got (a little bit) together.
By that I mean I have to make sure that all of the backbone stuff like multiplayer and settings and the plugin-based approach I'm taking to this (oh right that I have to talk about that too) all work in a cobbled-together way.
But finally I can finally see the part where I'm not working on infrastructure anymore and am making stuff I can take screenshots of. Hopefully something can be put together before I leave for game dev college in August. That's somewhat of a mini-deadline for me since I know that after that starts up I'll have school projects to worry about and won't barely be able to put any time into this. Hopefully I'll have it to the point where my partner Khan can take over.
Speaking of him, he's been doing some really cool stuff recently (and in the past as well). I should get him to post things here...
Anyway, see you in a month (or less if something cool happens).
It's time again for another month-apart update.
This time, I am able to say that NOT EVERYTHING IS BROKEN ANYMORE. I was able to essentially remake Mega-Risk and get everything locked within the vaults of source control. Over Spring Break, I was able to get a theoretically correct multiplayer setup going, but was forced to stop when, after getting all the code to compile, I could not make the in-game server list show any servers.
So I decided to get a settings system working. It may not have been made obvious in previous posts, but customization is a huge part of Mega-Risk. In real-life games, the rules are often tinkered with from game to game (and sometimes mid-game as well). Everything from the ability to trade territory cards to the number of troops that can be raised in a single turn to existence of unbreakable alliances are all things that are decided upon in each and every game. As such, I've been trying to figure out a fast and easy way to implement an ENORMOUS amount of game settings, with the ability to add more whenever we need to without any headaches.
My prayers were answered in the form of spreadsheets. Luckily for me, Unreal Engine supports the use of Excel Sheets to create data tables*. After a long night of getting the required framework in, I had pretty much created a system in which a central 'Settings Sheet' can be used to hold every single game setting in Mega-Risk. Even better, I found out I can edit this sheet in-engine once it's been imported into Unreal for the first time.
Actually hooking this data up to a set of variables took a bit longer. To get into the details, I had to make a set of menus that categorizes all settings into a neat little settings screen and then have every setting correlate to a variable in my GameInstance (basically a place where all settings and game-wide data is kept).
Thankfully, this system seems to be working now and I can try to get multiplayer working. Well, when I say that I mean I can now help my partner with the problem he's having with source control so he can try and solve the problem because I can't figure it out for the life of me.
All-in-all, Mega-Risk is chugging along at a steady-ish pace and I think we're almost ready to make all the fun, cool stuff like actual gameplay soon. ;D
HELLO AGAIN, any and all who read this! It's been over a month, so I figured I'd give a status update. As the title mentions, everything is, once again, broken. How broken, you ask? Well, let me tell you.
Over the last month, I've learned a very valuable lesson: if you EVER mess around with your UE4 project files using Windows Explorer, there's a good chance you will permanently and irredeemably break your project so bad that it will either never compile again or the project will be unable to load.
After implementing basic forms of all of the infrastructural files in C++, I received some very weird compile errors. After some searching, the only help I could find was a suggestion that I delete some of the folders in my project, namely Build and Saved. I'm not 100% sure what these do, but I think Build handles all the files that are generated when the project is built/compiled and Saved is mainly backups and whatnot.
SO, I deleted these two under the impression that it was similar to clearing my cache.
I was very wrong.
On my next build, I got even more errors and suddenly Unreal would not load the project, giving me a minimal crash report for which there was no help. Frustrated, I deleted the entire project (I hadn't put too much work into it at this point) and started over.
This process repeated itself to some extent over the following weeks. One time, I was even able to get the Invasion mechanics coded before it flopped and burned.
Over the past two weeks, most of my time has been spent working on a research paper for my history class (school is still a thing that exists) and trying to find some scholarships to apply for. Mega-Risk was not opened at all during that time.
I'm back now, and I'm going to try to get this puppy stable and not running into a pit of spikes like a rapid Super Meat Boy every ten seconds.
Wish me luck.