Age of Chivalry is a total conversion for Half-Life 2 currently being developed by Team Chivalry. We are a close group of friends who are dedicated to creating a fun story driven multiplayer experience set in a fantasy world in the medieval ages. We are creating a fast paced and fun first person melee combat system that will take the player to a new level of immersion. The players will be able to take part in sieges, town raids and open war in a story driven game. Our goal is to let the players write the history of the game as the teams battle it out over a sequence of user controlled map cycles depending on the victor. We want to take the overall experience to a new level of fun. All of our members have a solid modding background and we hope that you support our modification as it grows and develops!

Report article RSS Feed Age of Chivalry Preview #7 - New Hit Detection and Slow Motion Decapitations

This is a borderline insane interview between me and myself about the changes to the hit detection system coming in CR1. Video includes bonus footage of "head explodies" as mentioned in last week's update!

Posted by AgeofChivalry on Dec 18th, 2008

New Hit Detection and Slow Motion Decapitations

This week's Question of the Week: "What are your thoughts on the current armour values?"

This week is a bit of a change-up from the other previews, today focuses on the improvements and adjustments we've made to the swingtrace system to allow it to become far more accurate.

User Posted Image


Hit detection. This is an area that we freely admit to having struggled with in some areas in the past. This has been one of the team's top priorities for CR1, to get rid of some of these issues we were having and to make the games combat cleaner and crisper as a result. We took this seriously by recruiting a pool of beta testers into a "Hit Squad" that took a look at each and every swing of every weapon in slow motion frame by frame to ensure that our swingtraces lined up perfectly with the animations. With some innovative thinking we were able to come up with solutions to the main issues we had previously been experiencing and are excited to see the communities response to our new system.

------------------------

Developer Blog

This week features Tibberius Bane (me) interviewing Tibberius Bane (myself) about the new hit detection coming to the game in CR1. This sort of weird overlapping of work is very common in the modding world!

User Posted Image

Tibberius: I thought you were just the marketing guy?

Bane: The weird thing about modding is that no matter how small a job you originally come onto the team for, you are almost always going to get sucked into other aspects of development and that's the case with me, started off in marketing but i've since been pulled into level design, scripting, concept design, weapon balancing and still try to keep up with my duties as the community manager and marketing coordinator of Age of Chivalry.

User Posted Image


Tibberius: Awesome, but how could you develop a new hit detection system without changing engines?

Bane: Its more that with some innovative thinking and dedicated testing that we have managed to alter the swingtrace system that we were using before to be far more accurate and take several more things into the calculations than it was previously, so in that sense, it is a new hit detection system as the traces are going to act very different in this new version.

Tibberius: Alright, In the current public build of Age of Chivalry the only attack worth using is the mouse1 slash, probably because of the difficulty of landing the other strikes, will the new system affect this?

Bane: Yes for sure the overhead and stab attacks were previously by no means as useful in most situations as the slash, so to solve this issue we have come up with the theory of "Weapon Breadth". In past versions of Age of Chivalry your weapon had a single central point on which it operated, this was 1 game unit wide, while sometimes the weapon you were using would be far far wider than that in reality. So this made stabs and overheads very inaccurate as they would only strike a thin line down the center of your screen-which is not at all the case as it appears to the player.

OLD SWINGTRACES:
User Posted Image

In CR1 with the Weapon Breadth theory the game will represent the actual height and width of the blade or head of the weapon and different weapons will actually have different patterns and spread of swingtraces to match. You can equate this to taking something that was 2d in a 3d game and making it 3d in code as well. This will make overheads and stabs a much bigger part of the game as they will now be a viable and reliable method of attacking. No longer shall mouse 1 rule the field.

NEW SWINGTRACES:
User Posted Image

Tibberius: Ok, but I've always found that when I was chasing players that were running away, my weapon was magically shorter, why is this?

Bane: Yes this effect is caused by a number of things but in the current public version, the swingtraces were actually a significant amount slower than the animation that they were trying to follow, this is the result of the source networking code that is commonly referred to as "66 tick", meaning that most servers update 66 times per second. Previously we had to make the best of things and just try to align as well as we could, knowing full well that our swingtraces were significantly behind the animations.

