Archive > Cerolas > Blog > WorldForge Design Guidelines [Report]
Cerolas

WorldForge Design Guidelines

Posted by Cerolas 16 years ago

 

WorldForge Design Guidelines

I admit, I've set some ambitious goals for this project. I plan on designing for a level of game world complexity that far exceeds the bare essentials to produce a 'Roguelike' ... as I have a massive interest in emergent behavior, both on the part of the player, and in the Artificial constructs that the player interacts with. I don't want to aim for 'realistic' so much as engaging, surprising, unpredictable, and even endearing.

My thoughts go to the iconic Barney Calhoun of Half-Life, who began his existence as a humble cardboard cutout enemy, nameless and largely faceless ... Valve decided to test path-finding by setting him as friendly to the player, telling him to follow the player about as best he could. Of course he would be hostile to the enemies, and the result was so effective that they elected to keep him as an ally, rather than antagonist. What they did not expect, or rather, grossly underestimated, was to the degree with which the player based emotionally attached to the humble security guard ... often loading save-games if their faithful (if somewhat clumsy, in terms of avoiding 'friendly-fire') companion met an untimely demise. I can't program for this kind of attachment, but I aim to create my NPC's on a neutral starting ground, with no predefined love-hate relationships with either the player or other NPC's, operating off of a simple need base state machine for behavior, rather than a set list of entities they would be 'hostile' 'neutral' or 'friendly' with.

This brings me to the other 'overly ambitious' goal I hope to design for ... any game that I would write with this would need to be large if to be engaging, and rather than segregating the games area's into 'dungeon levels' as many Roguelikes implement for the sake of efficiency and simplicity. I aim to make the primary world structure to feature a large world map, with which to randomly place smaller tributaries, be they dungeon or interior space of another nature. The most ambitious aspect (possibly infeasible, I aim to try, and abandon only if it provides to be insurmountable) of this is the fact that I wish to keep most, if not all of the game area available to the player in the game world active, working, NPC's going about their daily lives even if the player is nowhere to be found. Such execution need not be synchronous, but I hope to implement this in my design, and use it to provide a more interesting experience as the player explores their world.

This all demands a system that is simplified, robust, and efficient, eliminating many of the finer complexities that are standard for other Roguelikes, and involve certain guidelines for my eventual design.

1. Have locations, even adjacent ones, share as little information as possible. This seems to be in the face of fundamental Roguelike characteristics, eschewing all but the most simple of line of sight, and completely eliminating altogether interaction between characters in different locations (ranged attacks, multi grid square AOE effects, and the like). This would suggest that most locations on the overworld map represent much larger areas than is traditional, and absolutely no contact (except for letting Actors see the inhabitants of nearby map locations in the distance) between locations.

2. Iterate as little as possible. There is going to be a huge number of actors and items, and a gargantuan number of locations running in a game state. Iterating through each location every turn, or worse, iterating through active game elements multiple times may be necessary for things such as line of sight checking, or other area effects, yet I want to minimize them, if not pair it down to one single iteration per turn, thus the focus on interaction within a location, rather than between them as emphasized in my first guideline. Don't do something with multiple sweeps through data that you can accomplish with one, and never, ever sweep through the same or similar sets of information unnecessarily. Even for a simple RPG, with simple rules, processing costs rise exponentially as the size of the game world increases.

2.A Locations and items will not be checked every turn, instead I'm currently planning on keeping a list of 'active' locations, ones that contain Actors, and rather than iterating through the actors (or items) themselves, iterating only through the 'active locations' taking each the locations and running the turn one at a time. There would be minimal checking to see which locations are active, because I hope to maintain the list of active locations, changing it only when moving an actor from one location to another, removing the location from the active list if the departing actor leaves the location empty, and adding to the active list if the actor is entering an 'inactive' location. This would necessitate separating the actual movement of actors, possibly even items as well, until after the main iteration through the list of active locations, so as to maintain the integrity of the main iteration as it facilitates interactions between things in those locations. I'm hoping to limit the necessity for elaborate path-finding for this reason, as am I insisting on using only four compass directions, rather than eight, as it simplifies distance calculation, and the math as a whole considerably.

2.B Never, ever, ever iterate through the full list of locations during the active running of the game-state ... such things are unavoidable through world generation, or interacting with save states. But if I want to implement systems that affect groups of locations, I want to abstract the implementation of those systems outside of the locations themselves, only requiring calls to such a system if the location has an actor to interact with, thus providing a reason for the location to make a call to the system, rather than having the system actively updating the locations regularly, as each active location takes it's turn.

3. Distinguish between the player and NPC's as little as possible. If I'm going to be implementing rules for the player to follow, or attempt to encourage or discourage player with certain game-play strategies (the common practice of using a hunger element to minimize level scumming comes to mind. 'Wizard needs Food Badly!') such rules should either be applied equally to all actors, or segregated into meta-game elements. I hope to either lampshade progression and advancement such as a leveling system with in-game narrative elements, or simply delay such advancement until the player character finds time to sleep, providing an adequate breaking point to take the player away from the game experience, so he can focus on the numbers behind it (not unlike the Tabletop practice of delaying the leveling process until the end of a session, or story even). I'm not saying that I'm going to make things a completely even playing ground, providing the player no distinction or opportunity to distinguish himself in unique ways, but I want such things to be minimal, special, and perhaps even accessible to advanced NPC types, even going as far as introducing a handful of NPC's that can exhibit the same true potential to advance as given to the player.

3.A Define equivalent, but necessarily separate forms of information to each Actor, so that the 'character', receives approximately the same level of context. I don't want the player knowing much more than the NPC's know, and vice-versa. An in-game event that presents the player with a message should present an NPC in the same situation, some form of informational context communicating something similar to the AI algorithms. Considering the intended 'status' 'action' 'event' structure of my rule system, and the possible AI I would like to implement. As I hope to implement a form of memory for the AI, pertaining to relationships with specific other actors, character or NPC, each event and action may convey numerical context pertaining how hostile or friendly the one acting is, affecting future choices when interacting with whatever it is, by individual, or even species.

4. Present as much information as possible in an 'In Character' manner yet leave the option open for more traditional forms of information if the player wishes. Originally I hoped that the majority of the information provided to the player might be presented as flavortext ... as opposed to numeric statistics, in a manner more reminiscent of a text-adventure, rather than a roguelike. I acknowledge that this runs contrary to traditional practice, and may ruin the experience for some who might otherwise enjoy the experience unnecessarily. As a result, my basic plan for the main UI involves a map, an area to select the player's actions, and a message log. The message log would normally present only in a narrative manner, with the option to provide more traditional statistical messages alongside. As an example, the log might present that 'your enemy hit you with a baseball bat', and if the player so wishes, another line, perhaps in a different color would add 'your enemy hit you for 6 points of damage'. Similarly, access to the character's full 'character sheet' would be limited. Perhaps, unless the player has chosen the option to allow the game mechanics to show in the message log, view of the character sheet would be limited to the 'sleep' intermissions that I mentioned earlier, or accessible through an in-game action, as the player's character takes a moment to ponder their situation. Alternatively, those who opt to have the mechanics be more transparent, may bring up the same information with a single keystroke, without limitation or in-game cost.

I'm sure that there are more guidelines that I could add to this list … but my mind is spent with such things, and so I must close this section of my grand design for more detailed focus at a later date. Feedback and input on my ramblings is encouraged. Should I be opening a thread in the game forum on this?
Comment on WorldForge Design Guidelines

0 / 8,096

Comments

No comments yet, make a comment please