Skip to main content

Concept: Character stats;- Fortitude, Concentration and Spirit.

I'm moving on to in game character management this month, which includes how the character is displayed visually and also how it is represented in code.

With that in mind I've been going back over the character models and making sure everything is shipshape. I found several objects with missing textures or the wrong textures, as well as several objects which were incorrectly rigged. I also spent some time putting the polishing touches on the characters heads.
 
When making a character you can choose the head and also the hair to go with it.

The most time consuming part at the moment though is working on the code. As I continue to put the game together I am testing several ideas which could really add something of a twist to the traditional RPG trope. They are mostly things I've used successfully in other games, but those were other genres.

Some of the things I'm excited about is different damage types and different HP types as well as performance degradation when wounded. When I made my Battletech simulation I had to simplify some of the table top rules, but I really wanted to keep the idea of degradation of performance as you take damage. I did this by abstracting all the elements of the mech in to three different kinds of damage gauge.


As you take damage and suffer critical hits, your gauges will be reduced from 100% to 0%. The type of damage affects your ability to fight. For example, damage to sensors reduces your aim, Damage to engine reduces your ability to shed heat, and mobility damage is going to slow you down. This reflected very well, in a simplified fashion, the mechanics of the board game. Also damage of a particular type was more likely when you took hits in certain areas. Arm hits were more likely to damage sensors for example.

I'd say the game mechanism was very successful, but in testing it turned out that 3 types was a bit of overkill as the mechs already had heat, which acted as a cool down mechanism.

In my current project characters will have 2 different types of HP; Fortitude and Concentration. They will also have a supply of Spirit to power their attacks and movement. You can imagine these as ratings of your body, mind and mana. (or engine, sensors and heat).

Spirit is regained at a steady rate every turn but the other types of HP can only be regained through healing. As they are depleted, you will see a reduction in your abilities, so it's best not to draw out a fight too long. Loss of Concentration makes to-hit-rolls or magic much harder. Fortitude is what helps to recover Spirit, with a reduced Spirit level you won't be able to fight as long or use special attacks.

Different types of damage are more likely to reduce one or the other type of HP. Slashing weapons deal superficial but painful wounds, so the are more likely to reduce your Concentration. Stabbing weapons are usually aimed at the main trunk of the body and are more likely to reduce your Fortitude. Blunt weapon attacks act directly by sapping your Spirit. Of course each weapon also damages in the other areas, but not so much or so often.

Different monsters and armor have different resistance to the basic forms of damage. Padded armor, or insect chitin may give extra protection against blunt attacks. Close-fitting armor or Dragon's scales may protect against stabbing attacks, while on the other hand skimpy armor or soft monstrous flesh may make the character / monster more vulnerable to slashing attacks. You'll be able to see how well or how badly attacks fare against different monster types and so adjust your tactics accordingly. This also means you're going to need to find a lot of loot, because just having a good sword is not enough.

HP can be reduced by other kinds of attacks too, Spirit can be depleted by fear and if it drops too low you'll need to worry about morale. This makes it harder to fight against scary monsters, but it also give the player the option of attacking a weaker enemy with blunt weapons or energy draining magic and hopefully getting them to run away without a fight.

Right now I'm not sure on the two HPs and one cool down mechanism. I'm still tempted to add a mobility or strength rating as a third HP type. I'm going to try everything during testing and see how it works out.

Next time I'll be talking about how the two main attributes feed in to character building, and how the various other character stats come in to play.

Comments

Popular posts from this blog

Make your game models POP with fake rim lighting.

I was watching one of my son's cartoons today and I noticed they models were using serious amounts of simulated rim lighting. Even though it wasn't a dark scene where you'd usually see such an effect, the result was actually quite effective.



The white edge highlighting and ambient occluded creases give a kind of high contrast that is similar to, but different from traditional comic book ink work.


I'll be honest, I don't know if there's a specific term for this effect in 3d design, since my major at university was in traditional art. I learned it as part of photography.


You can find plenty of tutorials on "what is rim lighting" for photography. It basically means putting your main sources of light behind your subject so that they are lit around the edges. It can produce very arresting photographs, either with an obvious effect when used on a dark subject...


..,or as part of a fully lit scene to add some subtle highlights. See how alive the subject look…

How to... build a strong art concept.

So you want to make some art assets for your game. The first on the list is a Steampunk Revolver for your main character to shoot up Cthulhu with. Quickly opening your internet browser you start with a Google image search. Ah, there is is!

It might be a good idea to find a few influences so you don't accidentally end up copying a famous design.


Just mash them up and you're ready to go! Off to your favorite modeling program.
But wait! isn't there more to building a strong design concept than that?

Of course there is.
One of the diseases of modern design is that of recursion. Everything is a copy of a copy of a copy. This is especially a problem with "historical" concepts. Over the course of that recursive process the concept becomes infected with modern design elements, and ends up looking very similar to everything else that anyone else has ever made.
If you want to come up with a really fresh idea, you have to get beyond secondary references and go look at real …

Skynet

Ok, so it's not exactly skynet, but I have got my first AI state working, kind of.


The first state is "HOLD" in which case the agent stays in place where they are and shoots at any unit that comes in range. When I started writing this module, I found that the existing method of triggering actions wasn't good enough to allow the AI to choose the best weapon or target. It worked by simply sending a command to the unit to trigger the currently selected action.

If the action is valid, it triggered, if not it didn't.
That's fine for play controlled units, as that's all they need to do. But AI needs to know in advance if the action is valid. The player can get that info from UI feedback, but that wasn't available to the AI player.

There were three problems:

1. The UI feedback duplicated code in the action trigger function. These  two sets of code could get out of phase so that UI feedback was wrong.

2. The action trigger didn't give enough feedback for …