Skip to content

randomisernamesecret/squadrons-tmhotas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Star Wars Squadrons

A ThrustMaster HOTAS Target Script

What is this?

This is a TARGET script that blends roll and yaw to give your starfighter a similar handling to that of the old X-Wing/TIE Fighter games.

Installation

Simply download the .tmc file and open it with the TARGET GUI. Click "run configuration" and open the .tmc file.

Configuration

  1. On the throttle, make sure both FUEL switches are on NORM (very important, see why below)
  2. Start Squadrons, go to flight stick configuration in options and find roll/yaw.
  3. Switch both FUEL switches to OVERRIDE, the throttle backlight will go out
  4. Initiate axis binding for yaw right, move the stick right.
  5. Initiate axis binding for yaw left, move the stick left.
  6. Switch both FUEL switches to NORM. Throttle backlight will come back on.
  7. Initiate axis binding for roll right, move the stick right.
  8. Initiate axis binding for roll left, move the stick left.
  9. Bind any other axis (pitch, throttle, etc) or buttons you require.

Configuration explanation/how this works

When binding an axis in Squadrons, you should only send one axis at a time. The obvious problem is tilting the stick left and right will send both roll and yaw to squadrons. So it is necessary to disable roll while binding the yaw axis. When the FUEL switches are both switched to OVERRIDE, roll is disabled and the stick only manipulates the yaw axis. This allows us to bind the yaw axis.

You may be asking: but what about the yaw axis when binding the roll axis? It appears whichever axis has the greater value is the one that gets bound. The script translates the roll value divided by 48 to the yaw axis, so the roll will always be greater and squadrons will pick the stick's X-axis over the yaw axis.

FAQ

  • All of my Squadron bindings were erased when using the script! WTF?
    Sadly this is a Squadrons issue, but it should only happen the first time. When you run the script, your controllers are virtually disconnected and combined into one controller. Squadrons see this as a new controller and you have to map/bind your buttons again. If you forget to run the script and then launch Squadrons, you'll be in the same boat unless you quit the game, run the script, and start the game again.
  • Can I use my pedals with this?
    Currently, yes and no. Some players are having issues with the script if they do not have pedals plugged in. While TARGET doesn't care if every other device is unplugged, it gets really upset if the pedals are unplugged. Thus, I've commented out line 28 in the script. If you have pedals, uncomment line 28 (delete "//" at the beginning of the line).
  • Can I use a different ThrustMaster HOTAS with this?
    You might! This script was written with a Warthog throttle/stick. I own no other TM controllers, and cannot test others. However, I'm interested in hearing what you find. If you'd like to edit this script to support a different stick, you're welcome to contribute it to the repo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published