Choose Your Language

Saturday, 6 August 2022

Episode 65: It's Starting To Feel A Little Epic!

When I first envisioned The Scroll campaign for NWN2, I had no idea of the scope I would end up trying to cover. My initial plan was to write a first module that would introduce the players to the campaign, and at the same time, bring all players, new or old, to a place where they could continue with the main plot with similar campaign story knowledge. The second module was when all players would then start to unravel the main story in more detail ... and the third and final module would be what brought the story to an end ... but let me just backup one step and bring you the latest on the second module, still currently under development.

The Brief History

Regular readers of this blog will be aware that The Scroll was originally a "pen and paper" (PnP) 3rd edition campaign, with original roots in AD&D 2nd edition. The PnP sessions of the campaign ran from the early '80s through to 2008. I then transitioned from PnP to using NWN, and Soul Shaker (NWN1) was the first module written for the campaign that eventually leads us into the new age of "The Darkening" upon Althéa ... and where the first module on NWN2, The First Day, begins. If and when played, all players should finish The First Day around 9th - 10th level, and with an understanding that they need to head to Boran, the capital city of the Borantan Plains upon the world Althéa. However ...

Main Background Differences

Even at the beginning of the second module, Predestinated Days, whichever background the player chose at the start of The First Day has a bearing on how the second module unravels. However, I have also allowed the option (for players who may skip the first module, or no longer have PCs to import into the second) to reselect the background path from the beginning of the second module. If, however, the player has PCs they have exported from the first module, or are one of those dedicated enough to play the first module and flow straight into the second (yes, I have allowed for that too), then the background first chosen will be retained on import or continuation of play. Why is all this so important? The bottom line is because each background path adds a whole layer of plot for some conversations the PCs may have moving forward in the second module. The good news is, I believe I have finally resolved all path differences for the most important conversations now. This means that by the end of such conversations, all players, irrespective of background, should now be in the same place, as far as knowledge and expectations of them is concerned, which, in turn, makes my progress with later conversations easier to handle ... and speed up building. Although ...

A Big World: Design Depth

I already have PnP maps of the entire world of Althéa. I drew them and wrote a history for the world even before I designed the story for the players. Why? Because story elements with historical references from the world in which they take place can make them feel more real. In many other styles of modules, often these historical elements are either never referenced at all or are made up on the fly to give a kind of lip service to such. However, unless a builder has a good idea of how their world runs from the start, then modules can feel orchestrated at best, or lacking in details at worst. Some players don't mind that style of play. Personally, however, I like to play modules that (at the very least) have given some thought to the background in which their story takes place. The downside is that if done wrong, then introducing or making use of these elements can come across as "boring" or an "information dump". Done right, by introducing the elements at a reasonable pace and as the story unravels (as the player plays it), can lead to a satisfying discovery for the player and add a layer of gameplay that I believe is often poorly handled in many AAA titles today. In brief, I am talking about design depth, which, when done well, leaves the player with the impression of details that add to the overall experience of their game. The game world feels full, even with fewer areas, compared to a module with twice as many areas but no depth to its campaign world. However, all such depth of design requires more time to develop and then careful implementation in such a way that does it justice. I just hope I have the balance right.

Reining It In

I confess that I need to start reining the design in, or I will lose myself within its depth for too long, and risk losing sight of the end. Finishing the final conversations that handle the background differences have certainly been a turning point for me, but I also now need to try to deliver on gaming elements that I have managed to design already. However, there remains some partially started quests, which due to their historical background and involvement with players PCs of my PnP campaign, require some extra attention to the detail of their design. Thankfully, this is a less complex process than writing conversations to handle such, but, nevertheless, they do still have some design elements that differ according to the main background chosen at the start of the campaign. Looking back, I have to admit that taking this original design policy to support both old and new players has added a extra layer of complexity for me, but, I hope players will remain waiting patiently for the end result. Thankfully, by the time I start the third module, all main backgrounds should have converged in the story line, meaning the last module should be easier to write form this perspective.

So What's Left?

Having explained my difficulties and reasons for this second module taking longer than I first thought, I suppose I should at least give another update indicating where I am currently at ... So let me try to break it down into sections that I think remain, without, I hope giving too much away ...

  1. WORLD MAP: The area is completed, but not all links are yet fully in place or tested.
  2. LOCATIONS: Main city locations and others are in place, but extra work with them required.
  3. MONSTERS: New monsters are in place, but some additional AI on others required.
  4. QUESTS: Many are already started, but some require a lot of work to finish. (*)
  5. PUZZLES: I have all my puzzles working, but some new systems requires extra coding.
  6. SYSTEMS: The second module has a special new system, which is 75% completed.
  7. NPCS: Many have been written, but quest nodes remain where quests not yet completed. (*)
  8. PLAY TESTING: After all points above done.   

(*) These are the elements that require the most time to complete, especially when you take into account the points I make above with respect to backgrounds and retaining logical flow to the original PnP design.

I can't deny that occasionally I still "gasp" at what remains to be done. But, there is still less to do with each blog post I make, and is why I continue to write these blogs: to help encourage both you and I in that, hopefully, one day, Predestinated Days will be released.

And as you have taken the time to read my post, please enjoy this screenshot of an image the PCs will come across during their adventures in the World of Althéa ... The start of another adventure?

A Noticeboard Update!

 

Thursday, 7 July 2022

Episode 64: Ye Olde Shoppe!

For the last month or so, I have been chipping away at module two, adding NPCs, journal entries, conversations and events. During this time, I also discovered something about stores I had not realised until now. On another note of introduction, I must confess that a fair amount of my development time was taken up with designing a card game for another builder. However, now done, the mini-game will also feature in my next module as well, and you can see a video of it in action below. So, ye olde shoppe is now open for you to enter and take a browse ...

The Hunt of Life Card Game

Basically, I have built a small card game that plays similar to "Pontoon" (aka "Blackjack" or "21"). If you want to read more about the rules, watch this video below and pause it when the "Rules" are displayed. I already have an idea how this card game will be used in a quest, and hopefully, players will enjoy the minor distraction from the norm for its duration. I even intend to have a deck available as an item for players who may just like to play it now and then.

This video shows a slightly earlier build, but everything working fine. The latest build has an additional setting button that allows the player to select a faster or slower deal speed.


Store Blueprints Info

During my time sorting out some new stores for module two, I discovered that if you made a "campaign copy" of a "STORE" object, which you hope to use as a template in other places, it fails to allocate any custom items based on altered item blueprints when you try to add them.

For example, I have altered the standard cure healing potions and have new versions of these potions, which if I then try to add them to this campaign Store blueprint, the added items immediately revert back to the original item template. The only way I could add my own altered items was to ensure the store object was already placed within an area and then add my modified items to that Store object.

I was surprised that I had not noticed this before, but it may be because I have only recently been altering items prior to adding them to the campaign store blueprint. However, this is not the first time I have experienced "difficulties" with store items. Frustratingly, if you add an item to a store, and then later decide to alter that item template in some way, the store item needs to be removed and then replaced with the updated version, or else the older version has been retained. Module placed Store objects appear to maintain individual references of items placed in them, even if the original template is changed in some way. EG: If you add a potion that says, "A Blue Potion" and you later alter that potion template to read just "Blue Potion" in its campaign template, then the store will not update the item, but will have kept a copy of its original wording. It's kind of doing the opposite issue of what I describe above.

This was a reason for the latest module update to The Scroll v1.63E. Some Stores objects had items placed in them, whose templates had been changed since the items had been added. So even though the items had never been referenced before (aside from the builder adding them to the Store object), when they came to be "bought" by the player, the store handed over "old" items based upon an old template reference that no longer existed! Something to keep an eye open for moving forward, and a chore to "fix" if one does ever alter an item template.

Reactive Offers

