Showing posts with label poleaxe. Show all posts
Showing posts with label poleaxe. Show all posts

Monday, 30 November 2026

Skinning Effenciency And TurnBased Tactics

House Valois sporting a hounskull visored bascinet and Bec De Corbin poleaxe

 Raven Errant flies into the 14th Century and goes all Beaky (no not the Space Marines) with the famous "bascinet". Featuring the "hounskull" visor - also known as the "pigface" - it was the ubiquitous plate helmet of the Hundred Years War and is probably what most people think of when they hear the phrase; "Knightly Tournament".

I have created two seperate versions, the basic open faced bascinet without a visor, and the hounskull. The open faced version was favoured by archers as it meant they could wear a good helmet which their bow string would not get caught on.

This period also sees the introduction of the "longSword", also known as the "hand-and-a-half sword", aka the "bastard sword". I have split up Strength based (STR attribute) longSwords for predominant slashing, and Dexterity based (DEX attribute) bastardSwords primarily for stabbing through plate armour, into seperated categories.

Half plate becomes the primary heavy armour (not displayed in this blog) of the super wealthy, and for game design purposes is classed as Brigandine, to seperate it from the full enclosed plate harness styles of the 15th Century (Gothic, Milanese, etc).

And this is when "poleAxes" or "pollaxes" come into their own, as the "Swiss Army Knife" can-opener of plate and maille armour. Whilst there were a variety of poleAxes they tended to fall into the category of either the Knightly Poleaxe with the main weapon being an axe head, or two handed warhammer, such as the Bec De Corbin, which features the ubiquitous spike on top, but also a second, long curved spike at the rear - hence the name; "The Raven's Beak".

Open Faced Bascinet, with Long Sword

 House Valois is the newest faction to grace the game world, and before you ask; "literally who?", I was originally going to name them "Anjou". Still not ringing a bell? Okay, it's France. Fleur de Lis away!

In order to streamline things I completely changed my approach to helmets and meshes. Previously I had each helmet have it's own coif/aventail and the meshes were added to the main player model. This ended up with enormours numbers of model meshes being added to the base player. As the only part of a helmet that really needed vertex deformation was the coif, I split the coif/aventail from the helmets, and made the helmets their own seperate object. I decided to use shapeBaseImageData (usually reserved for weapons) as it comes off shapeBase and isn't a "real" in game object, saving on networking and other resources. So now a helmet item points to both a helmet shapeImage, and a coif item, which includes the specific skin the coif should be using. The coif is displayed from the playerObject's mesh visibility, whilst the helmet is mounted on the head mount node. And et voila, the ridiculous list of adding meshes and all their Level Of Details was promptly trimmed to what was absolutely necessary.

Most of the month of November however, was taken up with pruning, testing, jiggling and trying to find out the most efficieny way to get skinning to work. Swapping skins on large numbers of meshes (usually when spawning) had caused some really nasty lag in early builds.

Last month I had created an update that gave each faction it's own player character using only the meshes and those meshes had pre-determined skins. This hugely reduced the lag on spawning a warband, but meant that the amount of variety for on-the-fly skinning was massively reduced.

  Testing with mass replacements of setSkinName would push "GBitmap_sFindFile" to munch through 26% of NStime and "GBitmap_load" another 3% - and this was the best I could manage.

I came up with the idea of spliting the primary armour into a their own individual player character models, with only the standard "naked" model and a coif (now that all helmets are seperate shapeImages). In practise this didn't give much better performance than the previous month's faction mesh concept, but it did allow for total skin replacement variety.

In other non medieval hack-and-slash development, I revisited the old ... now ancient ... Valkyria Chronicles style turnbased tactics demo, which I had originally created as a precursor to Airship Dragoon. I didn't actually go back and find it because it will be on an ancient backup "somewhere", so it was easier just to recreate it from scratch for the latest devhead of Torque3D.

 So, here it is, updated and open sourced for anyone to use as they like. https://github.com/Torque3DResources/tacticsModule

 And here it is in video - right up to the point my team of little dudes all get ACK-ed.


 December arrives, and the whole annoyance of Christmas getting in the way with the whole eat drink and be merry and put on an extra tire around the waist whilst the weather is bloody awful.

However during this time Raven Errant development will continue, with an eye on bringing Steam Workshop support to make the game moddable - something which I haven't attempted before, so new skills to learn.

So here is an early Merry Christmas!