Sir, You Are Being Hunted

Sir, You Are Being Hunted

Not enough ratings
Sir, You Are Being Tracked (TrackIR emulation)
By AlexeZ
TrackIR emulation guide using webcam and FaceTrackNoIR (free six degrees of freedom headtracking software distributed under GNU General Public License Version 3.0)
   
Award
Favorite
Favorited
Unfavorite
Introducing
Ladies and Gentlemen, in the January Update Sir, You Are Being Hunted got TrackIR support. TrackIR is an optical motion tracking game controller, created by NaturalPoint Inc. Device tracks head motions with up to six degrees of freedom (6DOF).










Official gameplay video using TrackIR on Sir, You Are Being Hunted

Using TrackIR giving a brand new way to play the game. Good sir (or madam) can buy that device or consider the second option.

FaceTrackNoIR is free 6DOF headtracking software (Distributed under GNU General Public License Version 3.0). It allow use of simple webcam (or not simple) to track head motions.
Last version: 1.7 (Size ~75 MB)
Configuration
Downloading and installing shouldn't cause any problems.

At start FaceTrackNoIR loads default profile (.ini-file). That profile configured for most applications. It can be used in Sir, You Are Being Hunted, but it not enough accurate (need to fix head position to focus on one spot, sight could suddenly fly away or stop your movement and ect). So it better make more accurate profile to prevent excessive neck strain.



Main window of FaceTrackNoIR (Version 1.7)

FaceAPI V3.2.6 is pretty simple facetracking API. Sir, You Are Being Hunted uses only 3DOF - Yaw, Pitch and Roll - so another 3DOF (X, Y and Z) could be disabled in settings. Also webcam can be configured in "Settings" menu (with "Camera" -> "Driver Controls...").



Default settings of Filter (Accela Filter Mk2) and Game protocol (FreeTrack 2.0) doesn't require modification (works quite well).

Press "Start" button for starting headtracking. On FaceTrackNoIR left panel appears picture from webcam and hovering mask on it.
  • If it doesn't happend then press Tracker Source "Settings" button and Engine state "Start" button (should be "TRACKING")
Then run Sir, You Are Being Hunted and enable TrackIR ("Control Options").
  • At the moment only 32-bit supports headtracking
(About TrackIR Sensitivity and Smoothing below)


Order to begin adjustments assign key bindings in "Shortkeys" for "Center". By pressing that button tracker backs sight to zero point (direct look at screen). Also can be disabled beep tune on button pressing. Now good sir (or madam) could start making adjustments parallel to game. Windowed mode is preferable (fullscreen mode is fine too).
Accurate Adjustments
Most adjustments will be performed in "Curves" section ("Curves" button on main window).

3DOF used in Sir, You Are Being Hunted:
  • Yaw - Turning head left and right - Look left and right
  • Pitch - Tilting head forward and backward - Look up and down
  • Roll -Tilting head side to side - Lean left and right (like default key binding Q and E)
There are four panels on "Curves" section. Yaw and Roll have by single panel because they are symmetric (tracks left and right movement). Pitch have two panels - one for up and other for down.
Each panel have coordinate axis. Horizontal axis for input rotation degree and vertical axis for output degree. Based on Raw Input data (can be found below webcam picture) possible to easily set graph of relation between input and output rotation degree.
  • Left-click the graph to place a new point, right-click a point to remove
  • Left-click and drag to move a point



Example of adjustments in "Curves" section (not ideal to be honest)

For more smooth outputting Smoothing should be set at 50 samples in Global Settings (on main window). TrackIR Sensitivity (in game) should be set as mouse sensitivity.
After all save adjustments in personal .ini-file.
Conclusion
This guide was done in haste. I will remade Curves as soon as I'll get my webcam. Also could post Example.ini with own setting.

Hope this guide will be useful.
10 Comments
Parker 7 Jul, 2023 @ 2:27pm 
This is the PLUGIN pack. FacetrackNOIR Is NOT free because the developer need to fund his arthritis problem. I'm serious. That's he says. I assume he needs copious amounts of glucosamine . No way to try out this program to see if it would actually work without buying so....

Oh and I am not making fun of arthritis .
connybee 29 Dec, 2019 @ 10:17am 
VERRY COOL
J 13 Mar, 2016 @ 9:14am 
It's weird but cool
Cannibal Holiday 18 Jun, 2015 @ 1:37am 
You can also build your own gyroscopic head tracker using the EDTracker kit (or buy one pre-built). If you can solder it's super cheap to build one and you can get the parts from Hobby Components. The EDTracker site has the software for flashing the Arduino board you'll use.
★ Rahela ★ 14 Jul, 2014 @ 11:08am 
Oh that's really neat. I may just try this out. Thank you! You have been very informative.
AlexeZ  [author] 13 Jul, 2014 @ 11:52pm 
You can buy TrackIR and use their program. Or you could use any webcam with FaceTrackNoIR.
★ Rahela ★ 13 Jul, 2014 @ 4:31pm 
Oh, wow, that's really cool. They thought it all out then. This is intense technology, lmao.

So can you use your own webcam, that's built into the laptop? Or it will only work if you buy theirs?
AlexeZ  [author] 13 Jul, 2014 @ 12:24pm 
You can set relation between input and output rotation degree. For example, you can turn your head left 20 degrees, but program interprets like 60 degrees of rotation ( it means every one input degree is equal to three output degrees each ), so you can keep your eyes on screen.
★ Rahela ★ 13 Jul, 2014 @ 9:19am 
Just one question, and this may sound silly but after watching the video, I wondered this. If you need to turn your head in rl for it to turn in the game, how do you look at the game? Say you turn it all the way to the left in real life. You can't keep your eyes on the game at the same time, but if you turn your head to look back at the computer, your head will be straight ahead again in the game.
Dread Pirate Tuco 7 Jul, 2014 @ 1:51am 
Brilliant. You've looted part of a robot's face! (And programming.)