Thankfully, after all these latest discoveries, I have now been able to address all potential store issues with such items for module two, even before its release. Also, as a heads up for followers of this blog, (and while talking about stores), some store owners in Predestinated Days will now respond and offer other goods or alter prices subject to how the player interacts with them, which in turn is governed by how they have setup their PC background and role-play their PC with them. This is on top of the existing PC appraise skill deals!

The idea is to introduce a bit more character to store vendors again. I did this somewhat in The First Day, but I hope to take this to another level in the next module. It will be up to players to consider how best to speak with vendors to help improve their deals. Note: This is just a small piece of game mechanics that allows more player agency ... Hopefully, I have designed it to be reasonably natural and not overly intrusive, but noticeable.

Soul Shaker (EE Version)

In other news, and after some requests, I ended up buying NWN1: EE at discount from STEAM, so I could update my NWN1 module, Soul Shaker, to be NWN:EE compatible. The updated version of NWN1 has undergone enough changes that had made my module incompatible with it. The main four issues I had to address were:-

  • 1) Videos required a WBM format. (Thanks to Pstemarie for help here.)
  • 2) A script function clashed with one in NWN:EE.
  • 3) Some VFX required a delay to function correctly.
  • 4) Some extra code to allow SP gamers without a unique ID to play. 

I await feedback to let me know if there are any other issues that need addressing. However, if you want to give it a go, grab it here. Let me know if anything else needs fixing for NWN:EE.

A City Vendor Tries To Attract Your Business!

 
Is This The best Deal?

Monday, 6 June 2022

Episode 63: Another Blog, Another Step!

Almost sixteen months ago, this blog post marked the 100th backup I had made of the second module since the start of its development. Just over a year later, and I am now over the second module's 200th backup! And what a journey that's been. Not only has the number of areas grown, but I have also been able to concentrate on many conversations and side quests since that time. New mechanics have also been written for the next module, some of which, like enhanced PC Background and Sepia Image conversations, I have covered in some detail. However, there is still more to do ... Read on for the latest overall picture of progress ... and two extra bonus screenshots.

The Paperwork Progress

I have before me a pad of paper, which has copious notes (with dates) spanning its pages. The earliest date is 19th November 2018, and this notepad is about my third since I started making notes about The Scroll. (NB: I started reporting these Episodes from 3rd May 2019.) This latest pad covers the notes I am using for module two, and it covers all the various ideas for puzzles, side quests and plot twists that the module needs to cover. As well as this notepad, I have other notepads and paper maps that go back decades, and cover some of those scenarios from my pen and paper D&D years, which are also being brought to the second module. The latest note I have made in this current notepad has only three lines written there ... to remind me of the key NPCs that the PCs will meet and how the main quest progresses with the encounter of each of them. I believe I have covered at least 75% of the material I need for these characters to date, which relate to this module specifically. Or, to put it another way, conversations for the main quest path for the next module, Predestinated Days, are almost complete! However, smaller conversations remain incomplete or yet to be written.

The Quest Progress

In my mind, I am currently about 6-10 quests short of my desired number for this module. However, there are a couple of points I can make regarding this. Firstly, compared to my first module, the current quests for my second module are generally more involved, requiring a few more steps from the player to reach completion. As a comparison (and ignoring tutorial type quests), my first module, The First Day, had at least three quests (possibly up to six) that could be done within a few minutes of starting the quest. The second module currently only has a couple that may be considered "quick" quests. The second point I need to make is that the quests for this second module are generally more complex compared to those of the first module. In this case, this is not to say they have any more stages, but, instead, that each stage may have more than one outcome, increasing replay value. I have probably started writing around 80% of the quests required for this second module. I have "completed" around 55% of the expected total.

The Area Progress

Area progression is a hard one for me to pin down. For whenever I believe I have added my last area, I suddenly feel the need for another. This is especially the case in this second module, as Predestinated Days has at least three outdoor areas that demand further interiors, in my opinion. I am also aware that I still have at least one dungeon to complete in its entirety, of which I have not yet done any of its interior areas. There is also one other exterior area, which I believe will require some interiors to complete. I believe all these areas and related quests will be among the final stages of this module that I will end up doing, especially as they have some bearing on how module three begins. As a side note, both of these unfinished scenarios are based upon my old pen and paper notes.

The 'Other' Progress

I would like to believe that most, if not all, of the mechanics coding is complete. I have updated or added some new puzzle code, although, in some cases, these have not been added to the module itself. However, with the puzzle coding now complete, it should be just a simple matter of adding the interactive objects to any areas as required. The "complex" part is knowing where best to add such elements in a way that does not unfairly impede the player or more essentially cause a player to be unable to progress. Balancing the challenge of an interesting puzzle with a PCs capabilities (or even the player's), needs to be carefully considered. As a current guide, I watch how my wife currently manages each puzzle, and consider any adjustments from feedback that she (or others) give me. As this next module will come with some new puzzles, this may have to be something for me to look more closely at over time.

The Bottom Line

I am progressing ... slowly, but getting ever closer to finishing this latest module. Sometimes it is hard going, especially when my health plays up, when I have to stop completely. However, I still have some days when I can pace myself to be able to progress just one more little step. I am excited about what I have done so far, and look forward to releasing it ... whenever that day comes.

The Scroll

Finally, just to report that my wife decided to jump in and play the first module (v1.58E), yet again! Anything that comes to light during her latest play through is the reason for any further updates to the first module. Since her latest play I have updated to v1.59E, mainly to cater for potential "immortal" thugs if a quest is followed along a certain path. This issue can be worked around following a different path, but I wanted to release v1.59E to avoid that path issue for any new players. As long as no other such "important" (or "critical") issues arise, the next release will be v1.60E, coming after her latest play through.

Jared's Odds and Sods!

I'm Looking For Phil McCavity!

A Busy Port!


Monday, 9 May 2022

Episode 62: More Areas, More Quests!

Just when I think I have reached the total areas I am going to need for this module, another requirement pops up in a timely fashion, requiring me to have to reconsider more conversations and, more importantly, more quests for the player to undertake. For every time I introduce a new area, I then also feel obligated to make it an area worth visiting, and as any builder knows, this means the need for a quest or two. Read on to learn more about the latest developments ...

It Grows!

It all began when I started to write an important conversation that moves the heroes from one situation to another. Originally, this was going to be a basic conversation with an NPC whom the PCs may or may not know, subject to the background they have originally chosen for playing the module. The problem was, however, I could not easily introduce this female elf NPC in any of the areas I currently had available without it lacking authenticity. i.e. I wanted to have the PCs meet this new NPC in the environment they worked in, rather than the local tavern.

So, I found a rather good prefab on the Vault (details withheld to prevent spoiler), and place my NPC in a suitable location within it. I now had a neat new area with the link I required, but the area felt very much underused. In my mind, there was no other course of action other than to consider some suitable quests for the area to flesh out the experience for the player. It also offered me a way to add some personality for the NPC as the PCs carried out some particular tasks for her. It did not end there, however, as I also wanted to give some depth to the new outdoor area, by allowing some buildings to be enterable. This meant having to create some new interior areas too. It did not take long before I had four new interior areas too, but I am not convinced that's the end of it. i.e. Arguably, I think there should be at least another two interiors to make most use of the area. Thankfully, I also managed to track down a few interior areas on the Vault that I could also potentially use for the ideas I have in mind.

I am also aware that I still have one scenario in mind for another area that will also require one or two (possibly more) interior areas to complete the quest. That quest is also based on an old pen and paper scenario, and so may require a tailored design when it comes to it.

New Tasks!

I now wanted to come up with some additional material to ensure the area was interesting enough to stand alone in its own right. To this end, I decided to flesh out this NPC, making her more fully rounded, and with an agenda of her own. I located my original pen and paper notes about this elf, and expanded on what was already known about her, basing some new tasks around her character traits.

In the process of doing this, I ended up doing some interesting new scripting that gave better interaction with the game environment. Unfortunately, I cannot go into much detail, except to say that something the player does is now reflected in the game environment. It sounds petty, I know, but it looks quite neat when played out. Another task I designed has multiple paths to its conclusion, subject to skill tests and player choices. The conversations involved were quite complicated to put together, but the end result is quite satisfying.

Also, all tasks to date, have included some random elements, which could allow a different gaming experience on any potential replays.

Dynamic Creativity

My approach to the building of module two has undergone a number of changes over the last few years, and so what I may have reported a few months back may not be what I now say. Basically, my approach has changed from a rigid approach of trying to finish one area at a time to a more dynamic approach, after recognising the story forces me to refocus on various aspects as they reveal themselves in a dynamic way.

For example, as regular readers will know, there will be 'were' creatures in module two ... and that means a risk of contracting lycanthropy in the Althéa Campaign ... which means I need to provide a means for its curing. There are also other issues involved when introducing gaming elements where a PC may polymorph at any time! So, in this example, I have spent some time making sure a solid means of a player being able to cure their PC was in place, as well as ensuring such a curse did not detrimentally affect the game in other areas. I also wanted to stay true to the D&D rules with respect to any lycanthropic curse, which meant it was reasonably involved. Therefore, when it came to designing this aspect of the module, I found myself having to deal with a number or items, NPCs and areas all at the same time, which meant I was forced outside of a "one area at a time" approach. There are many such design situations like this I have in module two, which simply do not allow me the luxury of a single area at a time approach.

Anyway, bottom line, this module will be done when it is done, and as much as I had hoped it to be ready by the beginning of the next year, I may simply have to accept that the dynamic story has as much to say about when it is finished, as I thought I had. ;) 

