Uniting The Realm - 08/18/2023
Howdy, Heroes!
Time for another weekly update.
This week, weāre delving into my cancellation of the combat system.
Combat... Terminated.
It wasnāt an easy decision.
When building out the combat code, equipment code, and I was contending against quite a few obstacles and hazards. These varied from design issues (rectifiable), implementation issues (rectifiable), and ChoiceScript Issues (something I couldnāt rectify).
Combat worked. To give an ideaā¦
- The system generated the initial turn order and used a cyclical incrementing function to determine who was up next. Code dynamically generated player statistics based upon that functionality.
- Enemies had initial AI, something I had to hard-code. It was difficult but possible. Expanding it wouldāve been trickier in the future, but I donāt think it wouldāve been impossible. The upside was I had direct control over every encounterās difficulty beyond merely balancing purposes as I created the AI by hand. It used a variety of checks to determine who it would attack, what abilities (that I gave that enemy) it would use, and what its stats were when determining if that specific attack was worth it. Was a royal PITA to implement⦠but it worked.
- You had multiple functions. Basic attacks, spells, abilities, and item access. These created a core gameplay loop with incremental progression throughout the leveling process.
- Every time damage was calculated, the system determined if enemies died. If they did, the system created an update loop that removed them from target selection and ran a separate check to determine if every enemy was dead. If so, combat terminated and triggered the victory script, calculated an initial pass at loot tables, dolled out XP, and continued the sequence.
Furthermore, I had fully playable Combat Tutorials for each of the three classes. They were deployed on the Private Testing Build (Dev). So the question could become where everything went wrong.
The answer is - the party system. See, the turn order worked with everyone, yes. But it was realistically the most straightforward system to implement. Combat in isolation also worked, if you were the only one in the party.
Once I began expanding the equipment code to multiple party members, I ran into a slew of roadblocks. Dynamically appending code to cover every party memberās unique variables was a royal PITA and required copy-pasting code blocks due to the way I had to implement inventory. This caused files to balloon out of control quite rapidly. Secondly, it became a strewn mess to connect to the primary combat sequences.
Couple this together with the significant implementation headaches I had ahead of me, that every time I patched an issue, two more popped up, and that balancing as the lone developer wouldāve been a headache on its own - and I realized how detrimental maintaining the system was becoming to the project. 80% of the development on Update 1 had gone to these systems, which caused a multi-month delay in producing Update 1. It required extensive documentation, creating keyword tags to ctrl-f (find) my way down the document as it grew, and much more.
By the time I coupled together the poll⦠I had pretty much made the decision to sever it. However, I donāt like to make decisions this major (given that everyone had been patiently waiting) without providing a proper explanation as to why. While I know Iām not required to, Iād like to apologize to those who were excited and waited patiently. In a perfect world, Iād have been able to produce the system to my specifications.
As Iāve learned quite well in game development by now, not every idea that hits the paper dolls itself out in execution.
What Takes its Place?
Combat will still exist⦠in narrative format.
Iām going to create unique, multifaceted combat sequences that are baked into the narrative of each encounter. Each will take time to craft, as theyāll offer multiple routes of progression based on levels, stats, classes, etc. Smaller encounters will take far less time to craft, while larger set-pieces will forge a more blockbuster kind-of style. Nonetheless, expect plenty of narrative meat.
Second, Iāve got plenty whipped up. Hereās whatās left on the dev cycle for Update 1, as I know I promised much and gutting the combat system will take away from it.
- Implementation of the new Trait System (think Fallout, Wasteland, DnD, etc.!)
- Completion of overhauled content for the Prologue. Because I ripped away the Arena, I chose to make amendments and provide some fun narrative meat to picking each race.
- Some final pieces of polish.
- Act 1 Teaser for the Shadow Elves.
- Official Prophecy of the Game.
- A few other bits and bobs left to implement.
Once thoseāre done, weāll call it a day. Iāll do some QA passes, and drop Update 1 into the wild. Separately, Iāve begun some side work again for Update 2, mainly to ensure it aligns with where Iāve placed Update 1 on the narrative spectrum.
To give an idea of where weāre at. This is the only teaser Iāll provide of direct content nestled within the Prologue beyond the first-page teaser Iāve provided. Letās do a bit of a before and after, shall we? (As a note: the before contains the entirety of content that a single race selection preview provided, meanwhile there is much more narrative meat and several more pages of content left out of the Update 1 teaser.) (Second Note: Update 1 is still undergoing editing, so bear with me!)
The Humans (Update 0.4)
The Grey (Humans - Update 1)
Itās an ongoing process, but weāre getting there. I know some may wonder why Iāve chosen to drop a small teaser for each update, thereās tons of new content, so these merely offer a glance at whatās coming. Separately, this also provides a show of goodwill that development is ongoing and not stalled out.
Lastly, I provided a glimpse at the new Discord and Social Media logo for A Realm Divided last week. Itās my pleasure to unveil the new and final standalone logo for the title, moving forward. Given the darker and more formal tones the game and story will take on, Iāve opted for a logo that reflects that. Despite that, I havenāt forgotten that weāre in a fantasy world, after all. I hope you enjoy it. 
The phenomenal artist behind this is known as Talia. While Iām unsure if it would run afoul of forum rules (so Iām omitting her links from this post, but will put them on my Discord), you may DM me should you wish to inquire about her services. Sheās quite reasonable and excellent when it comes to feedback and the creative process. Itās been a delight to work with her and I canāt wait to do so in the future.
This update was pretty big, so Iāll skip next weekās. Iāll see you all properly again on September 1st for State of the Realm.
~Zach