Tales of the Avatar: The Law of Virtue

It has been over four years since our Lord British’s expedition set forth into the underworld, never to be seen again. With our sovereign gone and The Avatar having returned triumphant to his home world, you, the people of Britannia, seems to have lost your way.

We were once proud of our town-states being places where you could conduct business safely and live a tranquil daily life, but now you steal and deceive each other continuously, seeking to build up your personal riches instead of striving for equality by giving to those in need. As this inequality grows, gangs of bandits roam the land, but you now cowardly refuse to join the ranks of the royal army to keep our cities safe from rogues and monsters.

Crime spreads throughout the land, and we have to double down in our efforts to upkeep the virtues as a way of living. But in our crusade for the good, we met with an unexpected reality: you are unwilling to contribute your resources to our difficult enterprise. You disgrace your taken oaths, challenging and distrusting the will of your superiors and following your own primal instincts instead.

Britannians have forgotten the sanctity of virtue. You now take pride in your self-imposed ideals as individuals, neglecting following the wisdom of your rulers.

It is in these dark times, when our Britannian society is on its direst need, that I have to proclaim the Law of Virtue. Under this law, Britannia will flourish again as the great virtuous society that it once was. We have gathered together a new council of the greatest thinkers and philosophers of the realm, who have contributed their experience and knowledge into a set of rules and actions that will bring us back to the way of the Avatar.

As a critical measure to put this new law into action, the current heads of our bastions will be removed from their post, replaced with three virtuous individuals of my utmost trust.

Lord Faulinei is to replace Lord Shalineth as the head of the Lycaeum and to act as the new Royal Chancellor. His main task will be ensuring our judiciary system can upkeep with the rising tide of crime, modernizing the laws and providing our inquisitorial prosecutors with all the tools they need to clean our lands from vices that corrupt it. Whoever opposes our law will be dealt with swift, relentless justice.

Lady Nosfentor will replace Lord Malone as commander of Serpent’s Hold, As Captain of the Army and Admiral of the Navy, she has been entrusted with bringing safety back to our realm. May the hordes of bandits and vicious rogues and outlaws fear our swords for they will soon perish along with their vices. Also, until noted otherwise, a curfew is in effect and all individuals roaming the cities during nighttime will be subject to being engaged in the name of the virtues by our royal knights and the newly created order of the Defenders of Virtue.

Finally, Lord Asteroth will replace Lord Michael as Empath Abbey. He will be given the daunting task of redistributing the riches of our land ensuring that no single individual owns more than he needs. You, people of Britannia, need to leave aside your greed and contribute to the work our institutions do to create and upkeep a better society. Eventually, all farmland will be redistributed and every Britannian family will have the means to strive through hard and loving work.

The mayors of all cities have also willingly removed themselves from their posts; their duties will be fulfilled by local committees of virtue, whose members will be revealed on each town as part of their re-educational programs.

Britannia counts with your submission into this new law. Help us make a better world for you and your children, or suffer our wrath.

Walk in the path of Virtue.

 

Always vigilant, your humble servant.

Lord Blackthorn
Regent of Britannia

OpenArthurianX6, kicking back dev

I pushed further with the projectiles, “directional” ones (like arrows and crossbow bolts) are working now, and “rotating” ones (like throwing axes) are almost there.

Next up is some logic for spending ammo, and stashes of items.

I also need to sync with the WIP on my secondary dev station, where I was fixing some bugs with NPC alignment.

OpenArthurian X6 – Pushing forward, slowly.

Campaign update

I worked on the backlog items, finishing the changes so that the player can walk over party members while on exploration mode. I also have WIP in two different fronts: Ranged weapons (with ammunition and rotating projectiles) and fixes on the “alignment” system to distinguish between party members, friendly NPCs and unaligned “animals”.

I was not able to release the alpha version on December, but I’ve set myself to release a public dev version in January, which should be useable to create your own scenarios (even if it’s not going to be very user friendly!)

Both Jucarave and I started the year quite busy, but the good news is Jucarave has committed to push forward the project on February and I believe I will be able to do that too!

Let’s hope for a bigger update next month!

OpenArthurianX6 dev update