A screenshot from the latest area of work .... 

Casual Enquiries?



Tuesday, 19 April 2022

Episode 61: Mysteries Abound!

I cannot believe almost another month has passed since I last posted. I must be caught in some kind of time vortex, sucking life faster than I realise ... and talking about sucking life, (please forgive my awful textual segue), I now bring you the latest news for the campaign, which includes vampires! Read on...

VAMPIRES!

First mentioned a year ago, in this post, I recently revisited a vampire quest I am working on ... a nightmare side attraction for those that hate these undead in particular. Like all the quests designed for the next module, Predestinated Days, (the second module of The Scroll for the Althéa Campaign), I have tried to make this undead adventure more involved than the player may have initially thought it was going to be. By this, I mean including more steps to the quest as a whole, rather than a simple discovery and resolve. i.e. A backstory with repercussions that have affected the world environment beyond the player's normal expectations. Whether I pull this off or not remains to be seen. At the very least, I hope it will be one of those quests that stands out according to its own story and merit.

COFFIN SEPIA

I have also updated the original basic GUI regarding the vampire coffin information to be replaced by a new sepia style conversation. (See screenshot below.) As I have reported in the past, I have added a number of sepia style conversations that may serve to act as a means of interaction with the environment in a more "pen and paper" style interaction. The vampire coffin is the latest addition. Results can range from a peaceful backing off, an instant slaying, or a dreaded encounter!

LOOK THIS WAY PLEASE

I recently had a long struggle when trying to use a function, SetFacingPoint, to make party members face a certain way during a conversation. It turned out that any member that is "bumped" into as the conversation starts can fail to turn to face a direction when this function is called. I finally resolved the issue by ensuring another facing function was called just prior the line I needed to make the members face a direction. Here are the lines in the order required for it to work ... NOTE: The home brew NowFace function is the one that calls the SetFacingPoint function, and oNearestWP is the object to face. I post it here to help others and to remind myself should I forget.

// MUST USE SETFACING TO "UNLOCK" STUCK PCS BEFORE USING A DELAYED FACE TARGET
                DelayCommand(fDelay, AssignCommand(oFM, ClearAllActions(TRUE)));               
                DelayCommand(fDelay, AssignCommand(oFM, SetFacing(GetFacing(oNearestWP)+ iALLFACTIONCORRECTION, FALSE)));               
                DelayCommand(fDelay+0.1, AssignCommand(oFM, NowFace(oFM, vTarget)));               
MOVING FORWARD

I cannot deny that sometimes there feels like a lot left still to do. Arguably, this module should, perhaps,  have been broken down into two or more, but the structure of the quests and their execution makes doing so extremely difficult. That is, the events of the story at this stage of the campaign require the diversity of quests and their interaction with one another to give the module the depth I am seeking to achieve.

I believe it is working out as I hoped, however, because while I feel almost overwhelmed with what remains to be done, I also reflect upon what I can only call the "fullness" of the experience I feel the module, I hope, will deliver. Considering there are only a handful of key quests compared to (perhaps) many modules available, the overall depth of the module still feels satisfying to me.

This is because I am including a world map with various places to travel between and explore. Some places will not be available until a player uncovers certain paths, but even this varies according to player decisions. However, from these various world map places, areas uncover to reveal further details and plot developments. Finally, these areas break down into further events and adventures, each with unique characters and various special qualities to help them feel new. I know I could sound like I am just explaining the game in general, but I hope I have included enough new game-play mechanics, improved conversations styles, and general control improvements that will make the whole experience an exciting one.

A Vampire Coffin!


Friday, 25 March 2022

Episode 60: The Deepest Darkest Places

Of the three modules I hope to complete for the Althéa Campaign, I believe the second module that I am currently working on, Predestinated Days, will end up being the biggest. At least, that is how it looks to me at the moment. Looking at my original notes, I thought it was going to be no larger than module one, possibly even smaller, but as I start bringing all the various storylines together, it's actually turning out to be quite a size. I'm not just talking about file sizes, but actual gameplay. New ideas and system improvements compared to module one are starting to flesh out this second module more than I realised they would ... and it's all having an impact. Read on ...

Background Conversations

One of the largest changes, especially from a role-play aspect is the way I now arrange some conversations. Previously, I used to rely on just the bluff, intimidate and diplomacy skill checks as a means of offering various approaches from which the player may like to choose. However, these three categories are broad in how they might be interpreted in a given situation with respect to role-play, and so can leave some players not having an option they may be fully satisfied with. 

This is where I have now introduced conversation nodes that may start a line of conversation from one of five personality groups, based on the background feat a player may choose for their PCs. I have covered this in more detail in a previous blog post, but, in brief, rather than be limited to one of three broader skills to flavour the conversation, the new checks I now make against a PCs background feat will, hopefully, begin to offer some more conversation options in line with the way players believe their PC behaves, or speaks. It offers some new node options along more personalised paths before perhaps reaching a skill check like those mentioned above. The idea being that the focus on earlier conversation nodes based upon character background responses helps to flavour the overall tone of the conversation.

The introduction of this style of personality trait system, where backgrounds flavour a conversation, does require more writing, but I am hoping the extra nodes I include will now help players be able to flavour the conversation more to their liking. No system is perfect in a CRPG, of course, but it does help flesh out the options available ... and the overall depth of the role-play.

From Paper To Computer

As I have mentioned before, this campaign was originally designed as a D&D pen and paper (PnP) campaign ... and one of those aspects which has come to light as I transfer ideas and dungeons from pen and paper to a computer environment, is that a translation to cater for various paths a player may take all adds extra conversations and area design that was not required in the paper original. All such alterations to cater for a computer environment add up quickly, but at the same time, offer new areas of gameplay that was not part of the original design. 

Basically, the translation of a PnP scenario increases in size for a computer environment, and so what once appeared a small side quest on the surface of it , can escalate into something bigger than first realised. In PnP, a DM can prepare brief notes for different NPCs and speak as them when required. In NWN you need to have all conversations ready, and all work together if the player decides to explore every detail of your design. This soon escalates into preparing more material than the paper counterpart may have originally required. On a plus side, it is exciting for me to develop these other areas of the campaign, as they allow for both new and old players to experience an area of the campaign previously never explored.