Now, a new idea has allowed us to fire far more swingtraces far faster, this is because we have discovered a way for the engine to render multiple traces per tick, meaning that we can have the weapon actually traveling faster than the previous limit of 0.015 seconds (66/1) allowed us to. This means that your weapon will deal damage when your weapon strikes your enemy, and to prove this we have even made a video that will showcase some slow motion decapitations.

User Posted Image


Tibberius: What about the complete randomness of a swing1 attack going straight through your opponent and not dealing any damage?

Bane: This one was a toughie for us, sometimes the weapon would just ignore the player and swing through as though nothing had happened...Suffice to say with no real way to reproduce this we were very annoyed and confused. Well no more! We have discovered that some of our traces actually had gaps in them that were on occasion big enough for a player or head hitbox of a player to slip through unscathed. (amplified big time when a player swings his mouse during an attack)
So to counteract this, we actually made "pairs of 3" of our swingtraces with the first trace of the next pair overlapping the previous pair so that the lines would get a lot tighter and there would be no chance of a players head hitbox slipping through the lines. This allows for a lot more accuracy while calculating swings in motion and since in our game the player is rarely standing still, this is a huge improvement.

OLD SWINGTRACES:
User Posted Image

NEW SWINGTRACES:

User Posted Image

Tibberius: Do you realize that you have effectively had a full length discussion with yourself and that this will be posted all over the internet?

Bane: Now that you put it that way, yes that is quite sad, but I think the message got across.

A lot of text and statements later, check out the video we made to showcase this and help you understand what we're saying:


(Video includes bonus footage of "Head Explodies" as per last week's update!)
------------------------
Stay tuned the week after next week when we take a look at some of the vastly improved GUI that is going to give the players a wealth of new information to help understand the game! We will be interviewing Drakir (Team Lead) on why the new interface breathes fresh life into the game

Next week there will be no preview as Christmas falls on a Thursday and I just won't have time :(.

Tibberius Bane - Age of Chivalry Marketing Coordinator

www.age-of-chivalry.com

Post comment Comments
Henley Staff
Henley Dec 18 2008, 7:17pm says:

cool stuff as always :D

+1 vote   reply to comment
razorb
razorb Dec 18 2008, 7:27pm says:

yea nice post and nice update.. gj guys

+1 vote     reply to comment
Mars_3K
Mars_3K Dec 18 2008, 8:47pm says:

This is definitely progress. Good stuff.

Might I ask what's being done to make blunt weapons useful?

+1 vote     reply to comment
RogerRamjet
RogerRamjet Dec 18 2008, 8:58pm says:

Some nice, gory improvements...

+1 vote     reply to comment
Daystranger
Daystranger Dec 19 2008, 12:25am says:

Blood still looks like berries to me but new detection system is awesome!
Can't wait to play it.

+1 vote     reply to comment
Frozencloud
Frozencloud Dec 19 2008, 3:34am says:

Sweeeet!

+1 vote     reply to comment
oscilloscopa
oscilloscopa Dec 19 2008, 6:11am says:

looks a bit like Fallout 3 :D

+1 vote     reply to comment
Mastix
Mastix Dec 19 2008, 6:37am says:

As always, looking great =)

+1 vote     reply to comment
z33ky
z33ky Dec 19 2008, 6:48am says:

Kinda reminds me of Postal 2 (just more awesome ;D).

+1 vote     reply to comment
DOLBYdigital
DOLBYdigital Dec 19 2008, 8:19pm says:

Excellent update guys, I really liked seeing the new swing traces in effect. Looks like it is time for me to hop back into this game :)

+1 vote     reply to comment
cachiporrin
cachiporrin Dec 21 2008, 10:07pm says:

so...do you have a release date?

+1 vote     reply to comment
AgeofChivalry Author
AgeofChivalry Dec 22 2008, 12:10am says:

We are nearing a public release date, but at this time will say no more than "Early 2009"...

+1 vote   reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Half-Life 2 Icon
Platform
Windows
Developer
Team Chivalry
Contact
Send Message
Official Page
Age-of-chivalry.com
Release Date
Released Sep 10, 2007
Mod Watch
Track this mod
News
Browse
News
Report Abuse
Report article
Related Mods
Age of Chivalry (Half-Life 2)
Age of Chivalry Half-Life 2 - Multiplayer First Person Shooter
Related Games
Half-Life 2
Half-Life 2 Single & Multiplayer First Person Shooter