Forgot to post here about the latest development of OpenArthurian which actually happened around a month ago 🙂

After that first dev stream I mentioned on the last entry, I did 5 more

Combat is almost done now, pending only adding some projectile effects for ranged combat. Next up is working on level transitions and the chunked world model.

Exodus Destiny also did some work on the game, finishing a first iteration of the Talk module as well as the Pick up / Drop functions (along with the Inventory)

Unfortunately I won’t be able to work a lot in the project for the next couple of weeks since I’ll be flying to San Francisco for the Roguelike Celebration and there’s another private game dev project I’m working on, but I’ll come back strong after that, I promise!

OpenArthurianX6 – Dev news

After all the craze that was 2017 js13k, I went back to my duties with OpenArthurianX6.

So far I’ve been working on the combat system mostly. The game features an hybrid action mode, the “mobs” move around the grid based map, deciding what to do every x millisecond (at first restricted to moving around or sitting idle). First task I took was allowing the transition to combat mode, in which the mobs take turns to act.

To achieve this, I added a synchronization phase where all mobs finish their moves before the actual combat state is established.

Next up was adding the “attack” action, but in order to make it work, a major refactor on how the actions flowed was done. Everything was changed to use promises instead of timers. This will allow to more easily add other actions in the future as well as parallel input modes (keyboard/mouse)

Also implemented some damage calculations based roughly on Ultima 6, and added the corpses to the ground when killed.

Finally, added some simple AI for mobs to seek enemies based on their alignment, for now they just seek the player and attack him. The actual attack action was pretty straightforward to implement for the mobs since they are the same as the player 🙂

I streamed the development of this latter part, you can check it in Slashware’s youtube channel here!

OpenArthurianX6: Design and Planning

I don’t think there’s a perfect way to approach planning this kind of project, so we’ll shoot for one, then once we have done some iterations of it we’ll evaluate and see what’s the best way to continue.

The first iteration of the engine we are looking forward to have is having all basic systems working, keyboard only, desktop only running in a browser.

Capabilities

One facet we are using for planning are actions the player can do

World

  • Move around the map
  • Pick up an item from the map
  • Examine map
  • Examine item on world
  • Examine mob
  • Read book or world feature (signpost, plaque, etc)
  • Examine world feature (find secrets)
  • Open and Close doors
  • Doors with keys
  • Doors opening with buttons / levers combinations

Dialogs

  • Talk with a NPC
  • Asking a NPC to join the party
  • Talk with a Party member
  • Ask a Party member to leave the party

Party

  • Check the status of a party member
  • Set the Tactics / Manual for a party member

Inventory

  • Check the inventory of a party member
  • Drop an item on the map
  • Move an item on the inventory to a container on the inventory
  • Move an item on the inventory to a party member
  • Move an item on the map to a container on the map
  • Check a container on the map
  • Pick up an item from a container to the inventory
  • Examine item on inventory
  • Use item on inventory

Combat

  • Enter and leave combat mode
  • Attack an enemy within melee distance
  • Attack a far away enemy

Engine Aspects

A second facet of planning corresponds to some features of the engine which may or may not be related to the player actions.

Maps

Moving around the map is a capability, but managing and displaying the maps themselves is an important aspect of the engine.

  • Overlay layers
  • Map transitions
  • Multiple stories
  • Day and Night Cycle

Mobs

  • Follow player
  • Select action in combat mode (AI)
  • Select action in peace mode (AI)
  • Schedules
  • Action scheduling in Peace mode
  • Action scheduling in Combat mode

Use Item effects

  • Recover HP (% or fixed value, mob or party)
  • Recover MP (% or fixed value, mob or party)
  • Recover hunger (% or fixed value, mob or party)
  • Enter music mode (Play instrument with keys 0 to 9)

Use Feature effects

  • Light / Extinguish
  • Open or close door
  • Set puzzle flag

Use mob effects

  • Milk cow

The Future – Other iterations

Capabilities

  • Make camp
  • Board a vehicle
  • Move around in a land vehicle
  • Move around in a sea vehicle
  • Move around in a air vehicle
  • Repair a vehicle
  • Attack and object on the world
  • Ride mount