Area Designing

Now that I have sorted a couple of new puzzles over the last few weeks (rotating placeable objects and the new trap disarm GUI), I have gone back to finishing off some area designs. Areas have included a sewer in which the PCs will find themselves and more areas for the mega-dungeon I am hoping to include. 

Let me also just take this opportunity to thank rjshae for pointing me in the right direction to help fix some aspects of the sewer tileset I am using, which I have now learned suffered from broken or missing Projected Textures. With his help I was able to fix over 200 tiles, which now correctly show target UI. (Eg: The circle that appears when you click somewhere to walk.) For while the tileset still worked without this, I did feel the missing UI may hinder some gameplay, so it was good to have fixed.

Going back to the mega-dungeon, I can report that I have started work on the final areas that are involved with it, and been able to incorporate some of the new gaming elements that I have been working on in previous weeks and months, including the new puzzle objects mentions above. 

This week's screenshot is also from an area I have been working on of late ... a shot from a deep dark place ... and demonstrating some neat walk path I managed to pull off. As a heads up, yes, the PCs do take heat damage while standing in that platform.

A Deep Dark Place

Friday, 4 March 2022

Episode 59: Power, Paranoia & Fear!

How a world can change in the time between blog posts. In this case, I am talking about the real world! I'm not going to spend time debating the arguments for or against the current world's situation, but just comment that all injured parties are in my prayers and to say that I find it very sad that in today's age and society that people are still so affected by power, paranoia and fear. In a fantasy world, it's a core aspect of a story for stereo-typical characters, but in the real world ... and in our modern times? It's a crying shame to the human race that we have still not learned to play nice with our neighbours, and respect boundaries and ideologies, even if we do not agree with them. So, with a heavy heart regarding the current atrocities being carried out in the name of ... indefensible arguments, I will try to remain positive and blog about such aspects in relation to my fantasy campaign ...

Conflict

There is no doubt that part of what makes a fantasy game exciting for many is the conflict. When it comes to writing a story, much of what drives the pace of a book involves conflict of one type or another. This is something I learned very early in my campaign writing, but at the same time, I also learned that "conflict" does not always have to end in combat. This is something I have noticed some of the more thoughtful writers have tried to include in their works. i.e. An option to resolve a conflict by a peaceful or agreed solution. However, let us now look at what is usually involved to bring about conflict that ends in combat in the first place ...

1) Power

The direct cause is normally a force or power that desires to make an impact on its surroundings. Ultimately, the "power" normally manifests within or takes control of a creature or being through which it desires to make its influence felt. In the Althéa Campaign, there is only one main source of power, but misunderstanding of that power causes the races to develop a paranoia.

2) Paranoia

History of my campaign tells us that as the races grew, they ventured into regions of land occupied by others and encountered one another. Who were these others? Look at what they do! See what they can do! It's clear they are different! Do they think and say things about us, like we might do about them? What if they think less of us? What if they do not like us? What if they want to hurt us? Such differences between the races and cultures lead to the third and final problem of fear.

3) Fear

Not everyone of the various races looked upon these cultural differences as potential problems. In fact, most would learn to celebrate the differences, or in the worst case, agree to differ and, instead, cultivate those things they had in common. But then there were others that could not accept the differences, or believed, in their ever deepening paranoia, that these other races were a threat to all that they believed about the power to which they held. This happened in every race, and it was those with most paranoia and fear of losing the power that their own culture had brought them that would be the first to bring about war ... the result of power corrupted by fear.

Conflict In Action

The Althéa Campaign has quite a rich history and background, but this is also information that sits more in the background during gameplay, as such detail is not normally the focus of the player's interest when playing a game. For most of us, all we want to know is who is the "bad guy" and what needs to be done. For most, we may pay lip service trying to prevent a conflict turning into combat (especially if we are low on HPs), but, if the bad guy won't listen, we then resort to the combat that the game supports.

In this sense, combat is purely a means to an end to reach the end of a game and feel satisfaction for completing yet another adventure. However, how many games do you remember how and why the conflict came about? For many players, this may not even be a consideration, and may even be considered "boring" and assigned to the same dust-building books assigned to real life history.

My point is that "real" conflict, especially that which results in combat is the result of a much deeper fundamental point of life ... and power. Conflict can be both "helpful" and "challenging" if it can be resolved amicably, but can end in dreadful destructive results if one party involved in the conflict fails to understand that any power they possess must be used for "good" rather than "evil". And loss of control that results in combat is normally a result of fearing a loss of such power, not only in their station, but ultimately also in the loss of their own life, where they have no power at all!

In the Althéa Campaign, I aim to give every conflict that results in combat an understanding that this is the case: a fear of its own existence of some kind. From a creature that simply attacks to protect itself from a perceived threat to its safety, or sees the PCs as a source of food by which to extend its life; to power driven overlords and undead that have lost all perspective of life for others, who only desire to extend their own existence by any means possible!

Thankfully, for Althéa, such evil beings are few and far between ... and there are heroes that will pick up the gauntlet and do all they can to help preserve a fair share of life for everyone. The red line, however, is that these heroes must not lose perspective and indiscriminately destroy life themselves to justify their actions. Unless the laws that govern such power are not observed, then any man "can pass from life to death". The real difficulty is understanding what these laws are, and what ... or who it is that made them. That is the fundamental part of the story of The Scroll.

Other News

Conversations, cutscenes and journal updates ... all being updated as I make progress. I did have one very frustrating moment when I spent more time than I needed to when trying to write a cutscene. Everything in my code and experience said a certain action I wrote to take place should work fine, but it simply was not, no matter how I altered it. In the end, the problem turned out to be a corrupted creature object! Once I had deleted that and replaced it, the original scripts I wrote worked fine. Let that be a lesson to everyone: Consider the associated object!

Finally, just to say that The Scroll (Module 1) v1.50E has finally been uploaded. In fact, it had another upload today, but no version change because the three points it addressed were minimal issues. i.e. Unlikely to affect most players, and even then may not be noticed. (See the download page for more info.)

Death - The Final Conflict!

Wednesday, 9 February 2022

Episode 58: Rotation Matching Puzzles

Time has flown past since my last report, and so I thought another quick update was due. Recently, I have found myself making use of the extremely powerful tool MDBConfig by rjshae. Basically, I have needed certain placeable objects slightly altered for my own needs, and this has been a really excellent tool to help me with the process. Read on to hear what I have done lately ...

Rotating Puzzles

As many of my regular readers will know, I enjoy interesting puzzles in my D&D games, and so I suppose it's obvious I wanted to include them in my own module. The first module comes with around half a dozen puzzles already and you may recall reading I have some new designs coming along in module two. However, I finally decided to also include some I had in mind that work by "moving objects". Think either the mirror puzzle in MotB or like those found in Skyrim.

In this case, I wanted to add puzzles where the player may discover a specific sequence, which can then be applied to a set of rotating objects to unlock a path to somewhere else. Thankfully, NWN2 already has some code related to this, but I adapted it (made clearer) to suit my own needs. I still need to add the code to check the sequence and return a result of some kind, but that should be the "easier" part for me. In my case, it was making the placeable objects I needed to be able to provide the clues and for the player to interact with in the first place that was the hardest. Check out this weeks screenshot from the toolset showing my latest puzzle object additions. I hope to make use of these in the second module moving forward.

Growing Conversations

This stage of module building is otherwise being taken up with writing the conversations ... again. One of the largest ones is growing close to 10,000 words! This conversation is not even finished! I would like to point out that this amount of words is not about a large text dump, but due to multiple paths through the conversation subject to player PC choices and situation ability rolls, or character trait. Furthermore, in this particular conversation, the text is also affected by the player's background, which continues from module one (if played), or of that chosen at the start of module two.

