• Register
Post news RSS The marksman

Have the marksman hit targets in front of you by the press of a button or control it yourself. In this post I go over the current state of the marksman.

Posted by on

Since the demo release

I have been working on a lot of things in the months since the demo release. It has been a lot of overall polishing and improvements but the biggest single feature is the marksman, which I will cover in this article.

I made a dev log where I talk about the top level stuff of the marksman, touching on many of the things in this article. Give it a view if you haven't already:

Bolt action in action

Controlling the marksman

You control the marksman and rifle largely with the mouse (only changing the magazine is off the mouse). The rifle is a bolt action rifle and you reload it using mouse gestures. You'll understand this best by checking out the video above (at 0:45). You control the bolt entirely by moving the mouse: you move the mouse to rotate it open, then to pull it back which ejects the casing from the chamber. Then you slide it back forward to feed a new round from the magazine and into the chamber.

Projectile ballistics

The marksman projectiles use the same ballistics as all the other projectiles. They drop due to gravity, they deflect, deform and shatter. I've not added any wind but I might do that. For now the firing distances are so short that wind will not have any noticeable effect. Currently the scope is always zeroed in for the correct distance between the marksman and the building but if I decide to make things more complicated later I will add it as an option for the player to adjust elevation manually.


I'm quite happy with how the marksman audio is shaping up. There are 8 different samples just for manipulating the bolt. There are also three different sets of audio for the marksman firing. There is one set of audio heard from the marksman view, one for the entry team when it is indoors, and one for the entry team being outside the building. The firing sounds heard by the entry team are delayed by the distance the sound has to travel from the marksman's position. This creates the nice effect that you hear the bullet strike before the detonation from the rifle when the marksman is at a sufficient distance.

Watch the video below for a demonstration of the audio and a whole bunch of marksman hits:

AI controls and commands

I have written a simple AI to control the marksman. So when the player is controlling the entry team and viewing the inside of the building the marksman can still track targets and respond to commands from the player.

You can use both hotkeys and the interaction menu to tell the marksman to:

  • Track a specific target
  • Continuously target whoever is nearest the player
  • Fire on the current target

You can also give the marksman a go ahead to engage freely. The marksman will then engage any and all targets that are available. When not engaging in the free mode the marksman will otherwise return to standing by after having fired a shot.

In addition I've added an option that allows the marksman to fire at suspects that threaten the operators (and later hostages) regardless which other orders it had. That way when a suspect is raising a weapon toward you the marksman can go ahead without an order.

To be able to see what the marksman is up to I've added some small interface to indicate the current target and its status. This icon hovers above the head of the marksman's target. When the icon is gray and crossed over it means the marksman's view of the target is blocked. When it is just gray but not crossed out the marksman has a clear view but is not ready to fire. And when the marksman is ready to fire it turns green with a dot in the middle.

Crosshairs over your head? Not a good sign.

Cross-hairs over your head? That means the marksman is ready.

Marksman demo

I have some things left to take care of before the marksman demo is ready for release but it is quite close. As I've mentioned before the next demo version is also going to be free, so stay tuned.

That's it for this time. Thanks for reading!

Crisis Response on Twitter: @bloodandbullet

(Follow me on Twitter to take part of all the small things I never post here.)

Cake!:D - - 1,860 comments

It is all looking very good.

Reply Good karma Bad karma+3 votes
Cantalouper - - 91 comments

Looking forward to playing this!

Reply Good karma Bad karma+2 votes
stevie231 - - 79 comments

Can't wait :)

Reply Good karma Bad karma+1 vote
isbeorn Author
isbeorn - - 836 comments

Thanks for the support everyone :)

Reply Good karma+2 votes
Cantalouper - - 91 comments

We love our indie devs

Reply Good karma Bad karma+2 votes
Guest - - 696,398 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.