Multiple Paths

On the theme of multiple paths, I wanted to report that I have also been coding a new means the PCs can travel, which led to a potential logical flow issue where the player could approach the same quest from multiple angles. Don't get too excited, it's not full blown flying, nor animated swimming, (or anything like that), but is a new approach which will allow the player to choose a different travel path. The point is, however, is that this new means of potential travel involved quite a bit of planning on my part, and only now do I think I have covered all the angles.

For me, allowing the player to be able to approach a problem from more than one "literal" path (as well as a skill path) is what will tempt players to play the module more than once to see how it played via a different approach. i.e. Think pen and paper where players may discuss which way to approach the game before declaring their actions to the DM ... I hope to pull off a similar approach in this module too. It does require triple checking things, which all adds time, but I am pleased with the results to date.

That said, I don't want to put players off, by suggesting the module appeared too "open world". Far from it! Like module one, the second module follows a very clear cut main quest, but also leads the player to explore other areas they may also find interesting ... with some areas seemingly more involved with the main plot than others may first appear to offer.

Continued Testing

Finally, just a quick update to say module one is going through another final SP testing after I decided to make some more changes to the code. It was mostly to do with the container code again and improvements to the way items are collected. As soon as my wife has finished this play through, the latest version 1.50E of module 1 will be uploaded.

Elemental My Dear Friend!



Monday, 17 January 2022

Episode 57: From Paper To Computer!

I have to confess that while I have done a reasonable amount of coding since I last reported, it's still hard for me to say exactly what I have done that will sound exciting to you, as the reader. That's the reason I have not posted anything earlier this year. However, I do have some information, so treat this post as a general update with a couple of screenshots thrown in rather than anything with much specific detail. Read on ...

And Yet Still More Areas

Even though I said there was not much to report, I can quickly add that I recently added three new areas (all interiors). One was a rehash of an official campaign area, which I believe I have altered enough to give it a fresh feel. The NPCs encountered and the objects to be found there are obviously new. The other two areas are being built afresh, as their design demands it. I knew these areas were needed, but I only started them a week ago and they still have quite a bit of work to do. These are all areas I need for the conversion of my PnP scenario I wrote about three decades ago!

The PnP Conversion

I am starting to realise that there are both pros and cons when converting an old PnP scenario into an adventure in NWN2. PROS: The plot is already written and comes with map designs, encounters and gameplay ideas all ready to implement. CONS: Making the design match the original with the toolset is difficult. Also, in my case, my old notes are verbose (I wrote more back in PnP days), and they require "tightening" for the new medium. Puzzles from the PnP have to be coded into NWN2 script and XML, and "paper handouts" need to be converted to "readable" books and scrolls in the module.

This PnP scenario currently being translated into a NWN2 module is called Bloodstone College and is one of three I am converting from my original PnP material. This one is by far the largest of the three, and requires the most work. For instance, I have managed to incorporate most of the material of the other two scenarios into the second module already (with some final scripts to finish off), but this one is complex enough that it could stand alone as a separate module. For those who have played my first module, I would say it is as complex as The Halls of the Goblin Kings. That is, the quest should last a few gaming sessions alone, but should be rewarding for the player who enjoys a mystery involving undead. Now I've said too much already!

Code Improvements

I know this is an ongoing exercise for me as I write the second module, but I still think it's worth reporting to potential players. For instance, improvements to old code this time around has included, automatons and containers. Automaton code: This now works more efficiently alongside the core monster AI code, after I managed to remove the need to recreate the automatons. Basically, as I have understood NWN script more, so the old code is fixed to work more efficiently. Container code: This is an interesting development (at least as I see it), because I was finally able to remove the area of official code that spammed the window upon acquiring a new item. Due to the way I allocated items to special containers, a broken NWN function duplicated "acquired new item" when it was not meant to. In the past, I just put up with this and minimised it wherever possible. However, recently, I finally worked out how I could bypass the official function in one area of the code and bypass the broken function in another area, thereby removing all references to acquiring an item. It involved an XML edit, and writing a new callback, but the end result is that I now control when the player is told they have received a new item. UPDATE: Changed again to use existing xml and new function.

Module 1 v1.50E Coming Soon!

As a final comment for this post, I can report that the latest v1.50E version of module one is in last stages of SP testing. MP testing is already completed, and load times improved. The final testing stages are also making sure all the latest gameplay updates reported in the last few posts are working without any glitches. I am particularly pleased with the combined results of the latest journal/task update alongside the container update (mentioned above), which now means chat window text spamming has been totally eliminated. This latest version also benefits from all the other updates reported in previous posts, including the "fast map travel" and the "enemy counter", as well as the new task GUI and new container code. Add that to a couple of improved area designs (made larger in places) and a general overall improvement to area designs for load times efficiency and v1.50E should be something special and definitely prepares the way for module two!

Now the two screenshots ... The first is one my wife wanted me to include (which she found amusing) showing a combat she had in the first module where one of her party was enlarged and was fighting next to her other much smaller halfling. The second is a screenshot from module two showing a new banner I managed to include.

The Little & Large Show!

The Sanctuary of Narmor (Night Sun)!


Saturday, 11 December 2021

Episode 56: Being Made Aware of the Details

There have been a number of updates and additions made to the campaign over the last week or so. Hopefully, you will already be aware of the new TASK GUI, which helps reduce reliance on in-game TOKENS. Well, now I have added a few other features to the mechanics, a couple of which are to do with the default game colours, which I hope will be especially helpful for the colour blind among us. Read on ...

Continued Improvements

Split Gold GUI

As regular readers of this blog will  know, I have been reworking key campaign mechanics to improve efficiency for the multi-player (MP) game. This has ranged from area load times optimisation to general code tweaks. This week, upon request of a player, I also "fixed" the splitgold.xml, which is very frustrating to use in its default state. First, it does not provide an immediate focus to the editable text box, and secondly, it leaves old data behind that has to be deleted before a new gold amount can be entered. Not only did I fix both of these issues, but I also added functionality allowing the player to use the "return" key to complete the transaction (rather than have to return to the mouse to click the OKAY button), or use the "escape" key to back out and cancel via a keyboard shortcut too.

Enemy Counter

Affecting both SP and MP games, I have now also added a monster counter for the immediate encounter that tracks how many creatures are in the current combat. It can go both up and down, subject to whether new enemy creatures enter the fray, or the heroes kill an enemy. This week's first screen shot shows a combat where the counter is displayed. Note, in this screenshot it shows 9+, which is the highest it will show for encounters where there are more than nine creatures. Once the number drops below ten, the counter updates one for one. An encounter with more than nine creatures is a rare one.

Turn-Based Combat Showing The New Enemy Counter (Top Left)

The Important Details

Only recently was I made aware of some aspects of the game mechanics that I did not know were there. This was due to my colour-blindness and either not seeing a colour at all (positive attribute bonuses) or finding it very difficult to see (on some unidentified items). It also made me think how easy it is to pick up an item and lose it somewhere among all the other items you may be carrying.

I try to go out of my way to keep the player informed of every stage of the story and where they are in it. However, if they should miss an important scroll or book among a treasure they looted, then it is possible for the story to stall if the player forgot they had acquired such an item during the distractions of the adventurer's life. For someone like myself, who struggles to note "new" items among "old" due to the subtle colour background, it can be quite difficult to locate new items among the many items we have collected.

So, to overcome this issue and the issue of not being able to see attribute benefits on a character sheet (in a light blue apparently), I was able to track down where the  default NWN2 colours were referenced (NWN2_Colors.2da) and alter them to be a much more vibrant and obvious blue colour. Furthermore, I added a system that made important unread reading materials flash this prominent blue when opening the inventory or when switching tabs; and to remain "unidentified" with said blue colour until fully read. Note, these books and scrolls (to which the system applies) are so low in gold value that anyone can identify them and they become properly identified (normal icon) once fully read.

Additionally, I have the same vibrant colour briefly flash on unexamined items (the equivalent to newly found items) to draw attention to the player that they have not yet been examined. Unlike essential reading material, they do NOT remain blue after flashing, allowing a player to click on them as normal to clear down the "new" status. Hopefully, this second screen shot of the week helps demonstrate ...

More Vibrant Colours For The Colour Blind
 
Furthermore, if an important reading item is discovered upon opening the inventory, the player also receives some Notice Text and a small sound to indicate they have something important to look at. For someone like me, or for the player who just likes a little more clarification of items, this makes a big difference.

And Finally ...

I have continued to alter areas for both module one and two, allowing more room in areas for larger parties. One point that became clear to me as I test in a MP environment is that while the idea of tight twisting corridors sounds good on paper and may even look quite good in game, nevertheless, it does not make for easy controllable gameplay.

I have also been continuing work on module two conversations. I believe I have finally reworked all the logic to ensure conversations work correctly for both SP and MP games. Now, I am adding to them as I find the time, and continuing to make slow but sure progress plot wise.

Unfortunately, to prevent spoilers, I cannot discuss these as much as the mechanics. However, I will see if I can come up with any teasers next time.

Thursday, 25 November 2021

Episode 55: The Snowball Effect

It seems to be a repeating theme of late: I have an idea for module two, which then snowballs into a campaign idea that I want to make available for module one too. This obviously refers to the game mechanics than any new plot device, but the point is, it ends up taking me longer than I first realise. Read on for the latest month's updates.

Efficiency & Polish

The problem is, whenever I see an issue with the existing code, no matter how small, I prefer to try to do something about it rather than let it ride. Sure, I could let it go and try to concentrate on new plot only, but when I then try to implement new material, it can then reveal the weaknesses of areas of the code that can do with an overhaul. This is what happened when I tried to play a MP game of my module. Some of the areas were taking too long to load and some conversations went awry. This forced me to redesign some of the areas and rework conversations, but the efficiency of area load times or logical flow were not the only things I felt obliged to address.

The Journal Tasks

The above issues aside, lately I have also found myself irritated by some journal notes spamming the window on an update. I knew exactly what was causing it: Sometimes my journal entries update information pertaining to items required for a specific task. For example, when collecting the prayer rods in module one, the journal title also updates with the number of rods collected for ease of reference. However, to do this, I have to remove the journal entry each time before I can update the TOKEN that refers to the new quantity information. The result is a journal update double spam to the chat window. So, I could either remove this additional information, or, as I decided to do, add a new TASK menu list. (See this weeks screen shot from the new module two below.)

Outside The Toothrot Tavern Showing The New (Empty) Task List

The idea is this new small Task List GUI window will now list all tasks that involve item collections for quick reference, rather than keep the information with the journal entry. The player has the option to open or close this Task List GUI as they like by a simple left click on a new small button. Furthermore, I added a simple right-click option to the same button for the player to change the background of the task list from this default shown in the image, to have a black smudge behind the text or just plain text list without any background. The button also highlights when a task list is available. It all works well, and now allows me to remove extra tokens used within the journal entries and avoid journal update spam messages. Sadly, it does not allow me to remove every TOKEN reference, and so some double entries will remain, but hopefully, they will be far fewer. I still have a little work left to finalize the Task List GUI, but hopefully will have that done by the next post. (i.e. Rewrite the code to update the GUI text rather than journal TOKENS.)

The Journal Updates

As I worked on the new task list GUI, I also looked at the way journal entries were delivered in general, looking at rewriting the system to improve its delivery. I have always liked the way games like The Witcher have presented them and so looked at designing a similar system. Shortly after this, Andgalf (at the Vault forums) posted a link to a similar idea I was working on, and this cemented my desire to polish this area of the campaign. The following image shows the new journal update style.

Opening Scene Showing New Journal Format

Other Game Mechanics

The journal was not the only area where I updated and polished the code this month. Other areas include:

(i) The inventory, where further improvements have been made to help alleviate a rare issue where a player may flick quickly between new items and confuse an item description. Now, clicking on an item will always update the description (unless paused). 

(ii) The action queue GUI has had its queue size increased, and for those that even want to stop their Main PC from retaliating when attacked, the small sword now acts as a button to toggle auto-retaliation on or off. WARNING: Unless you really want to, keep this on its default value to retaliate.

(iii) The Show Info GUI has undergone additional updates and polish, as well as the new Task List GUI button. It now also has another Broadcast command added: Attack Nearest. Like its two complementary broadcast buttons (Follow and Stand Ground), it removes the need for the player to do multiple clicks to reach the command buried in a right-click menu.

(iv) The follow AI logic has been improved, or corrected, depending upon your point of view. In particular, associates are now more correctly associated with their masters, but without compromising the overall Main PC orders where possible.

(v) Faster PC movement has been implemented from an area map (if the map can be opened in the first place). It has been improved to include keeping encumbered PCs up with the accelerated movement rates. Think open map and click on it to fast travel PCs to a point on the map. The only difference is that when the area map is clicked, a GUI with a list of waypoints is presented for the player to select the destination. NB: The player can add their own waypoints at their current location.

(vi) A door had to be fixed because it was missing a collision skeleton. My thanks to rjshae (at the Vault forums) for the fix! NB: This means the large hak had to be updated and will also require downloading again when I update the new v1.50E version of it.

(vii) Removed the ugly "chat" option from the menu presented when right-clicking in an area. Added new options for individual and group options for "Rally" (jumps controlled PCs to your side) and "AI" (to toggle AI on or off), alongside the existing portrait double right-click or brain icon options.

Showing New Right-Click Menus

The Final Snowball

The end result of all these updates and changes is that they have an impact on the way "libraries" of code are structured for the campaign. Functions that once worked in one library had to be move to another and recompiled to prevent any sort of conflicts from occurring. One library ended up being removed completely and amalgamated with another! This level of knock on effect means, as I have already stated, that previous module versions will NOT be compatible with the next release (v1.50E). However, players of the next version (onwards) will benefit from all these gaming improvements. Once MP and SP testing of these changes is complete, the new files will be uploaded for download. CAVEAT: You will be able to load a FINAL SAVE from any previous game you may have played. However, make sure the save is located in New Edgeton from where you can continue your adventure where you have the option to continue to module two.

Module Two

All these updates and changes are, of course, in anticipation of module two adventures that I am working on. The new adventures require specific conditions, which started the whole mishmash of changes ready for the player feedback. The end result, however, is that the campaign (all modules) once again all benefit (and are more polished) for it.

As for module two plot, it continues to have conversations written and journal entries updated, but of those, I cannot speak ..... ;)


Wednesday, 27 October 2021

Episode 54: Adventuring Forth!

Writing of module two continues alongside module one MP testing. I have covered quite a few various aspects over the last few weeks, from fixing of code to writing new material. It's been a mixed bag, which has helped move the overall project forward. Read on ...

General Improvements

While writing new material, readers of this blog will recall I have also been play-testing the MP environment. This is when I discovered area load times needed addressing, and some conversations required fixing. All these have now been done for both module one and two, and although not all areas are completed with the second module, I now have a target load time to work to. Furthermore, all conversations for the campaign now start as if from a SP environment and move to a MP conversation only as required; so no more interruptions for players in a MP environment unless expected.

Combat in a MP environment has also undergone some heavy testing, especially the TB-Combat system, which has been greatly improved to ensure queued actions are  no longer cleared on any broadcast commands. A few timings for combat starting shortly after arriving in an area have also been improved to avoid leaving a player in a black screen if using the auto-pause option.

The map fast-travel system has also had its overall speed capabilities quadrupled to allow me to ensure encumbered PCs can keep up with any doubled run rates of unencumbered ones. I did notice one or two side-effects of this system, which I am currently in the process of addressing. It seems any cutscene environment does not recognise the movement rate factor function, which means a PC in a cutscene can move very fast as a consequence. I am currently weighing up the pros and cons of the system with respect to this and subject to play testing may tweak the system some more prior release.

Once all the testing is done, module one v1.50E will be uploaded.

Module Two Specific

A side quest I started on a few weeks back took a slight turn in direction in the last few days, leading me to not only introduce a new monster, but another area too! Thankfully, I was able to find a version of the creature I had in mind on the Vault (not exactly as I first imagined, but it works well with the way the side-quest will work out now), and set about using a new crypt tileset to design the area I had in mind. Again, sorry about not going into spoiler details, but suffice to say, this is my current focus.

Previous to working on this area, I had continued to work on conversations for NPCs of a city the heroes will find themselves in, including eventual conversational links to the above side-quest. As I have stated in an earlier blog post, many of the way these side-quests work now is that they will (hopefully) appear as seamless objectives to cover as the players progress the main quest. It means conversations are more complicated to put together, especially when I am trying to avoid duplicated or superfluous conversation nodes, and am catering for a MP environment.

The Random Factor

Much of my latest coding (apart from addressing minor fixes in the campign files as a whole), is to try to introduce more random factors in a quest. I find this side of coding and gaming interesting for me not only as a builder, but as a player too. The kind of thing I mean is to introduce some quest elements that may slightly differ with each gameplay so even the builder does not know the answer, and makes it more interesting for me if I ever wanted to play my own module. I believe the elements I have already included in my first module are what encourage my wife to replay the module the many times she has done so already. Even the above quest has this kind of random element added to it ... or will have by the time it's finished.

The Murder Mystery

Much to my wife's delight, and hopefully to readers of this blog too, I have also included another murder mystery side quest that I started on a few weeks back. It is an extremely complicated piece of writing to get right, however, and so I am taking my time with it to ensure logical flow to be correct whichever way the player approaches the quest. This week's screenshot is with respect to that side-quest.

The bottom line is, I am continuing to write across a number of side-quests, and coding random elements in them to encourage replay.

The Captain Investigates A Murder Scene


Tuesday, 5 October 2021

Episode 53: Streamlining Gameplay

I have been slowly picking up the the pace again for module two as I rewrite some old scripts and conversations that were originally found in module one. I admit that this is not completely new material, in that the concepts are from the first module, but these are, however, new renditions of aspects of play that I hope will work better for players moving forward.For more information on what I am talking about, and other news, read on ...

The Sepia Images

I mentioned a few months back that I am starting to introduce the "sepia" image artwork into my modules as a DM information point, or, as I have now, a gaming aspect. Two such gameplay aspects that have now received this treatment (ignoring the informative area load screens), are the "Repair Bench" and the "Bookcase". Previously, players had to interact through some long-winded conversations and make some potentially confusing choices. Now, with the new artwork to support the actions taking place, I hope the player will be able to more easily accomplish what they are trying to do.

A) The Repair Bench

In the Althéa Campaign, some weapons are called "dead" weapons (as opposed to "living" ones), and can degrade over time. However, a PC with the correct skills can repair their weapons at one of these benches either for themselves or other party members. The beauty of the new interface is that managing this task is made much simpler. The moment a valid weapon is placed on the bench, the player is presented the new interface and options are simple. A repaired weapon in a matter of only a few clicks and a little cost in gold.

B) The Bookcase

Another gaming aspect to see a big improvement with ease of play is the bookcase. In the Althéa Campaign, a bookcase can often hide a valuable piece of written text for those who know what to look for. In the previous method to play this, a player had to switch between their PCs trying to work out which had the best chance of finding the text. Now, the player simply clicks through the shorter conversation lines and allows the game to put forward the PC most likely to find the treasure.

The bottom line is, these two conversations have been replaced with the new sepia image types, an immediate indication to the player on what to expect in play. Take a look at the two images I am going to use for these two gaming aspects below. Hopefully, as I add more gaming aspects, I will continue to apply this approach to any other gaming aspects where this will work. Furthermore, these new images and aspects of gameplay will be made backward focussed with v1.50E of module one too!

The Repair Bench Sepia Image Upon Usage

The Bookcase Sepia Image Upon Usage

Area Redesigns

As in previous weeks, I have continued to spend some time redesigning areas to work better with multi-player gaming. With my latest understanding of area load times, I have been able to reduce many of the loading times to around 10-20 seconds for module one, with only around 3-4 ranging up to a minute. Module two is probably the hardest for me to streamline, as it has some larger, more involved areas that cannot be broken down without losing the atmosphere and strengths their current designs use. However, even these I have reduced (when applying the latest knowledge), and I am hoping that the largest will not be any more than 60 seconds, much like the largest areas in module one. Furthermore, these areas are designed in such a way that when you are within them, there is a lot to do anyway. A reminder: these load times only affect MP games.

On the back of streamlining these load times, I also added a load screen timer to keep the players informed on the time remaining until loaded. It sits just below the hint comment and keeps the players updated with every second remaining, helping to alleviate the "what's happening" feeling. Check out the screenshot below .... This is from one of the largest load time areas and the seconds colour changes as it gets closer to finishing.

The New Style Load screen v1.50E With MP Area Load Timer

Module One v1.50E News

Multi-player testing has helped me find a number of minor issues with some areas of the code. They are mostly (if not all) "minor", but are a significant number to make a difference. And while quite a few are MP related only, some also address SP issues, such as a trigger not clearing down if a player approaches an area from a certain direction. It keeps forcing a conversation, which while not game-breaking is frustrating. Also, I have spent a lot of time reworking the conversations, including adding lip-flappers and animations. I had to rework them for the SP/MP shift anyway, and while I was at it, I fixed a number of typos and some logical flow. All this is being tested before the next release. As another example of a minor fix, I noticed an item in inventory would not be "compared" with a shop item if it had not yet been looked at itself. It was an extremely rare event, but did happen to me as I had equipped a sling and was now trying to compare at a store. Now, a warning comes in to say click on the shop item again and it updates. As far as any release date for this, it all depends upon how well the MP testing proceeds .. and then some more SP testing. Hopefully, I will have some more information in my next blog.

Module Two Specific

As far as module two specifically, I have continued to work on some large areas (on the back of the area redesigns), where some of the later quests take place. My next step is to redress all the module two conversations that require the SP/MP fix. I had hoped to have this done by now, but some of these conversations are very large (due to the number of quest variations) and I need to be at my most focussed when doing them. Hopefully, now I have experienced doing them for module one (which as only two left to do - and need doing prior v1.50E release), I will be more confident to manage the larger conversations of module two. I have also seen a couple of new puzzle designs that I like the look of, and am toying with including. However, they will involve XML coding, and I have to be in the right frame of mind for that too!

Tuesday, 14 September 2021

Episode 52: MP Considerations! (v1.50E News!)

It's been an unusual couple of weeks since my last update; mostly due to play-testing the campaign in multiplayer mode (MP). It has been a long while since I have tested the code in this area, and I apologise to any players who may have been trying to play in a co-op game, as there were a few glitches that needed addressing, especially with some conversations and, in my opinion, some awful area loading times. Anyway, this week's blog is all about MP care and attention, and the up and coming v1.50E! Read on ...

MP Conversations

One of the first elements that builders have to consider in a MP game is when players may or may not be speaking to an NPC and if that conversation is relevant to all players as a plot conversation. After all, it can be boring for another player to sit and wait if there is quite an important story conversation going on elsewhere with another player. This is why we have MP conversations, which involve all players. However, problems arise when certain NPCs can be both vendors (or independent NPCs) and potentially involved in a story conversation as well. Designing a conversation to switch from one style of conversation to another (SP-MP) depending upon when the player speaks with them (and what stage of the plot we are at) can be quite involved.

Unfortunately, in some of the later module releases, I had updated the system to allow for this kind of MP interaction, but the logic was around the wrong way. It was prioritising MP conversation over SP ones, which meant whenever a player spoke to one of these types of NPCs with multiple potential conversation lines, then other players could be kicked out of what they were doing, for no reason! In latest testing, this quickly came to light and I have now reset this conversation to work the correct way. Thankfully, there are only a few of these in the first module, and can normally be navigated anyway. The latest update, however, removes unnecessary interruptions. Coming in v1.50E I have also added some gaming info in some lines so players will know if a line they are about to chose will start a MP link. See this week's screenshot. I will use my discretion as to when best to notify the player, as sometimes the MP link will be automatically done anyway.

MP Area Load Times

Another aspect that quickly came to light in latest MP testing was the (in my opinion) unreasonable load times for some areas. I also discovered some old database code that added to the confusion at times, and could cause even longer delays. The old code has now been either deleted or updated to work as intended, especially with the next modules, and I have taken time to try to improve area load times by taking a closer look at what was causing the delays. I have posted a summary of my findings and how best to prepare for MP area load times below. The calculations are still "work in progress", but are reasonable enough now to give an indication of area load times for MP games according to how many and what type of objects are in an area.

I decided to work along the lines of a maximum of 30s per area load if possible, by altering both my own scripts for area objects and transition objects, and alter area designs accordingly if they were not overly compromised by doing so. Some aspects, like the number of clients in a game, I could do nothing about, but overall, I like to think the alterations have been most beneficial. However, there may be one or two areas (I am still working on them at this stage of writing), which may take longer to load, as they are much bigger and by their nature hold more objects. But, in such circumstances, the slightly longer load times may not be so much of an issue, because they are designed in such a way that the players have no need to leave them again for some time. Therefore, the overall area load time versus the amount of time they spend there is worth the extra few seconds wait. My key aim with this exercise is to ensure areas that are often revisited do not take more than 30s if I can help it, and am aiming for less wherever possible. (NB: In a SP game, these take only a few seconds, around 4-6 only.)

Module Two

I know some may be disappointed at the lack of latest news regarding module two, but I hope you can see that these improvements to the MP environment in module one, also ensure module two goes smoothly. Admittedly, those who only play SP are less affected, but rest assured, when I sort this kind of thing out for a MP environment, the SP aspect also benefits. Also rest-assured that in most circumstances, SP gamers will not notice any difference to gameplay with these changes (apart from a very eagle-eyed player who can spot even the slightest change), as any more noticeable gameplay changes only affect the MP game due to the requirements the MP game needs different to a SP game.

Hopefully, in my next post, I will be able to bring you some extra news regarding the progress of module two. MP testing will be well underway by then, and normally, once past the starting line, things normally settle down, and allow me to get back to plot writing. One thing I will need to address in module two straight-away, are the conversations like these, and check out the area objects! Whatever happens, I will keep you posted.

v1.50E News!

On a final note, some of you may have noticed I have withdrawn module one (v1.41E) until MP testing is completed. You may also note that the version jumps from v1.41E straight to v1.50E. This is because v1.50E has had some changes that will not be backward compatible with v1.41E and below. Trying to ensure backward compatibility is extremely difficult when I am trying to move forward. Therefore, rather than spend too much time trying to accommodate earlier versions, I announced the potential issues and left it a couple of weeks before withdrawing the previous version. However, I hope the extra wait for the latest v1.50E will be worth it, as it comes along with a couple of exciting updates such as an (i) improved journal, (ii) fast map travel and (iii) lip syncing on NPCs, as well as a number of fixes that will benefit all, like one-use items that stay in the quick-slot upon buying or finding more.

Demonstrating The MP Conversation Link

Area Load Time Investigation Summary

SUMMARY

In Summary, this is what I believe is worth considering when designing areas for a MP environment …

MP GENERAL

  1. Each creature in the party adds load time. (Remove summons etal before transitioning.)
  2. Each client adds load time. (Around 2-3s and is unavoidable.)
  3. Area enter scripts add little time, but no more than a second or two. (Irrelevant.)

MP AREA SPECIFIC

  1. Each creature already in an area can add a fair amount of time for a MP load. (0.25s each approx.)
  2. Placeables with dynamic content creation may also add more time for a MP game.
  3. Any objects created in an area (via scripting) add towards the total load time. (Remove prior leaving.)
  4. Next, VFX are more time consuming than most other area objects because of the number used.

The bottom line is really the number of objects(*) in an area affects the MP load time, including any dynamically created during loading. Therefore, be sure to only create objects after the On Client has finished loading and be sure to remove them before exiting an area (and recreate again at next entry if still required).

(*) The objects that appear to do so more than any other are: creatures, VFXs, and placeables with contents. In testing, environmental objects appeared to have little impact, even when running into thousands as in Tsongo’s area.

SP games are much more forgiving and compared to MP environments can probably be ignored by comparison. However, as a guideline, I would offer these figures and guidance for MP area creation to best minimise load times for MP games to under 30 s.

  1. Spawn constant area creatures after On Client load finishes and despawn on area exit transition.
  2. If many, do the same with utility placeable objects, such as “weather units” in my own module.
  3. Keep VFX to under 120. Keep inventory placeables under 40. (Non-scripted appear little impact.)

Doors, sound and light objects also appear to have a very small impact, but not enough to worry about unless you use a lot of them. Just compare your overall usage when considering these objects with relation to other objects used. For instance, if you do not use any VFX, then you can get away with a lot more sounds and light objects.

From following these steps, I reduced one area MP load time from 78s to 30s!

MP Load Time Guesstimate Formula

BASE: (# Player connected x 2.5 + # Additional Party Members (inc associates) x 1)
AREA: (# Creatures x 0.25) + (# Doors x 0.06) + ((#Sounds + #VFX) x 0.08) + (# Lights x 0.04)
VARIANCE: (#Placeables x 0.06 - 0.25 Subject to scripts attached.)

FINAL LOAD TIME = BASE + AREA (+ VARIANCE)

EG: My Area (With Host Only):

HOST: 2.5s + My Entry Scripts (2s) = 4.5s

  • Area Creature Objects (15x0.25) = 3.75s (*)
  • Area Door Objects (17x0.06) = 1.02s
  • Area Sound+VFX Objects (120x0.08) = 9.6s (**)
  • Area Light Objects (55x0.04) = 2.2s
  • Placeables (Lowest = 34 x 0.06 = 2.04 TO Highest = 34 x 0.25 = 8.5) (***)

( * ) Using default scripts may lower this value.
( ** ) Actual VFX used in area will alter this slightly.
( *** ) Use lower value where no scripts or inventory used.

MP TOTAL LOAD TIME = 21.07s + (2.04 - 8.5s) or 23.11s - 29.57s

In practice, this example area loads in around 24s with just the host.

CAVEAT: Testing is by no means complete and these figures may be subject to further changes.

That’s as far as I have tested for now, but may add more info as time goes by. Again, my thanks goes to KevL and Tsongo for helping look at this with me. 

UPDATE: Script with latest timings .... These are seconds allocated per area object:

// OBJECT LOAD TIMES (CHANGE AS EACH TEST IMPROVES)
float fCREINV = 0.07;    // CREATURE WITH INVENTORY
float fPLCINV = 0.15;	 // PLACEABLE WITH INVENTORY
float fPLCUSE = 0.24;	 // USEABLE PLACEABLE
float fDOORS = 0.11;     // DOORS
float fVFX = 0.05;       // VISUAL EFFECTS			
float fLIGHTS = 0.1;     // LIGHTS